@jetbrains/ring-ui 5.0.159 → 5.0.161
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 +1 -0
- package/dist/_helpers/_rollupPluginBabelHelpers.js +1 -1
- package/dist/_helpers/anchor.js +1 -1
- package/dist/_helpers/button__classes.js +1 -1
- package/dist/_helpers/card.js +1 -1
- package/dist/_helpers/footer.js +1 -1
- package/dist/_helpers/query-assist__suggestions.js +1 -1
- package/dist/_helpers/select__filter.js +1 -1
- package/dist/_helpers/services-link.js +1 -1
- package/dist/_helpers/sidebar.js +1 -1
- package/dist/_helpers/theme.js +1 -1
- package/dist/_helpers/title.js +1 -1
- package/dist/alert/alert.js +1 -1
- package/dist/alert/container.js +1 -1
- package/dist/alert-service/alert-service.js +1 -1
- package/dist/analytics/analytics.js +1 -1
- package/dist/analytics/analytics__custom-plugin.js +1 -1
- package/dist/analytics/analytics__fus-plugin.js +1 -1
- package/dist/analytics/analytics__ga-plugin.js +1 -1
- package/dist/auth/auth.js +1 -1
- package/dist/auth/auth__core.js +10 -10
- package/dist/auth/background-flow.js +1 -1
- package/dist/auth/down-notification.js +1 -1
- package/dist/auth/iframe-flow.js +2 -2
- package/dist/auth/landing.js +5 -5
- package/dist/auth/request-builder.js +1 -1
- package/dist/auth/response-parser.js +1 -1
- package/dist/auth/storage.js +2 -2
- package/dist/auth/token-validator.js +1 -1
- package/dist/auth/window-flow.js +1 -1
- package/dist/auth-dialog/auth-dialog.js +1 -1
- package/dist/auth-dialog-service/auth-dialog-service.js +1 -1
- package/dist/avatar/avatar.js +1 -1
- package/dist/avatar/fallback-avatar.js +1 -1
- package/dist/avatar-editor-ng/avatar-editor-ng.js +2 -2
- package/dist/badge/badge.js +1 -1
- package/dist/breadcrumb-ng/breadcrumb-ng.js +2 -2
- package/dist/button/button.js +1 -1
- package/dist/button-group/button-group.js +1 -1
- package/dist/button-group/caption.js +1 -1
- package/dist/button-group-ng/button-group-ng.js +1 -1
- package/dist/button-ng/button-ng.js +3 -3
- package/dist/button-set/button-set.js +1 -1
- package/dist/button-toolbar/button-toolbar.js +1 -1
- package/dist/button-toolbar-ng/button-toolbar-ng.js +1 -1
- package/dist/caret/caret.js +1 -1
- package/dist/checkbox/checkbox.js +1 -1
- package/dist/clipboard/clipboard.js +1 -1
- package/dist/code/code.js +1 -1
- package/dist/confirm/confirm.js +1 -1
- package/dist/confirm-ng/confirm-ng.js +2 -2
- package/dist/confirm-service/confirm-service.js +1 -1
- package/dist/content-layout/content-layout.js +1 -1
- package/dist/contenteditable/contenteditable.js +1 -1
- package/dist/control-label/control-label.js +1 -1
- package/dist/data-list/data-list.js +2 -2
- package/dist/data-list/item.js +1 -1
- package/dist/data-list/selection.js +1 -1
- package/dist/date-picker/date-input.js +1 -1
- package/dist/date-picker/date-picker.js +1 -1
- package/dist/date-picker/date-popup.js +4 -4
- package/dist/date-picker/day.js +1 -1
- package/dist/date-picker/month-names.js +1 -1
- package/dist/date-picker/month-slider.js +1 -1
- package/dist/date-picker/month.js +1 -1
- package/dist/date-picker/months.js +1 -1
- package/dist/date-picker/weekdays.js +1 -1
- package/dist/date-picker/years.js +1 -1
- package/dist/dialog/dialog.js +3 -3
- package/dist/dialog-ng/dialog-ng.js +9 -9
- package/dist/dropdown/dropdown.js +1 -1
- 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 +1 -1
- package/dist/error-message/error-message.js +1 -1
- package/dist/error-message-ng/error-message-ng.js +2 -2
- package/dist/footer-ng/footer-ng.js +1 -1
- package/dist/form-ng/form-ng.js +2 -2
- package/dist/global/angular-component-factory.js +1 -1
- package/dist/global/create-stateful-context.js +1 -1
- package/dist/global/data-tests.js +1 -1
- package/dist/global/dom.js +1 -1
- package/dist/global/focus-sensor-hoc.js +1 -1
- package/dist/global/inject-styles.js +1 -1
- package/dist/global/listeners.js +1 -1
- package/dist/global/normalize-indent.js +1 -1
- package/dist/global/react-dom-renderer.js +1 -1
- package/dist/global/rerender-hoc.js +1 -1
- package/dist/global/ring-angular-component.js +1 -1
- package/dist/global/trivial-template-tag.js +1 -1
- package/dist/grid/col.js +1 -1
- package/dist/grid/grid.js +1 -1
- package/dist/grid/row.js +1 -1
- package/dist/group/group.js +1 -1
- package/dist/header/header.js +1 -1
- package/dist/header/logo.js +1 -1
- package/dist/header/profile.js +1 -1
- package/dist/header/services.js +1 -1
- package/dist/header/smart-profile.js +1 -1
- package/dist/header/smart-services.js +1 -1
- package/dist/header/tray-icon.js +1 -1
- package/dist/header/tray.js +1 -1
- package/dist/heading/heading.js +1 -1
- package/dist/http/http.js +1 -1
- package/dist/http/http.mock.js +2 -1
- package/dist/hub-source/hub-source.js +1 -1
- package/dist/hub-source/hub-source__user.js +4 -4
- package/dist/hub-source/hub-source__users-groups.js +1 -1
- package/dist/i18n/i18n.js +1 -1
- package/dist/icon/icon.js +1 -1
- package/dist/icon/icon__svg.js +1 -1
- package/dist/icon-ng/icon-ng.js +1 -1
- package/dist/input/input.js +1 -1
- package/dist/input-ng/input-ng.js +3 -3
- package/dist/island/adaptive-island-hoc.js +1 -1
- package/dist/island/content.js +1 -1
- package/dist/island/header.js +1 -1
- package/dist/island/island.js +1 -1
- package/dist/island-legacy/content-legacy.js +1 -1
- package/dist/island-legacy/header-legacy.js +1 -1
- package/dist/island-legacy/island-legacy.js +1 -1
- package/dist/island-ng/island-ng.js +1 -1
- package/dist/link/clickableLink.js +1 -1
- package/dist/link/link.js +1 -1
- package/dist/link-ng/link-ng.js +2 -2
- package/dist/list/list.js +1 -1
- package/dist/list/list__custom.js +1 -1
- package/dist/list/list__hint.js +1 -1
- package/dist/list/list__item.js +1 -1
- package/dist/list/list__link.js +1 -1
- package/dist/list/list__separator.js +1 -1
- package/dist/list/list__title.js +1 -1
- package/dist/list/list__users-groups-source.js +1 -1
- package/dist/loader/loader.js +1 -1
- package/dist/loader/loader__core.js +1 -1
- package/dist/loader-inline/loader-inline.js +1 -1
- package/dist/loader-ng/loader-ng.js +1 -1
- package/dist/loader-screen/loader-screen.js +1 -1
- package/dist/login-dialog/login-dialog.js +1 -1
- package/dist/login-dialog/service.js +1 -1
- package/dist/markdown/code.js +1 -1
- package/dist/markdown/markdown.js +1 -1
- package/dist/message/message.js +1 -1
- package/dist/message-bundle-ng/message-bundle-ng.js +2 -2
- package/dist/old-browsers-message/white-list.js +1 -1
- package/dist/pager/pager.js +1 -1
- package/dist/panel/panel.js +1 -1
- package/dist/permissions/permissions.js +1 -1
- package/dist/permissions/permissions__cache.js +1 -1
- package/dist/permissions-ng/permissions-ng.js +1 -1
- package/dist/popup/popup.js +1 -1
- package/dist/popup/popup.target.js +1 -1
- package/dist/popup/position.js +1 -1
- package/dist/popup-menu/popup-menu.js +1 -1
- package/dist/progress-bar/progress-bar.js +1 -1
- package/dist/promised-click-ng/promised-click-ng.js +1 -1
- package/dist/query-assist/query-assist.js +3 -3
- package/dist/radio/radio.js +1 -1
- package/dist/radio/radio__item.js +1 -1
- package/dist/save-field-ng/save-field-ng.js +6 -6
- package/dist/select/select.js +4 -3
- package/dist/select/select__popup.js +1 -1
- package/dist/select-ng/select-ng.js +3 -3
- package/dist/select-ng/select-ng__lazy.js +2 -2
- package/dist/select-ng/select-ng__options.js +1 -1
- package/dist/shortcuts/core.js +3 -3
- package/dist/shortcuts/shortcuts-hoc.js +1 -1
- package/dist/shortcuts/shortcuts.js +7 -7
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +6 -6
- package/dist/shortcuts-ng/shortcuts-ng.js +25 -25
- package/dist/sidebar-ng/sidebar-ng.js +3 -3
- package/dist/storage/storage.js +1 -1
- package/dist/storage/storage__fallback.js +2 -1
- package/dist/storage/storage__local.js +2 -2
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.js +1 -1
- package/dist/table/cell.js +1 -1
- package/dist/table/disable-hover-hoc.js +1 -1
- package/dist/table/header-cell.js +1 -1
- package/dist/table/header.js +1 -1
- package/dist/table/multitable.js +1 -1
- package/dist/table/row-with-focus-sensor.js +1 -1
- package/dist/table/row.js +1 -1
- package/dist/table/selection-adapter.js +1 -1
- package/dist/table/selection-shortcuts-hoc.js +1 -1
- package/dist/table/selection.js +1 -1
- package/dist/table/smart-table.js +1 -1
- package/dist/table/table.js +1 -1
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +2 -2
- package/dist/table-legacy-ng/table-legacy-ng__selection-navigate-actions.js +1 -1
- package/dist/table-legacy-ng/table-legacy-ng__selection.js +1 -1
- package/dist/tabs/collapsible-more.js +7 -7
- package/dist/tabs/collapsible-tab.js +1 -1
- package/dist/tabs/collapsible-tabs.js +1 -1
- package/dist/tabs/dumb-tabs.js +1 -1
- package/dist/tabs/smart-tabs.js +1 -1
- package/dist/tabs/tab-link.js +1 -1
- package/dist/tabs/tab.js +1 -1
- package/dist/tabs-ng/tabs-ng.js +1 -1
- package/dist/tag/tag.js +1 -1
- package/dist/tags-input/tags-input.js +3 -3
- package/dist/tags-list/tags-list.js +1 -1
- package/dist/template-ng/template-ng.js +1 -1
- package/dist/text/text.js +1 -1
- package/dist/toggle/toggle.js +1 -1
- package/dist/tooltip/tooltip.js +1 -1
- package/dist/tooltip-ng/tooltip-ng.js +1 -1
- package/dist/user-agreement/service.js +16 -16
- package/dist/user-agreement/user-agreement.js +1 -1
- package/dist/user-card/smart-user-card-tooltip.js +1 -1
- package/dist/user-card/tooltip.js +1 -1
- package/package.json +20 -20
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.map.js';
|
|
3
3
|
import { PureComponent } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import
|
|
5
|
+
import shortcuts from './core.js';
|
|
6
6
|
import 'core-js/modules/es.array.includes.js';
|
|
7
7
|
import 'core-js/modules/es.string.includes.js';
|
|
8
8
|
import 'core-js/modules/es.object.assign.js';
|
|
@@ -43,7 +43,7 @@ var Shortcuts = /*#__PURE__*/function (_PureComponent) {
|
|
|
43
43
|
this.turnShorcutsOn();
|
|
44
44
|
}
|
|
45
45
|
if (prevProps.map !== map) {
|
|
46
|
-
|
|
46
|
+
shortcuts.bindMap(map, this.props);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}, {
|
|
@@ -60,15 +60,15 @@ var Shortcuts = /*#__PURE__*/function (_PureComponent) {
|
|
|
60
60
|
map = _this$props2.map,
|
|
61
61
|
scope = _this$props2.scope,
|
|
62
62
|
options = _this$props2.options;
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
shortcuts.bindMap(map, this.props);
|
|
64
|
+
shortcuts.pushScope(scope, options);
|
|
65
65
|
}
|
|
66
66
|
}, {
|
|
67
67
|
key: "turnShorcutsOff",
|
|
68
68
|
value: function turnShorcutsOff() {
|
|
69
69
|
var scope = this.props.scope;
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
shortcuts.unbindScope(scope);
|
|
71
|
+
shortcuts.spliceScope(scope);
|
|
72
72
|
}
|
|
73
73
|
}, {
|
|
74
74
|
key: "render",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.object.to-string.js';
|
|
3
3
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
|
4
4
|
import 'core-js/modules/es.array.includes.js';
|
|
@@ -11,7 +11,7 @@ import angular from 'angular';
|
|
|
11
11
|
import searchIcon from '@jetbrains/icons/search';
|
|
12
12
|
import RingAngularComponent from '../global/ring-angular-component.js';
|
|
13
13
|
import DialogNg from '../dialog-ng/dialog-ng.js';
|
|
14
|
-
import
|
|
14
|
+
import Shortcuts from '../shortcuts-ng/shortcuts-ng.js';
|
|
15
15
|
import RingTemplateNg from '../template-ng/template-ng.js';
|
|
16
16
|
import IconNG from '../icon-ng/icon-ng.js';
|
|
17
17
|
import InputNg from '../input-ng/input-ng.js';
|
|
@@ -51,9 +51,6 @@ import '../_helpers/button__classes.js';
|
|
|
51
51
|
import '../global/controls-height.js';
|
|
52
52
|
import 'react';
|
|
53
53
|
import '../promised-click-ng/promised-click-ng.js';
|
|
54
|
-
import 'core-js/modules/es.string.replace.js';
|
|
55
|
-
import '../icon/icon__constants.js';
|
|
56
|
-
import '../_helpers/icon.js';
|
|
57
54
|
import '../compiler-ng/compiler-ng.js';
|
|
58
55
|
import 'core-js/modules/es.string.trim.js';
|
|
59
56
|
import '../_helpers/dialog__body-scroll-preventer.js';
|
|
@@ -61,6 +58,9 @@ import 'scrollbar-width';
|
|
|
61
58
|
import '../_helpers/island.js';
|
|
62
59
|
import '../dialog-ng/dialog-ng__template.js';
|
|
63
60
|
import 'core-js/modules/es.array.sort.js';
|
|
61
|
+
import 'core-js/modules/es.string.replace.js';
|
|
62
|
+
import '../icon/icon__constants.js';
|
|
63
|
+
import '../_helpers/icon.js';
|
|
64
64
|
import '@jetbrains/icons/close';
|
|
65
65
|
import '../_helpers/input.js';
|
|
66
66
|
import '../_helpers/control-label.js';
|
|
@@ -69,7 +69,7 @@ import '../_helpers/control-label.js';
|
|
|
69
69
|
* @name Shortcuts Ng Hint Popup
|
|
70
70
|
*/
|
|
71
71
|
|
|
72
|
-
var angularModule = angular.module('Ring.shortcuts.hint-popup', [DialogNg,
|
|
72
|
+
var angularModule = angular.module('Ring.shortcuts.hint-popup', [DialogNg, Shortcuts, IconNG, InputNg, RingTemplateNg]);
|
|
73
73
|
var getTitle = function getTitle(title) {
|
|
74
74
|
return typeof title === 'function' ? title() : title;
|
|
75
75
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as _typeof } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.object.to-string.js';
|
|
3
3
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
|
4
4
|
import 'core-js/modules/es.array.index-of.js';
|
|
@@ -9,7 +9,7 @@ import 'core-js/modules/es.array.splice.js';
|
|
|
9
9
|
import 'core-js/modules/es.array.concat.js';
|
|
10
10
|
import angular from 'angular';
|
|
11
11
|
import { getStyles } from '../global/dom.js';
|
|
12
|
-
import
|
|
12
|
+
import shortcuts from '../shortcuts/core.js';
|
|
13
13
|
import 'core-js/modules/es.object.assign.js';
|
|
14
14
|
import 'core-js/modules/es.array.filter.js';
|
|
15
15
|
import 'core-js/modules/es.regexp.exec.js';
|
|
@@ -62,7 +62,7 @@ angularModule.provider('shortcuts', function provider() {
|
|
|
62
62
|
if (!angular.isFunction(handlers[key.action])) {
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
shortcuts.bind({
|
|
66
66
|
key: key.key,
|
|
67
67
|
scope: scope || name,
|
|
68
68
|
handler: function handler() {
|
|
@@ -81,7 +81,7 @@ angularModule.provider('shortcuts', function provider() {
|
|
|
81
81
|
var actions = modes[mode];
|
|
82
82
|
for (var i = actions.length - 1; i >= 0; i--) {
|
|
83
83
|
if (actions[i].action === action) {
|
|
84
|
-
return
|
|
84
|
+
return shortcuts.trigger(actions[i].key[0] || actions[i].key);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
return undefined;
|
|
@@ -92,14 +92,14 @@ angularModule.provider('shortcuts', function provider() {
|
|
|
92
92
|
getRegisteredShortcuts: function getRegisteredShortcuts() {
|
|
93
93
|
return reference;
|
|
94
94
|
},
|
|
95
|
-
shortcuts:
|
|
95
|
+
shortcuts: shortcuts
|
|
96
96
|
};
|
|
97
97
|
}];
|
|
98
98
|
});
|
|
99
99
|
angularModule.directive('rgShortcutsApp', function rgShortcutsAppDirective() {
|
|
100
100
|
return {
|
|
101
101
|
restrict: 'A',
|
|
102
|
-
controller: ["$scope", "$rootScope", "$attrs", "shortcuts", function controller($scope, $rootScope, $attrs, shortcuts) {
|
|
102
|
+
controller: ["$scope", "$rootScope", "$attrs", "shortcuts", function controller($scope, $rootScope, $attrs, shortcuts$1) {
|
|
103
103
|
var _this = this;
|
|
104
104
|
$scope.zones = [];
|
|
105
105
|
$scope.loop = 'shortcutsLoop' in $attrs;
|
|
@@ -134,13 +134,13 @@ angularModule.directive('rgShortcutsApp', function rgShortcutsAppDirective() {
|
|
|
134
134
|
return;
|
|
135
135
|
}
|
|
136
136
|
if ($scope.current) {
|
|
137
|
-
|
|
137
|
+
shortcuts.spliceScope($scope.current.scope);
|
|
138
138
|
_this.deselect();
|
|
139
139
|
}
|
|
140
140
|
if (!next) {
|
|
141
141
|
return;
|
|
142
142
|
}
|
|
143
|
-
|
|
143
|
+
shortcuts.pushScope(next.scope);
|
|
144
144
|
$scope.current = next;
|
|
145
145
|
};
|
|
146
146
|
this.route = function (action, e, combo, mode) {
|
|
@@ -152,12 +152,12 @@ angularModule.directive('rgShortcutsApp', function rgShortcutsAppDirective() {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
// Reset current zone if it's not equal to the current scope
|
|
155
|
-
if ($scope.current && $scope.current.scope !==
|
|
155
|
+
if ($scope.current && $scope.current.scope !== shortcuts.getScope().pop().scopeId) {
|
|
156
156
|
_this.deselect();
|
|
157
157
|
}
|
|
158
158
|
if (action === 'main') {
|
|
159
159
|
$scope.zones.forEach(function (zone, index) {
|
|
160
|
-
if (shortcuts.isMainMode(zone.name)) {
|
|
160
|
+
if (shortcuts$1.isMainMode(zone.name)) {
|
|
161
161
|
next = $scope.zones[index];
|
|
162
162
|
}
|
|
163
163
|
});
|
|
@@ -168,12 +168,12 @@ angularModule.directive('rgShortcutsApp', function rgShortcutsAppDirective() {
|
|
|
168
168
|
// Select next zone and trigger same combo there
|
|
169
169
|
if (next) {
|
|
170
170
|
_this.select(next);
|
|
171
|
-
if (
|
|
172
|
-
|
|
171
|
+
if (shortcuts.hasKey(combo, next.scope)) {
|
|
172
|
+
shortcuts.trigger(combo);
|
|
173
173
|
}
|
|
174
174
|
// Otherwise go back
|
|
175
175
|
} else {
|
|
176
|
-
shortcuts.triggerAction(mode, action === 'next' ? 'prev' : 'next');
|
|
176
|
+
shortcuts$1.triggerAction(mode, action === 'next' ? 'prev' : 'next');
|
|
177
177
|
}
|
|
178
178
|
return false;
|
|
179
179
|
};
|
|
@@ -187,13 +187,13 @@ angularModule.directive('rgShortcutsApp', function rgShortcutsAppDirective() {
|
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
189
|
this.setup = function (zone, keys) {
|
|
190
|
-
shortcuts.bind(zone.name, keys, zone.scope);
|
|
190
|
+
shortcuts$1.bind(zone.name, keys, zone.scope);
|
|
191
191
|
$scope.zones.push(zone);
|
|
192
192
|
_this.sort();
|
|
193
193
|
};
|
|
194
194
|
this.destroy = function (zone) {
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
shortcuts.spliceScope(zone.scope);
|
|
196
|
+
shortcuts.unbindScope(zone.scope);
|
|
197
197
|
var position = $scope.zones.indexOf(zone);
|
|
198
198
|
if (position !== -1) {
|
|
199
199
|
$scope.zones.splice(position, 1);
|
|
@@ -206,8 +206,8 @@ angularModule.directive('rgShortcutsApp', function rgShortcutsAppDirective() {
|
|
|
206
206
|
prev: this.route.bind(this, 'prev'),
|
|
207
207
|
main: this.route.bind(this, 'main')
|
|
208
208
|
};
|
|
209
|
-
shortcuts.bind('ring-shortcuts', keyMap);
|
|
210
|
-
|
|
209
|
+
shortcuts$1.bind('ring-shortcuts', keyMap);
|
|
210
|
+
shortcuts.pushScope('ring-shortcuts');
|
|
211
211
|
}]
|
|
212
212
|
};
|
|
213
213
|
});
|
|
@@ -243,23 +243,23 @@ angularModule.directive('rgShortcuts', ["$parse", function rgShortcutsDirective(
|
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
}]);
|
|
246
|
-
angularModule.directive('rgShortcutsGlobal', ["shortcuts", function rgShortcutsGlobalDirective(shortcuts) {
|
|
246
|
+
angularModule.directive('rgShortcutsGlobal', ["shortcuts", function rgShortcutsGlobalDirective(shortcuts$1) {
|
|
247
247
|
return {
|
|
248
248
|
restrict: 'A',
|
|
249
249
|
link: function link($scope, iElement, iAttrs) {
|
|
250
250
|
var name = iAttrs.rgShortcutsGlobal;
|
|
251
251
|
var scope = "".concat(name, "-").concat($scope.$id);
|
|
252
252
|
$scope.$evalAsync(function () {
|
|
253
|
-
shortcuts.bind(name, $scope.$eval(iAttrs.shortcutsMap), scope);
|
|
254
|
-
|
|
253
|
+
shortcuts$1.bind(name, $scope.$eval(iAttrs.shortcutsMap), scope);
|
|
254
|
+
shortcuts.pushScope(scope);
|
|
255
255
|
});
|
|
256
256
|
$scope.$on('$destroy', function () {
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
shortcuts.spliceScope(scope);
|
|
258
|
+
shortcuts.unbindScope(scope);
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
261
|
};
|
|
262
262
|
}]);
|
|
263
|
-
var
|
|
263
|
+
var Shortcuts = angularModule.name;
|
|
264
264
|
|
|
265
|
-
export {
|
|
265
|
+
export { Shortcuts as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import angular from 'angular';
|
|
4
4
|
import chevronRightIcon from '@jetbrains/icons/chevron-right';
|
|
@@ -6,7 +6,7 @@ import chevronLeftIcon from '@jetbrains/icons/chevron-left';
|
|
|
6
6
|
import PlaceUnder from '../place-under-ng/place-under-ng.js';
|
|
7
7
|
import IconNG from '../icon-ng/icon-ng.js';
|
|
8
8
|
import RingAngularComponent from '../global/ring-angular-component.js';
|
|
9
|
-
import
|
|
9
|
+
import Button from '../button-ng/button-ng.js';
|
|
10
10
|
import template from './sidebar-ng__template.js';
|
|
11
11
|
import buttonTemplate from './sidebar-ng__button-template.js';
|
|
12
12
|
import 'core-js/modules/es.parse-int.js';
|
|
@@ -43,7 +43,7 @@ import 'react';
|
|
|
43
43
|
* @name Sidebar Ng
|
|
44
44
|
*/
|
|
45
45
|
|
|
46
|
-
var angularModule = angular.module('Ring.sidebar', [PlaceUnder, IconNG,
|
|
46
|
+
var angularModule = angular.module('Ring.sidebar', [PlaceUnder, IconNG, Button]);
|
|
47
47
|
var SidebarController = /*#__PURE__*/function (_RingAngularComponent) {
|
|
48
48
|
_inherits(SidebarController, _RingAngularComponent);
|
|
49
49
|
var _super = _createSuper(SidebarController);
|
package/dist/storage/storage.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import LocalStorage from './storage__local.js';
|
|
2
2
|
import FallbackStorage from './storage__fallback.js';
|
|
3
3
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
4
|
+
import 'core-js/modules/es.object.keys.js';
|
|
4
5
|
import 'core-js/modules/es.object.to-string.js';
|
|
5
6
|
import 'core-js/modules/es.promise.js';
|
|
6
7
|
import 'core-js/modules/es.array.iterator.js';
|
|
@@ -43,7 +44,6 @@ import '../global/dom.js';
|
|
|
43
44
|
import 'core-js/modules/es.object.assign.js';
|
|
44
45
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
|
45
46
|
import 'core-js/modules/es.string.split.js';
|
|
46
|
-
import 'core-js/modules/es.object.keys.js';
|
|
47
47
|
import 'core-js/modules/es.set.js';
|
|
48
48
|
import '../button/button.js';
|
|
49
49
|
import '@jetbrains/icons/chevron-10px';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, d as _createClass, c as _classCallCheck, h as _asyncToGenerator, i as _regeneratorRuntime } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.object.to-string.js';
|
|
3
3
|
import 'core-js/modules/es.promise.js';
|
|
4
|
+
import 'core-js/modules/es.object.keys.js';
|
|
4
5
|
import 'core-js/modules/es.reflect.delete-property.js';
|
|
5
6
|
import 'core-js/modules/es.array.iterator.js';
|
|
6
7
|
import 'core-js/modules/es.string.iterator.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as _createClass, c as _classCallCheck, _ as _defineProperty, h as _asyncToGenerator, i as _regeneratorRuntime } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import 'core-js/modules/es.object.keys.js';
|
|
2
3
|
import 'core-js/modules/es.object.to-string.js';
|
|
3
4
|
import 'core-js/modules/es.promise.js';
|
|
4
5
|
import 'core-js/modules/es.array.iterator.js';
|
|
@@ -41,7 +42,6 @@ import '../global/dom.js';
|
|
|
41
42
|
import 'core-js/modules/es.object.assign.js';
|
|
42
43
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
|
43
44
|
import 'core-js/modules/es.string.split.js';
|
|
44
|
-
import 'core-js/modules/es.object.keys.js';
|
|
45
45
|
import 'core-js/modules/es.set.js';
|
|
46
46
|
import '../button/button.js';
|
|
47
47
|
import '@jetbrains/icons/chevron-10px';
|