@jetbrains/ring-ui 4.1.11 → 4.1.15
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/select/select.js +3 -1
- package/dist/_helpers/badge.js +1 -1
- package/dist/_helpers/button-group.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/header.js +1 -1
- package/dist/_helpers/icon.js +1 -1
- package/dist/_helpers/inject-styles.js +4 -4
- 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/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 +12 -10
- 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 +1 -0
- 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 +3 -2
- 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 +9 -7
- 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 +7 -4
- 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 +4 -2
- 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 +5 -60
- 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 +3 -1
- 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 +4 -2
- 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 +9 -6
- 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 +1 -0
- 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 +2 -0
- 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 +32 -32
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import 'react';
|
|
3
4
|
import 'prop-types';
|
|
4
5
|
import 'classnames';
|
|
@@ -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 '../link/clickableLink.js';
|
|
21
23
|
import '../_helpers/button__classes.js';
|
|
@@ -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, { PureComponent } from 'react';
|
|
3
4
|
import classNames from 'classnames';
|
|
4
5
|
import searchIcon from '@jetbrains/icons/search';
|
|
@@ -25,6 +26,7 @@ import 'util-deprecate';
|
|
|
25
26
|
import '../icon/icon__constants.js';
|
|
26
27
|
import '../_helpers/icon.js';
|
|
27
28
|
import '../icon/icon__svg.js';
|
|
29
|
+
import 'core-js/modules/es.string.replace.js';
|
|
28
30
|
import 'react-dom';
|
|
29
31
|
import '../global/schedule-raf.js';
|
|
30
32
|
import '../global/data-tests.js';
|
|
@@ -165,7 +167,7 @@ class SelectPopup extends PureComponent {
|
|
|
165
167
|
onClick: this.handleSelectAll
|
|
166
168
|
}, activeFilters.length !== this.props.selected.length ? 'Select all' : 'Deselect all'), /*#__PURE__*/React.createElement(Text, {
|
|
167
169
|
info: true
|
|
168
|
-
},
|
|
170
|
+
}, "".concat(this.props.selected.length, " selected")));
|
|
169
171
|
});
|
|
170
172
|
|
|
171
173
|
_defineProperty(this, "_adjustListMaxHeight", memoizeOne((hidden, userDefinedMaxHeight, ringPopupTarget) => {
|
|
@@ -7,6 +7,8 @@ import MessageBundle from '../message-bundle-ng/message-bundle-ng.js';
|
|
|
7
7
|
import SelectNgOptions from './select-ng__options.js';
|
|
8
8
|
import SelectLazy from './select-ng__lazy.js';
|
|
9
9
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
10
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
11
|
+
import 'core-js/modules/es.string.replace.js';
|
|
10
12
|
import 'classnames';
|
|
11
13
|
import 'prop-types';
|
|
12
14
|
import '@jetbrains/icons/chevron-10px';
|
|
@@ -3,6 +3,8 @@ import angular from 'angular';
|
|
|
3
3
|
import { render, hydrate } from 'react-dom';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { RerenderableSelect } from '../select/select.js';
|
|
6
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
|
+
import 'core-js/modules/es.string.replace.js';
|
|
6
8
|
import 'classnames';
|
|
7
9
|
import 'prop-types';
|
|
8
10
|
import '@jetbrains/icons/chevron-10px';
|
|
@@ -10,7 +10,7 @@ class Options {
|
|
|
10
10
|
let match;
|
|
11
11
|
|
|
12
12
|
if (!(match = optionsString.match(this.constructor.OPTIONS_REGEXP))) {
|
|
13
|
-
throw new Error('Bad rgSelect expression format. Expected: [{item}] [[as] item.text] [select as item.selectLabel]' +
|
|
13
|
+
throw new Error('Bad rgSelect expression format. Expected: [{item}] [[as] item.text] [select as item.selectLabel]' + " [describe as {item.description}] [for] {item} in {items|dataSource(query)} [track by item.id], Received: ".concat(optionsString));
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Now we can write only `item.value as item.label for item in items`
|
|
@@ -83,7 +83,7 @@ class Options {
|
|
|
83
83
|
});
|
|
84
84
|
|
|
85
85
|
if (matchedOptions.length > 1) {
|
|
86
|
-
throw new Error(
|
|
86
|
+
throw new Error("Error(rg-select): You can not have two options with same value(".concat(toString(value), ")"));
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
return matchedOptions[0];
|
|
@@ -9,6 +9,8 @@ import IconNG from '../icon-ng/icon-ng.js';
|
|
|
9
9
|
import InputNg from '../input-ng/input-ng.js';
|
|
10
10
|
import { getShortcutTitle } from '../shortcuts/shortcut-title.js';
|
|
11
11
|
import HintPopupTpl from './shortcuts-hint-ng__template.js';
|
|
12
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
13
|
+
import 'core-js/modules/es.promise.finally.js';
|
|
12
14
|
import 'focus-trap';
|
|
13
15
|
import '../global/dom.js';
|
|
14
16
|
import '../shortcuts/core.js';
|
|
@@ -20,6 +22,7 @@ import 'classnames';
|
|
|
20
22
|
import '../global/theme.js';
|
|
21
23
|
import 'react';
|
|
22
24
|
import '../_helpers/button__classes.js';
|
|
25
|
+
import 'core-js/modules/es.string.replace.js';
|
|
23
26
|
import '../icon/icon__constants.js';
|
|
24
27
|
import '../_helpers/icon.js';
|
|
25
28
|
import '../promised-click-ng/promised-click-ng.js';
|
|
@@ -1,50 +1,3 @@
|
|
|
1
|
-
var HintPopupTpl =
|
|
2
|
-
|
|
3
|
-
<div class="shortcuts-hint__search-input-wrapper">
|
|
4
|
-
<rg-input
|
|
5
|
-
ng-attr-placeholder="{{hintPopupCtrl.searchPlaceholder}}"
|
|
6
|
-
ng-model="hintPopupCtrl.searchText"
|
|
7
|
-
></rg-input>
|
|
8
|
-
<rg-icon
|
|
9
|
-
class="shortcuts-hint__search-icon"
|
|
10
|
-
glyph="{{hintPopupCtrl.searchIcon}}"
|
|
11
|
-
></rg-icon>
|
|
12
|
-
</div>
|
|
13
|
-
|
|
14
|
-
<div class="shortcuts-hint__columns">
|
|
15
|
-
<div class="shortcuts-hint__table">
|
|
16
|
-
<div ng-repeat="mode in hintPopupCtrl.modes"
|
|
17
|
-
class="shortcuts-hint__shortcut-block">
|
|
18
|
-
|
|
19
|
-
<div class="shortcuts-hint__table-title" ng-if="mode.title">
|
|
20
|
-
<div></div>
|
|
21
|
-
<div class="shortcuts-hint__shortcuts-title">{{hintPopupCtrl.getTitle(mode.title)}}</div>
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
<div ng-repeat="shortcut in mode.shortcuts | shortcutSearch:hintPopupCtrl.searchText"
|
|
25
|
-
class="shortcuts-hint__table-row">
|
|
26
|
-
<div class="shortcuts-hint__shortcut-cell">
|
|
27
|
-
<div class="shortcuts-hint__shortcut"
|
|
28
|
-
ng-if="hintPopupCtrl.isArray(shortcut.key)"
|
|
29
|
-
ng-repeat="key in shortcut.key track by $index">
|
|
30
|
-
{{key | shortcutKeySymbol}}
|
|
31
|
-
</div>
|
|
32
|
-
<span class="shortcuts-hint__shortcut"
|
|
33
|
-
ng-if="!hintPopupCtrl.isArray(shortcut.key)">{{shortcut.key | shortcutKeySymbol}}</span>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="shortcuts-hint__hint">
|
|
36
|
-
<span ng-repeat="title in shortcut.titles">
|
|
37
|
-
{{hintPopupCtrl.getTitle(title)}}
|
|
38
|
-
<br ng-if="!$last">
|
|
39
|
-
</span>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
<div rg-template="hintPopupCtrl.tailTemplate"></div>
|
|
47
|
-
|
|
48
|
-
</div>`;
|
|
1
|
+
var HintPopupTpl = "<div class=\"shortcuts-hint\">\n\n <div class=\"shortcuts-hint__search-input-wrapper\">\n <rg-input\n ng-attr-placeholder=\"{{hintPopupCtrl.searchPlaceholder}}\"\n ng-model=\"hintPopupCtrl.searchText\"\n ></rg-input>\n <rg-icon\n class=\"shortcuts-hint__search-icon\"\n glyph=\"{{hintPopupCtrl.searchIcon}}\"\n ></rg-icon>\n </div>\n\n <div class=\"shortcuts-hint__columns\">\n <div class=\"shortcuts-hint__table\">\n <div ng-repeat=\"mode in hintPopupCtrl.modes\"\n class=\"shortcuts-hint__shortcut-block\">\n\n <div class=\"shortcuts-hint__table-title\" ng-if=\"mode.title\">\n <div></div>\n <div class=\"shortcuts-hint__shortcuts-title\">{{hintPopupCtrl.getTitle(mode.title)}}</div>\n </div>\n\n <div ng-repeat=\"shortcut in mode.shortcuts | shortcutSearch:hintPopupCtrl.searchText\"\n class=\"shortcuts-hint__table-row\">\n <div class=\"shortcuts-hint__shortcut-cell\">\n <div class=\"shortcuts-hint__shortcut\"\n ng-if=\"hintPopupCtrl.isArray(shortcut.key)\"\n ng-repeat=\"key in shortcut.key track by $index\">\n {{key | shortcutKeySymbol}}\n </div>\n <span class=\"shortcuts-hint__shortcut\"\n ng-if=\"!hintPopupCtrl.isArray(shortcut.key)\">{{shortcut.key | shortcutKeySymbol}}</span>\n </div>\n <div class=\"shortcuts-hint__hint\">\n <span ng-repeat=\"title in shortcut.titles\">\n {{hintPopupCtrl.getTitle(title)}}\n <br ng-if=\"!$last\">\n </span>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div rg-template=\"hintPopupCtrl.tailTemplate\"></div>\n\n</div>";
|
|
49
2
|
|
|
50
3
|
export { HintPopupTpl as default };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
1
2
|
import angular from 'angular';
|
|
2
3
|
import { getStyles } from '../global/dom.js';
|
|
3
4
|
import shortcutsInstance from '../shortcuts/core.js';
|
|
@@ -37,7 +38,7 @@ angularModule.provider('shortcuts', function provider() {
|
|
|
37
38
|
|
|
38
39
|
|
|
39
40
|
if (!mode) {
|
|
40
|
-
throw new Error(
|
|
41
|
+
throw new Error("Shortcut mode ".concat(name, " is not declared"));
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
mode.forEach(key => {
|
|
@@ -221,7 +222,7 @@ angularModule.directive('rgShortcuts', ["$parse", function rgShortcutsDirective(
|
|
|
221
222
|
const blurGetter = $parse(iAttrs.shortcutsBlur);
|
|
222
223
|
const zone = {
|
|
223
224
|
name,
|
|
224
|
-
scope:
|
|
225
|
+
scope: "".concat(name, "-").concat($scope.$id),
|
|
225
226
|
element: iElement[0],
|
|
226
227
|
onBlur: blurGetter($scope) || angular.noop
|
|
227
228
|
};
|
|
@@ -244,7 +245,7 @@ angularModule.directive('rgShortcutsGlobal', ["shortcuts", function rgShortcutsG
|
|
|
244
245
|
restrict: 'A',
|
|
245
246
|
link: function link($scope, iElement, iAttrs) {
|
|
246
247
|
const name = iAttrs.rgShortcutsGlobal;
|
|
247
|
-
const scope =
|
|
248
|
+
const scope = "".concat(name, "-").concat($scope.$id);
|
|
248
249
|
$scope.$evalAsync(() => {
|
|
249
250
|
shortcuts.bind(name, $scope.$eval(iAttrs.shortcutsMap), scope);
|
|
250
251
|
shortcutsInstance.pushScope(scope);
|
|
@@ -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 angular from 'angular';
|
|
3
4
|
import chevronRightIcon from '@jetbrains/icons/chevron-right';
|
|
4
5
|
import chevronLeftIcon from '@jetbrains/icons/chevron-left';
|
|
@@ -11,6 +12,7 @@ import buttonTemplate from './sidebar-ng__button-template.js';
|
|
|
11
12
|
import 'just-debounce-it';
|
|
12
13
|
import 'element-resize-detector';
|
|
13
14
|
import '../global/dom.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 '../_helpers/icon.js';
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
var buttonTemplate =
|
|
2
|
-
<rg-button
|
|
3
|
-
ng-click="button.model = !button.model"
|
|
4
|
-
ng-disabled="button.dialogIsActive"
|
|
5
|
-
>
|
|
6
|
-
<rg-icon
|
|
7
|
-
ng-show="button.model"
|
|
8
|
-
glyph="{{button.chevronRight}}"
|
|
9
|
-
></rg-icon>
|
|
10
|
-
|
|
11
|
-
<rg-icon
|
|
12
|
-
ng-show="!button.model"
|
|
13
|
-
glyph="{{button.chevronLeft}}"
|
|
14
|
-
></rg-icon>
|
|
15
|
-
|
|
16
|
-
<span ng-transclude></span>
|
|
17
|
-
</rg-button>
|
|
18
|
-
</span>`;
|
|
1
|
+
var buttonTemplate = "<span>\n <rg-button\n ng-click=\"button.model = !button.model\"\n ng-disabled=\"button.dialogIsActive\"\n >\n <rg-icon\n ng-show=\"button.model\"\n glyph=\"{{button.chevronRight}}\"\n ></rg-icon>\n\n <rg-icon\n ng-show=\"!button.model\"\n glyph=\"{{button.chevronLeft}}\"\n ></rg-icon>\n\n <span ng-transclude></span>\n </rg-button>\n</span>";
|
|
19
2
|
|
|
20
3
|
export { buttonTemplate as default };
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
var template =
|
|
2
|
-
class="ring-sidebar"
|
|
3
|
-
rg-place-under="{{sidebar.placeUnderSibling}}"
|
|
4
|
-
place-top-offset="{{sidebar.topOffset}}"
|
|
5
|
-
sync-height="true"
|
|
6
|
-
ng-class="{'ring-sidebar_active': sidebar.show}"
|
|
7
|
-
>
|
|
8
|
-
<rg-dialog in-sidebar="true" active="sidebar.dialogIsActive"></rg-dialog>
|
|
9
|
-
<div class="ring-sidebar__content" ng-transclude ng-if="!sidebar.dialogIsActive"></div>
|
|
10
|
-
</div>`;
|
|
1
|
+
var template = "<div\n class=\"ring-sidebar\"\n rg-place-under=\"{{sidebar.placeUnderSibling}}\"\n place-top-offset=\"{{sidebar.topOffset}}\"\n sync-height=\"true\"\n ng-class=\"{'ring-sidebar_active': sidebar.show}\"\n>\n <rg-dialog in-sidebar=\"true\" active=\"sidebar.dialogIsActive\"></rg-dialog>\n <div class=\"ring-sidebar__content\" ng-transclude ng-if=\"!sidebar.dialogIsActive\"></div>\n</div>";
|
|
11
2
|
|
|
12
3
|
export { template as default };
|
package/dist/storage/storage.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import LocalStorage from './storage__local.js';
|
|
2
2
|
import FallbackStorage from './storage__fallback.js';
|
|
3
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
4
|
import '../alert-service/alert-service.js';
|
|
4
5
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
5
6
|
import 'react';
|
|
@@ -17,6 +18,7 @@ import 'util-deprecate';
|
|
|
17
18
|
import '../icon/icon__constants.js';
|
|
18
19
|
import '../_helpers/icon.js';
|
|
19
20
|
import '../icon/icon__svg.js';
|
|
21
|
+
import 'core-js/modules/es.string.replace.js';
|
|
20
22
|
import '../global/memoize.js';
|
|
21
23
|
import '../loader-inline/loader-inline.js';
|
|
22
24
|
import '../global/theme.js';
|
|
@@ -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 deepEqual from 'deep-equal';
|
|
3
4
|
|
|
4
5
|
const DEFAULT_CHECK_DELAY = 3000;
|
|
@@ -36,12 +37,12 @@ class FallbackStorage {
|
|
|
36
37
|
if (days) {
|
|
37
38
|
date = new Date();
|
|
38
39
|
date.setTime(date.getTime() + days * SECONDS_IN_DAY);
|
|
39
|
-
expires =
|
|
40
|
+
expires = "; expires=".concat(date.toGMTString());
|
|
40
41
|
} else {
|
|
41
42
|
expires = ';';
|
|
42
43
|
}
|
|
43
44
|
|
|
44
|
-
document.cookie =
|
|
45
|
+
document.cookie = "".concat(name, "=").concat(value).concat(expires, "; path=/");
|
|
45
46
|
}
|
|
46
47
|
/**
|
|
47
48
|
*
|
|
@@ -52,7 +53,7 @@ class FallbackStorage {
|
|
|
52
53
|
|
|
53
54
|
|
|
54
55
|
static _readCookie(name) {
|
|
55
|
-
const nameEQ =
|
|
56
|
+
const nameEQ = "".concat(name, "=");
|
|
56
57
|
const cookies = document.cookie.split(';');
|
|
57
58
|
let cookie;
|
|
58
59
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
1
2
|
import alertService from '../alert-service/alert-service.js';
|
|
2
3
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
3
4
|
import 'react';
|
|
@@ -15,6 +16,7 @@ import 'util-deprecate';
|
|
|
15
16
|
import '../icon/icon__constants.js';
|
|
16
17
|
import '../_helpers/icon.js';
|
|
17
18
|
import '../icon/icon__svg.js';
|
|
19
|
+
import 'core-js/modules/es.string.replace.js';
|
|
18
20
|
import '../global/memoize.js';
|
|
19
21
|
import '../loader-inline/loader-inline.js';
|
|
20
22
|
import '../global/theme.js';
|