@jetbrains/ring-ui-built 7.0.115 → 8.0.0-beta.3
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/anchor.js +1 -1
- package/components/_helpers/avatar-info.js +1 -1
- package/components/_helpers/icon-svg.js +1 -1
- package/components/_helpers/legacy-table.js +3 -0
- package/components/_helpers/tab-link.js +1 -1
- package/components/_helpers/table.js +2 -2
- package/components/_helpers/theme.js +49 -37
- package/components/alert/alert.js +1 -1
- package/components/alert-service/alert-service.js +1 -1
- package/components/auth/auth-core.js +1 -1
- package/components/auth/auth.js +1 -1
- package/components/auth/down-notification.js +1 -1
- package/components/auth/iframe-flow.js +1 -1
- package/components/auth/storage.js +1 -1
- package/components/auth-dialog/auth-dialog.js +1 -1
- package/components/auth-dialog-service/auth-dialog-service.js +2 -2
- package/components/avatar/avatar-info.js +1 -1
- package/components/avatar/avatar.js +1 -1
- package/components/avatar/fallback-avatar.js +1 -1
- package/components/avatar-stack/avatar-stack.js +1 -1
- package/components/banner/banner.js +1 -1
- package/components/button/button.js +1 -1
- package/components/button-group/button-group.js +1 -1
- package/components/checkbox/checkbox.js +1 -1
- package/components/clipboard/clipboard.js +1 -1
- package/components/collapse/collapse-content.js +5 -5
- package/components/collapse/collapse-control.js +5 -5
- package/components/collapse/collapse.js +4 -4
- package/components/confirm/confirm.js +1 -1
- package/components/confirm-service/confirm-service.js +2 -2
- package/components/contenteditable/contenteditable.js +1 -1
- package/components/control-help/control-help.js +1 -1
- package/components/control-label/control-label.js +1 -1
- package/components/data-list/data-list.d.ts +4 -4
- package/components/data-list/data-list.js +3 -3
- package/components/data-list/data-list.mock.d.ts +1 -1
- package/components/data-list/data-list.mock.js +1 -1
- package/components/data-list/item.d.ts +1 -1
- package/components/data-list/item.js +1 -1
- package/components/data-list/selection.d.ts +1 -1
- package/components/data-list/selection.js +2 -2
- package/components/data-list/title.js +1 -1
- package/components/date-picker/date-input.js +1 -1
- package/components/date-picker/date-picker.js +2 -3
- package/components/date-picker/date-popup.js +2 -3
- package/components/date-picker/month-names.js +1 -1
- package/components/date-picker/month-slider.js +1 -1
- package/components/date-picker/month.d.ts +0 -2
- package/components/date-picker/month.js +17 -18
- package/components/date-picker/months.js +43 -35
- package/components/date-picker/use-intersection-observer.js +1 -1
- package/components/date-picker/use-scroll-behavior.js +45 -44
- package/components/date-picker/weekdays.js +1 -1
- package/components/date-picker/years.js +61 -54
- package/components/dialog/dialog.d.ts +2 -2
- package/components/dialog/dialog.js +3 -3
- package/components/dropdown/anchor.js +1 -1
- package/components/dropdown/dropdown.js +1 -1
- package/components/dropdown-menu/dropdown-menu.d.ts +4 -4
- package/components/dropdown-menu/dropdown-menu.js +62 -57
- package/components/editable-heading/editable-heading.d.ts +1 -2
- package/components/editable-heading/editable-heading.js +13 -12
- package/components/error-bubble/error-bubble.js +1 -1
- package/components/error-message/error-message.js +1 -1
- package/components/expand/collapsible-group.d.ts +5 -1
- package/components/expand/collapsible-group.js +15 -14
- package/components/footer/footer.js +1 -1
- package/components/global/create-stateful-context.js +11 -11
- package/components/global/intersection-observer-context.d.ts +26 -0
- package/components/global/intersection-observer-context.js +140 -0
- package/components/global/rerender-hoc.d.ts +4 -2
- package/components/global/rerender-hoc.js +10 -24
- package/components/{table/selection.d.ts → global/table-selection.d.ts} +15 -15
- package/components/{table/selection.js → global/table-selection.js} +4 -4
- package/components/global/theme.d.ts +4 -3
- package/components/global/theme.js +1 -1
- package/components/header/header-icon.js +1 -1
- package/components/header/header.js +1 -1
- package/components/header/links.js +1 -1
- package/components/header/logo.js +1 -1
- package/components/header/profile.js +1 -1
- package/components/header/services.js +1 -1
- package/components/header/smart-profile.js +1 -1
- package/components/header/smart-services.js +1 -1
- package/components/heading/heading.js +1 -1
- package/components/i18n/i18n-context.js +4 -4
- package/components/icon/icon-svg.js +1 -1
- package/components/icon/icon.js +1 -1
- package/components/icon/index.js +1 -1
- package/components/input/input.js +1 -1
- package/components/island/adaptive-island-hoc.js +3 -3
- package/components/island/content.d.ts +7 -2
- package/components/island/content.js +27 -18
- package/components/island/header.js +1 -1
- package/components/island/island.js +1 -1
- package/components/{table → legacy-table}/cell.js +1 -1
- package/components/{table → legacy-table}/header-cell.js +4 -4
- package/components/{table → legacy-table}/header.js +2 -2
- package/components/{table → legacy-table}/multitable.d.ts +1 -1
- package/components/{table → legacy-table}/row-with-focus-sensor.js +2 -2
- package/components/{table → legacy-table}/row.js +4 -4
- package/components/legacy-table/selection-adapter.d.ts +6 -0
- package/components/{table → legacy-table}/selection-shortcuts-hoc.d.ts +5 -5
- package/components/{table → legacy-table}/simple-table.d.ts +2 -2
- package/components/{table → legacy-table}/simple-table.js +4 -4
- package/components/{table → legacy-table}/smart-table.d.ts +5 -5
- package/components/{table → legacy-table}/smart-table.js +5 -5
- package/components/legacy-table/table.d.ts +109 -0
- package/components/legacy-table/table.js +369 -0
- package/components/list/list-item.js +1 -1
- package/components/list/list-users-groups-source.js +1 -1
- package/components/list/list.js +1 -1
- package/components/login-dialog/login-dialog.js +1 -1
- package/components/login-dialog/service.js +2 -2
- package/components/message/message.js +1 -1
- package/components/old-browsers-message/white-list.js +2 -2
- package/components/pager/pager.js +1 -1
- package/components/popup/popup.js +1 -1
- package/components/popup/popup.target.d.ts +3 -2
- package/components/popup/popup.target.js +32 -28
- package/components/popup-menu/popup-menu.js +1 -1
- package/components/query-assist/query-assist-suggestions.js +1 -1
- package/components/query-assist/query-assist.d.ts +3 -1
- package/components/query-assist/query-assist.js +2 -2
- package/components/radio/radio-item.d.ts +3 -3
- package/components/radio/radio-item.js +32 -18
- package/components/radio/radio.d.ts +2 -2
- package/components/radio/radio.js +2 -2
- package/components/scrollable-section/scrollable-section.js +1 -1
- package/components/select/chevron-button.js +1 -1
- package/components/select/select-filter.js +1 -1
- package/components/select/select-popup.js +1 -1
- package/components/select/select.d.ts +3 -1
- package/components/select/select.js +1 -1
- package/components/slider/slider.js +100 -96
- package/components/storage/storage-local.js +1 -1
- package/components/storage/storage.js +1 -1
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.d.ts +3 -3
- package/components/tab-trap/tab-trap.js +83 -80
- package/components/table/default-item-renderer.d.ts +36 -0
- package/components/table/default-item-renderer.js +182 -0
- package/components/table/table-component.d.ts +80 -0
- package/components/table/table-component.js +290 -0
- package/components/table/table-const.d.ts +8 -0
- package/components/table/table-const.js +11 -0
- package/components/table/table-primitives.d.ts +28 -0
- package/components/table/table-primitives.js +323 -0
- package/components/table/table-row-focus.d.ts +4 -0
- package/components/table/table-row-focus.js +41 -0
- package/components/table/table-virtualize.d.ts +32 -0
- package/components/table/table-virtualize.js +329 -0
- package/components/table/table.d.ts +206 -104
- package/components/table/table.js +19 -362
- package/components/tabs/collapsible-more.js +1 -1
- package/components/tabs/collapsible-tab.js +1 -1
- package/components/tabs/collapsible-tabs.js +1 -1
- package/components/tabs/dumb-tabs.js +1 -1
- package/components/tabs/smart-tabs.js +1 -1
- package/components/tabs/tab-link.js +1 -1
- package/components/tabs/tabs.js +1 -1
- package/components/tag/tag.js +1 -1
- package/components/tags-input/tags-input.d.ts +3 -1
- package/components/tags-input/tags-input.js +1 -1
- package/components/tags-list/tags-list.js +1 -1
- package/components/toggle/toggle.js +1 -1
- package/components/tooltip/tooltip.js +2 -2
- package/components/upload/upload.d.ts +4 -3
- package/components/upload/upload.js +7 -29
- package/components/user-agreement/service.js +2 -2
- package/components/user-agreement/user-agreement.js +1 -1
- package/components/user-card/card.js +1 -1
- 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 +1 -1
- package/package.json +6 -6
- package/components/global/use-event-callback.d.ts +0 -1
- package/components/global/use-event-callback.js +0 -44
- package/components/table/selection-adapter.d.ts +0 -6
- /package/components/{table → legacy-table}/cell.d.ts +0 -0
- /package/components/{table → legacy-table}/disable-hover-hoc.d.ts +0 -0
- /package/components/{table → legacy-table}/disable-hover-hoc.js +0 -0
- /package/components/{table → legacy-table}/header-cell.d.ts +0 -0
- /package/components/{table → legacy-table}/header.d.ts +0 -0
- /package/components/{table → legacy-table}/multitable.js +0 -0
- /package/components/{table → legacy-table}/row-with-focus-sensor.d.ts +0 -0
- /package/components/{table → legacy-table}/row.d.ts +0 -0
- /package/components/{table → legacy-table}/selection-adapter.js +0 -0
- /package/components/{table → legacy-table}/selection-shortcuts-hoc.js +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { c } from 'react
|
|
2
|
-
import { useRef, useState, useEffect, Fragment } from 'react';
|
|
1
|
+
import { c } from 'react/compiler-runtime';
|
|
2
|
+
import { useRef, useState, useEffectEvent, useEffect, Fragment } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import { isArray } from '../global/typescript-utils.js';
|
|
5
5
|
import Shortcuts from '../shortcuts/shortcuts.js';
|
|
6
6
|
import getUID from '../global/get-uid.js';
|
|
7
7
|
import { toRange, HUNDRED, calculateMarks, toPercent, validateValue, calculateValue, adjustValues } from './slider.utils.js';
|
|
8
|
-
import useEventCallback from '../global/use-event-callback.js';
|
|
9
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
9
|
import '../shortcuts/core.js';
|
|
11
10
|
import 'core-js/modules/es.array.includes.js';
|
|
@@ -16,12 +15,12 @@ import 'sniffr';
|
|
|
16
15
|
var styles = {"slider":"ring-slider-slider","disabled":"ring-slider-disabled","marked":"ring-slider-marked","rail":"ring-slider-rail","rounded":"ring-slider-rounded","track":"ring-slider-track","thumb":"ring-slider-thumb ring-global-resetButton","dragged":"ring-slider-dragged","tick":"ring-slider-tick","active":"ring-slider-active","markValue":"ring-slider-markValue","tag":"ring-slider-tag"};
|
|
17
16
|
|
|
18
17
|
const Slider = t0 => {
|
|
19
|
-
const $ = c(
|
|
20
|
-
if ($[0] !== "
|
|
21
|
-
for (let $i = 0; $i <
|
|
18
|
+
const $ = c(124);
|
|
19
|
+
if ($[0] !== "df7020e348cf0691dc47b906190dfc0f4c7761c070455c6c9f1c642863a2c077") {
|
|
20
|
+
for (let $i = 0; $i < 124; $i += 1) {
|
|
22
21
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
23
22
|
}
|
|
24
|
-
$[0] = "
|
|
23
|
+
$[0] = "df7020e348cf0691dc47b906190dfc0f4c7761c070455c6c9f1c642863a2c077";
|
|
25
24
|
}
|
|
26
25
|
const {
|
|
27
26
|
defaultValue,
|
|
@@ -272,7 +271,7 @@ const Slider = t0 => {
|
|
|
272
271
|
} else {
|
|
273
272
|
t12 = $[49];
|
|
274
273
|
}
|
|
275
|
-
const handleMouseUp =
|
|
274
|
+
const handleMouseUp = useEffectEvent(t12);
|
|
276
275
|
let t13;
|
|
277
276
|
if ($[50] !== draggedIndex || $[51] !== handleValueChange || $[52] !== max || $[53] !== min || $[54] !== validStep || $[55] !== validValues) {
|
|
278
277
|
t13 = t14 => {
|
|
@@ -296,9 +295,8 @@ const Slider = t0 => {
|
|
|
296
295
|
} else {
|
|
297
296
|
t13 = $[56];
|
|
298
297
|
}
|
|
299
|
-
const handleMouseMove =
|
|
298
|
+
const handleMouseMove = useEffectEvent(t13);
|
|
300
299
|
let t14;
|
|
301
|
-
let t15;
|
|
302
300
|
if ($[57] !== disabled || $[58] !== handleMouseMove || $[59] !== handleMouseUp || $[60] !== isDragging) {
|
|
303
301
|
t14 = () => {
|
|
304
302
|
if (disabled) {
|
|
@@ -318,112 +316,118 @@ const Slider = t0 => {
|
|
|
318
316
|
window.removeEventListener("mouseup", handleMouseUp);
|
|
319
317
|
};
|
|
320
318
|
};
|
|
321
|
-
t15 = [isDragging, disabled, handleMouseMove, handleMouseUp];
|
|
322
319
|
$[57] = disabled;
|
|
323
320
|
$[58] = handleMouseMove;
|
|
324
321
|
$[59] = handleMouseUp;
|
|
325
322
|
$[60] = isDragging;
|
|
326
323
|
$[61] = t14;
|
|
327
|
-
$[62] = t15;
|
|
328
324
|
} else {
|
|
329
325
|
t14 = $[61];
|
|
330
|
-
|
|
326
|
+
}
|
|
327
|
+
let t15;
|
|
328
|
+
if ($[62] !== disabled || $[63] !== isDragging) {
|
|
329
|
+
t15 = [isDragging, disabled];
|
|
330
|
+
$[62] = disabled;
|
|
331
|
+
$[63] = isDragging;
|
|
332
|
+
$[64] = t15;
|
|
333
|
+
} else {
|
|
334
|
+
t15 = $[64];
|
|
331
335
|
}
|
|
332
336
|
useEffect(t14, t15);
|
|
333
337
|
const t16 = "presentation";
|
|
334
338
|
const t17 = !!marks || showTag;
|
|
335
339
|
let t18;
|
|
336
|
-
if ($[
|
|
340
|
+
if ($[65] !== className || $[66] !== disabled || $[67] !== t17) {
|
|
337
341
|
t18 = classNames(styles.slider, className, {
|
|
338
342
|
[styles.disabled]: disabled,
|
|
339
343
|
[styles.marked]: t17
|
|
340
344
|
});
|
|
341
|
-
$[
|
|
342
|
-
$[
|
|
343
|
-
$[
|
|
344
|
-
$[
|
|
345
|
+
$[65] = className;
|
|
346
|
+
$[66] = disabled;
|
|
347
|
+
$[67] = t17;
|
|
348
|
+
$[68] = t18;
|
|
345
349
|
} else {
|
|
346
|
-
t18 = $[
|
|
350
|
+
t18 = $[68];
|
|
347
351
|
}
|
|
348
352
|
const t19 = -1;
|
|
349
353
|
let t20;
|
|
350
|
-
if ($[
|
|
354
|
+
if ($[69] !== shortcutsMap || $[70] !== shortcutsScope) {
|
|
351
355
|
t20 = /*#__PURE__*/jsx(Shortcuts, {
|
|
352
356
|
map: shortcutsMap,
|
|
353
357
|
scope: shortcutsScope
|
|
354
358
|
});
|
|
355
|
-
$[
|
|
356
|
-
$[
|
|
357
|
-
$[
|
|
359
|
+
$[69] = shortcutsMap;
|
|
360
|
+
$[70] = shortcutsScope;
|
|
361
|
+
$[71] = t20;
|
|
358
362
|
} else {
|
|
359
|
-
t20 = $[
|
|
363
|
+
t20 = $[71];
|
|
360
364
|
}
|
|
361
365
|
const t21 = !showTicks;
|
|
362
366
|
let t22;
|
|
363
|
-
if ($[
|
|
367
|
+
if ($[72] !== disabled || $[73] !== t21) {
|
|
364
368
|
t22 = classNames(styles.rail, {
|
|
365
369
|
[styles.rounded]: t21,
|
|
366
370
|
[styles.disabled]: disabled
|
|
367
371
|
});
|
|
368
|
-
$[
|
|
369
|
-
$[
|
|
370
|
-
$[
|
|
372
|
+
$[72] = disabled;
|
|
373
|
+
$[73] = t21;
|
|
374
|
+
$[74] = t22;
|
|
371
375
|
} else {
|
|
372
|
-
t22 = $[
|
|
376
|
+
t22 = $[74];
|
|
373
377
|
}
|
|
374
378
|
let t23;
|
|
375
|
-
if ($[
|
|
379
|
+
if ($[75] !== t22) {
|
|
376
380
|
t23 = /*#__PURE__*/jsx("div", {
|
|
377
381
|
className: t22
|
|
378
382
|
});
|
|
379
|
-
$[
|
|
380
|
-
$[
|
|
383
|
+
$[75] = t22;
|
|
384
|
+
$[76] = t23;
|
|
381
385
|
} else {
|
|
382
|
-
t23 = $[
|
|
386
|
+
t23 = $[76];
|
|
383
387
|
}
|
|
384
388
|
const t24 = `${trackStart}%`;
|
|
385
389
|
const t25 = `${trackLength}%`;
|
|
386
390
|
let t26;
|
|
387
|
-
if ($[
|
|
391
|
+
if ($[77] !== t24 || $[78] !== t25) {
|
|
388
392
|
t26 = {
|
|
389
393
|
left: t24,
|
|
390
394
|
width: t25
|
|
391
395
|
};
|
|
392
|
-
$[
|
|
393
|
-
$[
|
|
394
|
-
$[
|
|
396
|
+
$[77] = t24;
|
|
397
|
+
$[78] = t25;
|
|
398
|
+
$[79] = t26;
|
|
395
399
|
} else {
|
|
396
|
-
t26 = $[
|
|
400
|
+
t26 = $[79];
|
|
397
401
|
}
|
|
398
402
|
const t27 = !showTicks;
|
|
399
403
|
let t28;
|
|
400
|
-
if ($[
|
|
404
|
+
if ($[80] !== disabled || $[81] !== t27) {
|
|
401
405
|
t28 = classNames(styles.track, {
|
|
402
406
|
[styles.rounded]: t27,
|
|
403
407
|
[styles.disabled]: disabled
|
|
404
408
|
});
|
|
405
|
-
$[
|
|
406
|
-
$[
|
|
407
|
-
$[
|
|
409
|
+
$[80] = disabled;
|
|
410
|
+
$[81] = t27;
|
|
411
|
+
$[82] = t28;
|
|
408
412
|
} else {
|
|
409
|
-
t28 = $[
|
|
413
|
+
t28 = $[82];
|
|
410
414
|
}
|
|
411
415
|
let t29;
|
|
412
|
-
if ($[
|
|
416
|
+
if ($[83] !== t26 || $[84] !== t28) {
|
|
413
417
|
t29 = /*#__PURE__*/jsx("div", {
|
|
414
418
|
style: t26,
|
|
415
419
|
className: t28
|
|
416
420
|
});
|
|
417
|
-
$[
|
|
418
|
-
$[
|
|
419
|
-
$[
|
|
421
|
+
$[83] = t26;
|
|
422
|
+
$[84] = t28;
|
|
423
|
+
$[85] = t29;
|
|
420
424
|
} else {
|
|
421
|
-
t29 = $[
|
|
425
|
+
t29 = $[85];
|
|
422
426
|
}
|
|
423
427
|
let t30;
|
|
424
|
-
if ($[
|
|
428
|
+
if ($[86] !== disabled || $[87] !== draggedIndex || $[88] !== handleMouseDown || $[89] !== isDragging || $[90] !== max || $[91] !== min || $[92] !== renderTag || $[93] !== showTag || $[94] !== validValues) {
|
|
425
429
|
let t31;
|
|
426
|
-
if ($[
|
|
430
|
+
if ($[96] !== disabled || $[97] !== draggedIndex || $[98] !== handleMouseDown || $[99] !== isDragging || $[100] !== max || $[101] !== min || $[102] !== renderTag || $[103] !== showTag) {
|
|
427
431
|
t31 = (numValue, index_5) => {
|
|
428
432
|
const percent = toPercent(numValue, min, max);
|
|
429
433
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
@@ -455,34 +459,34 @@ const Slider = t0 => {
|
|
|
455
459
|
})]
|
|
456
460
|
}, index_5);
|
|
457
461
|
};
|
|
458
|
-
$[
|
|
459
|
-
$[
|
|
460
|
-
$[
|
|
461
|
-
$[
|
|
462
|
-
$[
|
|
463
|
-
$[
|
|
464
|
-
$[
|
|
465
|
-
$[
|
|
466
|
-
$[
|
|
462
|
+
$[96] = disabled;
|
|
463
|
+
$[97] = draggedIndex;
|
|
464
|
+
$[98] = handleMouseDown;
|
|
465
|
+
$[99] = isDragging;
|
|
466
|
+
$[100] = max;
|
|
467
|
+
$[101] = min;
|
|
468
|
+
$[102] = renderTag;
|
|
469
|
+
$[103] = showTag;
|
|
470
|
+
$[104] = t31;
|
|
467
471
|
} else {
|
|
468
|
-
t31 = $[
|
|
472
|
+
t31 = $[104];
|
|
469
473
|
}
|
|
470
474
|
t30 = validValues.map(t31);
|
|
471
|
-
$[
|
|
472
|
-
$[
|
|
473
|
-
$[
|
|
474
|
-
$[
|
|
475
|
-
$[
|
|
476
|
-
$[
|
|
477
|
-
$[
|
|
478
|
-
$[
|
|
479
|
-
$[
|
|
480
|
-
$[
|
|
475
|
+
$[86] = disabled;
|
|
476
|
+
$[87] = draggedIndex;
|
|
477
|
+
$[88] = handleMouseDown;
|
|
478
|
+
$[89] = isDragging;
|
|
479
|
+
$[90] = max;
|
|
480
|
+
$[91] = min;
|
|
481
|
+
$[92] = renderTag;
|
|
482
|
+
$[93] = showTag;
|
|
483
|
+
$[94] = validValues;
|
|
484
|
+
$[95] = t30;
|
|
481
485
|
} else {
|
|
482
|
-
t30 = $[
|
|
486
|
+
t30 = $[95];
|
|
483
487
|
}
|
|
484
488
|
let t31;
|
|
485
|
-
if ($[
|
|
489
|
+
if ($[105] !== disabled || $[106] !== max || $[107] !== min) {
|
|
486
490
|
t31 = (t32, index_6) => {
|
|
487
491
|
const {
|
|
488
492
|
value: markValue,
|
|
@@ -499,16 +503,16 @@ const Slider = t0 => {
|
|
|
499
503
|
children: label !== null && label !== void 0 ? label : markValue
|
|
500
504
|
}, index_6);
|
|
501
505
|
};
|
|
502
|
-
$[
|
|
503
|
-
$[
|
|
504
|
-
$[
|
|
505
|
-
$[
|
|
506
|
+
$[105] = disabled;
|
|
507
|
+
$[106] = max;
|
|
508
|
+
$[107] = min;
|
|
509
|
+
$[108] = t31;
|
|
506
510
|
} else {
|
|
507
|
-
t31 = $[
|
|
511
|
+
t31 = $[108];
|
|
508
512
|
}
|
|
509
513
|
const t32 = markValues.map(t31);
|
|
510
514
|
let t33;
|
|
511
|
-
if ($[
|
|
515
|
+
if ($[109] !== disabled || $[110] !== isRange || $[111] !== max || $[112] !== min || $[113] !== validValues) {
|
|
512
516
|
t33 = (t34, index_7) => {
|
|
513
517
|
const {
|
|
514
518
|
value: tickValue
|
|
@@ -525,18 +529,18 @@ const Slider = t0 => {
|
|
|
525
529
|
}
|
|
526
530
|
}, index_7);
|
|
527
531
|
};
|
|
528
|
-
$[
|
|
529
|
-
$[
|
|
530
|
-
$[
|
|
531
|
-
$[
|
|
532
|
-
$[
|
|
533
|
-
$[
|
|
532
|
+
$[109] = disabled;
|
|
533
|
+
$[110] = isRange;
|
|
534
|
+
$[111] = max;
|
|
535
|
+
$[112] = min;
|
|
536
|
+
$[113] = validValues;
|
|
537
|
+
$[114] = t33;
|
|
534
538
|
} else {
|
|
535
|
-
t33 = $[
|
|
539
|
+
t33 = $[114];
|
|
536
540
|
}
|
|
537
541
|
const t34 = tickMarks.map(t33);
|
|
538
542
|
let t35;
|
|
539
|
-
if ($[
|
|
543
|
+
if ($[115] !== handleMouseDown || $[116] !== t18 || $[117] !== t20 || $[118] !== t23 || $[119] !== t29 || $[120] !== t30 || $[121] !== t32 || $[122] !== t34) {
|
|
540
544
|
t35 = /*#__PURE__*/jsxs("div", {
|
|
541
545
|
ref: ref,
|
|
542
546
|
role: t16,
|
|
@@ -545,17 +549,17 @@ const Slider = t0 => {
|
|
|
545
549
|
onMouseDown: handleMouseDown,
|
|
546
550
|
children: [t20, t23, t29, t30, t32, t34]
|
|
547
551
|
});
|
|
548
|
-
$[
|
|
549
|
-
$[
|
|
550
|
-
$[
|
|
551
|
-
$[
|
|
552
|
-
$[
|
|
553
|
-
$[
|
|
554
|
-
$[
|
|
555
|
-
$[
|
|
556
|
-
$[
|
|
552
|
+
$[115] = handleMouseDown;
|
|
553
|
+
$[116] = t18;
|
|
554
|
+
$[117] = t20;
|
|
555
|
+
$[118] = t23;
|
|
556
|
+
$[119] = t29;
|
|
557
|
+
$[120] = t30;
|
|
558
|
+
$[121] = t32;
|
|
559
|
+
$[122] = t34;
|
|
560
|
+
$[123] = t35;
|
|
557
561
|
} else {
|
|
558
|
-
t35 = $[
|
|
562
|
+
t35 = $[123];
|
|
559
563
|
}
|
|
560
564
|
return t35;
|
|
561
565
|
};
|
|
@@ -12,7 +12,7 @@ import '../icon/icon.js';
|
|
|
12
12
|
import 'util-deprecate';
|
|
13
13
|
import '../icon/icon.constants.js';
|
|
14
14
|
import '../_helpers/icon-svg.js';
|
|
15
|
-
import 'react
|
|
15
|
+
import 'react/compiler-runtime';
|
|
16
16
|
import '../global/memoize.js';
|
|
17
17
|
import 'react/jsx-runtime';
|
|
18
18
|
import '../loader-inline/loader-inline.js';
|
|
@@ -13,7 +13,7 @@ import '../icon/icon.js';
|
|
|
13
13
|
import 'util-deprecate';
|
|
14
14
|
import '../icon/icon.constants.js';
|
|
15
15
|
import '../_helpers/icon-svg.js';
|
|
16
|
-
import 'react
|
|
16
|
+
import 'react/compiler-runtime';
|
|
17
17
|
import '../global/memoize.js';
|
|
18
18
|
import 'react/jsx-runtime';
|
|
19
19
|
import '../loader-inline/loader-inline.js';
|