@jetbrains/ring-ui-built 7.0.78 → 7.0.80
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/theme.js +90 -94
- package/components/alert/alert.js +0 -13
- package/components/alert-service/alert-service.js +0 -12
- package/components/auth/auth-core.js +1 -13
- package/components/auth/auth.js +1 -13
- package/components/auth/down-notification.js +0 -12
- package/components/auth/iframe-flow.js +1 -0
- package/components/auth/storage.js +1 -13
- package/components/auth-dialog/auth-dialog.js +1 -0
- package/components/auth-dialog-service/auth-dialog-service.js +1 -0
- package/components/avatar/fallback-avatar.js +78 -79
- package/components/avatar-stack/avatar-stack.js +1 -0
- package/components/clipboard/clipboard.js +1 -13
- package/components/collapse/collapse-content.js +2 -2
- package/components/collapse/collapse-control.js +34 -50
- package/components/collapse/collapse.js +2 -2
- package/components/confirm/confirm.js +1 -0
- package/components/confirm-service/confirm-service.js +1 -0
- package/components/date-picker/date-picker.js +1 -0
- package/components/date-picker/months.js +86 -100
- package/components/dialog/dialog.js +1 -0
- package/components/dropdown-menu/dropdown-menu.js +154 -238
- package/components/editable-heading/editable-heading.js +11 -11
- package/components/error-bubble/error-bubble.js +1 -0
- package/components/global/theme.d.ts +1 -0
- package/components/global/theme.js +0 -17
- package/components/global/use-event-callback.js +3 -2
- package/components/header/header.js +17 -17
- package/components/header/profile.js +1 -0
- package/components/header/smart-profile.js +13 -13
- package/components/list/list.js +9 -4
- package/components/login-dialog/login-dialog.js +1 -0
- package/components/login-dialog/service.js +1 -0
- package/components/old-browsers-message/old-browsers-message.d.ts +3 -0
- package/components/old-browsers-message/old-browsers-message.js +3 -0
- package/components/old-browsers-message/white-list.js +2 -2
- package/components/pager/pager.js +1 -0
- package/components/popup/popup.js +49 -43
- package/components/popup-menu/popup-menu.js +1 -0
- package/components/query-assist/query-assist.js +1 -0
- package/components/select/select-popup.js +1 -0
- package/components/select/select.js +2 -1
- package/components/slider/slider.js +289 -366
- package/components/storage/storage-local.js +1 -13
- package/components/storage/storage.js +1 -13
- package/components/style.css +1 -1
- package/components/tabs/collapsible-more.js +12 -12
- package/components/tabs/collapsible-tabs.js +191 -205
- package/components/tabs/dumb-tabs.js +1 -0
- package/components/tabs/smart-tabs.js +1 -0
- package/components/tabs/tabs.js +1 -0
- package/components/tags-input/tags-input.js +1 -0
- package/components/upload/upload.js +31 -8
- package/components/user-agreement/service.js +11 -11
- package/components/user-agreement/user-agreement.js +1 -0
- package/components/user-card/card.js +5 -5
- package/components/user-card/smart-user-card-tooltip.js +1 -1
- package/components/user-card/tooltip.js +1 -1
- package/components/user-card/user-card.js +8 -8
- package/package.json +2 -2
|
@@ -25,6 +25,7 @@ import '../global/configuration.js';
|
|
|
25
25
|
import '../popup/position.js';
|
|
26
26
|
import '../popup/popup.target.js';
|
|
27
27
|
import '../popup/position-css.js';
|
|
28
|
+
import '../_helpers/theme.js';
|
|
28
29
|
import '../list/list.js';
|
|
29
30
|
import 'react-virtualized/dist/es/List';
|
|
30
31
|
import 'react-virtualized/dist/es/AutoSizer';
|
|
@@ -68,11 +69,11 @@ import '../_helpers/button.classes.js';
|
|
|
68
69
|
|
|
69
70
|
const AnchorLink = t0 => {
|
|
70
71
|
const $ = c(13);
|
|
71
|
-
if ($[0] !== "
|
|
72
|
+
if ($[0] !== "75a0b2879bebaad3f8d82b99df93f8f96cbaefa77f4f888abdbc3d190e1a6bc8") {
|
|
72
73
|
for (let $i = 0; $i < 13; $i += 1) {
|
|
73
74
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
74
75
|
}
|
|
75
|
-
$[0] = "
|
|
76
|
+
$[0] = "75a0b2879bebaad3f8d82b99df93f8f96cbaefa77f4f888abdbc3d190e1a6bc8";
|
|
76
77
|
}
|
|
77
78
|
let hasActiveChildren;
|
|
78
79
|
let moreActiveClassName;
|
|
@@ -128,11 +129,11 @@ const AnchorLink = t0 => {
|
|
|
128
129
|
const morePopupDirections = [Directions.BOTTOM_CENTER, Directions.BOTTOM_LEFT, Directions.BOTTOM_RIGHT];
|
|
129
130
|
const MoreButton = /*#__PURE__*/memo(t0 => {
|
|
130
131
|
const $ = c(32);
|
|
131
|
-
if ($[0] !== "
|
|
132
|
+
if ($[0] !== "75a0b2879bebaad3f8d82b99df93f8f96cbaefa77f4f888abdbc3d190e1a6bc8") {
|
|
132
133
|
for (let $i = 0; $i < 32; $i += 1) {
|
|
133
134
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
134
135
|
}
|
|
135
|
-
$[0] = "
|
|
136
|
+
$[0] = "75a0b2879bebaad3f8d82b99df93f8f96cbaefa77f4f888abdbc3d190e1a6bc8";
|
|
136
137
|
}
|
|
137
138
|
const {
|
|
138
139
|
items,
|
|
@@ -177,7 +178,7 @@ const MoreButton = /*#__PURE__*/memo(t0 => {
|
|
|
177
178
|
t2 = $[5];
|
|
178
179
|
}
|
|
179
180
|
const hasActiveChild = t2;
|
|
180
|
-
let
|
|
181
|
+
let data;
|
|
181
182
|
if ($[8] !== items || $[9] !== morePopupBeforeEnd || $[10] !== morePopupItemClassName || $[11] !== selected) {
|
|
182
183
|
let t3;
|
|
183
184
|
if ($[13] !== morePopupItemClassName) {
|
|
@@ -198,13 +199,13 @@ const MoreButton = /*#__PURE__*/memo(t0 => {
|
|
|
198
199
|
} else {
|
|
199
200
|
t3 = $[14];
|
|
200
201
|
}
|
|
201
|
-
|
|
202
|
+
data = getTabTitles({
|
|
202
203
|
items,
|
|
203
204
|
selected,
|
|
204
205
|
collapsed: true
|
|
205
206
|
}).map(t3);
|
|
206
207
|
if (morePopupBeforeEnd) {
|
|
207
|
-
|
|
208
|
+
data.push({
|
|
208
209
|
template: morePopupBeforeEnd,
|
|
209
210
|
key: "before-end-content",
|
|
210
211
|
className: styles.morePopupBeforeEnd,
|
|
@@ -215,11 +216,10 @@ const MoreButton = /*#__PURE__*/memo(t0 => {
|
|
|
215
216
|
$[9] = morePopupBeforeEnd;
|
|
216
217
|
$[10] = morePopupItemClassName;
|
|
217
218
|
$[11] = selected;
|
|
218
|
-
$[12] =
|
|
219
|
+
$[12] = data;
|
|
219
220
|
} else {
|
|
220
|
-
|
|
221
|
+
data = $[12];
|
|
221
222
|
}
|
|
222
|
-
const data = popupItems;
|
|
223
223
|
let t3;
|
|
224
224
|
if ($[15] !== hasActiveChild || $[16] !== moreActiveClassName || $[17] !== moreClassName) {
|
|
225
225
|
t3 = /*#__PURE__*/jsx(AnchorLink, {
|
|
@@ -294,11 +294,11 @@ const MoreButton = /*#__PURE__*/memo(t0 => {
|
|
|
294
294
|
MoreButton.displayName = 'MoreButton';
|
|
295
295
|
const FakeMoreButton = /*#__PURE__*/memo(t0 => {
|
|
296
296
|
const $ = c(6);
|
|
297
|
-
if ($[0] !== "
|
|
297
|
+
if ($[0] !== "75a0b2879bebaad3f8d82b99df93f8f96cbaefa77f4f888abdbc3d190e1a6bc8") {
|
|
298
298
|
for (let $i = 0; $i < 6; $i += 1) {
|
|
299
299
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
300
300
|
}
|
|
301
|
-
$[0] = "
|
|
301
|
+
$[0] = "75a0b2879bebaad3f8d82b99df93f8f96cbaefa77f4f888abdbc3d190e1a6bc8";
|
|
302
302
|
}
|
|
303
303
|
const {
|
|
304
304
|
moreClassName,
|
|
@@ -24,6 +24,7 @@ import '../global/configuration.js';
|
|
|
24
24
|
import '../popup/position.js';
|
|
25
25
|
import '../popup/popup.target.js';
|
|
26
26
|
import '../popup/position-css.js';
|
|
27
|
+
import '../_helpers/theme.js';
|
|
27
28
|
import '../list/list.js';
|
|
28
29
|
import 'react-virtualized/dist/es/List';
|
|
29
30
|
import 'react-virtualized/dist/es/AutoSizer';
|
|
@@ -71,12 +72,12 @@ import './custom-item.js';
|
|
|
71
72
|
const DEFAULT_DEBOUNCE_INTERVAL = 100;
|
|
72
73
|
const MEASURE_TOLERANCE = 0.5;
|
|
73
74
|
const CollapsibleTabs = t0 => {
|
|
74
|
-
const $ = c(
|
|
75
|
-
if ($[0] !== "
|
|
76
|
-
for (let $i = 0; $i <
|
|
75
|
+
const $ = c(92);
|
|
76
|
+
if ($[0] !== "70efbf9102ae6e4ef4eaf532e2761386fcd6421dbdab25489e6ec60adf5616c6") {
|
|
77
|
+
for (let $i = 0; $i < 92; $i += 1) {
|
|
77
78
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
78
79
|
}
|
|
79
|
-
$[0] = "
|
|
80
|
+
$[0] = "70efbf9102ae6e4ef4eaf532e2761386fcd6421dbdab25489e6ec60adf5616c6";
|
|
80
81
|
}
|
|
81
82
|
const {
|
|
82
83
|
children,
|
|
@@ -139,75 +140,60 @@ const CollapsibleTabs = t0 => {
|
|
|
139
140
|
}
|
|
140
141
|
const selectedIndex = t4;
|
|
141
142
|
let t5;
|
|
142
|
-
|
|
143
|
+
let visibleElements;
|
|
144
|
+
if ($[9] !== children || $[10] !== initialVisibleItems || $[11] !== onSelect || $[12] !== preparedElements.hidden || $[13] !== preparedElements.ready || $[14] !== preparedElements.visible || $[15] !== selected) {
|
|
143
145
|
let items;
|
|
144
146
|
if (preparedElements.ready) {
|
|
145
147
|
items = preparedElements.visible;
|
|
146
148
|
} else {
|
|
147
149
|
items = initialVisibleItems ? children.filter(_temp2).slice(0, initialVisibleItems) : [];
|
|
148
150
|
}
|
|
149
|
-
|
|
151
|
+
visibleElements = getTabTitles({
|
|
150
152
|
items,
|
|
151
153
|
selected,
|
|
152
154
|
onSelect
|
|
153
155
|
});
|
|
156
|
+
bb0: {
|
|
157
|
+
if (preparedElements.ready) {
|
|
158
|
+
t5 = preparedElements.hidden;
|
|
159
|
+
break bb0;
|
|
160
|
+
}
|
|
161
|
+
if (initialVisibleItems) {
|
|
162
|
+
t5 = children.filter(item_0 => !visibleElements.some(visibleItem => visibleItem.props.child === item_0));
|
|
163
|
+
break bb0;
|
|
164
|
+
}
|
|
165
|
+
let t6;
|
|
166
|
+
if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
167
|
+
t6 = [];
|
|
168
|
+
$[18] = t6;
|
|
169
|
+
} else {
|
|
170
|
+
t6 = $[18];
|
|
171
|
+
}
|
|
172
|
+
t5 = t6;
|
|
173
|
+
}
|
|
154
174
|
$[9] = children;
|
|
155
175
|
$[10] = initialVisibleItems;
|
|
156
176
|
$[11] = onSelect;
|
|
157
|
-
$[12] = preparedElements.
|
|
158
|
-
$[13] = preparedElements.
|
|
159
|
-
$[14] =
|
|
160
|
-
$[15] =
|
|
177
|
+
$[12] = preparedElements.hidden;
|
|
178
|
+
$[13] = preparedElements.ready;
|
|
179
|
+
$[14] = preparedElements.visible;
|
|
180
|
+
$[15] = selected;
|
|
181
|
+
$[16] = t5;
|
|
182
|
+
$[17] = visibleElements;
|
|
161
183
|
} else {
|
|
162
|
-
t5 = $[
|
|
184
|
+
t5 = $[16];
|
|
185
|
+
visibleElements = $[17];
|
|
163
186
|
}
|
|
164
|
-
const
|
|
187
|
+
const hiddenElements = t5;
|
|
165
188
|
let t6;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
t6 = preparedElements.hidden;
|
|
169
|
-
break bb0;
|
|
170
|
-
}
|
|
171
|
-
if (initialVisibleItems) {
|
|
172
|
-
let t7;
|
|
173
|
-
if ($[16] !== children || $[17] !== visibleElements) {
|
|
174
|
-
let t8;
|
|
175
|
-
if ($[19] !== visibleElements) {
|
|
176
|
-
t8 = item_0 => !visibleElements.some(visibleItem => visibleItem.props.child === item_0);
|
|
177
|
-
$[19] = visibleElements;
|
|
178
|
-
$[20] = t8;
|
|
179
|
-
} else {
|
|
180
|
-
t8 = $[20];
|
|
181
|
-
}
|
|
182
|
-
t7 = children.filter(t8);
|
|
183
|
-
$[16] = children;
|
|
184
|
-
$[17] = visibleElements;
|
|
185
|
-
$[18] = t7;
|
|
186
|
-
} else {
|
|
187
|
-
t7 = $[18];
|
|
188
|
-
}
|
|
189
|
-
t6 = t7;
|
|
190
|
-
break bb0;
|
|
191
|
-
}
|
|
192
|
-
let t7;
|
|
193
|
-
if ($[21] === Symbol.for("react.memo_cache_sentinel")) {
|
|
194
|
-
t7 = [];
|
|
195
|
-
$[21] = t7;
|
|
196
|
-
} else {
|
|
197
|
-
t7 = $[21];
|
|
198
|
-
}
|
|
199
|
-
t6 = t7;
|
|
200
|
-
}
|
|
201
|
-
const hiddenElements = t6;
|
|
202
|
-
let t7;
|
|
203
|
-
if ($[22] !== children || $[23] !== elements.lastVisibleIndex || $[24] !== elements.sizes || $[25] !== onLastVisibleIndexChange || $[26] !== selectedIndex) {
|
|
204
|
-
t7 = entry => {
|
|
189
|
+
if ($[19] !== children || $[20] !== elements.lastVisibleIndex || $[21] !== elements.sizes || $[22] !== onLastVisibleIndexChange || $[23] !== selectedIndex) {
|
|
190
|
+
t6 = entry => {
|
|
205
191
|
const containerWidth = entry.contentRect.width;
|
|
206
192
|
const {
|
|
207
193
|
tabs: tabsSizes,
|
|
208
|
-
more:
|
|
194
|
+
more: t7
|
|
209
195
|
} = elements.sizes;
|
|
210
|
-
const more =
|
|
196
|
+
const more = t7 === undefined ? 0 : t7;
|
|
211
197
|
const renderMore = children.some(_temp3);
|
|
212
198
|
const tabsToRender = [];
|
|
213
199
|
let filledWidth = renderMore ? more !== null && more !== void 0 ? more : 0 : 0;
|
|
@@ -247,19 +233,19 @@ const CollapsibleTabs = t0 => {
|
|
|
247
233
|
onLastVisibleIndexChange?.(newLastVisibleIndex);
|
|
248
234
|
}
|
|
249
235
|
};
|
|
250
|
-
$[
|
|
251
|
-
$[
|
|
252
|
-
$[
|
|
253
|
-
$[
|
|
254
|
-
$[
|
|
255
|
-
$[
|
|
236
|
+
$[19] = children;
|
|
237
|
+
$[20] = elements.lastVisibleIndex;
|
|
238
|
+
$[21] = elements.sizes;
|
|
239
|
+
$[22] = onLastVisibleIndexChange;
|
|
240
|
+
$[23] = selectedIndex;
|
|
241
|
+
$[24] = t6;
|
|
256
242
|
} else {
|
|
257
|
-
|
|
243
|
+
t6 = $[24];
|
|
258
244
|
}
|
|
259
|
-
const adjustTabs =
|
|
260
|
-
let
|
|
261
|
-
if ($[
|
|
262
|
-
|
|
245
|
+
const adjustTabs = t6;
|
|
246
|
+
let t7;
|
|
247
|
+
if ($[25] !== children || $[26] !== elements.lastVisibleIndex || $[27] !== preparedElements.hidden || $[28] !== preparedElements.ready || $[29] !== preparedElements.visible || $[30] !== selected || $[31] !== selectedIndex) {
|
|
248
|
+
t7 = () => {
|
|
263
249
|
const timeout = setTimeout(() => {
|
|
264
250
|
var _elements$lastVisible2;
|
|
265
251
|
const res = children.reduce((accumulator, tab_2) => {
|
|
@@ -291,46 +277,46 @@ const CollapsibleTabs = t0 => {
|
|
|
291
277
|
clearTimeout(timeout);
|
|
292
278
|
};
|
|
293
279
|
};
|
|
294
|
-
$[
|
|
295
|
-
$[
|
|
296
|
-
$[
|
|
297
|
-
$[
|
|
298
|
-
$[
|
|
299
|
-
$[
|
|
300
|
-
$[
|
|
301
|
-
$[
|
|
280
|
+
$[25] = children;
|
|
281
|
+
$[26] = elements.lastVisibleIndex;
|
|
282
|
+
$[27] = preparedElements.hidden;
|
|
283
|
+
$[28] = preparedElements.ready;
|
|
284
|
+
$[29] = preparedElements.visible;
|
|
285
|
+
$[30] = selected;
|
|
286
|
+
$[31] = selectedIndex;
|
|
287
|
+
$[32] = t7;
|
|
302
288
|
} else {
|
|
303
|
-
|
|
289
|
+
t7 = $[32];
|
|
304
290
|
}
|
|
305
|
-
let
|
|
306
|
-
if ($[
|
|
307
|
-
|
|
308
|
-
$[
|
|
309
|
-
$[
|
|
310
|
-
$[
|
|
311
|
-
$[
|
|
312
|
-
$[
|
|
313
|
-
$[
|
|
291
|
+
let t8;
|
|
292
|
+
if ($[33] !== children || $[34] !== elements.lastVisibleIndex || $[35] !== preparedElements || $[36] !== selected || $[37] !== selectedIndex) {
|
|
293
|
+
t8 = [children, elements.lastVisibleIndex, preparedElements, selected, selectedIndex];
|
|
294
|
+
$[33] = children;
|
|
295
|
+
$[34] = elements.lastVisibleIndex;
|
|
296
|
+
$[35] = preparedElements;
|
|
297
|
+
$[36] = selected;
|
|
298
|
+
$[37] = selectedIndex;
|
|
299
|
+
$[38] = t8;
|
|
314
300
|
} else {
|
|
315
|
-
|
|
301
|
+
t8 = $[38];
|
|
316
302
|
}
|
|
317
|
-
useEffect(
|
|
318
|
-
let
|
|
319
|
-
if ($[
|
|
320
|
-
const
|
|
321
|
-
|
|
322
|
-
items:
|
|
303
|
+
useEffect(t7, t8);
|
|
304
|
+
let t9;
|
|
305
|
+
if ($[39] !== children) {
|
|
306
|
+
const childItems = children.filter(_temp4);
|
|
307
|
+
t9 = getTabTitles({
|
|
308
|
+
items: childItems,
|
|
323
309
|
tabIndex: -1
|
|
324
310
|
});
|
|
325
|
-
$[
|
|
326
|
-
$[
|
|
311
|
+
$[39] = children;
|
|
312
|
+
$[40] = t9;
|
|
327
313
|
} else {
|
|
328
|
-
|
|
314
|
+
t9 = $[40];
|
|
329
315
|
}
|
|
330
|
-
const childrenToMeasure =
|
|
331
|
-
let
|
|
332
|
-
if ($[
|
|
333
|
-
|
|
316
|
+
const childrenToMeasure = t9;
|
|
317
|
+
let t10;
|
|
318
|
+
if ($[41] !== elements.sizes.more || $[42] !== elements.sizes.tabs) {
|
|
319
|
+
t10 = () => {
|
|
334
320
|
if (measureRef.current === null) {
|
|
335
321
|
return;
|
|
336
322
|
}
|
|
@@ -341,11 +327,11 @@ const CollapsibleTabs = t0 => {
|
|
|
341
327
|
const moreButton = descendants.pop();
|
|
342
328
|
let moreButtonWidth = (_moreButton$offsetWid = moreButton?.offsetWidth) !== null && _moreButton$offsetWid !== void 0 ? _moreButton$offsetWid : 0;
|
|
343
329
|
const {
|
|
344
|
-
marginLeft:
|
|
345
|
-
marginRight:
|
|
330
|
+
marginLeft: t11,
|
|
331
|
+
marginRight: t12
|
|
346
332
|
} = moreButton ? getComputedStyle(moreButton) : {};
|
|
347
|
-
const moreButtonMarginLeft =
|
|
348
|
-
const moreButtonMarginRight =
|
|
333
|
+
const moreButtonMarginLeft = t11 === undefined ? "0" : t11;
|
|
334
|
+
const moreButtonMarginRight = t12 === undefined ? "0" : t12;
|
|
349
335
|
moreButtonWidth = moreButtonWidth + (+moreButtonMarginLeft.replace("px", "") + +moreButtonMarginRight.replace("px", ""));
|
|
350
336
|
const tabsWidth = descendants.map(_temp5);
|
|
351
337
|
const newSummaryWidth = tabsWidth.reduce(_temp6, 0);
|
|
@@ -361,27 +347,27 @@ const CollapsibleTabs = t0 => {
|
|
|
361
347
|
fastdom.clear(measureTask);
|
|
362
348
|
};
|
|
363
349
|
};
|
|
364
|
-
$[
|
|
365
|
-
$[
|
|
366
|
-
$[
|
|
350
|
+
$[41] = elements.sizes.more;
|
|
351
|
+
$[42] = elements.sizes.tabs;
|
|
352
|
+
$[43] = t10;
|
|
367
353
|
} else {
|
|
368
|
-
|
|
354
|
+
t10 = $[43];
|
|
369
355
|
}
|
|
370
|
-
let
|
|
371
|
-
if ($[
|
|
372
|
-
|
|
373
|
-
$[
|
|
374
|
-
$[
|
|
375
|
-
$[
|
|
376
|
-
$[
|
|
356
|
+
let t11;
|
|
357
|
+
if ($[44] !== children || $[45] !== elements.sizes.more || $[46] !== elements.sizes.tabs) {
|
|
358
|
+
t11 = [children, elements.sizes.more, elements.sizes.tabs];
|
|
359
|
+
$[44] = children;
|
|
360
|
+
$[45] = elements.sizes.more;
|
|
361
|
+
$[46] = elements.sizes.tabs;
|
|
362
|
+
$[47] = t11;
|
|
377
363
|
} else {
|
|
378
|
-
|
|
364
|
+
t11 = $[47];
|
|
379
365
|
}
|
|
380
|
-
useEffect(
|
|
366
|
+
useEffect(t10, t11);
|
|
367
|
+
let t12;
|
|
381
368
|
let t13;
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
t13 = () => {
|
|
369
|
+
if ($[48] !== adjustTabs) {
|
|
370
|
+
t12 = () => {
|
|
385
371
|
if (measureRef.current === null) {
|
|
386
372
|
return;
|
|
387
373
|
}
|
|
@@ -398,26 +384,26 @@ const CollapsibleTabs = t0 => {
|
|
|
398
384
|
resizeObserver.disconnect();
|
|
399
385
|
};
|
|
400
386
|
};
|
|
401
|
-
|
|
402
|
-
$[
|
|
403
|
-
$[
|
|
404
|
-
$[
|
|
387
|
+
t13 = [adjustTabs];
|
|
388
|
+
$[48] = adjustTabs;
|
|
389
|
+
$[49] = t12;
|
|
390
|
+
$[50] = t13;
|
|
405
391
|
} else {
|
|
406
|
-
|
|
407
|
-
|
|
392
|
+
t12 = $[49];
|
|
393
|
+
t13 = $[50];
|
|
408
394
|
}
|
|
409
|
-
useEffect(
|
|
395
|
+
useEffect(t12, t13);
|
|
410
396
|
const isAdjusted = elements.lastVisibleIndex !== null && preparedElements.ready || initialVisibleItems;
|
|
397
|
+
let t14;
|
|
411
398
|
let t15;
|
|
412
399
|
let t16;
|
|
413
400
|
let t17;
|
|
414
|
-
|
|
415
|
-
if ($[54] !== hiddenElements || $[55] !== isAdjusted || $[56] !== moreActiveClassName || $[57] !== moreClassName || $[58] !== morePopupBeforeEnd || $[59] !== morePopupClassName || $[60] !== morePopupItemClassName || $[61] !== onSelect || $[62] !== selected || $[63] !== visibleElements) {
|
|
401
|
+
if ($[51] !== hiddenElements || $[52] !== isAdjusted || $[53] !== moreActiveClassName || $[54] !== moreClassName || $[55] !== morePopupBeforeEnd || $[56] !== morePopupClassName || $[57] !== morePopupItemClassName || $[58] !== onSelect || $[59] !== selected || $[60] !== visibleElements) {
|
|
416
402
|
const className = classNames(styles.titles, styles.autoCollapse, isAdjusted && styles.adjusted);
|
|
417
|
-
|
|
418
|
-
let
|
|
419
|
-
if ($[
|
|
420
|
-
|
|
403
|
+
t16 = styles.autoCollapseContainer;
|
|
404
|
+
let t18;
|
|
405
|
+
if ($[65] !== hiddenElements || $[66] !== moreActiveClassName || $[67] !== moreClassName || $[68] !== morePopupBeforeEnd || $[69] !== morePopupClassName || $[70] !== morePopupItemClassName || $[71] !== onSelect || $[72] !== selected) {
|
|
406
|
+
t18 = /*#__PURE__*/jsx(MoreButton, {
|
|
421
407
|
moreClassName: moreClassName,
|
|
422
408
|
moreActiveClassName: moreActiveClassName,
|
|
423
409
|
morePopupClassName: morePopupClassName,
|
|
@@ -427,104 +413,104 @@ const CollapsibleTabs = t0 => {
|
|
|
427
413
|
selected: selected,
|
|
428
414
|
onSelect: onSelect
|
|
429
415
|
});
|
|
430
|
-
$[
|
|
431
|
-
$[
|
|
432
|
-
$[
|
|
433
|
-
$[
|
|
434
|
-
$[
|
|
435
|
-
$[
|
|
436
|
-
$[
|
|
437
|
-
$[
|
|
438
|
-
$[
|
|
416
|
+
$[65] = hiddenElements;
|
|
417
|
+
$[66] = moreActiveClassName;
|
|
418
|
+
$[67] = moreClassName;
|
|
419
|
+
$[68] = morePopupBeforeEnd;
|
|
420
|
+
$[69] = morePopupClassName;
|
|
421
|
+
$[70] = morePopupItemClassName;
|
|
422
|
+
$[71] = onSelect;
|
|
423
|
+
$[72] = selected;
|
|
424
|
+
$[73] = t18;
|
|
439
425
|
} else {
|
|
440
|
-
|
|
426
|
+
t18 = $[73];
|
|
441
427
|
}
|
|
442
|
-
|
|
428
|
+
t17 = /*#__PURE__*/jsxs("div", {
|
|
443
429
|
className: classNames(className, styles.rendered),
|
|
444
|
-
children: [visibleElements,
|
|
430
|
+
children: [visibleElements, t18]
|
|
445
431
|
});
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
$[
|
|
449
|
-
$[
|
|
450
|
-
$[
|
|
451
|
-
$[
|
|
452
|
-
$[
|
|
453
|
-
$[
|
|
454
|
-
$[
|
|
455
|
-
$[
|
|
456
|
-
$[
|
|
457
|
-
$[
|
|
458
|
-
$[
|
|
459
|
-
$[
|
|
460
|
-
$[
|
|
461
|
-
$[
|
|
432
|
+
t14 = measureRef;
|
|
433
|
+
t15 = classNames(className, styles.measure);
|
|
434
|
+
$[51] = hiddenElements;
|
|
435
|
+
$[52] = isAdjusted;
|
|
436
|
+
$[53] = moreActiveClassName;
|
|
437
|
+
$[54] = moreClassName;
|
|
438
|
+
$[55] = morePopupBeforeEnd;
|
|
439
|
+
$[56] = morePopupClassName;
|
|
440
|
+
$[57] = morePopupItemClassName;
|
|
441
|
+
$[58] = onSelect;
|
|
442
|
+
$[59] = selected;
|
|
443
|
+
$[60] = visibleElements;
|
|
444
|
+
$[61] = t14;
|
|
445
|
+
$[62] = t15;
|
|
446
|
+
$[63] = t16;
|
|
447
|
+
$[64] = t17;
|
|
462
448
|
} else {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
449
|
+
t14 = $[61];
|
|
450
|
+
t15 = $[62];
|
|
451
|
+
t16 = $[63];
|
|
452
|
+
t17 = $[64];
|
|
467
453
|
}
|
|
468
|
-
let
|
|
469
|
-
if ($[
|
|
470
|
-
let
|
|
471
|
-
if ($[
|
|
472
|
-
|
|
473
|
-
$[
|
|
474
|
-
$[
|
|
454
|
+
let t18;
|
|
455
|
+
if ($[74] !== hiddenElements || $[75] !== selected) {
|
|
456
|
+
let t19;
|
|
457
|
+
if ($[77] !== selected) {
|
|
458
|
+
t19 = item_3 => item_3.props.alwaysHidden && item_3.props.id === selected;
|
|
459
|
+
$[77] = selected;
|
|
460
|
+
$[78] = t19;
|
|
475
461
|
} else {
|
|
476
|
-
|
|
462
|
+
t19 = $[78];
|
|
477
463
|
}
|
|
478
|
-
|
|
479
|
-
$[
|
|
480
|
-
$[
|
|
481
|
-
$[
|
|
464
|
+
t18 = hiddenElements.some(t19);
|
|
465
|
+
$[74] = hiddenElements;
|
|
466
|
+
$[75] = selected;
|
|
467
|
+
$[76] = t18;
|
|
482
468
|
} else {
|
|
483
|
-
|
|
469
|
+
t18 = $[76];
|
|
484
470
|
}
|
|
485
|
-
let
|
|
486
|
-
if ($[
|
|
487
|
-
|
|
488
|
-
hasActiveChildren:
|
|
471
|
+
let t19;
|
|
472
|
+
if ($[79] !== moreActiveClassName || $[80] !== moreClassName || $[81] !== t18) {
|
|
473
|
+
t19 = /*#__PURE__*/jsx(FakeMoreButton, {
|
|
474
|
+
hasActiveChildren: t18,
|
|
489
475
|
moreClassName: moreClassName,
|
|
490
476
|
moreActiveClassName: moreActiveClassName
|
|
491
477
|
});
|
|
492
|
-
$[
|
|
493
|
-
$[
|
|
494
|
-
$[
|
|
495
|
-
$[
|
|
478
|
+
$[79] = moreActiveClassName;
|
|
479
|
+
$[80] = moreClassName;
|
|
480
|
+
$[81] = t18;
|
|
481
|
+
$[82] = t19;
|
|
496
482
|
} else {
|
|
497
|
-
|
|
483
|
+
t19 = $[82];
|
|
484
|
+
}
|
|
485
|
+
let t20;
|
|
486
|
+
if ($[83] !== childrenToMeasure || $[84] !== t14 || $[85] !== t15 || $[86] !== t19) {
|
|
487
|
+
t20 = /*#__PURE__*/jsxs("div", {
|
|
488
|
+
ref: t14,
|
|
489
|
+
className: t15,
|
|
490
|
+
children: [childrenToMeasure, t19]
|
|
491
|
+
});
|
|
492
|
+
$[83] = childrenToMeasure;
|
|
493
|
+
$[84] = t14;
|
|
494
|
+
$[85] = t15;
|
|
495
|
+
$[86] = t19;
|
|
496
|
+
$[87] = t20;
|
|
497
|
+
} else {
|
|
498
|
+
t20 = $[87];
|
|
498
499
|
}
|
|
499
500
|
let t21;
|
|
500
|
-
if ($[
|
|
501
|
+
if ($[88] !== t16 || $[89] !== t17 || $[90] !== t20) {
|
|
501
502
|
t21 = /*#__PURE__*/jsxs("div", {
|
|
502
|
-
ref: t15,
|
|
503
503
|
className: t16,
|
|
504
|
-
children: [
|
|
504
|
+
children: [t17, t20]
|
|
505
505
|
});
|
|
506
|
-
$[86] = childrenToMeasure;
|
|
507
|
-
$[87] = t15;
|
|
508
506
|
$[88] = t16;
|
|
509
|
-
$[89] =
|
|
510
|
-
$[90] =
|
|
511
|
-
|
|
512
|
-
t21 = $[90];
|
|
513
|
-
}
|
|
514
|
-
let t22;
|
|
515
|
-
if ($[91] !== t17 || $[92] !== t18 || $[93] !== t21) {
|
|
516
|
-
t22 = /*#__PURE__*/jsxs("div", {
|
|
517
|
-
className: t17,
|
|
518
|
-
children: [t18, t21]
|
|
519
|
-
});
|
|
520
|
-
$[91] = t17;
|
|
521
|
-
$[92] = t18;
|
|
522
|
-
$[93] = t21;
|
|
523
|
-
$[94] = t22;
|
|
507
|
+
$[89] = t17;
|
|
508
|
+
$[90] = t20;
|
|
509
|
+
$[91] = t21;
|
|
524
510
|
} else {
|
|
525
|
-
|
|
511
|
+
t21 = $[91];
|
|
526
512
|
}
|
|
527
|
-
return
|
|
513
|
+
return t21;
|
|
528
514
|
};
|
|
529
515
|
var CollapsibleTabs$1 = /*#__PURE__*/memo(CollapsibleTabs);
|
|
530
516
|
function _temp(tab) {
|
|
@@ -30,6 +30,7 @@ import '../global/configuration.js';
|
|
|
30
30
|
import '../popup/position.js';
|
|
31
31
|
import '../popup/popup.target.js';
|
|
32
32
|
import '../popup/position-css.js';
|
|
33
|
+
import '../_helpers/theme.js';
|
|
33
34
|
import '../list/list.js';
|
|
34
35
|
import 'react-virtualized/dist/es/List';
|
|
35
36
|
import 'react-virtualized/dist/es/AutoSizer';
|
|
@@ -29,6 +29,7 @@ import '../global/configuration.js';
|
|
|
29
29
|
import '../popup/position.js';
|
|
30
30
|
import '../popup/popup.target.js';
|
|
31
31
|
import '../popup/position-css.js';
|
|
32
|
+
import '../_helpers/theme.js';
|
|
32
33
|
import '../list/list.js';
|
|
33
34
|
import 'react-virtualized/dist/es/List';
|
|
34
35
|
import 'react-virtualized/dist/es/AutoSizer';
|
package/components/tabs/tabs.js
CHANGED
|
@@ -32,6 +32,7 @@ import '../global/configuration.js';
|
|
|
32
32
|
import '../popup/position.js';
|
|
33
33
|
import '../popup/popup.target.js';
|
|
34
34
|
import '../popup/position-css.js';
|
|
35
|
+
import '../_helpers/theme.js';
|
|
35
36
|
import '../list/list.js';
|
|
36
37
|
import 'react-virtualized/dist/es/List';
|
|
37
38
|
import 'react-virtualized/dist/es/AutoSizer';
|
|
@@ -46,6 +46,7 @@ import '../popup/position.js';
|
|
|
46
46
|
import '../popup/popup.consts.js';
|
|
47
47
|
import '../popup/popup.target.js';
|
|
48
48
|
import '../popup/position-css.js';
|
|
49
|
+
import '../_helpers/theme.js';
|
|
49
50
|
import '../list/list.js';
|
|
50
51
|
import 'react-virtualized/dist/es/List';
|
|
51
52
|
import 'react-virtualized/dist/es/AutoSizer';
|