@jetbrains/ring-ui-built 7.0.27 → 7.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/_helpers/_rollupPluginBabelHelpers.js +1 -1
- package/components/_helpers/card.js +5 -5
- package/components/_helpers/input.js +7 -7
- package/components/_helpers/select__filter.js +2 -2
- package/components/_helpers/sidebar.js +2 -2
- package/components/alert/alert.js +2 -2
- package/components/alert-service/alert-service.js +2 -2
- package/components/analytics/analytics.js +1 -1
- package/components/analytics/analytics__custom-plugin.js +8 -8
- package/components/auth/auth__core.js +54 -54
- package/components/auth/background-flow.js +4 -4
- package/components/auth/iframe-flow.js +7 -7
- package/components/auth/request-builder.js +3 -3
- package/components/auth/response-parser.js +4 -4
- package/components/auth/storage.js +12 -12
- package/components/auth/token-validator.js +7 -7
- package/components/auth/window-flow.js +7 -7
- package/components/auth-dialog/auth-dialog.js +1 -1
- package/components/avatar-stack/avatar-stack.js +8 -9
- package/components/button/button.js +2 -2
- package/components/caret/caret.js +7 -7
- package/components/checkbox/checkbox.js +1 -1
- package/components/clipboard/clipboard-fallback.js +3 -3
- package/components/code/code.js +1 -1
- package/components/collapse/collapse-content.js +2 -2
- package/components/collapse/collapse.js +1 -1
- package/components/data-list/data-list.js +3 -3
- package/components/data-list/item.js +1 -1
- package/components/date-picker/consts.js +1 -1
- package/components/date-picker/date-input.js +5 -5
- package/components/date-picker/date-picker.js +9 -9
- package/components/date-picker/date-popup.js +4 -4
- package/components/date-picker/years.js +1 -1
- package/components/dialog/dialog.js +1 -1
- package/components/dropdown/dropdown.js +4 -4
- package/components/dropdown-menu/dropdown-menu.js +6 -7
- package/components/editable-heading/editable-heading.js +4 -4
- package/components/global/focus-sensor-hoc.js +10 -10
- package/components/global/memoize.js +1 -1
- package/components/global/normalize-indent.js +1 -1
- package/components/global/react-dom-renderer.js +1 -1
- package/components/global/schedule-raf.js +1 -1
- package/components/header/header.js +5 -6
- package/components/header/profile.js +11 -12
- package/components/header/smart-profile.js +5 -6
- package/components/header/smart-services.js +4 -4
- package/components/http/http.js +9 -9
- package/components/http/http.mock.js +3 -3
- package/components/hub-source/hub-source.js +6 -6
- package/components/hub-source/hub-source__user.js +2 -2
- package/components/hub-source/hub-source__users-groups.js +4 -4
- package/components/i18n/i18n.js +1 -1
- package/components/island/adaptive-island-hoc.js +1 -1
- package/components/island/content.js +3 -3
- package/components/island/header.js +1 -1
- package/components/list/list.js +8 -12
- package/components/list/list__item.js +83 -59
- package/components/list/list__users-groups-source.js +8 -9
- package/components/loader/loader.js +2 -2
- package/components/loader/loader__core.js +27 -27
- package/components/login-dialog/login-dialog.js +1 -1
- package/components/message/message.js +8 -8
- package/components/old-browsers-message/white-list.js +1 -1
- package/components/pager/pager.js +13 -14
- package/components/permissions/permissions.js +7 -7
- package/components/permissions/permissions__cache.js +4 -4
- package/components/popup/popup.js +8 -8
- package/components/popup/position.js +1 -1
- package/components/popup-menu/popup-menu.js +7 -8
- package/components/progress-bar/progress-bar.js +2 -2
- package/components/query-assist/query-assist.js +55 -54
- package/components/query-assist/query-assist__suggestions.js +6 -7
- package/components/radio/radio__item.js +2 -2
- package/components/select/select.js +32 -33
- package/components/select/select__filter.js +5 -6
- package/components/select/select__popup.js +15 -16
- package/components/shortcuts/core.js +1 -1
- package/components/slider/slider.js +8 -8
- package/components/slider/slider.utils.js +1 -1
- package/components/storage/storage__local.js +1 -1
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.js +4 -4
- package/components/table/header-cell.js +2 -2
- package/components/table/multitable.js +7 -7
- package/components/table/row-with-focus-sensor.js +4 -4
- package/components/table/row.js +1 -1
- package/components/table/selection-shortcuts-hoc.js +12 -12
- package/components/table/selection.js +7 -7
- package/components/table/table.js +1 -1
- package/components/tabs/collapsible-more.js +6 -7
- package/components/tabs/collapsible-tab.js +3 -3
- package/components/tabs/collapsible-tabs.js +10 -11
- package/components/tabs/dumb-tabs.js +4 -5
- package/components/tabs/smart-tabs.js +4 -5
- package/components/tabs/tabs.js +3 -4
- package/components/tag/tag.js +2 -2
- package/components/tags-input/tags-input.js +22 -23
- package/components/tooltip/tooltip.js +8 -8
- package/components/upload/upload.js +3 -3
- package/components/user-agreement/service.js +3 -3
- package/components/user-agreement/user-agreement.js +8 -8
- package/package.json +2 -2
- package/components/list/list__link.d.ts +0 -9
- package/components/list/list__link.js +0 -52
@@ -50,13 +50,6 @@ import 'memoize-one';
|
|
50
50
|
import '../global/memoize.js';
|
51
51
|
import 'core-js/modules/es.weak-map.js';
|
52
52
|
import '../global/create-stateful-context.js';
|
53
|
-
import '../list/list__link.js';
|
54
|
-
import '../link/link.js';
|
55
|
-
import '../link/clickableLink.js';
|
56
|
-
import '../_helpers/link.js';
|
57
|
-
import '../list/list__classes.js';
|
58
|
-
import '../list/consts.js';
|
59
|
-
import '../_helpers/list.js';
|
60
53
|
import '../list/list__item.js';
|
61
54
|
import '../avatar/avatar.js';
|
62
55
|
import '../global/url.js';
|
@@ -69,6 +62,12 @@ import '@jetbrains/icons/checkmark-12px';
|
|
69
62
|
import '@jetbrains/icons/remove-12px';
|
70
63
|
import '../global/composeRefs.js';
|
71
64
|
import '../control-help/control-help.js';
|
65
|
+
import '../link/link.js';
|
66
|
+
import '../link/clickableLink.js';
|
67
|
+
import '../_helpers/link.js';
|
68
|
+
import '../_helpers/list.js';
|
69
|
+
import '../list/consts.js';
|
70
|
+
import '../list/list__classes.js';
|
72
71
|
import '../icon/icon__constants.js';
|
73
72
|
import '../_helpers/icon__svg.js';
|
74
73
|
import 'core-js/modules/es.string.starts-with.js';
|
@@ -162,12 +161,12 @@ class QueryAssist extends Component {
|
|
162
161
|
suggestions: [],
|
163
162
|
showPopup: false
|
164
163
|
});
|
165
|
-
_defineProperty(this, "immediateState",
|
166
|
-
_defineProperty(this, "requestData",
|
164
|
+
_defineProperty(this, "immediateState", void 0);
|
165
|
+
_defineProperty(this, "requestData", void 0);
|
167
166
|
_defineProperty(this, "ngModelStateField", ngModelStateField);
|
168
167
|
// An array of {query: string; caret: number}[]
|
169
168
|
_defineProperty(this, "historyStack", []);
|
170
|
-
_defineProperty(this, "mouseIsDownOnPopup",
|
169
|
+
_defineProperty(this, "mouseIsDownOnPopup", void 0);
|
171
170
|
_defineProperty(this, "handleFocusChange", e => {
|
172
171
|
// otherwise it's blur and false
|
173
172
|
const focus = e.type === 'focus';
|
@@ -186,11 +185,13 @@ class QueryAssist extends Component {
|
|
186
185
|
focus
|
187
186
|
});
|
188
187
|
}
|
189
|
-
this.
|
190
|
-
|
191
|
-
|
188
|
+
if (this.state.shortcuts !== focus) {
|
189
|
+
this.setState({
|
190
|
+
shortcuts: focus
|
191
|
+
});
|
192
|
+
}
|
192
193
|
});
|
193
|
-
_defineProperty(this, "node",
|
194
|
+
_defineProperty(this, "node", void 0);
|
194
195
|
_defineProperty(this, "nodeRef", node => {
|
195
196
|
this.node = node;
|
196
197
|
});
|
@@ -205,14 +206,14 @@ class QueryAssist extends Component {
|
|
205
206
|
if (typeof _this.immediateState.selection === 'number' && Number.isInteger(_this.immediateState.selection) && _this.immediateState.selection > -1) {
|
206
207
|
var _this$caret;
|
207
208
|
// Set to end of field value if newCaretPosition is inappropriate
|
208
|
-
(_this$caret = _this.caret) === null || _this$caret ===
|
209
|
+
(_this$caret = _this.caret) === null || _this$caret === void 0 || _this$caret.setPosition(newCaretPosition >= 0 ? newCaretPosition : -1);
|
209
210
|
_this.scrollInput();
|
210
211
|
} else if (_this.immediateState.selection && typeof _this.immediateState.selection === 'object' && _this.immediateState.selection.startOffset !== undefined) {
|
211
212
|
var _this$caret2;
|
212
|
-
(_this$caret2 = _this.caret) === null || _this$caret2 ===
|
213
|
+
(_this$caret2 = _this.caret) === null || _this$caret2 === void 0 || _this$caret2.setPosition(_this.immediateState.selection);
|
213
214
|
} else if (_this.immediateState.selection === undefined || params.forceSetCaret) {
|
214
215
|
var _this$caret3;
|
215
|
-
(_this$caret3 = _this.caret) === null || _this$caret3 ===
|
216
|
+
(_this$caret3 = _this.caret) === null || _this$caret3 === void 0 || _this$caret3.setPosition(-1);
|
216
217
|
}
|
217
218
|
}
|
218
219
|
});
|
@@ -226,15 +227,15 @@ class QueryAssist extends Component {
|
|
226
227
|
});
|
227
228
|
}
|
228
229
|
});
|
229
|
-
_defineProperty(this, "isComposing",
|
230
|
+
_defineProperty(this, "isComposing", void 0);
|
230
231
|
_defineProperty(this, "handleInput", e => {
|
231
232
|
var _this$caret4, _currentCaret$positio;
|
232
233
|
this.togglePlaceholder();
|
233
|
-
const currentCaret = (_this$caret4 = this.caret) === null || _this$caret4 ===
|
234
|
+
const currentCaret = (_this$caret4 = this.caret) === null || _this$caret4 === void 0 ? void 0 : _this$caret4.getPosition();
|
234
235
|
const props = {
|
235
236
|
dirty: true,
|
236
237
|
query: this.getQuery(),
|
237
|
-
caret: typeof currentCaret === 'number' ? currentCaret : (_currentCaret$positio = currentCaret === null || currentCaret ===
|
238
|
+
caret: typeof currentCaret === 'number' ? currentCaret : (_currentCaret$positio = currentCaret === null || currentCaret === void 0 ? void 0 : currentCaret.position) !== null && _currentCaret$positio !== void 0 ? _currentCaret$positio : 0,
|
238
239
|
focus: true
|
239
240
|
};
|
240
241
|
if (this.immediateState.query === props.query && !this.isComposing) {
|
@@ -253,7 +254,7 @@ class QueryAssist extends Component {
|
|
253
254
|
}
|
254
255
|
const diff = this.immediateState.query.length - this.state.query.length;
|
255
256
|
const originalIndex = this.immediateState.caret - diff;
|
256
|
-
const ranges = [...((_this$state$styleRang = this.state.styleRanges) !== null && _this$state$styleRang !==
|
257
|
+
const ranges = [...((_this$state$styleRang = this.state.styleRanges) !== null && _this$state$styleRang !== void 0 ? _this$state$styleRang : [])];
|
257
258
|
const range = ranges.find(r => originalIndex >= r.start && originalIndex <= r.start + r.length);
|
258
259
|
if (range) {
|
259
260
|
range.length += diff;
|
@@ -265,7 +266,7 @@ class QueryAssist extends Component {
|
|
265
266
|
this.props.onChange(props);
|
266
267
|
if (this.props.autoOpen === 'force' || props.query.length > 0) {
|
267
268
|
var _this$requestData;
|
268
|
-
(_this$requestData = this.requestData) === null || _this$requestData ===
|
269
|
+
(_this$requestData = this.requestData) === null || _this$requestData === void 0 || _this$requestData.call(this);
|
269
270
|
}
|
270
271
|
});
|
271
272
|
// It's necessary to prevent new element creation before any other hooks
|
@@ -293,7 +294,7 @@ class QueryAssist extends Component {
|
|
293
294
|
_defineProperty(this, "setState", (state, resolve) => {
|
294
295
|
super.setState(state, () => {
|
295
296
|
this._pushHistory(state);
|
296
|
-
resolve === null || resolve ===
|
297
|
+
resolve === null || resolve === void 0 || resolve();
|
297
298
|
});
|
298
299
|
});
|
299
300
|
_defineProperty(this, "undo", e => {
|
@@ -305,7 +306,7 @@ class QueryAssist extends Component {
|
|
305
306
|
query: previous.query
|
306
307
|
}, () => {
|
307
308
|
var _this$caret5;
|
308
|
-
(_this$caret5 = this.caret) === null || _this$caret5 ===
|
309
|
+
(_this$caret5 = this.caret) === null || _this$caret5 === void 0 || _this$caret5.setPosition(previous.caret);
|
309
310
|
this.handleInput(e);
|
310
311
|
});
|
311
312
|
});
|
@@ -323,8 +324,8 @@ class QueryAssist extends Component {
|
|
323
324
|
if (this.isComposing) {
|
324
325
|
return;
|
325
326
|
}
|
326
|
-
const currentCaret = (_this$caret6 = this.caret) === null || _this$caret6 ===
|
327
|
-
const caret = typeof currentCaret === 'number' ? currentCaret : (_currentCaret$positio2 = currentCaret === null || currentCaret ===
|
327
|
+
const currentCaret = (_this$caret6 = this.caret) === null || _this$caret6 === void 0 ? void 0 : _this$caret6.getPosition();
|
328
|
+
const caret = typeof currentCaret === 'number' ? currentCaret : (_currentCaret$positio2 = currentCaret === null || currentCaret === void 0 ? void 0 : currentCaret.position) !== null && _currentCaret$positio2 !== void 0 ? _currentCaret$positio2 : 0;
|
328
329
|
const popupHidden = !this.state.showPopup && e.type === 'click';
|
329
330
|
if (!this.props.disabled && (caret !== this.immediateState.caret || popupHidden)) {
|
330
331
|
this.immediateState.prevCaret = this.immediateState.caret;
|
@@ -332,7 +333,7 @@ class QueryAssist extends Component {
|
|
332
333
|
this.scrollInput();
|
333
334
|
if (this.immediateState.query.length > 0) {
|
334
335
|
var _this$requestData2;
|
335
|
-
(_this$requestData2 = this.requestData) === null || _this$requestData2 ===
|
336
|
+
(_this$requestData2 = this.requestData) === null || _this$requestData2 === void 0 || _this$requestData2.call(this);
|
336
337
|
}
|
337
338
|
}
|
338
339
|
if (this.props.autoOpen !== 'force' && this.immediateState.query.length < 1) {
|
@@ -376,7 +377,7 @@ class QueryAssist extends Component {
|
|
376
377
|
if (!dequal(_this.state.styleRanges, styleRanges)) {
|
377
378
|
state.styleRanges = styleRanges;
|
378
379
|
}
|
379
|
-
_this.immediateState.selection = (_this$caret7 = _this.caret) === null || _this$caret7 ===
|
380
|
+
_this.immediateState.selection = (_this$caret7 = _this.caret) === null || _this$caret7 === void 0 ? void 0 : _this$caret7.getPosition({
|
380
381
|
avoidFocus: true
|
381
382
|
});
|
382
383
|
_this.setState(state, resolve);
|
@@ -409,13 +410,13 @@ class QueryAssist extends Component {
|
|
409
410
|
const suffix = suggestion.suffix || '';
|
410
411
|
const state = {
|
411
412
|
prevCaret: currentCaret,
|
412
|
-
caret: (_suggestion$caret = suggestion.caret) !== null && _suggestion$caret !==
|
413
|
-
selection: (_suggestion$caret2 = suggestion.caret) !== null && _suggestion$caret2 !==
|
413
|
+
caret: (_suggestion$caret = suggestion.caret) !== null && _suggestion$caret !== void 0 ? _suggestion$caret : 0,
|
414
|
+
selection: (_suggestion$caret2 = suggestion.caret) !== null && _suggestion$caret2 !== void 0 ? _suggestion$caret2 : 0,
|
414
415
|
query: query.substr(0, suggestion.completionStart) + prefix + suggestion.option + suffix
|
415
416
|
};
|
416
417
|
if (typeof replace === 'boolean' && replace) {
|
417
418
|
var _suggestion$completio;
|
418
|
-
state.query += this.immediateState.query.substr((_suggestion$completio = suggestion.completionEnd) !== null && _suggestion$completio !==
|
419
|
+
state.query += this.immediateState.query.substr((_suggestion$completio = suggestion.completionEnd) !== null && _suggestion$completio !== void 0 ? _suggestion$completio : 0);
|
419
420
|
} else {
|
420
421
|
state.query += this.immediateState.query.substr(this.immediateState.caret);
|
421
422
|
}
|
@@ -436,7 +437,7 @@ class QueryAssist extends Component {
|
|
436
437
|
this.setCaretPosition();
|
437
438
|
}
|
438
439
|
this.closePopup();
|
439
|
-
(_this$requestData3 = this.requestData) === null || _this$requestData3 ===
|
440
|
+
(_this$requestData3 = this.requestData) === null || _this$requestData3 === void 0 || _this$requestData3.call(this, true);
|
440
441
|
});
|
441
442
|
_defineProperty(this, "requestStyleRanges", () => {
|
442
443
|
const {
|
@@ -470,7 +471,7 @@ class QueryAssist extends Component {
|
|
470
471
|
preventDefault(e);
|
471
472
|
if (!this.state.showPopup) {
|
472
473
|
var _this$requestData4;
|
473
|
-
(_this$requestData4 = this.requestData) === null || _this$requestData4 ===
|
474
|
+
(_this$requestData4 = this.requestData) === null || _this$requestData4 === void 0 || _this$requestData4.call(this);
|
474
475
|
}
|
475
476
|
});
|
476
477
|
_defineProperty(this, "trackPopupMouseState", e => {
|
@@ -503,8 +504,8 @@ class QueryAssist extends Component {
|
|
503
504
|
loading: false
|
504
505
|
});
|
505
506
|
});
|
506
|
-
_defineProperty(this, "input",
|
507
|
-
_defineProperty(this, "caret",
|
507
|
+
_defineProperty(this, "input", void 0);
|
508
|
+
_defineProperty(this, "caret", void 0);
|
508
509
|
_defineProperty(this, "inputRef", node => {
|
509
510
|
if (!node) {
|
510
511
|
return;
|
@@ -512,23 +513,23 @@ class QueryAssist extends Component {
|
|
512
513
|
this.input = node;
|
513
514
|
this.caret = new Caret(this.input);
|
514
515
|
});
|
515
|
-
_defineProperty(this, "_popup",
|
516
|
+
_defineProperty(this, "_popup", void 0);
|
516
517
|
_defineProperty(this, "popupRef", node => {
|
517
518
|
this._popup = node;
|
518
519
|
});
|
519
|
-
_defineProperty(this, "placeholder",
|
520
|
+
_defineProperty(this, "placeholder", void 0);
|
520
521
|
_defineProperty(this, "placeholderRef", node => {
|
521
522
|
this.placeholder = node;
|
522
523
|
});
|
523
|
-
_defineProperty(this, "glass",
|
524
|
+
_defineProperty(this, "glass", void 0);
|
524
525
|
_defineProperty(this, "glassRef", node => {
|
525
526
|
this.glass = node;
|
526
527
|
});
|
527
|
-
_defineProperty(this, "loader",
|
528
|
+
_defineProperty(this, "loader", void 0);
|
528
529
|
_defineProperty(this, "loaderRef", node => {
|
529
530
|
this.loader = node;
|
530
531
|
});
|
531
|
-
_defineProperty(this, "clear",
|
532
|
+
_defineProperty(this, "clear", void 0);
|
532
533
|
_defineProperty(this, "clearRef", node => {
|
533
534
|
this.clear = node;
|
534
535
|
});
|
@@ -575,7 +576,7 @@ class QueryAssist extends Component {
|
|
575
576
|
this._pushHistory(this.state);
|
576
577
|
}
|
577
578
|
shouldComponentUpdate(props, state) {
|
578
|
-
return state.query !== this.state.query || state.dirty !== this.state.dirty || state.loading !== this.state.loading || state.showPopup !== this.state.showPopup || state.suggestions !== this.state.suggestions || state.styleRanges !== this.state.styleRanges || state.placeholderEnabled !== this.state.placeholderEnabled || props.placeholder !== this.props.placeholder || props.disabled !== this.props.disabled || props.clear !== this.props.clear || props.focus !== this.props.focus || props.actions !== this.props.actions || props.loader !== this.props.loader || props.glass !== this.props.glass || props.className !== this.props.className;
|
579
|
+
return state.query !== this.state.query || state.dirty !== this.state.dirty || state.loading !== this.state.loading || state.showPopup !== this.state.showPopup || state.suggestions !== this.state.suggestions || state.styleRanges !== this.state.styleRanges || state.placeholderEnabled !== this.state.placeholderEnabled || state.shortcuts !== this.state.shortcuts || props.placeholder !== this.props.placeholder || props.disabled !== this.props.disabled || props.clear !== this.props.clear || props.focus !== this.props.focus || props.actions !== this.props.actions || props.loader !== this.props.loader || props.glass !== this.props.glass || props.className !== this.props.className || props.delay !== this.props.delay;
|
579
580
|
}
|
580
581
|
componentDidUpdate(prevProps) {
|
581
582
|
const {
|
@@ -595,7 +596,7 @@ class QueryAssist extends Component {
|
|
595
596
|
this.immediateState.query = query;
|
596
597
|
if (query && (this.props.autoOpen === 'force' || prevProps.autoOpen && query.length > 0)) {
|
597
598
|
var _this$requestData5;
|
598
|
-
(_this$requestData5 = this.requestData) === null || _this$requestData5 ===
|
599
|
+
(_this$requestData5 = this.requestData) === null || _this$requestData5 === void 0 || _this$requestData5.call(this);
|
599
600
|
} else if (query) {
|
600
601
|
this.requestStyleRanges();
|
601
602
|
}
|
@@ -615,14 +616,14 @@ class QueryAssist extends Component {
|
|
615
616
|
}
|
616
617
|
scrollInput() {
|
617
618
|
var _this$caret8, _this$input, _this$input2, _this$input3;
|
618
|
-
const caretOffset = (_this$caret8 = this.caret) === null || _this$caret8 ===
|
619
|
-
if (((_this$input = this.input) === null || _this$input ===
|
619
|
+
const caretOffset = (_this$caret8 = this.caret) === null || _this$caret8 === void 0 ? void 0 : _this$caret8.getOffset();
|
620
|
+
if (((_this$input = this.input) === null || _this$input === void 0 ? void 0 : _this$input.clientWidth) !== ((_this$input2 = this.input) === null || _this$input2 === void 0 ? void 0 : _this$input2.scrollWidth) && caretOffset != null && ((_this$input3 = this.input) === null || _this$input3 === void 0 ? void 0 : _this$input3.clientWidth) != null && caretOffset > this.input.clientWidth) {
|
620
621
|
this.input.scrollLeft += caretOffset;
|
621
622
|
}
|
622
623
|
}
|
623
624
|
getQuery() {
|
624
625
|
var _this$input$textConte, _this$input4;
|
625
|
-
return (_this$input$textConte = (_this$input4 = this.input) === null || _this$input4 ===
|
626
|
+
return (_this$input$textConte = (_this$input4 = this.input) === null || _this$input4 === void 0 || (_this$input4 = _this$input4.textContent) === null || _this$input4 === void 0 ? void 0 : _this$input4.replace(/\s/g, ' ')) !== null && _this$input$textConte !== void 0 ? _this$input$textConte : '';
|
626
627
|
}
|
627
628
|
isRenderingGlassOrLoader() {
|
628
629
|
const renderLoader = this.props.loader !== false && this.state.loading;
|
@@ -631,14 +632,14 @@ class QueryAssist extends Component {
|
|
631
632
|
_pushHistory(state) {
|
632
633
|
var _this$historyStack$;
|
633
634
|
const queryIsSet = 'query' in state;
|
634
|
-
const queryIsSame = ((_this$historyStack$ = this.historyStack[0]) === null || _this$historyStack$ ===
|
635
|
+
const queryIsSame = ((_this$historyStack$ = this.historyStack[0]) === null || _this$historyStack$ === void 0 ? void 0 : _this$historyStack$.query) === state.query;
|
635
636
|
if (queryIsSet && !queryIsSame) {
|
636
637
|
var _this$caret$getPositi, _this$caret9;
|
637
638
|
this.historyStack.unshift({
|
638
639
|
query: state.query,
|
639
|
-
caret: (_this$caret$getPositi = (_this$caret9 = this.caret) === null || _this$caret9 ===
|
640
|
+
caret: (_this$caret$getPositi = (_this$caret9 = this.caret) === null || _this$caret9 === void 0 ? void 0 : _this$caret9.getPosition({
|
640
641
|
avoidFocus: true
|
641
|
-
})) !== null && _this$caret$getPositi !==
|
642
|
+
})) !== null && _this$caret$getPositi !== void 0 ? _this$caret$getPositi : -1
|
642
643
|
});
|
643
644
|
}
|
644
645
|
}
|
@@ -680,7 +681,7 @@ class QueryAssist extends Component {
|
|
680
681
|
let offset = completionStartNode && getRect(completionStartNode).right - getRect(this.input).left;
|
681
682
|
if (!offset) {
|
682
683
|
var _this$caret$getOffset, _this$caret10;
|
683
|
-
const caret = (_this$caret$getOffset = (_this$caret10 = this.caret) === null || _this$caret10 ===
|
684
|
+
const caret = (_this$caret$getOffset = (_this$caret10 = this.caret) === null || _this$caret10 === void 0 ? void 0 : _this$caret10.getOffset()) !== null && _this$caret$getOffset !== void 0 ? _this$caret$getOffset : 0;
|
684
685
|
// Do not compensate caret in the beginning of field
|
685
686
|
if (caret === 0) {
|
686
687
|
return minOffset;
|
@@ -695,7 +696,7 @@ class QueryAssist extends Component {
|
|
695
696
|
this.immediateState.selection = null;
|
696
697
|
if (!this.props.focus) {
|
697
698
|
var _this$caret11;
|
698
|
-
(_this$caret11 = this.caret) === null || _this$caret11 ===
|
699
|
+
(_this$caret11 = this.caret) === null || _this$caret11 === void 0 || _this$caret11.target.blur();
|
699
700
|
}
|
700
701
|
}
|
701
702
|
/**
|
@@ -803,7 +804,7 @@ class QueryAssist extends Component {
|
|
803
804
|
return jsx(Button, {
|
804
805
|
icon: closeIcon,
|
805
806
|
className: styles.clear,
|
806
|
-
title: (_this$props$translati = (_this$props$translati2 = this.props.translations) === null || _this$props$translati2 ===
|
807
|
+
title: (_this$props$translati = (_this$props$translati2 = this.props.translations) === null || _this$props$translati2 === void 0 ? void 0 : _this$props$translati2.clearTitle) !== null && _this$props$translati !== void 0 ? _this$props$translati : translate('clearTitle'),
|
807
808
|
ref: this.clearRef,
|
808
809
|
onClick: this.clearQuery,
|
809
810
|
"data-test": "query-assist-clear-icon"
|
@@ -864,7 +865,7 @@ class QueryAssist extends Component {
|
|
864
865
|
}), renderGlass && !huge && jsx(Icon, {
|
865
866
|
glyph: searchIcon,
|
866
867
|
className: styles.icon,
|
867
|
-
title: (_translations$searchT = translations === null || translations ===
|
868
|
+
title: (_translations$searchT = translations === null || translations === void 0 ? void 0 : translations.searchTitle) !== null && _translations$searchT !== void 0 ? _translations$searchT : translate('searchTitle'),
|
868
869
|
ref: this.glassRef,
|
869
870
|
"data-test": "query-assist-search-icon"
|
870
871
|
}), renderLoader && jsx("div", {
|
@@ -875,7 +876,7 @@ class QueryAssist extends Component {
|
|
875
876
|
ref: this.loaderRef,
|
876
877
|
children: jsx(LoaderInline, {})
|
877
878
|
}), jsx(ContentEditable, {
|
878
|
-
"aria-label": (_translations$searchT2 = translations === null || translations ===
|
879
|
+
"aria-label": (_translations$searchT2 = translations === null || translations === void 0 ? void 0 : translations.searchTitle) !== null && _translations$searchT2 !== void 0 ? _translations$searchT2 : translate('searchTitle'),
|
879
880
|
className: inputClasses,
|
880
881
|
"data-test": "ring-query-assist-input",
|
881
882
|
inputRef: this.inputRef,
|
@@ -934,7 +935,7 @@ class QueryAssist extends Component {
|
|
934
935
|
children: jsx(Icon, {
|
935
936
|
glyph: searchIcon,
|
936
937
|
className: styles.rightSearchIcon,
|
937
|
-
title: (_translations$searchT3 = translations === null || translations ===
|
938
|
+
title: (_translations$searchT3 = translations === null || translations === void 0 ? void 0 : translations.searchTitle) !== null && _translations$searchT3 !== void 0 ? _translations$searchT3 : translate('searchTitle'),
|
938
939
|
onClick: this.handleApply,
|
939
940
|
ref: this.glassRef,
|
940
941
|
"data-test": "query-assist-search-icon"
|
@@ -30,13 +30,6 @@ import 'combokeys';
|
|
30
30
|
import '../global/sniffer.js';
|
31
31
|
import 'sniffr';
|
32
32
|
import '../global/create-stateful-context.js';
|
33
|
-
import '../list/list__link.js';
|
34
|
-
import '../link/link.js';
|
35
|
-
import '../link/clickableLink.js';
|
36
|
-
import '../_helpers/link.js';
|
37
|
-
import '../list/list__classes.js';
|
38
|
-
import '../list/consts.js';
|
39
|
-
import '../_helpers/list.js';
|
40
33
|
import '../list/list__item.js';
|
41
34
|
import '../avatar/avatar.js';
|
42
35
|
import '../global/url.js';
|
@@ -53,6 +46,12 @@ import '../_helpers/icon__svg.js';
|
|
53
46
|
import 'core-js/modules/es.string.starts-with.js';
|
54
47
|
import '../global/composeRefs.js';
|
55
48
|
import '../control-help/control-help.js';
|
49
|
+
import '../link/link.js';
|
50
|
+
import '../link/clickableLink.js';
|
51
|
+
import '../_helpers/link.js';
|
52
|
+
import '../_helpers/list.js';
|
53
|
+
import '../list/consts.js';
|
54
|
+
import '../list/list__classes.js';
|
56
55
|
import '../list/list__custom.js';
|
57
56
|
import '../global/get-event-key.js';
|
58
57
|
import '../list/list__title.js';
|
@@ -16,11 +16,11 @@ class RadioItemInner extends Component {
|
|
16
16
|
constructor() {
|
17
17
|
super(...arguments);
|
18
18
|
_defineProperty(this, "uid", getUID('ring-radio-item-'));
|
19
|
-
_defineProperty(this, "input",
|
19
|
+
_defineProperty(this, "input", void 0);
|
20
20
|
_defineProperty(this, "inputRef", el => {
|
21
21
|
this.input = el;
|
22
22
|
});
|
23
|
-
_defineProperty(this, "label",
|
23
|
+
_defineProperty(this, "label", void 0);
|
24
24
|
_defineProperty(this, "labelRef", el => {
|
25
25
|
this.label = el;
|
26
26
|
});
|
@@ -64,17 +64,16 @@ import 'react-virtualized/dist/es/WindowScroller';
|
|
64
64
|
import 'react-virtualized/dist/es/CellMeasurer';
|
65
65
|
import 'memoize-one';
|
66
66
|
import '../global/create-stateful-context.js';
|
67
|
-
import '../list/list__link.js';
|
68
|
-
import '../link/link.js';
|
69
|
-
import '../_helpers/link.js';
|
70
|
-
import '../list/list__classes.js';
|
71
|
-
import '../list/consts.js';
|
72
|
-
import '../_helpers/list.js';
|
73
67
|
import '../list/list__item.js';
|
74
68
|
import '../checkbox/checkbox.js';
|
75
69
|
import '@jetbrains/icons/checkmark-12px';
|
76
70
|
import '@jetbrains/icons/remove-12px';
|
77
71
|
import '../control-help/control-help.js';
|
72
|
+
import '../link/link.js';
|
73
|
+
import '../_helpers/link.js';
|
74
|
+
import '../_helpers/list.js';
|
75
|
+
import '../list/consts.js';
|
76
|
+
import '../list/list__classes.js';
|
78
77
|
import '../list/list__custom.js';
|
79
78
|
import '../global/get-event-key.js';
|
80
79
|
import '../list/list__title.js';
|
@@ -160,13 +159,13 @@ function getListItems(props, state, rawFilterString) {
|
|
160
159
|
exactMatch = item.label === filterString;
|
161
160
|
if (props.multiple && !(typeof props.multiple === 'object' && props.multiple.removeSelectedItems)) {
|
162
161
|
var _state$multipleMap;
|
163
|
-
item.checkbox = !!((_state$multipleMap = state.multipleMap) !== null && _state$multipleMap !==
|
162
|
+
item.checkbox = !!((_state$multipleMap = state.multipleMap) !== null && _state$multipleMap !== void 0 && _state$multipleMap[item.key]);
|
164
163
|
}
|
165
164
|
if (props.multiple && typeof props.multiple === 'object' && props.multiple.limit && Array.isArray(state.selected)) {
|
166
165
|
item.disabled = props.multiple.limit === state.selected.length && !state.selected.find(selectedItem => selectedItem.key === item.key);
|
167
166
|
}
|
168
167
|
// Ignore item if it's multiple and is already selected
|
169
|
-
if (!(props.multiple && typeof props.multiple === 'object' && props.multiple.removeSelectedItems && (_state$multipleMap2 = state.multipleMap) !== null && _state$multipleMap2 !==
|
168
|
+
if (!(props.multiple && typeof props.multiple === 'object' && props.multiple.removeSelectedItems && (_state$multipleMap2 = state.multipleMap) !== null && _state$multipleMap2 !== void 0 && _state$multipleMap2[item.key])) {
|
170
169
|
filteredData.push(item);
|
171
170
|
}
|
172
171
|
}
|
@@ -187,7 +186,7 @@ function getListItems(props, state, rawFilterString) {
|
|
187
186
|
addButton = {
|
188
187
|
prefix: add.prefix,
|
189
188
|
label,
|
190
|
-
delayed: (_add$delayed = add.delayed) !== null && _add$delayed !==
|
189
|
+
delayed: (_add$delayed = add.delayed) !== null && _add$delayed !== void 0 ? _add$delayed : true
|
191
190
|
};
|
192
191
|
}
|
193
192
|
}
|
@@ -288,14 +287,14 @@ class Select extends Component {
|
|
288
287
|
});
|
289
288
|
});
|
290
289
|
}
|
291
|
-
if (!((_this$_popup = this._popup) !== null && _this$_popup !==
|
290
|
+
if (!((_this$_popup = this._popup) !== null && _this$_popup !== void 0 && _this$_popup.isClickingPopup)) {
|
292
291
|
this.setState({
|
293
292
|
shortcutsEnabled: false,
|
294
293
|
focused: false
|
295
294
|
});
|
296
295
|
}
|
297
296
|
});
|
298
|
-
_defineProperty(this, "node",
|
297
|
+
_defineProperty(this, "node", void 0);
|
299
298
|
_defineProperty(this, "nodeRef", el => {
|
300
299
|
this.node = el;
|
301
300
|
});
|
@@ -307,9 +306,9 @@ class Select extends Component {
|
|
307
306
|
});
|
308
307
|
_defineProperty(this, "focus", () => {
|
309
308
|
var _this$node;
|
310
|
-
const focusableSelectExists = (_this$node = this.node) === null || _this$node ===
|
309
|
+
const focusableSelectExists = (_this$node = this.node) === null || _this$node === void 0 ? void 0 : _this$node.querySelector('[data-test~=ring-select__focus]');
|
311
310
|
const restoreFocusNode = this.props.targetElement || focusableSelectExists;
|
312
|
-
restoreFocusNode === null || restoreFocusNode ===
|
311
|
+
restoreFocusNode === null || restoreFocusNode === void 0 || restoreFocusNode.focus();
|
313
312
|
});
|
314
313
|
_defineProperty(this, "_onEnter", () => {
|
315
314
|
var _this$_popup2;
|
@@ -317,14 +316,14 @@ class Select extends Component {
|
|
317
316
|
this.addHandler();
|
318
317
|
}
|
319
318
|
this.props.onDone();
|
320
|
-
if (!((_this$_popup2 = this._popup) !== null && _this$_popup2 !==
|
319
|
+
if (!((_this$_popup2 = this._popup) !== null && _this$_popup2 !== void 0 && _this$_popup2.isVisible()) && this.props.allowAny) {
|
321
320
|
return true;
|
322
321
|
}
|
323
322
|
return undefined;
|
324
323
|
});
|
325
324
|
_defineProperty(this, "_onEsc", event => {
|
326
325
|
var _this$_popup3;
|
327
|
-
if (!((_this$_popup3 = this._popup) !== null && _this$_popup3 !==
|
326
|
+
if (!((_this$_popup3 = this._popup) !== null && _this$_popup3 !== void 0 && _this$_popup3.isVisible())) {
|
328
327
|
return true;
|
329
328
|
} else if (this.props.multiple || !this.props.getInitial) {
|
330
329
|
return false;
|
@@ -421,7 +420,7 @@ class Select extends Component {
|
|
421
420
|
this.props.onChange(fakeSelected, event);
|
422
421
|
});
|
423
422
|
}
|
424
|
-
if (!((_this$_popup4 = this._popup) !== null && _this$_popup4 !==
|
423
|
+
if (!((_this$_popup4 = this._popup) !== null && _this$_popup4 !== void 0 && _this$_popup4.isVisible())) {
|
425
424
|
this.props.onBeforeOpen();
|
426
425
|
}
|
427
426
|
this.setState({
|
@@ -453,7 +452,7 @@ class Select extends Component {
|
|
453
452
|
if (!isItem(selected) && !isCustomItem(selected) || selected.disabled || selected.isResetItem) {
|
454
453
|
return;
|
455
454
|
}
|
456
|
-
const tryKeepOpen = (_this$props$tryKeepOp = _this.props.tryKeepOpen) !== null && _this$props$tryKeepOp !==
|
455
|
+
const tryKeepOpen = (_this$props$tryKeepOp = _this.props.tryKeepOpen) !== null && _this$props$tryKeepOp !== void 0 ? _this$props$tryKeepOp : opts.tryKeepOpen;
|
457
456
|
if (!_this.props.multiple) {
|
458
457
|
if (!tryKeepOpen) {
|
459
458
|
_this._hidePopup(isSelectItemEvent);
|
@@ -510,10 +509,10 @@ class Select extends Component {
|
|
510
509
|
}, () => {
|
511
510
|
if (_this.state.multipleMap[selected.key]) {
|
512
511
|
var _this$props$onSelect, _this$props;
|
513
|
-
(_this$props$onSelect = (_this$props = _this.props).onSelect) === null || _this$props$onSelect ===
|
512
|
+
(_this$props$onSelect = (_this$props = _this.props).onSelect) === null || _this$props$onSelect === void 0 || _this$props$onSelect.call(_this$props, selected, event);
|
514
513
|
} else {
|
515
514
|
var _this$props$onDeselec, _this$props2;
|
516
|
-
(_this$props$onDeselec = (_this$props2 = _this.props).onDeselect) === null || _this$props$onDeselec ===
|
515
|
+
(_this$props$onDeselec = (_this$props2 = _this.props).onDeselect) === null || _this$props$onDeselec === void 0 || _this$props$onDeselec.call(_this$props2, selected);
|
517
516
|
}
|
518
517
|
_this.props.onChange(_this.state.selected, event);
|
519
518
|
if (tryKeepOpen) {
|
@@ -533,13 +532,13 @@ class Select extends Component {
|
|
533
532
|
nextSelection = _this.props.data.filter(item => (isItem(item) || isCustomItem(item)) && !item.disabled);
|
534
533
|
nextSelection.filter(item => !_this.props.selected.find(selectedItem => item.key === selectedItem.key)).forEach(item => {
|
535
534
|
var _this$props$onSelect2, _this$props3;
|
536
|
-
(_this$props$onSelect2 = (_this$props3 = _this.props).onSelect) === null || _this$props$onSelect2 ===
|
535
|
+
(_this$props$onSelect2 = (_this$props3 = _this.props).onSelect) === null || _this$props$onSelect2 === void 0 || _this$props$onSelect2.call(_this$props3, item);
|
537
536
|
});
|
538
537
|
} else {
|
539
538
|
nextSelection = [];
|
540
539
|
currentSelection.forEach(item => {
|
541
540
|
var _this$props$onDeselec2, _this$props4;
|
542
|
-
(_this$props$onDeselec2 = (_this$props4 = _this.props).onDeselect) === null || _this$props$onDeselec2 ===
|
541
|
+
(_this$props$onDeselec2 = (_this$props4 = _this.props).onDeselect) === null || _this$props$onDeselec2 === void 0 || _this$props$onDeselec2.call(_this$props4, item);
|
543
542
|
});
|
544
543
|
}
|
545
544
|
_this.props.onChange(nextSelection, event);
|
@@ -588,7 +587,7 @@ class Select extends Component {
|
|
588
587
|
});
|
589
588
|
return false;
|
590
589
|
});
|
591
|
-
_defineProperty(this, "filter",
|
590
|
+
_defineProperty(this, "filter", void 0);
|
592
591
|
_defineProperty(this, "filterRef", el => {
|
593
592
|
this.filter = el;
|
594
593
|
});
|
@@ -748,10 +747,10 @@ class Select extends Component {
|
|
748
747
|
let message;
|
749
748
|
if (this.props.loading) {
|
750
749
|
var _this$props$loadingMe;
|
751
|
-
message = (_this$props$loadingMe = this.props.loadingMessage) !== null && _this$props$loadingMe !==
|
750
|
+
message = (_this$props$loadingMe = this.props.loadingMessage) !== null && _this$props$loadingMe !== void 0 ? _this$props$loadingMe : translate('loading');
|
752
751
|
} else if (!shownData.length) {
|
753
752
|
var _this$props$notFoundM;
|
754
|
-
message = (_this$props$notFoundM = this.props.notFoundMessage) !== null && _this$props$notFoundM !==
|
753
|
+
message = (_this$props$notFoundM = this.props.notFoundMessage) !== null && _this$props$notFoundM !== void 0 ? _this$props$notFoundM : translate('noOptionsFound');
|
755
754
|
}
|
756
755
|
return jsx(SelectPopup, {
|
757
756
|
data: _shownData,
|
@@ -833,7 +832,7 @@ class Select extends Component {
|
|
833
832
|
}
|
834
833
|
getTopbar() {
|
835
834
|
var _this$props$renderTop, _this$props5;
|
836
|
-
return (_this$props$renderTop = (_this$props5 = this.props).renderTopToolbar) === null || _this$props$renderTop ===
|
835
|
+
return (_this$props$renderTop = (_this$props5 = this.props).renderTopToolbar) === null || _this$props$renderTop === void 0 ? void 0 : _this$props$renderTop.call(_this$props5);
|
837
836
|
}
|
838
837
|
getFilterFn() {
|
839
838
|
return getFilterFn(this.props.filter);
|
@@ -873,12 +872,12 @@ class Select extends Component {
|
|
873
872
|
}
|
874
873
|
_getLabel() {
|
875
874
|
var _ref3, _this$props$label;
|
876
|
-
return (_ref3 = (_this$props$label = this.props.label) !== null && _this$props$label !==
|
875
|
+
return (_ref3 = (_this$props$label = this.props.label) !== null && _this$props$label !== void 0 ? _this$props$label : this.props.selectedLabel) !== null && _ref3 !== void 0 ? _ref3 : 'Select an option';
|
877
876
|
}
|
878
877
|
_getPlaceholder() {
|
879
878
|
if (this._selectionIsEmpty()) {
|
880
879
|
var _this$props$label2;
|
881
|
-
return (_this$props$label2 = this.props.label) !== null && _this$props$label2 !==
|
880
|
+
return (_this$props$label2 = this.props.label) !== null && _this$props$label2 !== void 0 ? _this$props$label2 : 'Select an option';
|
882
881
|
}
|
883
882
|
return this._getSelectedString();
|
884
883
|
}
|
@@ -904,7 +903,7 @@ class Select extends Component {
|
|
904
903
|
} = this.props;
|
905
904
|
const icons = [];
|
906
905
|
const height = this.props.height || this.context;
|
907
|
-
if (!Array.isArray(selected) && selected !== null && selected !==
|
906
|
+
if (!Array.isArray(selected) && selected !== null && selected !== void 0 && selected.icon) {
|
908
907
|
icons.push(jsx("button", {
|
909
908
|
title: "Toggle options popup",
|
910
909
|
type: "button",
|
@@ -942,7 +941,7 @@ class Select extends Component {
|
|
942
941
|
}
|
943
942
|
_getAvatar() {
|
944
943
|
var _this$state$selected, _this$state$selected2;
|
945
|
-
return !Array.isArray(this.state.selected) && (((_this$state$selected = this.state.selected) === null || _this$state$selected ===
|
944
|
+
return !Array.isArray(this.state.selected) && (((_this$state$selected = this.state.selected) === null || _this$state$selected === void 0 ? void 0 : _this$state$selected.avatar) || ((_this$state$selected2 = this.state.selected) === null || _this$state$selected2 === void 0 ? void 0 : _this$state$selected2.showGeneratedAvatar)) && jsx(Avatar, {
|
946
945
|
className: styles.avatar,
|
947
946
|
url: this.state.selected.avatar,
|
948
947
|
username: this.state.selected.username,
|
@@ -988,9 +987,9 @@ class Select extends Component {
|
|
988
987
|
const ariaProps = this.state.showPopup ? {
|
989
988
|
'aria-owns': this.listId,
|
990
989
|
'aria-activedescendant': activeItemId,
|
991
|
-
'aria-label': (_this$props$label3 = this.props.label) !== null && _this$props$label3 !==
|
990
|
+
'aria-label': (_this$props$label3 = this.props.label) !== null && _this$props$label3 !== void 0 ? _this$props$label3 : undefined
|
992
991
|
} : {
|
993
|
-
'aria-label': (_this$props$label4 = this.props.label) !== null && _this$props$label4 !==
|
992
|
+
'aria-label': (_this$props$label4 = this.props.label) !== null && _this$props$label4 !== void 0 ? _this$props$label4 : undefined
|
994
993
|
};
|
995
994
|
switch (this.props.type) {
|
996
995
|
case Type.INPUT_WITHOUT_CONTROLS:
|
@@ -1027,7 +1026,7 @@ class Select extends Component {
|
|
1027
1026
|
placeholder: this.props.inputPlaceholder,
|
1028
1027
|
onKeyDown: this.props.onKeyDown,
|
1029
1028
|
"data-test": "ring-select__focus",
|
1030
|
-
enableShortcuts: shortcutsEnabled ? Object.keys(_objectSpread2(_objectSpread2({}, this.getShortcutsMap()), (_this$_popup5 = this._popup) === null || _this$_popup5 ===
|
1029
|
+
enableShortcuts: shortcutsEnabled ? Object.keys(_objectSpread2(_objectSpread2({}, this.getShortcutsMap()), (_this$_popup5 = this._popup) === null || _this$_popup5 === void 0 || (_this$_popup5 = _this$_popup5.list) === null || _this$_popup5 === void 0 ? void 0 : _this$_popup5.shortcutsMap)) : undefined,
|
1031
1030
|
icon: this.props.filterIcon,
|
1032
1031
|
afterInput: iconsNode
|
1033
1032
|
})), this._renderPopup()]
|
@@ -1075,7 +1074,7 @@ class Select extends Component {
|
|
1075
1074
|
map: this.getShortcutsMap(),
|
1076
1075
|
scope: this.shortcutsScope
|
1077
1076
|
}), jsx(Anchor, _objectSpread2(_objectSpread2({}, ariaProps), {}, {
|
1078
|
-
className: (_this$props$buttonCla = this.props.buttonClassName) !== null && _this$props$buttonCla !==
|
1077
|
+
className: (_this$props$buttonCla = this.props.buttonClassName) !== null && _this$props$buttonCla !== void 0 ? _this$props$buttonCla : undefined,
|
1079
1078
|
id: this.props.id,
|
1080
1079
|
onClick: this._clickHandler,
|
1081
1080
|
"data-test": "ring-select__focus",
|
@@ -47,12 +47,6 @@ import '../shortcuts/core.js';
|
|
47
47
|
import 'core-js/modules/es.string.match.js';
|
48
48
|
import 'combokeys';
|
49
49
|
import '../global/create-stateful-context.js';
|
50
|
-
import '../list/list__link.js';
|
51
|
-
import '../link/link.js';
|
52
|
-
import '../_helpers/link.js';
|
53
|
-
import '../list/list__classes.js';
|
54
|
-
import '../list/consts.js';
|
55
|
-
import '../_helpers/list.js';
|
56
50
|
import '../list/list__item.js';
|
57
51
|
import '../avatar/avatar.js';
|
58
52
|
import '../global/url.js';
|
@@ -62,6 +56,11 @@ import '../avatar/fallback-avatar.js';
|
|
62
56
|
import '../checkbox/checkbox.js';
|
63
57
|
import '@jetbrains/icons/checkmark-12px';
|
64
58
|
import '@jetbrains/icons/remove-12px';
|
59
|
+
import '../link/link.js';
|
60
|
+
import '../_helpers/link.js';
|
61
|
+
import '../_helpers/list.js';
|
62
|
+
import '../list/consts.js';
|
63
|
+
import '../list/list__classes.js';
|
65
64
|
import '../list/list__custom.js';
|
66
65
|
import '../global/get-event-key.js';
|
67
66
|
import '../list/list__title.js';
|