@jetbrains/ring-ui 4.1.13 → 4.1.17
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/date-picker/date-picker.css +1 -0
- package/components/select/select.js +3 -1
- package/dist/_helpers/anchor.js +1 -1
- package/dist/_helpers/badge.js +1 -1
- package/dist/_helpers/button-group.js +1 -1
- package/dist/_helpers/button-set.js +1 -1
- package/dist/_helpers/button-toolbar.js +1 -1
- package/dist/_helpers/button__classes.js +1 -1
- package/dist/_helpers/card.js +1 -1
- package/dist/_helpers/checkbox.js +1 -1
- package/dist/_helpers/date-picker.js +1 -1
- package/dist/_helpers/dialog__body-scroll-preventer.js +3 -2
- package/dist/_helpers/error-message.js +1 -1
- package/dist/_helpers/footer.js +1 -1
- package/dist/_helpers/grid.js +1 -1
- package/dist/_helpers/group.js +1 -1
- package/dist/_helpers/header.js +1 -1
- package/dist/_helpers/icon.js +1 -1
- package/dist/_helpers/inject-styles.js +5 -5
- package/dist/_helpers/input.js +1 -1
- package/dist/_helpers/island.js +1 -1
- package/dist/_helpers/link.js +1 -1
- package/dist/_helpers/list.js +1 -1
- package/dist/_helpers/loader-screen.js +1 -1
- package/dist/_helpers/panel.js +1 -1
- package/dist/_helpers/query-assist__suggestions.js +1 -1
- package/dist/_helpers/radio.js +1 -1
- package/dist/_helpers/select__filter.js +2 -1
- package/dist/_helpers/services-link.js +2 -2
- package/dist/_helpers/sidebar.js +3 -2
- package/dist/_helpers/table.js +1 -1
- package/dist/_helpers/tabs.js +1 -1
- package/dist/_helpers/title.js +2 -1
- package/dist/alert/alert.js +3 -1
- package/dist/alert/container.js +1 -1
- package/dist/alert-service/alert-service.js +2 -0
- package/dist/analytics/analytics.js +5 -3
- package/dist/analytics/analytics__custom-plugin.js +2 -1
- package/dist/analytics/analytics__fus-plugin.js +1 -0
- package/dist/analytics/analytics__plugin-utils.js +4 -3
- package/dist/analytics-ng/analytics-ng.js +3 -2
- package/dist/auth/auth.js +2 -0
- package/dist/auth/auth__core.js +16 -12
- package/dist/auth/background-flow.js +2 -1
- package/dist/auth/down-notification.js +3 -1
- package/dist/auth/iframe-flow.js +2 -0
- package/dist/auth/landing.js +6 -4
- package/dist/auth/request-builder.js +1 -0
- package/dist/auth/response-parser.js +1 -0
- package/dist/auth/storage.js +2 -0
- package/dist/auth/token-validator.js +2 -0
- package/dist/auth/window-flow.js +2 -1
- package/dist/auth-dialog/auth-dialog.js +4 -2
- package/dist/auth-dialog-service/auth-dialog-service.js +2 -0
- package/dist/auth-ng/auth-ng.js +3 -1
- package/dist/autofocus-ng/autofocus-ng.js +1 -0
- package/dist/avatar/avatar-example-datauri.js +1 -23
- package/dist/avatar/avatar.js +5 -3
- package/dist/avatar/fallback-avatar.js +4 -3
- package/dist/avatar-editor-ng/avatar-editor-ng.js +2 -0
- package/dist/avatar-editor-ng/avatar-editor-ng__template.js +1 -28
- package/dist/avatar-ng/avatar-ng.js +2 -0
- package/dist/badge/badge.js +1 -0
- package/dist/badge-ng/badge-ng.js +1 -0
- package/dist/breadcrumb-ng/breadcrumb-ng.js +4 -28
- package/dist/button/button.js +2 -0
- package/dist/button-group-ng/button-group-ng.js +2 -1
- package/dist/button-ng/button-ng.js +5 -11
- package/dist/button-set-ng/button-set-ng.js +1 -1
- package/dist/button-toolbar-ng/button-toolbar-ng.js +1 -0
- package/dist/caret/caret.js +2 -0
- package/dist/checkbox/checkbox.js +2 -0
- package/dist/checkbox-ng/checkbox-ng.js +3 -20
- package/dist/code/code.js +4 -3
- package/dist/confirm/confirm.js +3 -1
- package/dist/confirm-ng/confirm-ng.js +2 -0
- package/dist/confirm-service/confirm-service.js +2 -0
- package/dist/content-layout/content-layout.js +1 -0
- package/dist/content-layout/sidebar.js +1 -0
- package/dist/data-list/data-list.js +2 -0
- package/dist/data-list/data-list.mock.js +1 -0
- package/dist/data-list/item.js +2 -0
- package/dist/data-list/selection.js +1 -0
- package/dist/data-list/title.js +2 -0
- package/dist/data-list-ng/data-list-ng.js +2 -0
- package/dist/date-picker/consts.js +2 -2
- package/dist/date-picker/date-input.js +3 -1
- package/dist/date-picker/date-picker.js +10 -8
- package/dist/date-picker/date-popup.js +2 -0
- package/dist/date-picker/day.js +1 -0
- package/dist/date-picker/month-names.js +1 -0
- package/dist/date-picker/month-slider.js +1 -0
- package/dist/date-picker/month.js +1 -0
- package/dist/date-picker/months.js +1 -0
- package/dist/date-picker/years.js +1 -0
- package/dist/dialog/dialog.js +2 -0
- package/dist/dialog/dialog__body-scroll-preventer.js +1 -0
- package/dist/dialog-ng/dialog-ng.js +11 -6
- package/dist/dialog-ng/dialog-ng__template.js +1 -69
- package/dist/docked-panel-ng/docked-panel-ng.js +2 -1
- package/dist/dropdown/anchor.js +2 -0
- package/dist/dropdown/dropdown.js +2 -0
- package/dist/dropdown-menu/dropdown-menu.js +3 -1
- package/dist/error-bubble/error-bubble.js +3 -1
- package/dist/error-message/error-message.js +3 -1
- package/dist/error-message-ng/error-message-ng.js +3 -21
- package/dist/footer/footer.js +1 -0
- package/dist/footer-ng/footer-ng.js +3 -14
- package/dist/form-ng/form-ng.js +2 -4
- package/dist/global/angular-component-factory.js +3 -2
- package/dist/global/conic-gradient.js +4 -4
- package/dist/global/create-stateful-context.js +3 -2
- package/dist/global/data-tests.js +2 -0
- package/dist/global/dom.js +1 -0
- package/dist/global/focus-sensor-hoc.js +1 -0
- package/dist/global/fuzzy-highlight.js +1 -1
- package/dist/global/inject-styles.js +5 -7
- package/dist/global/listeners.js +2 -0
- package/dist/global/memoize.js +2 -0
- package/dist/global/normalize-indent.js +2 -0
- package/dist/global/radial-gradient-mask.js +8 -19
- package/dist/global/react-dom-renderer.js +1 -0
- package/dist/global/rerender-hoc.js +2 -1
- package/dist/global/supports-css.js +2 -0
- package/dist/global/theme.js +1 -1
- package/dist/global/trivial-template-tag.js +2 -0
- package/dist/global/url.js +3 -1
- package/dist/grid/col.js +1 -1
- package/dist/grid/row.js +1 -1
- package/dist/group-ng/group-ng.js +1 -1
- package/dist/header/header.js +2 -0
- package/dist/header/logo.js +2 -0
- package/dist/header/profile.js +2 -0
- package/dist/header/services-link.js +1 -0
- package/dist/header/services.js +2 -0
- package/dist/header/smart-profile.js +7 -3
- package/dist/header/smart-services.js +3 -1
- package/dist/header/tray-icon.js +2 -0
- package/dist/heading/heading.js +3 -3
- package/dist/http/http.js +4 -2
- package/dist/http/http.mock.js +2 -0
- package/dist/hub-source/hub-source.js +1 -1
- package/dist/hub-source/hub-source__user.js +4 -2
- package/dist/hub-source/hub-source__users-groups.js +3 -2
- package/dist/icon/icon.js +3 -3
- package/dist/icon/icon__svg.js +2 -0
- package/dist/icon/index.js +2 -0
- package/dist/icon-ng/icon-ng.js +7 -5
- package/dist/input/input.js +4 -2
- package/dist/input-ng/input-ng.js +6 -61
- package/dist/island/adaptive-island-hoc.js +1 -0
- package/dist/island/content.js +1 -0
- package/dist/island/header.js +3 -2
- package/dist/island/island.js +1 -0
- package/dist/island-ng/island-content-ng.js +2 -16
- package/dist/island-ng/island-header-ng.js +2 -8
- package/dist/island-ng/island-ng-class-fixer.js +2 -0
- package/dist/island-ng/island-ng.js +2 -8
- package/dist/link/clickableLink.js +1 -0
- package/dist/link/link.js +1 -0
- package/dist/link-ng/link-ng.js +1 -4
- package/dist/list/list.js +10 -8
- package/dist/list/list__custom.js +1 -0
- package/dist/list/list__item.js +5 -3
- package/dist/list/list__link.js +1 -0
- package/dist/list/list__users-groups-source.js +3 -1
- package/dist/loader/loader.js +1 -0
- package/dist/loader/loader__core.js +5 -4
- package/dist/loader-inline/inject-styles.js +2 -0
- package/dist/loader-inline/loader-inline.js +3 -1
- package/dist/loader-inline-ng/loader-inline-ng.js +4 -2
- package/dist/loader-ng/loader-ng.js +1 -0
- package/dist/loader-screen/loader-screen.js +1 -0
- package/dist/loader-screen-ng/loader-screen-ng.js +2 -6
- package/dist/login-dialog/login-dialog.js +3 -1
- package/dist/login-dialog/service.js +2 -0
- package/dist/markdown/code.js +1 -0
- package/dist/markdown/link.js +1 -0
- package/dist/markdown/markdown.js +2 -1
- package/dist/message/message.js +11 -5
- package/dist/old-browsers-message/old-browsers-message.js +2 -1
- package/dist/old-browsers-message/old-browsers-message__stop.js +1 -0
- package/dist/old-browsers-message/white-list.js +1 -0
- package/dist/pager/pager.js +4 -2
- package/dist/pager-ng/pager-ng.js +2 -0
- package/dist/panel-ng/panel-ng.js +1 -0
- package/dist/permissions/permissions.js +1 -1
- package/dist/permissions-ng/permissions-ng.js +3 -1
- package/dist/place-under-ng/place-under-ng.js +3 -2
- package/dist/popup/popup.js +5 -3
- package/dist/popup/position.js +1 -0
- package/dist/popup-menu/popup-menu.js +2 -0
- package/dist/progress-bar/progress-bar.js +3 -2
- package/dist/progress-bar-ng/progress-bar-ng.js +1 -0
- package/dist/promised-click-ng/promised-click-ng.js +2 -0
- package/dist/proxy-attrs/proxy-attrs.js +5 -3
- package/dist/query-assist/query-assist.js +10 -6
- package/dist/query-assist/query-assist__suggestions.js +2 -0
- package/dist/query-assist-ng/query-assist-ng.js +2 -0
- package/dist/radio/radio.js +1 -0
- package/dist/radio/radio__item.js +1 -0
- package/dist/radio-ng/radio-ng.js +2 -18
- package/dist/save-field-ng/save-field-ng.js +3 -1
- package/dist/save-field-ng/save-field-ng__template.js +1 -32
- package/dist/select/select.js +13 -8
- package/dist/select/select__filter.js +2 -0
- package/dist/select/select__popup.js +3 -1
- package/dist/select-ng/select-ng.js +2 -0
- package/dist/select-ng/select-ng__lazy.js +2 -0
- package/dist/select-ng/select-ng__options.js +2 -2
- package/dist/shortcuts/shortcuts-hoc.js +1 -0
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +3 -0
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng__template.js +1 -48
- package/dist/shortcuts-ng/shortcuts-ng.js +4 -3
- package/dist/sidebar-ng/sidebar-ng.js +2 -0
- package/dist/sidebar-ng/sidebar-ng__button-template.js +1 -18
- package/dist/sidebar-ng/sidebar-ng__template.js +1 -10
- package/dist/storage/storage.js +2 -0
- package/dist/storage/storage__fallback.js +4 -3
- package/dist/storage/storage__local.js +2 -0
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.js +2 -1
- package/dist/table/cell.js +1 -0
- package/dist/table/disable-hover-hoc.js +1 -0
- package/dist/table/header-cell.js +2 -0
- package/dist/table/header.js +2 -0
- package/dist/table/multitable.js +1 -0
- package/dist/table/row-with-focus-sensor.js +2 -0
- package/dist/table/row.js +3 -1
- package/dist/table/selection-adapter.js +2 -0
- package/dist/table/selection-shortcuts-hoc.js +1 -0
- package/dist/table/selection.js +2 -0
- package/dist/table/smart-table.js +2 -0
- package/dist/table/table.js +2 -0
- package/dist/table-legacy-ng/table-legacy-ng.js +10 -45
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +3 -7
- package/dist/table-legacy-ng/table-legacy-ng__toolbar.js +2 -1
- package/dist/table-ng/smart-table-ng.js +2 -0
- package/dist/table-ng/table-ng.js +2 -0
- package/dist/tabs/collapsible-more.js +2 -0
- package/dist/tabs/collapsible-tab.js +1 -0
- package/dist/tabs/collapsible-tabs.js +2 -0
- package/dist/tabs/dumb-tabs.js +2 -0
- package/dist/tabs/smart-tabs.js +2 -0
- package/dist/tabs/tab-link.js +1 -0
- package/dist/tabs/tab.js +1 -0
- package/dist/tabs/tabs.js +2 -0
- package/dist/tabs-ng/tabs-ng.js +1 -0
- package/dist/tabs-ng/tabs-ng__template.js +1 -38
- package/dist/tag/tag.js +3 -1
- package/dist/tags-input/tags-input.js +4 -2
- package/dist/tags-input-ng/tags-input-ng.js +2 -0
- package/dist/tags-list/tags-list.js +3 -1
- package/dist/template-ng/template-ng.js +1 -0
- package/dist/text/text.js +1 -1
- package/dist/theme-ng/theme-ng.js +1 -0
- package/dist/toggle/toggle.js +2 -1
- package/dist/toggle-ng/toggle-ng.js +1 -0
- package/dist/tooltip/tooltip.js +9 -3
- package/dist/tooltip-ng/tooltip-ng.js +2 -0
- package/dist/user-agreement/service.js +2 -0
- package/dist/user-agreement/toolbox.eula.js +1 -160
- package/dist/user-agreement/user-agreement.js +3 -1
- package/dist/user-card/card.js +2 -0
- package/dist/user-card/smart-user-card-tooltip.js +2 -0
- package/dist/user-card/tooltip.js +2 -0
- package/dist/user-card/user-card.js +2 -0
- package/dist/user-card-ng/user-card-ng.js +2 -0
- package/package.json +14 -14
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { Component } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import { isNodeInVisiblePartOfPage } from '../global/dom.js';
|
|
5
6
|
|
|
6
|
-
var modules_6dce58ae = {"trapButton":"
|
|
7
|
+
var modules_6dce58ae = {"trapButton":"trapButton_rui_b5fe"};
|
|
7
8
|
|
|
8
9
|
const FOCUSABLE_ELEMENTS = 'input, button, select, textarea, a[href], *[tabindex]:not([data-trap-button]):not([data-scrollable-container])';
|
|
9
10
|
/**
|
package/dist/table/cell.js
CHANGED
|
@@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
6
6
|
import { m as modules_1db4bbca } from '../_helpers/table.js';
|
|
7
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
8
|
|
|
8
9
|
class Cell extends PureComponent {
|
|
9
10
|
render() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -11,6 +12,7 @@ import 'util-deprecate';
|
|
|
11
12
|
import '../icon/icon__constants.js';
|
|
12
13
|
import '../_helpers/icon.js';
|
|
13
14
|
import '../icon/icon__svg.js';
|
|
15
|
+
import 'core-js/modules/es.string.replace.js';
|
|
14
16
|
import '../global/memoize.js';
|
|
15
17
|
|
|
16
18
|
class HeaderCell extends PureComponent {
|
package/dist/table/header.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -14,6 +15,7 @@ import 'util-deprecate';
|
|
|
14
15
|
import '../icon/icon__constants.js';
|
|
15
16
|
import '../_helpers/icon.js';
|
|
16
17
|
import '../icon/icon__svg.js';
|
|
18
|
+
import 'core-js/modules/es.string.replace.js';
|
|
17
19
|
import '../global/memoize.js';
|
|
18
20
|
import '../_helpers/checkbox.js';
|
|
19
21
|
import '@jetbrains/icons/unsorted-10px';
|
package/dist/table/multitable.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import focusSensorHOC from '../global/focus-sensor-hoc.js';
|
|
4
5
|
import Row from './row.js';
|
|
@@ -16,6 +17,7 @@ import 'util-deprecate';
|
|
|
16
17
|
import '../icon/icon__constants.js';
|
|
17
18
|
import '../_helpers/icon.js';
|
|
18
19
|
import '../icon/icon__svg.js';
|
|
20
|
+
import 'core-js/modules/es.string.replace.js';
|
|
19
21
|
import '../global/memoize.js';
|
|
20
22
|
import '../_helpers/checkbox.js';
|
|
21
23
|
import '../button/button.js';
|
package/dist/table/row.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -20,6 +21,7 @@ import 'util-deprecate';
|
|
|
20
21
|
import '../icon/icon__constants.js';
|
|
21
22
|
import '../_helpers/icon.js';
|
|
22
23
|
import '../icon/icon__svg.js';
|
|
24
|
+
import 'core-js/modules/es.string.replace.js';
|
|
23
25
|
import '../global/memoize.js';
|
|
24
26
|
import '../_helpers/checkbox.js';
|
|
25
27
|
import 'focus-visible';
|
|
@@ -158,7 +160,7 @@ class Row extends PureComponent {
|
|
|
158
160
|
const COLLAPSIBLE_PARENT_OFFSET = 20;
|
|
159
161
|
const gap = level * SUBITEM_OFFSET + (parentCollapsible ? COLLAPSIBLE_PARENT_OFFSET : 0);
|
|
160
162
|
const metaColumnStyle = {
|
|
161
|
-
paddingLeft:
|
|
163
|
+
paddingLeft: "".concat(gap, "px")
|
|
162
164
|
};
|
|
163
165
|
const metaColumn = /*#__PURE__*/React.createElement("div", {
|
|
164
166
|
className: metaColumnClasses,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import Selection from './selection.js';
|
package/dist/table/selection.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import Table from './table.js';
|
|
@@ -27,6 +28,7 @@ import 'util-deprecate';
|
|
|
27
28
|
import '../icon/icon__constants.js';
|
|
28
29
|
import '../_helpers/icon.js';
|
|
29
30
|
import '../icon/icon__svg.js';
|
|
31
|
+
import 'core-js/modules/es.string.replace.js';
|
|
30
32
|
import '../global/memoize.js';
|
|
31
33
|
import '../_helpers/checkbox.js';
|
|
32
34
|
import '../_helpers/table.js';
|
package/dist/table/table.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -30,6 +31,7 @@ import 'util-deprecate';
|
|
|
30
31
|
import '../icon/icon__constants.js';
|
|
31
32
|
import '../_helpers/icon.js';
|
|
32
33
|
import '../icon/icon__svg.js';
|
|
34
|
+
import 'core-js/modules/es.string.replace.js';
|
|
33
35
|
import '../global/memoize.js';
|
|
34
36
|
import '../_helpers/checkbox.js';
|
|
35
37
|
import './header-cell.js';
|
|
@@ -8,9 +8,11 @@ import SelectionNavigateActions from './table-legacy-ng__selection-navigate-acti
|
|
|
8
8
|
import TableToolbar from './table-legacy-ng__toolbar.js';
|
|
9
9
|
import TablePager from './table-legacy-ng__pager.js';
|
|
10
10
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
11
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
11
12
|
import 'element-resize-detector';
|
|
12
13
|
import '@jetbrains/icons/checkmark';
|
|
13
14
|
import '../icon-ng/icon-ng.js';
|
|
15
|
+
import 'core-js/modules/es.string.replace.js';
|
|
14
16
|
import '../icon/icon__constants.js';
|
|
15
17
|
import '../template-ng/template-ng.js';
|
|
16
18
|
import '../global/ring-angular-component.js';
|
|
@@ -162,10 +164,7 @@ angularModule.directive('rgLegacyTableHeader', ["getClosestElementWithCommonPare
|
|
|
162
164
|
const TOOLBAR_FIXED_CLASSNAME = 'ring-table__toolbar-controls_fixed';
|
|
163
165
|
return {
|
|
164
166
|
restrict: 'E',
|
|
165
|
-
template:
|
|
166
|
-
<tr class="ring-table__header" ng-transclude></tr>
|
|
167
|
-
<tr class="ring-table__header ring-table__header_sticky" rg-place-under="{{stickToSelector}}" ng-transclude></tr>
|
|
168
|
-
</thead>`,
|
|
167
|
+
template: "<thead>\n <tr class=\"ring-table__header\" ng-transclude></tr>\n <tr class=\"ring-table__header ring-table__header_sticky\" rg-place-under=\"{{stickToSelector}}\" ng-transclude></tr>\n</thead>",
|
|
169
168
|
transclude: true,
|
|
170
169
|
replace: true,
|
|
171
170
|
link: function link(scope, iElement, iAttrs) {
|
|
@@ -180,14 +179,14 @@ angularModule.directive('rgLegacyTableHeader', ["getClosestElementWithCommonPare
|
|
|
180
179
|
const scrollableHeader = element.querySelector('.ring-table__header:not(.ring-table__header_sticky)');
|
|
181
180
|
const fixedHeader = element.querySelector('.ring-table__header_sticky');
|
|
182
181
|
|
|
183
|
-
const toolbarFixed = () => stickToElement.querySelector(
|
|
182
|
+
const toolbarFixed = () => stickToElement.querySelector(".".concat(TOOLBAR_FIXED_CLASSNAME)) !== null;
|
|
184
183
|
/**
|
|
185
184
|
* Sync header columns width with real table
|
|
186
185
|
*/
|
|
187
186
|
|
|
188
187
|
|
|
189
188
|
const resizeFixedHeader = debounce(() => {
|
|
190
|
-
fixedHeader.style.width =
|
|
189
|
+
fixedHeader.style.width = "".concat(scrollableHeader.offsetWidth, "px");
|
|
191
190
|
const titles = Array.from(fixedHeader.querySelectorAll('.ring-table__title'));
|
|
192
191
|
titles.forEach((titleElement, index) => {
|
|
193
192
|
const targetHeaderTitle = scrollableHeader.querySelectorAll('.ring-table__title')[index];
|
|
@@ -235,18 +234,7 @@ angularModule.directive('rgLegacyTableBody', function rgLegacyTableBodyDirective
|
|
|
235
234
|
});
|
|
236
235
|
angularModule.directive('rgLegacyTableRow', function rgLegacyTableRowDirective() {
|
|
237
236
|
return {
|
|
238
|
-
template:
|
|
239
|
-
ng-mouseover="rowCtrl.onMouseOver(rowCtrl.rowItem)"
|
|
240
|
-
ng-mouseout="rowCtrl.onMouseOut(rowCtrl.rowItem)"
|
|
241
|
-
class="ring-table__row" ng-class="{
|
|
242
|
-
'ring-table__row_active': rowCtrl.rowItem.active,
|
|
243
|
-
'ring-table__row_checked': rowCtrl.rowItem.checked,
|
|
244
|
-
'ring-table__row_active-checked': rowCtrl.rowItem.active && !rowCtrl.hasCheckedItems(),
|
|
245
|
-
'ring-table__row_implicit': rowCtrl.rowItem.implicit,
|
|
246
|
-
'ring-table__row_expanded': rowCtrl.rowItem.expanded,
|
|
247
|
-
'ring-table__row_unselectable': rowCtrl.rowItem.unselectable
|
|
248
|
-
}" ng-transclude>
|
|
249
|
-
</tr>`,
|
|
237
|
+
template: "<tr ng-click=\"rowCtrl.setActiveItem(rowCtrl.rowItem)\"\n ng-mouseover=\"rowCtrl.onMouseOver(rowCtrl.rowItem)\"\n ng-mouseout=\"rowCtrl.onMouseOut(rowCtrl.rowItem)\"\n class=\"ring-table__row\" ng-class=\"{\n 'ring-table__row_active': rowCtrl.rowItem.active,\n 'ring-table__row_checked': rowCtrl.rowItem.checked,\n 'ring-table__row_active-checked': rowCtrl.rowItem.active && !rowCtrl.hasCheckedItems(),\n 'ring-table__row_implicit': rowCtrl.rowItem.implicit,\n 'ring-table__row_expanded': rowCtrl.rowItem.expanded,\n 'ring-table__row_unselectable': rowCtrl.rowItem.unselectable\n }\" ng-transclude>\n</tr>",
|
|
250
238
|
restrict: 'E',
|
|
251
239
|
transclude: true,
|
|
252
240
|
replace: true,
|
|
@@ -384,11 +372,7 @@ angularModule.directive('rgLegacyTableCheckboxCell', function rgLegacyTableCheck
|
|
|
384
372
|
transclude: true,
|
|
385
373
|
require: '^rgLegacyTableRow',
|
|
386
374
|
replace: true,
|
|
387
|
-
template:
|
|
388
|
-
<td class="ring-table__selector ring-table__column_selector" ng-class="{\'ring-table__column\': !isEmbedded}">
|
|
389
|
-
<rg-checkbox ng-model="getRowItem().checked" title="{{getTitle()}}" aria-label="{{geAriaLabel()}}"/>
|
|
390
|
-
</td>
|
|
391
|
-
`.trim(),
|
|
375
|
+
template: "\n<td class=\"ring-table__selector ring-table__column_selector\" ng-class=\"{'ring-table__column': !isEmbedded}\">\n <rg-checkbox ng-model=\"getRowItem().checked\" title=\"{{getTitle()}}\" aria-label=\"{{geAriaLabel()}}\"/>\n</td>\n ".trim(),
|
|
392
376
|
link: function link(scope, iElement, iAttrs, rowCtrl) {
|
|
393
377
|
/**
|
|
394
378
|
* rowItem getter to use it as ng-model for checkbox
|
|
@@ -417,15 +401,7 @@ angularModule.directive('rgLegacyTableTitle', function rgLegacyTableTitleDirecti
|
|
|
417
401
|
transclude: true,
|
|
418
402
|
replace: true,
|
|
419
403
|
scope: true,
|
|
420
|
-
template:
|
|
421
|
-
ng-class="{
|
|
422
|
-
'ring-table__title_border': isBorder,
|
|
423
|
-
'ring-table__title_active': isActive,
|
|
424
|
-
'ring-table__column_snuggle-right': isPullRight,
|
|
425
|
-
'ring-table__column_snuggle-left': isPullLeft,
|
|
426
|
-
'ring-table__column_align-right' : isAlignRight
|
|
427
|
-
}" ng-transclude>
|
|
428
|
-
</th>`,
|
|
404
|
+
template: "<th class=\"ring-table__title\"\n ng-class=\"{\n 'ring-table__title_border': isBorder,\n 'ring-table__title_active': isActive,\n 'ring-table__column_snuggle-right': isPullRight,\n 'ring-table__column_snuggle-left': isPullLeft,\n 'ring-table__column_align-right' : isAlignRight\n }\" ng-transclude>\n</th>",
|
|
429
405
|
link: function link(scope, iElement, iAttrs) {
|
|
430
406
|
/**
|
|
431
407
|
* One time property assigning without watching through isolated scope helps to improve performance
|
|
@@ -453,18 +429,7 @@ angularModule.directive('rgLegacyTableColumn', function rgLegacyTableColumnDirec
|
|
|
453
429
|
transclude: true,
|
|
454
430
|
replace: true,
|
|
455
431
|
scope: true,
|
|
456
|
-
template:
|
|
457
|
-
ng-class="{
|
|
458
|
-
'ring-table__column_limited': isLimited,
|
|
459
|
-
'ring-table__column_unlimited': isUnlimited,
|
|
460
|
-
'ring-table__column_right': isAlignRight,
|
|
461
|
-
'ring-table__avatar': isAvatar,
|
|
462
|
-
'ring-table__column_wide': isWide,
|
|
463
|
-
'ring-table__column_gray': isGray,
|
|
464
|
-
'ring-table__column_snuggle-right': isPullRight,
|
|
465
|
-
'ring-table__column_snuggle-left': isPullLeft
|
|
466
|
-
}" ng-transclude>
|
|
467
|
-
</td>`,
|
|
432
|
+
template: "<td class=\"ring-table__column\"\n ng-class=\"{\n 'ring-table__column_limited': isLimited,\n 'ring-table__column_unlimited': isUnlimited,\n 'ring-table__column_right': isAlignRight,\n 'ring-table__avatar': isAvatar,\n 'ring-table__column_wide': isWide,\n 'ring-table__column_gray': isGray,\n 'ring-table__column_snuggle-right': isPullRight,\n 'ring-table__column_snuggle-left': isPullLeft\n }\" ng-transclude>\n</td>",
|
|
468
433
|
link: function link(scope, iElement, iAttrs) {
|
|
469
434
|
const element = iElement[0];
|
|
470
435
|
const FULL_WIDTH = 100;
|
|
@@ -481,7 +446,7 @@ angularModule.directive('rgLegacyTableColumn', function rgLegacyTableColumnDirec
|
|
|
481
446
|
const unlimitedColumnsCount = element.parentNode.querySelectorAll('.ring-table__column[unlimited]').length;
|
|
482
447
|
|
|
483
448
|
if (unlimitedColumnsCount > 1) {
|
|
484
|
-
element.style.width =
|
|
449
|
+
element.style.width = "".concat((FULL_WIDTH / unlimitedColumnsCount).toFixed(), "%");
|
|
485
450
|
}
|
|
486
451
|
}
|
|
487
452
|
|
|
@@ -3,6 +3,7 @@ import Pager from '../pager-ng/pager-ng.js';
|
|
|
3
3
|
import MessageBundle from '../message-bundle-ng/message-bundle-ng.js';
|
|
4
4
|
import '../global/angular-component-factory.js';
|
|
5
5
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
6
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
6
7
|
import 'react';
|
|
7
8
|
import 'react-dom';
|
|
8
9
|
import '../global/ring-angular-component.js';
|
|
@@ -20,6 +21,7 @@ import 'util-deprecate';
|
|
|
20
21
|
import '../icon/icon__constants.js';
|
|
21
22
|
import '../_helpers/icon.js';
|
|
22
23
|
import '../icon/icon__svg.js';
|
|
24
|
+
import 'core-js/modules/es.string.replace.js';
|
|
23
25
|
import '../global/memoize.js';
|
|
24
26
|
import '../global/theme.js';
|
|
25
27
|
import '../link/clickableLink.js';
|
|
@@ -97,13 +99,7 @@ const angularModule = angular.module('Ring.table-legacy.pager', [MessageBundle,
|
|
|
97
99
|
angularModule.directive('rgLegacyTablePager', function rgLegacyTablePagerDirective() {
|
|
98
100
|
return {
|
|
99
101
|
restrict: 'E',
|
|
100
|
-
template:
|
|
101
|
-
total="pagerCtrl.total"
|
|
102
|
-
current-page="pagerCtrl.getPage()"
|
|
103
|
-
page-size="pagerCtrl.top"
|
|
104
|
-
on-page-change="pagerCtrl.onPageChange"
|
|
105
|
-
disable-page-size-selector="true"
|
|
106
|
-
></rg-pager>`,
|
|
102
|
+
template: "<rg-pager\n total=\"pagerCtrl.total\"\n current-page=\"pagerCtrl.getPage()\"\n page-size=\"pagerCtrl.top\"\n on-page-change=\"pagerCtrl.onPageChange\"\n disable-page-size-selector=\"true\"\n></rg-pager>",
|
|
107
103
|
scope: {},
|
|
108
104
|
bindToController: {
|
|
109
105
|
skip: '=',
|
|
@@ -2,6 +2,7 @@ import angular from 'angular';
|
|
|
2
2
|
import { getDocumentScrollTop } from '../global/dom.js';
|
|
3
3
|
import scheduleRAF from '../global/schedule-raf.js';
|
|
4
4
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
5
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
5
6
|
|
|
6
7
|
const angularModule = angular.module('Ring.table-legacy.toolbar', []);
|
|
7
8
|
angularModule.directive('rgLegacyTableToolbar', function rgLegacyTableToolbarDirective() {
|
|
@@ -29,7 +30,7 @@ angularModule.directive('rgLegacyTableToolbar', function rgLegacyTableToolbarDir
|
|
|
29
30
|
|
|
30
31
|
if (scrolledTop > toolbarTop && !savedToolbarTop) {
|
|
31
32
|
//save height to style to prevent collapsing after fixing controls
|
|
32
|
-
element.style.height =
|
|
33
|
+
element.style.height = "".concat(element.offsetHeight, "px");
|
|
33
34
|
savedToolbarTop = toolbarTop;
|
|
34
35
|
controlsContainer.classList.add('ring-table__toolbar-controls_fixed');
|
|
35
36
|
} else if (scrolledTop <= toolbarTop && savedToolbarTop >= 0) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import angularComponentFactory from '../global/angular-component-factory.js';
|
|
2
2
|
import SmartTable from '../table/smart-table.js';
|
|
3
3
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
4
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
4
5
|
import 'angular';
|
|
5
6
|
import 'react';
|
|
6
7
|
import 'react-dom';
|
|
@@ -33,6 +34,7 @@ import 'util-deprecate';
|
|
|
33
34
|
import '../icon/icon__constants.js';
|
|
34
35
|
import '../_helpers/icon.js';
|
|
35
36
|
import '../icon/icon__svg.js';
|
|
37
|
+
import 'core-js/modules/es.string.replace.js';
|
|
36
38
|
import '../global/memoize.js';
|
|
37
39
|
import '../_helpers/checkbox.js';
|
|
38
40
|
import '../_helpers/table.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import angularComponentFactory from '../global/angular-component-factory.js';
|
|
2
2
|
import Table from '../table/table.js';
|
|
3
3
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
4
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
4
5
|
import 'angular';
|
|
5
6
|
import 'react';
|
|
6
7
|
import 'react-dom';
|
|
@@ -32,6 +33,7 @@ import 'util-deprecate';
|
|
|
32
33
|
import '../icon/icon__constants.js';
|
|
33
34
|
import '../_helpers/icon.js';
|
|
34
35
|
import '../icon/icon__svg.js';
|
|
36
|
+
import 'core-js/modules/es.string.replace.js';
|
|
35
37
|
import '../global/memoize.js';
|
|
36
38
|
import '../_helpers/checkbox.js';
|
|
37
39
|
import '../_helpers/table.js';
|
|
@@ -11,7 +11,9 @@ import Icon from '../icon/icon.js';
|
|
|
11
11
|
import { m as modules_02138f4a } from '../_helpers/tabs.js';
|
|
12
12
|
import getTabTitles from './collapsible-tab.js';
|
|
13
13
|
import { CustomItem } from './custom-item.js';
|
|
14
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
14
15
|
import '../popup/popup.js';
|
|
16
|
+
import 'core-js/modules/es.string.replace.js';
|
|
15
17
|
import 'react-dom';
|
|
16
18
|
import '../global/get-uid.js';
|
|
17
19
|
import '../global/schedule-raf.js';
|
|
@@ -8,6 +8,7 @@ import { CustomItem } from './custom-item.js';
|
|
|
8
8
|
import '../link/link.js';
|
|
9
9
|
import 'focus-visible';
|
|
10
10
|
import '../global/memoize.js';
|
|
11
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
11
12
|
import '../global/data-tests.js';
|
|
12
13
|
import '../link/clickableLink.js';
|
|
13
14
|
import '../_helpers/link.js';
|
package/dist/tabs/dumb-tabs.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -14,6 +15,7 @@ import '../link/link.js';
|
|
|
14
15
|
import 'focus-visible';
|
|
15
16
|
import '../link/clickableLink.js';
|
|
16
17
|
import '../_helpers/link.js';
|
|
18
|
+
import 'core-js/modules/es.string.replace.js';
|
|
17
19
|
import 'fastdom';
|
|
18
20
|
import './collapsible-more.js';
|
|
19
21
|
import '@jetbrains/icons/chevron-10px';
|
package/dist/tabs/smart-tabs.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
@@ -13,6 +14,7 @@ import 'focus-visible';
|
|
|
13
14
|
import '../link/clickableLink.js';
|
|
14
15
|
import '../_helpers/link.js';
|
|
15
16
|
import './collapsible-tabs.js';
|
|
17
|
+
import 'core-js/modules/es.string.replace.js';
|
|
16
18
|
import 'fastdom';
|
|
17
19
|
import './collapsible-more.js';
|
|
18
20
|
import '@jetbrains/icons/chevron-10px';
|
package/dist/tabs/tab-link.js
CHANGED
|
@@ -6,6 +6,7 @@ import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
|
6
6
|
import 'focus-visible';
|
|
7
7
|
import 'classnames';
|
|
8
8
|
import '../global/memoize.js';
|
|
9
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
9
10
|
import '../global/data-tests.js';
|
|
10
11
|
import '../link/clickableLink.js';
|
|
11
12
|
import '../_helpers/link.js';
|
package/dist/tabs/tab.js
CHANGED
|
@@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
6
6
|
import { m as modules_02138f4a } from '../_helpers/tabs.js';
|
|
7
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
8
|
|
|
8
9
|
class Tab extends PureComponent {
|
|
9
10
|
render() {
|
package/dist/tabs/tabs.js
CHANGED
|
@@ -4,6 +4,7 @@ export { default as SmartTabs } from './smart-tabs.js';
|
|
|
4
4
|
export { default as Tab } from './tab.js';
|
|
5
5
|
import 'prop-types';
|
|
6
6
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
7
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
8
|
import 'react';
|
|
8
9
|
import 'classnames';
|
|
9
10
|
import '../global/memoize.js';
|
|
@@ -16,6 +17,7 @@ import 'focus-visible';
|
|
|
16
17
|
import '../link/clickableLink.js';
|
|
17
18
|
import '../_helpers/link.js';
|
|
18
19
|
import './collapsible-tabs.js';
|
|
20
|
+
import 'core-js/modules/es.string.replace.js';
|
|
19
21
|
import 'fastdom';
|
|
20
22
|
import './collapsible-more.js';
|
|
21
23
|
import '@jetbrains/icons/chevron-10px';
|
package/dist/tabs-ng/tabs-ng.js
CHANGED
|
@@ -1,40 +1,3 @@
|
|
|
1
|
-
var template =
|
|
2
|
-
ng-class=":: [styles.tabs, styles[theme]]"
|
|
3
|
-
rg-shortcuts="ring-tabs"
|
|
4
|
-
shortcuts-map="keyMap"
|
|
5
|
-
shortcuts-focus="focus"
|
|
6
|
-
>
|
|
7
|
-
<div
|
|
8
|
-
ng-class=":: [styles.titles, tabsClass]"
|
|
9
|
-
role="tablist"
|
|
10
|
-
>
|
|
11
|
-
<button
|
|
12
|
-
role="tab"
|
|
13
|
-
type="button"
|
|
14
|
-
ng-repeat="pane in panes | orderBy:'tabIndex'"
|
|
15
|
-
ng-click="control.select(pane)"
|
|
16
|
-
ng-attr-tabindex="{{(pane.selected || pane.ngDisabled) ? -1 : 0}}"
|
|
17
|
-
ng-disabled="pane.ngDisabled"
|
|
18
|
-
data-test="ring-tab"
|
|
19
|
-
ng-attr-data-test-active="{{pane.selected ? 'true' : 'false'}}"
|
|
20
|
-
ng-attr-class="{{ tabClass(pane) }}"
|
|
21
|
-
><span
|
|
22
|
-
ng-class=":: styles.visible">{{pane.title}}<span
|
|
23
|
-
ng-class=":: styles.tabCounter"
|
|
24
|
-
ng-show="pane.counter !== undefined">{{ pane.counter }}</span
|
|
25
|
-
></span><!--
|
|
26
|
-
hack for preserving constant tab width
|
|
27
|
-
--><span ng-class=":: styles.hidden">{{pane.title}}<span
|
|
28
|
-
ng-class=":: styles.tabCounter" ng-show="pane.counter !== undefined">{{ pane.counter }}</span></span>
|
|
29
|
-
<span ng-class=":: styles.hiddenBold">{{pane.title}}<span
|
|
30
|
-
ng-class=":: styles.tabCounter" ng-show="pane.counter !== undefined">{{ pane.counter }}</span></span>
|
|
31
|
-
<span ng-class=":: styles.hiddenRegular">{{pane.title}}<span
|
|
32
|
-
ng-class=":: styles.tabCounter" ng-show="pane.counter !== undefined">{{ pane.counter }}</span></span>
|
|
33
|
-
</button>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
<div ng-transclude></div>
|
|
37
|
-
|
|
38
|
-
</div>`;
|
|
1
|
+
var template = "<div\n ng-class=\":: [styles.tabs, styles[theme]]\"\n rg-shortcuts=\"ring-tabs\"\n shortcuts-map=\"keyMap\"\n shortcuts-focus=\"focus\"\n>\n <div\n ng-class=\":: [styles.titles, tabsClass]\"\n role=\"tablist\"\n >\n <button\n role=\"tab\"\n type=\"button\"\n ng-repeat=\"pane in panes | orderBy:'tabIndex'\"\n ng-click=\"control.select(pane)\"\n ng-attr-tabindex=\"{{(pane.selected || pane.ngDisabled) ? -1 : 0}}\"\n ng-disabled=\"pane.ngDisabled\"\n data-test=\"ring-tab\"\n ng-attr-data-test-active=\"{{pane.selected ? 'true' : 'false'}}\"\n ng-attr-class=\"{{ tabClass(pane) }}\"\n ><span\n ng-class=\":: styles.visible\">{{pane.title}}<span\n ng-class=\":: styles.tabCounter\"\n ng-show=\"pane.counter !== undefined\">{{ pane.counter }}</span\n ></span><!--\n hack for preserving constant tab width\n --><span ng-class=\":: styles.hidden\">{{pane.title}}<span\n ng-class=\":: styles.tabCounter\" ng-show=\"pane.counter !== undefined\">{{ pane.counter }}</span></span>\n <span ng-class=\":: styles.hiddenBold\">{{pane.title}}<span\n ng-class=\":: styles.tabCounter\" ng-show=\"pane.counter !== undefined\">{{ pane.counter }}</span></span>\n <span ng-class=\":: styles.hiddenRegular\">{{pane.title}}<span\n ng-class=\":: styles.tabCounter\" ng-show=\"pane.counter !== undefined\">{{ pane.counter }}</span></span>\n </button>\n </div>\n\n <div ng-transclude></div>\n\n</div>";
|
|
39
2
|
|
|
40
3
|
export { template as default };
|
package/dist/tag/tag.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty, a as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -9,6 +10,7 @@ import 'util-deprecate';
|
|
|
9
10
|
import '../icon/icon__constants.js';
|
|
10
11
|
import '../_helpers/icon.js';
|
|
11
12
|
import '../icon/icon__svg.js';
|
|
13
|
+
import 'core-js/modules/es.string.replace.js';
|
|
12
14
|
import '../global/memoize.js';
|
|
13
15
|
import 'focus-visible';
|
|
14
16
|
import '@jetbrains/icons/chevron-10px';
|
|
@@ -16,7 +18,7 @@ import '../global/theme.js';
|
|
|
16
18
|
import '../link/clickableLink.js';
|
|
17
19
|
import '../_helpers/button__classes.js';
|
|
18
20
|
|
|
19
|
-
var modules_2f9be069 = {"unit":"8px","background-color":"var(--ring-tag-background-color)","max-height":"20px","tag":"
|
|
21
|
+
var modules_2f9be069 = {"unit":"8px","background-color":"var(--ring-tag-background-color)","max-height":"20px","tag":"tag_rui_0277 resetButton_rui_43e5","withRemove":"withRemove_rui_0277","container":"container_rui_0277","focused":"focused_rui_0277","tagAngled":"tagAngled_rui_0277","content":"content_rui_0277 ellipsis_rui_43e5","disabled":"disabled_rui_0277","remove":"remove_rui_0277","removeIcon":"removeIcon_rui_0277","icon":"icon_rui_0277","avatarContainer":"avatarContainer_rui_0277","customIcon":"customIcon_rui_0277","avatarIcon":"avatarIcon_rui_0277"};
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
* @name Tag
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import React, { Component, PureComponent } from 'react';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
import classNames from 'classnames';
|
|
@@ -8,6 +9,7 @@ import TagsList from '../tags-list/tags-list.js';
|
|
|
8
9
|
import Caret from '../caret/caret.js';
|
|
9
10
|
import memoize from '../global/memoize.js';
|
|
10
11
|
import rerenderHOC from '../global/rerender-hoc.js';
|
|
12
|
+
import 'core-js/modules/es.string.replace.js';
|
|
11
13
|
import '@jetbrains/icons/chevron-10px';
|
|
12
14
|
import '@jetbrains/icons/close';
|
|
13
15
|
import 'deep-equal';
|
|
@@ -79,7 +81,7 @@ import '../text/text.js';
|
|
|
79
81
|
import '../_helpers/select__filter.js';
|
|
80
82
|
import '../tag/tag.js';
|
|
81
83
|
|
|
82
|
-
var modules_5aa8aaf3 = {"tagsInput":"
|
|
84
|
+
var modules_5aa8aaf3 = {"tagsInput":"tagsInput_rui_fb33","tagsInputLegacyMode":"tagsInputLegacyMode_rui_fb33","tagsList":"tagsList_rui_fb33","tag":"tag_rui_fb33","tagsInputDisabled":"tagsInputDisabled_rui_fb33","underline":"underline_rui_fb33","tagsInputFocused":"tagsInputFocused_rui_fb33","tagsSelect":"tagsSelect_rui_fb33","focusUnderline":"focusUnderline_rui_fb33"};
|
|
83
85
|
|
|
84
86
|
function noop() {}
|
|
85
87
|
/**
|
|
@@ -431,7 +433,7 @@ _defineProperty(TagsInput, "propTypes", {
|
|
|
431
433
|
onRemoveTag: PropTypes.func,
|
|
432
434
|
customTagComponent: (props, propName, componentName) => {
|
|
433
435
|
if (props[propName] && !props[propName].prototype instanceof Component) {
|
|
434
|
-
return new Error(
|
|
436
|
+
return new Error("Invalid prop ".concat(propName, " supplied to ").concat(componentName, ". Validation failed."));
|
|
435
437
|
}
|
|
436
438
|
|
|
437
439
|
return null;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import angularComponentFactory from '../global/angular-component-factory.js';
|
|
2
2
|
import TagsInput from '../tags-input/tags-input.js';
|
|
3
3
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
4
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
4
5
|
import 'angular';
|
|
5
6
|
import 'react';
|
|
6
7
|
import 'react-dom';
|
|
@@ -10,6 +11,7 @@ import 'prop-types';
|
|
|
10
11
|
import 'classnames';
|
|
11
12
|
import '../global/get-event-key.js';
|
|
12
13
|
import '../select/select.js';
|
|
14
|
+
import 'core-js/modules/es.string.replace.js';
|
|
13
15
|
import '@jetbrains/icons/chevron-10px';
|
|
14
16
|
import '@jetbrains/icons/close';
|
|
15
17
|
import 'deep-equal';
|
|
@@ -3,12 +3,14 @@ import React, { Component } from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import Tag from '../tag/tag.js';
|
|
6
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
6
7
|
import '@jetbrains/icons/close';
|
|
7
8
|
import '../icon/icon.js';
|
|
8
9
|
import 'util-deprecate';
|
|
9
10
|
import '../icon/icon__constants.js';
|
|
10
11
|
import '../_helpers/icon.js';
|
|
11
12
|
import '../icon/icon__svg.js';
|
|
13
|
+
import 'core-js/modules/es.string.replace.js';
|
|
12
14
|
import '../global/memoize.js';
|
|
13
15
|
import '../button/button.js';
|
|
14
16
|
import 'focus-visible';
|
|
@@ -68,7 +70,7 @@ _defineProperty(TagsList, "propTypes", {
|
|
|
68
70
|
tags: PropTypes.array,
|
|
69
71
|
customTagComponent: (props, propName, componentName) => {
|
|
70
72
|
if (props[propName] && !props[propName].prototype instanceof Component) {
|
|
71
|
-
return new Error(
|
|
73
|
+
return new Error("Invalid prop ".concat(propName, " supplied to ").concat(componentName, ". Validation failed."));
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
return null;
|
package/dist/text/text.js
CHANGED
|
@@ -3,7 +3,7 @@ import React, { Component } from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
|
|
6
|
-
var modules_78d1bce6 = {"text":"
|
|
6
|
+
var modules_78d1bce6 = {"text":"text_rui_9ca2","info":"info_rui_9ca2"};
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @name Text
|