@jetbrains/ring-ui 5.0.127 → 5.0.129
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/alert/alert.js +2 -1
- package/components/alert/container.js +2 -1
- package/components/auth/auth__core.js +2 -1
- package/components/auth/request-builder.js +2 -1
- package/components/auth/response-parser.js +2 -1
- package/components/auth/token-validator.js +2 -1
- package/components/auth-dialog/auth-dialog.js +2 -1
- package/components/avatar/avatar.js +2 -1
- package/components/badge/badge.js +2 -1
- package/components/button/button.js +2 -1
- package/components/button-group/button-group.js +2 -1
- package/components/button-group/caption.js +2 -1
- package/components/button-set/button-set.js +2 -1
- package/components/button-toolbar/button-toolbar.js +2 -1
- package/components/caret/caret.js +2 -1
- package/components/checkbox/checkbox.js +2 -1
- package/components/code/code.js +2 -1
- package/components/confirm/confirm.js +2 -1
- package/components/content-layout/content-layout.js +2 -1
- package/components/content-layout/sidebar.js +2 -1
- package/components/data-list/data-list.js +2 -1
- package/components/data-list/item.js +2 -1
- package/components/date-picker/date-input.js +2 -1
- package/components/date-picker/date-picker.js +2 -1
- package/components/date-picker/date-popup.js +2 -1
- package/components/date-picker/day.js +2 -1
- package/components/date-picker/month-slider.js +2 -1
- package/components/date-picker/years.js +2 -1
- package/components/dialog/dialog.d.ts +4 -16
- package/components/dialog/dialog.js +6 -3
- package/components/dropdown/dropdown.js +2 -1
- package/components/error-bubble/error-bubble.js +2 -1
- package/components/error-message/error-message.js +2 -1
- package/components/footer/footer.js +1 -0
- package/components/global/react-dom-renderer.js +2 -1
- package/components/grid/col.js +2 -1
- package/components/grid/grid.js +2 -1
- package/components/grid/row.js +2 -1
- package/components/group/group.js +2 -1
- package/components/header/logo.js +2 -1
- package/components/header/profile.js +2 -1
- package/components/header/services-link.js +2 -1
- package/components/header/services.js +2 -1
- package/components/header/smart-profile.js +2 -1
- package/components/header/smart-services.js +2 -1
- package/components/header/tray-icon.js +2 -1
- package/components/header/tray.js +2 -1
- package/components/hub-source/hub-source.js +2 -1
- package/components/icon/icon.js +2 -1
- package/components/input/input.js +2 -1
- package/components/island/island.js +2 -1
- package/components/island-legacy/content-legacy.js +2 -1
- package/components/island-legacy/header-legacy.js +2 -1
- package/components/island-legacy/island-legacy.js +2 -1
- package/components/link/clickableLink.js +2 -1
- package/components/list/list.js +2 -1
- package/components/list/list__hint.js +2 -1
- package/components/list/list__users-groups-source.js +2 -1
- package/components/loader/loader.js +2 -1
- package/components/loader/loader__core.js +2 -1
- package/components/loader-screen/loader-screen.js +2 -1
- package/components/login-dialog/login-dialog.js +2 -1
- package/components/message/message.js +2 -1
- package/components/pager/pager.js +2 -1
- package/components/panel/panel.js +2 -1
- package/components/permissions/permissions.js +2 -1
- package/components/permissions/permissions__cache.js +2 -1
- package/components/popup/popup.js +2 -1
- package/components/popup-menu/popup-menu.js +2 -1
- package/components/progress-bar/progress-bar.js +2 -1
- package/components/query-assist/query-assist.js +4 -3
- package/components/radio/radio.js +2 -1
- package/components/radio/radio__item.js +2 -1
- package/components/select/select.js +2 -1
- package/components/select/select__filter.js +2 -1
- package/components/select/select__popup.js +4 -2
- package/components/shortcuts/shortcuts.js +2 -1
- package/components/storage/storage__fallback.js +2 -1
- package/components/tab-trap/tab-trap.js +2 -1
- package/components/table/cell.js +2 -1
- package/components/table/header-cell.js +2 -1
- package/components/table/header.js +2 -1
- package/components/table/multitable.js +2 -1
- package/components/table/row.d.ts +1 -0
- package/components/table/row.js +6 -4
- package/components/table/smart-table.d.ts +1 -0
- package/components/table/table.d.ts +2 -0
- package/components/table/table.js +8 -4
- package/components/tabs/smart-tabs.js +2 -1
- package/components/tabs/tab.js +2 -1
- package/components/tag/tag.js +2 -1
- package/components/tags-input/tags-input.d.ts +1 -1
- package/components/tags-input/tags-input.js +3 -2
- package/components/tags-list/tags-list.js +2 -1
- package/components/text/text.js +2 -1
- package/components/tooltip/tooltip.js +2 -1
- package/components/user-agreement/user-agreement.js +2 -1
- package/components/user-card/card.js +2 -1
- package/components/user-card/smart-user-card-tooltip.d.ts +1 -1
- package/components/user-card/smart-user-card-tooltip.js +2 -1
- package/components/user-card/tooltip.js +2 -1
- package/dist/_helpers/_rollupPluginBabelHelpers.js +1 -29
- package/dist/_helpers/anchor.js +1 -1
- package/dist/_helpers/card.js +44 -47
- package/dist/_helpers/footer.js +1 -0
- package/dist/_helpers/select__filter.js +10 -13
- package/dist/_helpers/services-link.js +10 -10
- package/dist/_helpers/sidebar.js +34 -37
- package/dist/_helpers/theme.js +1 -1
- package/dist/_helpers/title.js +12 -16
- package/dist/alert/alert.js +63 -66
- package/dist/alert/container.js +5 -5
- package/dist/alert-service/alert-service.js +5 -7
- package/dist/analytics/analytics.js +1 -2
- package/dist/analytics/analytics__custom-plugin.js +6 -8
- package/dist/auth/auth.js +1 -1
- package/dist/auth/auth__core.js +26 -26
- package/dist/auth/background-flow.js +4 -5
- package/dist/auth/iframe-flow.js +12 -12
- package/dist/auth/landing.js +1 -1
- package/dist/auth/request-builder.js +3 -5
- package/dist/auth/response-parser.js +5 -6
- package/dist/auth/storage.js +12 -12
- package/dist/auth/token-validator.js +13 -16
- package/dist/auth/window-flow.js +18 -19
- package/dist/auth-dialog/auth-dialog.js +54 -57
- package/dist/auth-dialog-service/auth-dialog-service.js +1 -1
- package/dist/auth-ng/auth-ng.js +1 -1
- package/dist/avatar/avatar.js +30 -33
- package/dist/avatar-ng/avatar-ng.js +1 -1
- package/dist/badge/badge.js +10 -10
- package/dist/badge-ng/badge-ng.js +1 -1
- package/dist/breadcrumb-ng/breadcrumb-ng.js +0 -1
- package/dist/button/button.js +24 -27
- package/dist/button-group/button-group.js +5 -5
- package/dist/button-group/caption.js +4 -4
- package/dist/button-ng/button-ng.js +68 -69
- package/dist/button-set/button-set.js +6 -6
- package/dist/button-toolbar/button-toolbar.js +6 -6
- package/dist/caret/caret.js +2 -4
- package/dist/checkbox/checkbox.js +27 -30
- package/dist/checkbox-ng/checkbox-ng.js +0 -1
- package/dist/code/code.js +17 -21
- package/dist/confirm/confirm.js +31 -34
- package/dist/confirm-ng/confirm-ng.js +1 -1
- package/dist/confirm-service/confirm-service.js +1 -1
- package/dist/content-layout/content-layout.js +17 -20
- package/dist/contenteditable/contenteditable.js +11 -11
- package/dist/data-list/data-list.js +49 -55
- package/dist/data-list/item.js +64 -67
- package/dist/data-list/selection.js +0 -1
- package/dist/data-list/title.js +1 -1
- package/dist/data-list-ng/data-list-ng.js +1 -1
- package/dist/date-picker/date-input.js +39 -42
- package/dist/date-picker/date-picker.js +162 -165
- package/dist/date-picker/date-popup.js +119 -119
- package/dist/date-picker/day.js +34 -38
- package/dist/date-picker/month-names.js +11 -14
- package/dist/date-picker/month-slider.js +24 -28
- package/dist/date-picker/month.js +1 -1
- package/dist/date-picker/months.js +1 -1
- package/dist/date-picker/years.js +9 -13
- package/dist/dialog/dialog.d.ts +4 -16
- package/dist/dialog/dialog.js +68 -65
- package/dist/dialog-ng/dialog-ng.js +21 -22
- package/dist/docked-panel-ng/docked-panel-ng.js +0 -1
- package/dist/dropdown/dropdown.js +101 -104
- package/dist/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/editable-heading/editable-heading.js +1 -1
- package/dist/error-bubble/error-bubble.js +6 -6
- package/dist/error-message/error-message.js +10 -10
- package/dist/error-message-ng/error-message-ng.js +0 -1
- package/dist/footer-ng/footer-ng.js +19 -21
- package/dist/global/angular-component-factory.js +2 -3
- package/dist/global/dom.js +1 -5
- package/dist/global/focus-sensor-hoc.js +58 -61
- package/dist/global/listeners.js +1 -5
- package/dist/global/react-dom-renderer.js +8 -12
- package/dist/global/rerender-hoc.js +1 -5
- package/dist/global/ring-angular-component.js +1 -3
- package/dist/grid/col.js +13 -14
- package/dist/grid/grid.js +5 -5
- package/dist/grid/row.js +16 -17
- package/dist/group/group.js +5 -5
- package/dist/header/header.js +10 -10
- package/dist/header/logo.js +9 -9
- package/dist/header/profile.js +58 -58
- package/dist/header/services.js +19 -22
- package/dist/header/smart-profile.js +40 -43
- package/dist/header/smart-services.js +28 -31
- package/dist/header/tray-icon.js +6 -6
- package/dist/header/tray.js +5 -5
- package/dist/heading/heading.js +1 -1
- package/dist/heading-ng/heading-ng.js +1 -1
- package/dist/http/http.js +111 -107
- package/dist/http/http.mock.js +3 -4
- package/dist/hub-source/hub-source.js +7 -9
- package/dist/hub-source/hub-source__user.js +0 -1
- package/dist/hub-source/hub-source__users-groups.js +4 -5
- package/dist/icon/icon.js +18 -18
- package/dist/icon/icon__svg.js +1 -1
- package/dist/icon-ng/icon-ng.js +0 -1
- package/dist/input/input.js +35 -38
- package/dist/input-ng/input-ng.js +25 -26
- package/dist/island/adaptive-island-hoc.js +21 -25
- package/dist/island/content.js +62 -65
- package/dist/island/header.js +11 -11
- package/dist/island/island.js +8 -8
- package/dist/island-legacy/content-legacy.js +5 -5
- package/dist/island-legacy/header-legacy.js +5 -5
- package/dist/island-legacy/island-legacy.js +5 -5
- package/dist/link/clickableLink.js +27 -30
- package/dist/link/link.js +16 -16
- package/dist/list/list.js +389 -391
- package/dist/list/list__custom.js +6 -10
- package/dist/list/list__hint.js +3 -4
- package/dist/list/list__item.js +4 -7
- package/dist/list/list__link.js +1 -1
- package/dist/list/list__users-groups-source.js +3 -3
- package/dist/loader/loader.js +16 -19
- package/dist/loader/loader__core.js +62 -62
- package/dist/loader-inline/loader-inline.js +6 -6
- package/dist/loader-ng/loader-ng.js +3 -4
- package/dist/loader-screen/loader-screen.js +6 -6
- package/dist/loader-screen-ng/loader-screen-ng.js +0 -1
- package/dist/login-dialog/login-dialog.js +55 -58
- package/dist/login-dialog/service.js +1 -1
- package/dist/markdown/code.js +0 -1
- package/dist/markdown/markdown.js +1 -1
- package/dist/message/message.js +22 -25
- package/dist/old-browsers-message/white-list.js +2 -2
- package/dist/pager/pager.js +55 -58
- package/dist/pager-ng/pager-ng.js +1 -1
- package/dist/panel/panel.js +5 -5
- package/dist/panel-ng/panel-ng.js +0 -1
- package/dist/permissions/permissions.js +14 -16
- package/dist/permissions/permissions__cache.js +4 -6
- package/dist/permissions-ng/permissions-ng.js +1 -1
- package/dist/place-under-ng/place-under-ng.js +0 -1
- package/dist/popup/popup.js +118 -121
- package/dist/popup/popup.target.js +1 -1
- package/dist/popup/position.js +0 -1
- package/dist/popup-menu/popup-menu.js +19 -22
- package/dist/progress-bar/progress-bar.js +41 -44
- package/dist/progress-bar-ng/progress-bar-ng.js +1 -1
- package/dist/promised-click-ng/promised-click-ng.js +0 -1
- package/dist/query-assist/query-assist.js +507 -501
- package/dist/query-assist/query-assist__suggestions.js +1 -1
- package/dist/query-assist-ng/query-assist-ng.js +1 -1
- package/dist/radio/radio.js +10 -13
- package/dist/radio/radio__item.js +19 -22
- package/dist/select/select.js +350 -349
- package/dist/select/select__popup.js +148 -152
- package/dist/select-ng/select-ng.js +1 -1
- package/dist/select-ng/select-ng__lazy.js +4 -4
- package/dist/select-ng/select-ng__options.js +14 -15
- package/dist/shortcuts/core.js +35 -36
- package/dist/shortcuts/shortcuts-hoc.js +7 -11
- package/dist/shortcuts/shortcuts.js +10 -11
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +0 -1
- package/dist/shortcuts-ng/shortcuts-ng.js +0 -1
- package/dist/sidebar-ng/sidebar-ng.js +0 -1
- package/dist/storage/storage.js +1 -1
- package/dist/storage/storage__fallback.js +8 -10
- package/dist/storage/storage__local.js +2 -2
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.js +84 -86
- package/dist/table/cell.js +6 -6
- package/dist/table/disable-hover-hoc.js +23 -25
- package/dist/table/header-cell.js +28 -31
- package/dist/table/header.js +58 -61
- package/dist/table/multitable.js +91 -95
- package/dist/table/row-with-focus-sensor.js +15 -18
- package/dist/table/row.d.ts +1 -0
- package/dist/table/row.js +54 -55
- package/dist/table/selection-shortcuts-hoc.js +145 -147
- package/dist/table/selection.js +7 -9
- package/dist/table/smart-table.d.ts +1 -0
- package/dist/table/smart-table.js +21 -24
- package/dist/table/table.d.ts +2 -0
- package/dist/table/table.js +107 -109
- package/dist/table-legacy-ng/table-legacy-ng.js +1 -1
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +1 -1
- package/dist/table-legacy-ng/table-legacy-ng__selection.js +1 -3
- package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +0 -1
- package/dist/table-ng/smart-table-ng.js +1 -1
- package/dist/table-ng/table-ng.js +1 -1
- package/dist/tabs/collapsible-more.js +1 -1
- package/dist/tabs/collapsible-tab.js +1 -1
- package/dist/tabs/dumb-tabs.js +46 -49
- package/dist/tabs/smart-tabs.js +10 -10
- package/dist/tabs/tab.js +7 -8
- package/dist/tag/tag.js +42 -45
- package/dist/tags-input/tags-input.d.ts +1 -1
- package/dist/tags-input/tags-input.js +214 -213
- package/dist/tags-input-ng/tags-input-ng.js +1 -1
- package/dist/tags-list/tags-list.js +20 -20
- package/dist/template-ng/template-ng.js +25 -26
- package/dist/text/text.js +6 -6
- package/dist/toggle/toggle.js +19 -19
- package/dist/toggle-ng/toggle-ng.js +1 -1
- package/dist/tooltip/tooltip.js +86 -89
- package/dist/tooltip-ng/tooltip-ng.js +1 -1
- package/dist/user-agreement/service.js +207 -205
- package/dist/user-agreement/user-agreement.js +39 -42
- package/dist/user-card/smart-user-card-tooltip.d.ts +1 -1
- package/dist/user-card/smart-user-card-tooltip.js +32 -35
- package/dist/user-card/tooltip.js +26 -26
- package/dist/user-card-ng/user-card-ng.js +1 -1
- package/package.json +17 -17
package/dist/table/table.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import React, {
|
|
1
|
+
import { _ as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import React, { Component, PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import { arrayMove, List } from 'react-movable';
|
|
@@ -59,91 +59,47 @@ import './cell.js';
|
|
|
59
59
|
* Interactive table with selection and keyboard navigation support.
|
|
60
60
|
*/
|
|
61
61
|
class Table extends PureComponent {
|
|
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
|
-
onSelect
|
|
93
|
-
} = this.props;
|
|
94
|
-
if (selected) {
|
|
95
|
-
onSelect(selection.select(row));
|
|
96
|
-
} else {
|
|
97
|
-
onSelect(selection.deselect(row));
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
_defineProperty(this, "onSortEnd", _ref => {
|
|
101
|
-
let {
|
|
102
|
-
oldIndex,
|
|
103
|
-
newIndex
|
|
104
|
-
} = _ref;
|
|
105
|
-
const data = arrayMove(this.props.data, oldIndex, newIndex);
|
|
106
|
-
this.props.onReorder({
|
|
107
|
-
data,
|
|
108
|
-
oldIndex,
|
|
109
|
-
newIndex
|
|
110
|
-
});
|
|
111
|
-
});
|
|
112
|
-
_defineProperty(this, "onCheckboxChange", e => {
|
|
113
|
-
const {
|
|
114
|
-
checked
|
|
115
|
-
} = e.currentTarget;
|
|
116
|
-
const {
|
|
117
|
-
selection,
|
|
118
|
-
onSelect
|
|
119
|
-
} = this.props;
|
|
120
|
-
if (checked) {
|
|
121
|
-
onSelect(selection.selectAll());
|
|
122
|
-
} else {
|
|
123
|
-
onSelect(selection.reset());
|
|
124
|
-
}
|
|
125
|
-
this.restoreFocusWithoutScroll();
|
|
126
|
-
});
|
|
127
|
-
_defineProperty(this, "restoreFocusWithoutScroll", () => {
|
|
128
|
-
const {
|
|
129
|
-
scrollX,
|
|
130
|
-
scrollY
|
|
131
|
-
} = window;
|
|
132
|
-
this.props.onFocusRestore();
|
|
133
|
-
window.scrollTo(scrollX, scrollY);
|
|
134
|
-
});
|
|
135
|
-
}
|
|
62
|
+
static defaultProps = {
|
|
63
|
+
isItemSelectable: () => true,
|
|
64
|
+
loading: false,
|
|
65
|
+
onSort: () => {},
|
|
66
|
+
onReorder: () => {},
|
|
67
|
+
getItemKey: item => item.id,
|
|
68
|
+
sortKey: 'id',
|
|
69
|
+
sortOrder: true,
|
|
70
|
+
draggable: false,
|
|
71
|
+
alwaysShowDragHandle: false,
|
|
72
|
+
stickyHeader: true,
|
|
73
|
+
getItemLevel: () => 0,
|
|
74
|
+
getItemClassName: () => null,
|
|
75
|
+
getMetaColumnClassName: () => null,
|
|
76
|
+
getItemDataTest: () => null,
|
|
77
|
+
isItemCollapsible: () => false,
|
|
78
|
+
isParentCollapsible: () => false,
|
|
79
|
+
isItemCollapsed: () => false,
|
|
80
|
+
onItemCollapse: () => {},
|
|
81
|
+
onItemExpand: () => {},
|
|
82
|
+
onItemDoubleClick: () => {},
|
|
83
|
+
onItemClick: () => {},
|
|
84
|
+
remoteSelection: false,
|
|
85
|
+
isDisabledSelectionVisible: () => false,
|
|
86
|
+
getCheckboxTooltip: () => undefined
|
|
87
|
+
};
|
|
88
|
+
state = {
|
|
89
|
+
shortcutsScope: getUID('ring-table-'),
|
|
90
|
+
userSelectNone: false
|
|
91
|
+
};
|
|
136
92
|
componentDidMount() {
|
|
137
93
|
document.addEventListener('mouseup', this.onMouseUp);
|
|
138
94
|
}
|
|
139
|
-
componentDidUpdate(
|
|
95
|
+
componentDidUpdate(_ref) {
|
|
140
96
|
let {
|
|
141
97
|
data,
|
|
142
98
|
selection,
|
|
143
99
|
onSelect,
|
|
144
100
|
selectable,
|
|
145
101
|
remoteSelection
|
|
146
|
-
} =
|
|
102
|
+
} = _ref;
|
|
147
103
|
if (data !== this.props.data && remoteSelection) {
|
|
148
104
|
onSelect(selection.cloneWith({
|
|
149
105
|
data: this.props.data
|
|
@@ -156,6 +112,73 @@ class Table extends PureComponent {
|
|
|
156
112
|
componentWillUnmount() {
|
|
157
113
|
document.removeEventListener('mouseup', this.onMouseUp);
|
|
158
114
|
}
|
|
115
|
+
onMouseDown = e => {
|
|
116
|
+
if (e.shiftKey) {
|
|
117
|
+
this.setState({
|
|
118
|
+
userSelectNone: true
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
onMouseUp = () => {
|
|
123
|
+
if (this.state.userSelectNone) {
|
|
124
|
+
this.setState({
|
|
125
|
+
userSelectNone: false
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
onRowFocus = row => {
|
|
130
|
+
const {
|
|
131
|
+
selection,
|
|
132
|
+
onSelect
|
|
133
|
+
} = this.props;
|
|
134
|
+
onSelect(selection.focus(row));
|
|
135
|
+
};
|
|
136
|
+
onRowSelect = (row, selected) => {
|
|
137
|
+
const {
|
|
138
|
+
selection,
|
|
139
|
+
onSelect
|
|
140
|
+
} = this.props;
|
|
141
|
+
if (selected) {
|
|
142
|
+
onSelect(selection.select(row));
|
|
143
|
+
} else {
|
|
144
|
+
onSelect(selection.deselect(row));
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
onSortEnd = _ref2 => {
|
|
148
|
+
let {
|
|
149
|
+
oldIndex,
|
|
150
|
+
newIndex
|
|
151
|
+
} = _ref2;
|
|
152
|
+
const data = arrayMove(this.props.data, oldIndex, newIndex);
|
|
153
|
+
this.props.onReorder({
|
|
154
|
+
data,
|
|
155
|
+
oldIndex,
|
|
156
|
+
newIndex
|
|
157
|
+
});
|
|
158
|
+
};
|
|
159
|
+
onCheckboxChange = e => {
|
|
160
|
+
const {
|
|
161
|
+
checked
|
|
162
|
+
} = e.currentTarget;
|
|
163
|
+
const {
|
|
164
|
+
selection,
|
|
165
|
+
onSelect
|
|
166
|
+
} = this.props;
|
|
167
|
+
if (checked) {
|
|
168
|
+
onSelect(selection.selectAll());
|
|
169
|
+
} else {
|
|
170
|
+
onSelect(selection.reset());
|
|
171
|
+
}
|
|
172
|
+
this.restoreFocusWithoutScroll();
|
|
173
|
+
};
|
|
174
|
+
restoreFocusWithoutScroll = () => {
|
|
175
|
+
const {
|
|
176
|
+
scrollX,
|
|
177
|
+
scrollY
|
|
178
|
+
} = window;
|
|
179
|
+
this.props.onFocusRestore();
|
|
180
|
+
window.scrollTo(scrollX, scrollY);
|
|
181
|
+
};
|
|
159
182
|
render() {
|
|
160
183
|
const {
|
|
161
184
|
data,
|
|
@@ -168,6 +191,7 @@ class Table extends PureComponent {
|
|
|
168
191
|
isItemSelectable,
|
|
169
192
|
getItemLevel,
|
|
170
193
|
getItemClassName,
|
|
194
|
+
getMetaColumnClassName,
|
|
171
195
|
getItemDataTest,
|
|
172
196
|
draggable,
|
|
173
197
|
alwaysShowDragHandle,
|
|
@@ -271,6 +295,7 @@ class Table extends PureComponent {
|
|
|
271
295
|
className: classNames(getItemClassName(value), {
|
|
272
296
|
[modules_1db4bbca.draggingRow]: isDragged
|
|
273
297
|
}),
|
|
298
|
+
metaColumnClassName: getMetaColumnClassName(value),
|
|
274
299
|
draggable: draggable,
|
|
275
300
|
alwaysShowDragHandle: alwaysShowDragHandle,
|
|
276
301
|
dragHandleTitle: dragHandleTitle,
|
|
@@ -311,31 +336,6 @@ class Table extends PureComponent {
|
|
|
311
336
|
})));
|
|
312
337
|
}
|
|
313
338
|
}
|
|
314
|
-
_defineProperty(Table, "defaultProps", {
|
|
315
|
-
isItemSelectable: () => true,
|
|
316
|
-
loading: false,
|
|
317
|
-
onSort: () => {},
|
|
318
|
-
onReorder: () => {},
|
|
319
|
-
getItemKey: item => item.id,
|
|
320
|
-
sortKey: 'id',
|
|
321
|
-
sortOrder: true,
|
|
322
|
-
draggable: false,
|
|
323
|
-
alwaysShowDragHandle: false,
|
|
324
|
-
stickyHeader: true,
|
|
325
|
-
getItemLevel: () => 0,
|
|
326
|
-
getItemClassName: () => null,
|
|
327
|
-
getItemDataTest: () => null,
|
|
328
|
-
isItemCollapsible: () => false,
|
|
329
|
-
isParentCollapsible: () => false,
|
|
330
|
-
isItemCollapsed: () => false,
|
|
331
|
-
onItemCollapse: () => {},
|
|
332
|
-
onItemExpand: () => {},
|
|
333
|
-
onItemDoubleClick: () => {},
|
|
334
|
-
onItemClick: () => {},
|
|
335
|
-
remoteSelection: false,
|
|
336
|
-
isDisabledSelectionVisible: () => false,
|
|
337
|
-
getCheckboxTooltip: () => undefined
|
|
338
|
-
});
|
|
339
339
|
Table.propTypes = {
|
|
340
340
|
className: PropTypes.string,
|
|
341
341
|
loaderClassName: PropTypes.string,
|
|
@@ -348,6 +348,7 @@ Table.propTypes = {
|
|
|
348
348
|
loading: PropTypes.bool,
|
|
349
349
|
getItemKey: PropTypes.func,
|
|
350
350
|
getItemClassName: PropTypes.func,
|
|
351
|
+
getMetaColumnClassName: PropTypes.func,
|
|
351
352
|
getItemDataTest: PropTypes.func,
|
|
352
353
|
onSort: PropTypes.func,
|
|
353
354
|
onReorder: PropTypes.func,
|
|
@@ -382,15 +383,12 @@ Table.propTypes = {
|
|
|
382
383
|
const getContainer = () => disableHoverHOC(selectionShortcutsHOC(focusSensorHOC(Table)));
|
|
383
384
|
// eslint-disable-next-line react/no-multi-comp
|
|
384
385
|
class TableContainer extends Component {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
}
|
|
386
|
+
// https://stackoverflow.com/a/53882322/6304152
|
|
387
|
+
static propTypes = getContainer().propTypes;
|
|
388
|
+
Table = getContainer();
|
|
389
389
|
render() {
|
|
390
390
|
return /*#__PURE__*/React.createElement(this.Table, this.props);
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
|
-
// https://stackoverflow.com/a/53882322/6304152
|
|
394
|
-
_defineProperty(TableContainer, "propTypes", getContainer().propTypes);
|
|
395
393
|
|
|
396
394
|
export { Table, TableContainer as default };
|
|
@@ -7,7 +7,6 @@ import Selection from './table-legacy-ng__selection.js';
|
|
|
7
7
|
import SelectionNavigateActions from './table-legacy-ng__selection-navigate-actions.js';
|
|
8
8
|
import TableToolbar from './table-legacy-ng__toolbar.js';
|
|
9
9
|
import TablePager from './table-legacy-ng__pager.js';
|
|
10
|
-
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
11
10
|
import 'element-resize-detector';
|
|
12
11
|
import '@jetbrains/icons/checkmark-14px';
|
|
13
12
|
import '../icon-ng/icon-ng.js';
|
|
@@ -26,6 +25,7 @@ import 'react-dom';
|
|
|
26
25
|
import '../global/react-dom-renderer.js';
|
|
27
26
|
import 'prop-types';
|
|
28
27
|
import '../pager/pager.js';
|
|
28
|
+
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
29
29
|
import 'classnames';
|
|
30
30
|
import '@jetbrains/icons/chevron-left';
|
|
31
31
|
import '@jetbrains/icons/chevron-right';
|
|
@@ -2,7 +2,6 @@ import angular from 'angular';
|
|
|
2
2
|
import Pager from '../pager-ng/pager-ng.js';
|
|
3
3
|
import messageBundleNg from '../message-bundle-ng/message-bundle-ng.js';
|
|
4
4
|
import '../global/angular-component-factory.js';
|
|
5
|
-
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
6
5
|
import 'react';
|
|
7
6
|
import '../global/react-render-adapter.js';
|
|
8
7
|
import 'react-dom';
|
|
@@ -10,6 +9,7 @@ import '../global/ring-angular-component.js';
|
|
|
10
9
|
import '../global/react-dom-renderer.js';
|
|
11
10
|
import 'prop-types';
|
|
12
11
|
import '../pager/pager.js';
|
|
12
|
+
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
13
13
|
import 'classnames';
|
|
14
14
|
import '@jetbrains/icons/chevron-left';
|
|
15
15
|
import '@jetbrains/icons/chevron-right';
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* Selection class, catches all selection and activation operations and triggers events
|
|
5
3
|
*/
|
|
6
4
|
class Selection {
|
|
5
|
+
suggestedItem = null;
|
|
7
6
|
constructor(items, emitEvent) {
|
|
8
7
|
let singleActiveElementAsSelection = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
9
|
-
_defineProperty(this, "suggestedItem", null);
|
|
10
8
|
this.items = items;
|
|
11
9
|
this.emitEvent = emitEvent;
|
|
12
10
|
this.singleActiveElementAsSelection = singleActiveElementAsSelection;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import angular from 'angular';
|
|
2
2
|
import { getDocumentScrollTop } from '../global/dom.js';
|
|
3
3
|
import scheduleRAF from '../global/schedule-raf.js';
|
|
4
|
-
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
5
4
|
|
|
6
5
|
const angularModule = angular.module('Ring.table-legacy.toolbar', []);
|
|
7
6
|
angularModule.directive('rgLegacyTableToolbar', function rgLegacyTableToolbarDirective() {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import angularComponentFactory from '../global/angular-component-factory.js';
|
|
2
2
|
import SmartTable from '../table/smart-table.js';
|
|
3
|
-
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
4
3
|
import 'angular';
|
|
5
4
|
import 'react';
|
|
6
5
|
import '../global/react-render-adapter.js';
|
|
@@ -8,6 +7,7 @@ import 'react-dom';
|
|
|
8
7
|
import '../global/ring-angular-component.js';
|
|
9
8
|
import '../global/react-dom-renderer.js';
|
|
10
9
|
import 'prop-types';
|
|
10
|
+
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
11
11
|
import '../table/table.js';
|
|
12
12
|
import 'classnames';
|
|
13
13
|
import 'react-movable';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import angularComponentFactory from '../global/angular-component-factory.js';
|
|
2
2
|
import TableContainer from '../table/table.js';
|
|
3
|
-
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
4
3
|
import 'angular';
|
|
5
4
|
import 'react';
|
|
6
5
|
import '../global/react-render-adapter.js';
|
|
@@ -8,6 +7,7 @@ import 'react-dom';
|
|
|
8
7
|
import '../global/ring-angular-component.js';
|
|
9
8
|
import '../global/react-dom-renderer.js';
|
|
10
9
|
import 'prop-types';
|
|
10
|
+
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
11
11
|
import 'classnames';
|
|
12
12
|
import 'react-movable';
|
|
13
13
|
import '../global/focus-sensor-hoc.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import chevronDown from '@jetbrains/icons/chevron-10px';
|
package/dist/tabs/dumb-tabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
@@ -69,42 +69,52 @@ import '../_helpers/button__classes.js';
|
|
|
69
69
|
import './collapsible-tab.js';
|
|
70
70
|
|
|
71
71
|
class Tabs extends PureComponent {
|
|
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
|
-
|
|
72
|
+
static propTypes = {
|
|
73
|
+
selected: PropTypes.string,
|
|
74
|
+
className: PropTypes.string,
|
|
75
|
+
tabContainerClassName: PropTypes.string,
|
|
76
|
+
href: PropTypes.string,
|
|
77
|
+
children: PropTypes.node.isRequired,
|
|
78
|
+
onSelect: PropTypes.func,
|
|
79
|
+
'data-test': PropTypes.string,
|
|
80
|
+
autoCollapse: PropTypes.bool
|
|
81
|
+
};
|
|
82
|
+
static defaultProps = {
|
|
83
|
+
onSelect() {}
|
|
84
|
+
};
|
|
85
|
+
handleSelect = memoize(key => () => this.props.onSelect(key));
|
|
86
|
+
getTabTitle = (child, i) => {
|
|
87
|
+
if (child == null || typeof child !== 'object' || child.type === CustomItem) {
|
|
88
|
+
return child;
|
|
89
|
+
}
|
|
90
|
+
const {
|
|
91
|
+
selected
|
|
92
|
+
} = this.props;
|
|
93
|
+
const {
|
|
94
|
+
title,
|
|
95
|
+
titleProps,
|
|
96
|
+
id,
|
|
97
|
+
disabled,
|
|
98
|
+
href,
|
|
99
|
+
className,
|
|
100
|
+
activeClassName
|
|
101
|
+
} = child.props;
|
|
102
|
+
const key = id || String(i);
|
|
103
|
+
const isSelected = key === selected;
|
|
104
|
+
const titleClasses = classNames(modules_02138f4a.title, className, isSelected && activeClassName, {
|
|
105
|
+
[modules_02138f4a.selected]: isSelected
|
|
106
106
|
});
|
|
107
|
-
|
|
107
|
+
return /*#__PURE__*/React.createElement(TabLink, _extends({
|
|
108
|
+
title: title,
|
|
109
|
+
isSelected: isSelected,
|
|
110
|
+
key: key,
|
|
111
|
+
href: href,
|
|
112
|
+
innerClassName: titleClasses,
|
|
113
|
+
className: titleClasses,
|
|
114
|
+
disabled: disabled,
|
|
115
|
+
onPlainLeftClick: this.handleSelect(key)
|
|
116
|
+
}, titleProps));
|
|
117
|
+
};
|
|
108
118
|
render() {
|
|
109
119
|
const {
|
|
110
120
|
className,
|
|
@@ -135,18 +145,5 @@ class Tabs extends PureComponent {
|
|
|
135
145
|
})));
|
|
136
146
|
}
|
|
137
147
|
}
|
|
138
|
-
_defineProperty(Tabs, "propTypes", {
|
|
139
|
-
selected: PropTypes.string,
|
|
140
|
-
className: PropTypes.string,
|
|
141
|
-
tabContainerClassName: PropTypes.string,
|
|
142
|
-
href: PropTypes.string,
|
|
143
|
-
children: PropTypes.node.isRequired,
|
|
144
|
-
onSelect: PropTypes.func,
|
|
145
|
-
'data-test': PropTypes.string,
|
|
146
|
-
autoCollapse: PropTypes.bool
|
|
147
|
-
});
|
|
148
|
-
_defineProperty(Tabs, "defaultProps", {
|
|
149
|
-
onSelect() {}
|
|
150
|
-
});
|
|
151
148
|
|
|
152
149
|
export { CustomItem, Tabs as default };
|
package/dist/tabs/smart-tabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
@@ -70,16 +70,21 @@ import './collapsible-tab.js';
|
|
|
70
70
|
import './custom-item.js';
|
|
71
71
|
|
|
72
72
|
class SmartTabs extends PureComponent {
|
|
73
|
+
static propTypes = {
|
|
74
|
+
children: PropTypes.arrayOf(PropTypes.element).isRequired,
|
|
75
|
+
initSelected: PropTypes.string,
|
|
76
|
+
'data-test': PropTypes.string
|
|
77
|
+
};
|
|
73
78
|
constructor(props) {
|
|
74
79
|
super(props);
|
|
75
|
-
_defineProperty(this, "state", void 0);
|
|
76
|
-
_defineProperty(this, "handleSelect", selected => this.setState({
|
|
77
|
-
selected
|
|
78
|
-
}));
|
|
79
80
|
this.state = {
|
|
80
81
|
selected: this.props.initSelected || Array.isArray(this.props.children) && this.props.children[0].props.id || '0'
|
|
81
82
|
};
|
|
82
83
|
}
|
|
84
|
+
state;
|
|
85
|
+
handleSelect = selected => this.setState({
|
|
86
|
+
selected
|
|
87
|
+
});
|
|
83
88
|
render() {
|
|
84
89
|
const {
|
|
85
90
|
children,
|
|
@@ -94,10 +99,5 @@ class SmartTabs extends PureComponent {
|
|
|
94
99
|
}, restProps), children);
|
|
95
100
|
}
|
|
96
101
|
}
|
|
97
|
-
_defineProperty(SmartTabs, "propTypes", {
|
|
98
|
-
children: PropTypes.arrayOf(PropTypes.element).isRequired,
|
|
99
|
-
initSelected: PropTypes.string,
|
|
100
|
-
'data-test': PropTypes.string
|
|
101
|
-
});
|
|
102
102
|
|
|
103
103
|
export { SmartTabs as default };
|
package/dist/tabs/tab.js
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
1
|
import React, { PureComponent } from 'react';
|
|
3
2
|
import PropTypes from 'prop-types';
|
|
4
3
|
import classNames from 'classnames';
|
|
5
4
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
6
5
|
|
|
7
6
|
class Tab extends PureComponent {
|
|
7
|
+
static propTypes = {
|
|
8
|
+
title: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,
|
|
9
|
+
id: PropTypes.string,
|
|
10
|
+
className: PropTypes.string,
|
|
11
|
+
children: PropTypes.node,
|
|
12
|
+
'data-test': PropTypes.string
|
|
13
|
+
};
|
|
8
14
|
render() {
|
|
9
15
|
const {
|
|
10
16
|
className,
|
|
@@ -17,12 +23,5 @@ class Tab extends PureComponent {
|
|
|
17
23
|
}, children);
|
|
18
24
|
}
|
|
19
25
|
}
|
|
20
|
-
_defineProperty(Tab, "propTypes", {
|
|
21
|
-
title: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,
|
|
22
|
-
id: PropTypes.string,
|
|
23
|
-
className: PropTypes.string,
|
|
24
|
-
children: PropTypes.node,
|
|
25
|
-
'data-test': PropTypes.string
|
|
26
|
-
});
|
|
27
26
|
|
|
28
27
|
export { Tab as default };
|
package/dist/tag/tag.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
@@ -22,23 +22,36 @@ var modules_2f9be069 = {"unit":"i__const_unit_0","max-height":"20px","tag":"tag_
|
|
|
22
22
|
* @name Tag
|
|
23
23
|
*/
|
|
24
24
|
class Tag extends PureComponent {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
25
|
+
static propTypes = {
|
|
26
|
+
onRemove: PropTypes.func,
|
|
27
|
+
onClick: PropTypes.func,
|
|
28
|
+
rgTagIcon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),
|
|
29
|
+
icon: PropTypes.string,
|
|
30
|
+
avatar: PropTypes.string,
|
|
31
|
+
rgTagTitle: PropTypes.string,
|
|
32
|
+
readOnly: PropTypes.bool,
|
|
33
|
+
disabled: PropTypes.bool,
|
|
34
|
+
focused: PropTypes.bool,
|
|
35
|
+
angled: PropTypes.bool,
|
|
36
|
+
backgroundColor: PropTypes.string,
|
|
37
|
+
textColor: PropTypes.string,
|
|
38
|
+
children: PropTypes.node,
|
|
39
|
+
className: PropTypes.string,
|
|
40
|
+
render: PropTypes.func
|
|
41
|
+
};
|
|
42
|
+
static defaultProps = {
|
|
43
|
+
onRemove: () => {},
|
|
44
|
+
onClick: () => {},
|
|
45
|
+
readOnly: false,
|
|
46
|
+
disabled: false,
|
|
47
|
+
focused: false,
|
|
48
|
+
render: props => /*#__PURE__*/React.createElement("button", _extends({
|
|
49
|
+
type: "button"
|
|
50
|
+
}, props))
|
|
51
|
+
};
|
|
52
|
+
state = {
|
|
53
|
+
focused: false
|
|
54
|
+
};
|
|
42
55
|
componentDidUpdate(prevProps) {
|
|
43
56
|
if (this.props.focused !== prevProps.focused) {
|
|
44
57
|
this.setState({
|
|
@@ -56,6 +69,17 @@ class Tag extends PureComponent {
|
|
|
56
69
|
focused: false
|
|
57
70
|
});
|
|
58
71
|
}
|
|
72
|
+
onDocumentClick = event => {
|
|
73
|
+
if (this.tagNode) {
|
|
74
|
+
this.setState({
|
|
75
|
+
focused: this.tagNode === event.target
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
tagNode;
|
|
80
|
+
tagRef = el => {
|
|
81
|
+
this.tagNode = el;
|
|
82
|
+
};
|
|
59
83
|
setDocumentClickListener(setListener) {
|
|
60
84
|
if (setListener) {
|
|
61
85
|
document.addEventListener('click', this.onDocumentClick);
|
|
@@ -145,32 +169,5 @@ class Tag extends PureComponent {
|
|
|
145
169
|
}), this.renderRemoveIcon());
|
|
146
170
|
}
|
|
147
171
|
}
|
|
148
|
-
_defineProperty(Tag, "propTypes", {
|
|
149
|
-
onRemove: PropTypes.func,
|
|
150
|
-
onClick: PropTypes.func,
|
|
151
|
-
rgTagIcon: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]),
|
|
152
|
-
icon: PropTypes.string,
|
|
153
|
-
avatar: PropTypes.string,
|
|
154
|
-
rgTagTitle: PropTypes.string,
|
|
155
|
-
readOnly: PropTypes.bool,
|
|
156
|
-
disabled: PropTypes.bool,
|
|
157
|
-
focused: PropTypes.bool,
|
|
158
|
-
angled: PropTypes.bool,
|
|
159
|
-
backgroundColor: PropTypes.string,
|
|
160
|
-
textColor: PropTypes.string,
|
|
161
|
-
children: PropTypes.node,
|
|
162
|
-
className: PropTypes.string,
|
|
163
|
-
render: PropTypes.func
|
|
164
|
-
});
|
|
165
|
-
_defineProperty(Tag, "defaultProps", {
|
|
166
|
-
onRemove: () => {},
|
|
167
|
-
onClick: () => {},
|
|
168
|
-
readOnly: false,
|
|
169
|
-
disabled: false,
|
|
170
|
-
focused: false,
|
|
171
|
-
render: props => /*#__PURE__*/React.createElement("button", _extends({
|
|
172
|
-
type: "button"
|
|
173
|
-
}, props))
|
|
174
|
-
});
|
|
175
172
|
|
|
176
173
|
export { Tag as default };
|