@epam/uui 5.8.1 → 5.9.0-beta.0
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/assets/styles/effects.scss +2 -2
- package/assets/styles/inputs.scss +0 -4
- package/components/buttons/Button.d.ts +3 -6
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/IconButton.d.ts +3 -7
- package/components/buttons/IconButton.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts +5 -12
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/buttons/TabButton.d.ts +3 -12
- package/components/buttons/TabButton.d.ts.map +1 -1
- package/components/buttons/VerticalTabButton.d.ts +1 -9
- package/components/buttons/VerticalTabButton.d.ts.map +1 -1
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/datePickers/types.d.ts +17 -9
- package/components/datePickers/types.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts +8 -4
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/inputs/Checkbox.d.ts +3 -2
- package/components/inputs/Checkbox.d.ts.map +1 -1
- package/components/inputs/NumericInput.d.ts +3 -2
- package/components/inputs/NumericInput.d.ts.map +1 -1
- package/components/inputs/RadioInput.d.ts.map +1 -1
- package/components/inputs/Switch.d.ts +3 -2
- package/components/inputs/Switch.d.ts.map +1 -1
- package/components/inputs/TextArea.d.ts +3 -2
- package/components/inputs/TextArea.d.ts.map +1 -1
- package/components/inputs/timePicker/TimePicker.d.ts +2 -47
- package/components/inputs/timePicker/TimePicker.d.ts.map +1 -1
- package/components/inputs/timePicker/TimePickerBody.d.ts +2 -13
- package/components/inputs/timePicker/TimePickerBody.d.ts.map +1 -1
- package/components/inputs/timePicker/index.d.ts +1 -0
- package/components/inputs/timePicker/index.d.ts.map +1 -1
- package/components/inputs/timePicker/types.d.ts +63 -0
- package/components/inputs/timePicker/types.d.ts.map +1 -0
- package/components/layout/LabeledInput.d.ts +3 -2
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/Modals.d.ts +1 -1
- package/components/overlays/Modals.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts +8 -3
- package/components/pickers/DataPickerBody.d.ts.map +1 -1
- package/components/pickers/DataPickerCell.d.ts +3 -3
- package/components/pickers/DataPickerCell.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts +6 -2
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/DataPickerHeader.d.ts.map +1 -1
- package/components/pickers/DataPickerRow.d.ts +9 -4
- package/components/pickers/DataPickerRow.d.ts.map +1 -1
- package/components/pickers/MobileDropdownWrapper.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +7 -2
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts +7 -2
- package/components/pickers/PickerItem.d.ts.map +1 -1
- package/components/pickers/PickerList.d.ts +7 -2
- package/components/pickers/PickerList.d.ts.map +1 -1
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +2 -0
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/pickers/PickerTogglerTag.d.ts +8 -2
- package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
- package/components/pickers/highlight.d.ts +1 -0
- package/components/pickers/highlight.d.ts.map +1 -1
- package/components/pickers/types.d.ts +2 -0
- package/components/pickers/types.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsGroups.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/utils.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts +1 -1
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/typography/RichTextView.d.ts +3 -2
- package/components/typography/RichTextView.d.ts.map +1 -1
- package/components/typography/Text.d.ts.map +1 -1
- package/components/widgets/Badge.d.ts +5 -16
- package/components/widgets/Badge.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts +2 -2
- package/components/widgets/CountIndicator.d.ts.map +1 -1
- package/components/widgets/DataRowAddons.d.ts.map +1 -1
- package/components/widgets/StatusIndicator.d.ts.map +1 -1
- package/components/widgets/Tag.d.ts +8 -26
- package/components/widgets/Tag.d.ts.map +1 -1
- package/helpers/textLayout.d.ts.map +1 -1
- package/helpers/useColumnsWithFilters.d.ts +1 -1
- package/helpers/useColumnsWithFilters.d.ts.map +1 -1
- package/icons/icons.d.ts +1 -0
- package/icons/icons.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.esm.js +463 -330
- package/index.esm.js.map +1 -1
- package/index.js +462 -328
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/readme.md +6 -1
- package/settings.d.ts +3 -0
- package/settings.d.ts.map +1 -0
- package/settings.types.d.ts +139 -0
- package/settings.types.d.ts.map +1 -0
- package/stats.html +1 -19
- package/styles.css +3085 -4054
- package/styles.css.map +1 -1
package/index.js
CHANGED
|
@@ -314,16 +314,226 @@ const systemIcons = {
|
|
|
314
314
|
info: ForwardRef$L,
|
|
315
315
|
};
|
|
316
316
|
|
|
317
|
-
|
|
317
|
+
const settings = {
|
|
318
|
+
sizes: {
|
|
319
|
+
defaults: {
|
|
320
|
+
badge: '36',
|
|
321
|
+
button: '36',
|
|
322
|
+
checkbox: '18',
|
|
323
|
+
countIndicator: '24',
|
|
324
|
+
dataPickerCell: '36',
|
|
325
|
+
linkButton: '36',
|
|
326
|
+
numericInput: '36',
|
|
327
|
+
pickerToggler: '36',
|
|
328
|
+
pickerItem: '36',
|
|
329
|
+
radioInput: '18',
|
|
330
|
+
switch: '18',
|
|
331
|
+
tabButton: '48',
|
|
332
|
+
tag: '36',
|
|
333
|
+
text: '36',
|
|
334
|
+
textArea: '36',
|
|
335
|
+
textInput: '36',
|
|
336
|
+
rangeDatePicker: '36',
|
|
337
|
+
datePicker: '36',
|
|
338
|
+
labeledInput: '36',
|
|
339
|
+
statusIndicator: '24',
|
|
340
|
+
},
|
|
341
|
+
tag: {
|
|
342
|
+
countIndicator: {
|
|
343
|
+
18: '12',
|
|
344
|
+
24: '18',
|
|
345
|
+
30: '18',
|
|
346
|
+
36: '18',
|
|
347
|
+
42: '24',
|
|
348
|
+
48: '24',
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
mobileDropdownWrapper: {
|
|
352
|
+
linkButton: '48',
|
|
353
|
+
},
|
|
354
|
+
pickerInput: {
|
|
355
|
+
height: 300,
|
|
356
|
+
width: 360,
|
|
357
|
+
rowSize: {
|
|
358
|
+
mobile: '48',
|
|
359
|
+
modal: '36',
|
|
360
|
+
padding: {
|
|
361
|
+
modal: '24',
|
|
362
|
+
default: '12',
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
pickerToggler: {
|
|
367
|
+
tag: {
|
|
368
|
+
24: '18',
|
|
369
|
+
30: '24',
|
|
370
|
+
36: '30',
|
|
371
|
+
42: '36',
|
|
372
|
+
48: '42',
|
|
373
|
+
60: '48',
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
dataPickerHeader: {
|
|
377
|
+
text: {
|
|
378
|
+
fontWeight: '600',
|
|
379
|
+
size: '48',
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
dataPickerBody: {
|
|
383
|
+
flexCell: {
|
|
384
|
+
default: '36',
|
|
385
|
+
},
|
|
386
|
+
searchInput: {
|
|
387
|
+
mobile: '48',
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
pickerItem: {
|
|
391
|
+
avatar: {
|
|
392
|
+
rest: {
|
|
393
|
+
24: '18',
|
|
394
|
+
30: '24',
|
|
395
|
+
36: '30',
|
|
396
|
+
42: '36',
|
|
397
|
+
48: '36', // no design
|
|
398
|
+
},
|
|
399
|
+
multiline: {
|
|
400
|
+
24: '30',
|
|
401
|
+
30: '30',
|
|
402
|
+
36: '36',
|
|
403
|
+
42: '42',
|
|
404
|
+
48: '48', // no design
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
dataPickerCell: {
|
|
409
|
+
isBoldIcon: {
|
|
410
|
+
24: true,
|
|
411
|
+
},
|
|
412
|
+
padding: {
|
|
413
|
+
default: '12',
|
|
414
|
+
},
|
|
415
|
+
paddingLeft: {
|
|
416
|
+
default: '24',
|
|
417
|
+
},
|
|
418
|
+
text: {
|
|
419
|
+
24: '24',
|
|
420
|
+
30: '30',
|
|
421
|
+
36: '36',
|
|
422
|
+
42: '42',
|
|
423
|
+
48: '48',
|
|
424
|
+
60: '48',
|
|
425
|
+
},
|
|
426
|
+
icon: {
|
|
427
|
+
24: '12',
|
|
428
|
+
30: '18',
|
|
429
|
+
36: '18',
|
|
430
|
+
42: '24',
|
|
431
|
+
48: '24',
|
|
432
|
+
60: '24',
|
|
433
|
+
},
|
|
434
|
+
},
|
|
435
|
+
dataPickerRow: {
|
|
436
|
+
padding: {
|
|
437
|
+
default: '24',
|
|
438
|
+
},
|
|
439
|
+
dataPickerCell: {
|
|
440
|
+
default: '36',
|
|
441
|
+
},
|
|
442
|
+
},
|
|
443
|
+
dataPickerFooter: {
|
|
444
|
+
flexRowPadding: '12',
|
|
445
|
+
switch: {
|
|
446
|
+
24: '12',
|
|
447
|
+
30: '18',
|
|
448
|
+
36: '36',
|
|
449
|
+
42: '24',
|
|
450
|
+
48: '24',
|
|
451
|
+
},
|
|
452
|
+
linkButton: {
|
|
453
|
+
24: '24',
|
|
454
|
+
30: '30',
|
|
455
|
+
36: '36',
|
|
456
|
+
42: '42',
|
|
457
|
+
48: '48',
|
|
458
|
+
mobile: '48',
|
|
459
|
+
},
|
|
460
|
+
},
|
|
461
|
+
rowAddons: {
|
|
462
|
+
checkbox: {
|
|
463
|
+
24: '12',
|
|
464
|
+
30: '18',
|
|
465
|
+
36: '18',
|
|
466
|
+
42: '18',
|
|
467
|
+
48: '18',
|
|
468
|
+
60: '18',
|
|
469
|
+
},
|
|
470
|
+
icon: {
|
|
471
|
+
24: '12',
|
|
472
|
+
30: '18',
|
|
473
|
+
36: '18',
|
|
474
|
+
42: '24',
|
|
475
|
+
48: '24',
|
|
476
|
+
60: '24',
|
|
477
|
+
},
|
|
478
|
+
indentUnit: {
|
|
479
|
+
24: 6,
|
|
480
|
+
30: 12,
|
|
481
|
+
36: 12,
|
|
482
|
+
42: 24,
|
|
483
|
+
48: 24,
|
|
484
|
+
60: 24,
|
|
485
|
+
default: 24,
|
|
486
|
+
},
|
|
487
|
+
indentWidth: {
|
|
488
|
+
24: 12,
|
|
489
|
+
30: 18,
|
|
490
|
+
36: 18,
|
|
491
|
+
42: 24,
|
|
492
|
+
48: 24,
|
|
493
|
+
60: 24,
|
|
494
|
+
default: 12,
|
|
495
|
+
},
|
|
496
|
+
},
|
|
497
|
+
text: {
|
|
498
|
+
18: { lineHeight: 12, fontSize: 10 },
|
|
499
|
+
24: { lineHeight: 18, fontSize: 12 },
|
|
500
|
+
30: { lineHeight: 18, fontSize: 14 },
|
|
501
|
+
36: { lineHeight: 18, fontSize: 14 },
|
|
502
|
+
42: { lineHeight: 24, fontSize: 16 },
|
|
503
|
+
48: { lineHeight: 24, fontSize: 16 },
|
|
504
|
+
60: { lineHeight: 30, fontSize: 24 },
|
|
505
|
+
},
|
|
506
|
+
filterPickerBody: {
|
|
507
|
+
pickerItem: '36',
|
|
508
|
+
dataPickerRow: '36',
|
|
509
|
+
dataPickerFooter: '36',
|
|
510
|
+
searchSize: '36',
|
|
511
|
+
},
|
|
512
|
+
labeledInput: {
|
|
513
|
+
fillIcon: ['24', '30'],
|
|
514
|
+
},
|
|
515
|
+
badge: {
|
|
516
|
+
countIndicator: {
|
|
517
|
+
18: '12',
|
|
518
|
+
24: '18',
|
|
519
|
+
30: '18',
|
|
520
|
+
36: '18',
|
|
521
|
+
42: '24',
|
|
522
|
+
48: '24',
|
|
523
|
+
},
|
|
524
|
+
},
|
|
525
|
+
},
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
var css$1s = {"uui-typography":"kgTbKY","hero-header":"pwjn8u","promo-header":"cECO0u","uui-critical":"NIsivg","uui-info":"uSAmM9","uui-success":"Sdsxow","uui-warning":"_7G0dB4","uui-highlight":"JkUw6P","uui-typography-size-12":"UCNsuY","uui-typography-size-14":"cOz3UF","uui-typography-size-16":"FEvWnM","root":"GJnngF","uuiTypography":"kgTbKY","heroHeader":"pwjn8u","promoHeader":"cECO0u","uuiCritical":"NIsivg","uuiInfo":"uSAmM9","uuiSuccess":"Sdsxow","uuiWarning":"_7G0dB4","uuiHighlight":"JkUw6P","uuiTypographySize12":"UCNsuY","uuiTypographySize14":"cOz3UF","uuiTypographySize16":"FEvWnM"};
|
|
318
529
|
|
|
319
|
-
const DEFAULT_SIZE$8 = '36';
|
|
320
530
|
function applyButtonMods(mods) {
|
|
321
531
|
return [
|
|
322
532
|
css$1s.root,
|
|
323
533
|
'uui-button',
|
|
324
534
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
325
535
|
`uui-color-${mods.color || 'primary'}`,
|
|
326
|
-
`uui-size-${mods.size ||
|
|
536
|
+
`uui-size-${mods.size || settings.sizes.defaults.button}`,
|
|
327
537
|
];
|
|
328
538
|
}
|
|
329
539
|
const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button, applyButtonMods, () => {
|
|
@@ -333,7 +543,7 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
|
|
|
333
543
|
};
|
|
334
544
|
});
|
|
335
545
|
|
|
336
|
-
var css$1r = {"root":"
|
|
546
|
+
var css$1r = {"root":"_34-QuP"};
|
|
337
547
|
|
|
338
548
|
function applyIconButtonMods(props) {
|
|
339
549
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1r.root];
|
|
@@ -350,7 +560,6 @@ const IconButton = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Icon
|
|
|
350
560
|
}
|
|
351
561
|
return {
|
|
352
562
|
dropdownIcon: props.dropdownIcon || systemIcons.foldingArrow,
|
|
353
|
-
size: props.size && Number(props.size),
|
|
354
563
|
};
|
|
355
564
|
});
|
|
356
565
|
|
|
@@ -371,15 +580,14 @@ function getIconClass(props) {
|
|
|
371
580
|
return [classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon', classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon'];
|
|
372
581
|
}
|
|
373
582
|
|
|
374
|
-
var css$1q = {"uui-typography":"
|
|
583
|
+
var css$1q = {"uui-typography":"slGgB-","hero-header":"qrwVD-","promo-header":"D6zV-Q","uui-critical":"Df9Mte","uui-info":"UMQHkk","uui-success":"lZWcy7","uui-warning":"AGd-to","uui-highlight":"w1Ij7C","uui-typography-size-12":"F6DYPj","uui-typography-size-14":"bSrnR0","uui-typography-size-16":"kKecjt","root":"_5MCudS","uuiTypography":"slGgB-","heroHeader":"qrwVD-","promoHeader":"D6zV-Q","uuiCritical":"Df9Mte","uuiInfo":"UMQHkk","uuiSuccess":"lZWcy7","uuiWarning":"AGd-to","uuiHighlight":"w1Ij7C","uuiTypographySize12":"F6DYPj","uuiTypographySize14":"bSrnR0","uuiTypographySize16":"kKecjt"};
|
|
375
584
|
|
|
376
|
-
const DEFAULT_SIZE$7 = '36';
|
|
377
585
|
const DEFAULT_COLOR = 'primary';
|
|
378
586
|
function applyLinkButtonMods(mods) {
|
|
379
587
|
return [
|
|
380
588
|
'uui-link_button',
|
|
381
589
|
css$1q.root,
|
|
382
|
-
`uui-size-${mods.size ||
|
|
590
|
+
`uui-size-${mods.size || settings.sizes.defaults.linkButton}`,
|
|
383
591
|
...getIconClass(mods),
|
|
384
592
|
`uui-color-${mods.color || DEFAULT_COLOR}`,
|
|
385
593
|
];
|
|
@@ -403,25 +611,25 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
403
611
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
404
612
|
});
|
|
405
613
|
|
|
406
|
-
var css$1p = {"root":"
|
|
614
|
+
var css$1p = {"root":"UlrdES"};
|
|
407
615
|
|
|
408
616
|
const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
409
617
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
410
618
|
css$1p.root,
|
|
411
619
|
'uui-count_indicator',
|
|
412
|
-
|
|
620
|
+
`uui-size-${props.size || settings.sizes.defaults.countIndicator}`,
|
|
413
621
|
props.color && `uui-color-${props.color}`,
|
|
414
622
|
props.cx,
|
|
415
623
|
]) }, props.caption));
|
|
416
624
|
});
|
|
417
625
|
|
|
418
|
-
var css$1o = {"uui-typography":"
|
|
626
|
+
var css$1o = {"uui-typography":"tSGEkP","hero-header":"mQxoqy","promo-header":"-qVaep","uui-critical":"ZOz2jY","uui-info":"_74oldI","uui-success":"_0-ddFN","uui-warning":"K85u-t","uui-highlight":"D6hc5r","uui-typography-size-12":"q00ACF","uui-typography-size-14":"jFRO-G","uui-typography-size-16":"Y6TL5x","root":"_2Opey7","withNotify":"dw6vHz","uuiTypography":"tSGEkP","heroHeader":"mQxoqy","promoHeader":"-qVaep","uuiCritical":"ZOz2jY","uuiInfo":"_74oldI","uuiSuccess":"_0-ddFN","uuiWarning":"K85u-t","uuiHighlight":"D6hc5r","uuiTypographySize12":"q00ACF","uuiTypographySize14":"jFRO-G","uuiTypographySize16":"Y6TL5x"};
|
|
419
627
|
|
|
420
628
|
const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
421
629
|
const styles = [
|
|
422
630
|
css$1o.root,
|
|
423
631
|
'uui-tab-button',
|
|
424
|
-
|
|
632
|
+
`uui-size-${props.size || settings.sizes.defaults.tabButton}`,
|
|
425
633
|
props.withNotify && css$1o.withNotify,
|
|
426
634
|
...getIconClass(props),
|
|
427
635
|
props.cx,
|
|
@@ -430,14 +638,14 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
|
|
|
430
638
|
const ClearIcon = props.clearIcon ? props.clearIcon : systemIcons.clear;
|
|
431
639
|
return (React__namespace.default.createElement(uuiComponents.Clickable, Object.assign({}, props, { rawProps: Object.assign({ role: 'tab', 'aria-haspopup': props.isDropdown, 'aria-expanded': props.isOpen }, props.rawProps), cx: styles, ref: ref }),
|
|
432
640
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
433
|
-
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.cx(uuiCore.uuiElement.caption
|
|
434
|
-
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color:
|
|
641
|
+
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.cx(uuiCore.uuiElement.caption) }, props.caption)),
|
|
642
|
+
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: "neutral", size: "18", caption: props.count })),
|
|
435
643
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
436
644
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
437
645
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
438
646
|
});
|
|
439
647
|
|
|
440
|
-
var css$1n = {"uui-typography":"
|
|
648
|
+
var css$1n = {"uui-typography":"ZkEKdL","hero-header":"rfZo4Z","promo-header":"wVhJty","uui-critical":"cFUiet","uui-info":"f6bLd-","uui-success":"rKCEVr","uui-warning":"ZmyOlv","uui-highlight":"_2DE9cg","uui-typography-size-12":"opvITi","uui-typography-size-14":"lptD0v","uui-typography-size-16":"PucnSG","root":"zC0nrQ","uuiTypography":"ZkEKdL","heroHeader":"rfZo4Z","promoHeader":"wVhJty","uuiCritical":"cFUiet","uuiInfo":"f6bLd-","uuiSuccess":"rKCEVr","uuiWarning":"ZmyOlv","uuiHighlight":"_2DE9cg","uuiTypographySize12":"opvITi","uuiTypographySize14":"lptD0v","uuiTypographySize16":"PucnSG"};
|
|
441
649
|
|
|
442
650
|
function applyVerticalTabButtonMods() {
|
|
443
651
|
return [css$1n.root];
|
|
@@ -459,12 +667,12 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
|
459
667
|
};
|
|
460
668
|
var ForwardRef$B = /*#__PURE__*/React.forwardRef(SvgContentMinusOutline);
|
|
461
669
|
|
|
462
|
-
var css$1m = {"uui-typography":"
|
|
670
|
+
var css$1m = {"uui-typography":"J6G3v4","hero-header":"vkqli-","promo-header":"_7BtCD9","uui-critical":"dRcG6Q","uui-info":"_3durSx","uui-success":"_9eQgT-","uui-warning":"xmA39f","uui-highlight":"CvAPgR","uui-typography-size-12":"yA607R","uui-typography-size-14":"tWF-PJ","uui-typography-size-16":"SGSIG9","root":"t7aosk","mode-cell":"CDrE04","uuiTypography":"J6G3v4","heroHeader":"vkqli-","promoHeader":"_7BtCD9","uuiCritical":"dRcG6Q","uuiInfo":"_3durSx","uuiSuccess":"_9eQgT-","uuiWarning":"xmA39f","uuiHighlight":"CvAPgR","uuiTypographySize12":"yA607R","uuiTypographySize14":"tWF-PJ","uuiTypographySize16":"SGSIG9","modeCell":"CDrE04"};
|
|
463
671
|
|
|
464
672
|
function applyCheckboxMods(mods) {
|
|
465
673
|
return [
|
|
466
674
|
css$1m.root,
|
|
467
|
-
|
|
675
|
+
`uui-size-${mods.size || settings.sizes.defaults.checkbox}`,
|
|
468
676
|
css$1m['mode-' + (mods.mode || 'form')],
|
|
469
677
|
'uui-color-primary',
|
|
470
678
|
];
|
|
@@ -479,8 +687,6 @@ const applyUUICheckboxProps = (props) => {
|
|
|
479
687
|
};
|
|
480
688
|
const Checkbox = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
481
689
|
|
|
482
|
-
var css$1l = {"uui-typography":"_7R0jjV","hero-header":"d78dAh","promo-header":"DwzoS-","uui-critical":"O6RJqn","uui-info":"_2ntH2f","uui-success":"BEQ-hZ","uui-warning":"i9ALqx","uui-highlight":"_70hDuG","uui-typography-size-12":"hpkc1P","uui-typography-size-14":"xUyQUh","uui-typography-size-16":"VQhXYY","root":"_2YQlTt","size-18":"EB22NN","size-12":"L20e7v","uuiTypography":"_7R0jjV","heroHeader":"d78dAh","promoHeader":"DwzoS-","uuiCritical":"O6RJqn","uuiInfo":"_2ntH2f","uuiSuccess":"BEQ-hZ","uuiWarning":"i9ALqx","uuiHighlight":"_70hDuG","uuiTypographySize12":"hpkc1P","uuiTypographySize14":"xUyQUh","uuiTypographySize16":"VQhXYY","size18":"EB22NN","size12":"L20e7v"};
|
|
483
|
-
|
|
484
690
|
var _path$A;
|
|
485
691
|
function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
|
|
486
692
|
var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
@@ -496,21 +702,25 @@ var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
|
496
702
|
};
|
|
497
703
|
var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgRadioDotFill);
|
|
498
704
|
|
|
705
|
+
var css$1l = {"uui-typography":"QwweiY","hero-header":"IEYohZ","promo-header":"ZIvzhh","uui-critical":"_1hRvty","uui-info":"_1PxguZ","uui-success":"jTqvfv","uui-warning":"o5O6hP","uui-highlight":"g1Qc-P","uui-typography-size-12":"CF-01G","uui-typography-size-14":"s5zTNZ","uui-typography-size-16":"OG4Koh","root":"bJmX0C","uuiTypography":"QwweiY","heroHeader":"IEYohZ","promoHeader":"ZIvzhh","uuiCritical":"_1hRvty","uuiInfo":"_1PxguZ","uuiSuccess":"jTqvfv","uuiWarning":"o5O6hP","uuiHighlight":"g1Qc-P","uuiTypographySize12":"CF-01G","uuiTypographySize14":"s5zTNZ","uuiTypographySize16":"OG4Koh"};
|
|
706
|
+
|
|
499
707
|
function applyRadioInputMods(mods) {
|
|
500
708
|
return [
|
|
501
709
|
css$1l.root,
|
|
502
|
-
|
|
710
|
+
`uui-size-${mods.size || settings.sizes.defaults.radioInput}`,
|
|
503
711
|
'uui-radio-input-container',
|
|
504
712
|
'uui-color-primary',
|
|
505
713
|
];
|
|
506
714
|
}
|
|
507
715
|
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$A }));
|
|
508
716
|
|
|
509
|
-
var css$1k = {"root":"
|
|
717
|
+
var css$1k = {"root":"cfxkwl"};
|
|
510
718
|
|
|
511
719
|
function applySwitchMods(mods) {
|
|
512
720
|
return [
|
|
513
|
-
css$1k.root,
|
|
721
|
+
css$1k.root,
|
|
722
|
+
`uui-size-${mods.size || settings.sizes.defaults.switch}`,
|
|
723
|
+
'uui-color-primary',
|
|
514
724
|
];
|
|
515
725
|
}
|
|
516
726
|
const Switch = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Switch, applySwitchMods);
|
|
@@ -572,14 +782,13 @@ var EditMode;
|
|
|
572
782
|
EditMode["INLINE"] = "inline";
|
|
573
783
|
})(EditMode || (EditMode = {}));
|
|
574
784
|
|
|
575
|
-
var textInputCss = {"uui-typography":"
|
|
785
|
+
var textInputCss = {"uui-typography":"EVxlPO","hero-header":"YWtpq2","promo-header":"_6ZztpG","uui-critical":"pUGj-F","uui-info":"EWGtWC","uui-success":"toq-nB","uui-warning":"qVFznf","uui-highlight":"hmi-Mj","uui-typography-size-12":"IEF8kl","uui-typography-size-14":"fHwASS","uui-typography-size-16":"S-11WL","root":"Tf0fZP","mode-form":"P-hwGB","mode-inline":"SavHIW","mode-cell":"Gr86QX","uuiTypography":"EVxlPO","heroHeader":"YWtpq2","promoHeader":"_6ZztpG","uuiCritical":"pUGj-F","uuiInfo":"EWGtWC","uuiSuccess":"toq-nB","uuiWarning":"qVFznf","uuiHighlight":"hmi-Mj","uuiTypographySize12":"IEF8kl","uuiTypographySize14":"fHwASS","uuiTypographySize16":"S-11WL","modeForm":"P-hwGB","modeInline":"SavHIW","modeCell":"Gr86QX"};
|
|
576
786
|
|
|
577
|
-
const DEFAULT_SIZE$6 = '36';
|
|
578
787
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
579
788
|
function applyTextInputMods(mods) {
|
|
580
789
|
return [
|
|
581
790
|
textInputCss.root,
|
|
582
|
-
|
|
791
|
+
`uui-size-${mods.size || settings.sizes.defaults.textInput}`,
|
|
583
792
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$3)],
|
|
584
793
|
];
|
|
585
794
|
}
|
|
@@ -599,7 +808,7 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
|
|
|
599
808
|
} })));
|
|
600
809
|
});
|
|
601
810
|
|
|
602
|
-
var css$1j = {"root":"
|
|
811
|
+
var css$1j = {"root":"h023l9"};
|
|
603
812
|
|
|
604
813
|
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1j.root]);
|
|
605
814
|
|
|
@@ -608,16 +817,14 @@ function MultiSwitchComponent(props, ref) {
|
|
|
608
817
|
}
|
|
609
818
|
const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
|
|
610
819
|
|
|
611
|
-
var css$1i = {"uui-typography":"
|
|
820
|
+
var css$1i = {"uui-typography":"WIcHtf","hero-header":"vBqsSd","promo-header":"_0yPjet","uui-critical":"ERJeZM","uui-info":"vBMc7u","uui-success":"h6wdpc","uui-warning":"WTY21-","uui-highlight":"YVbDXW","uui-typography-size-12":"l1yQh6","uui-typography-size-14":"LayhbI","uui-typography-size-16":"C9qpV-","root":"MjJwVd","mode-form":"W6KE3M","mode-cell":"kpoN6e","uuiTypography":"WIcHtf","heroHeader":"vBqsSd","promoHeader":"_0yPjet","uuiCritical":"ERJeZM","uuiInfo":"vBMc7u","uuiSuccess":"h6wdpc","uuiWarning":"WTY21-","uuiHighlight":"YVbDXW","uuiTypographySize12":"l1yQh6","uuiTypographySize14":"LayhbI","uuiTypographySize16":"C9qpV-","modeForm":"W6KE3M","modeCell":"kpoN6e"};
|
|
612
821
|
|
|
613
|
-
const DEFAULT_SIZE$5 = '36';
|
|
614
822
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
615
823
|
function applyNumericInputMods(mods) {
|
|
616
824
|
return [
|
|
617
825
|
textInputCss.root,
|
|
618
826
|
css$1i.root,
|
|
619
|
-
|
|
620
|
-
textInputCss['size-' + (mods.size || DEFAULT_SIZE$5)],
|
|
827
|
+
`uui-size-${mods.size || settings.sizes.defaults.numericInput}`,
|
|
621
828
|
textInputCss['mode-' + (mods.mode || DEFAULT_MODE$2)],
|
|
622
829
|
];
|
|
623
830
|
}
|
|
@@ -631,21 +838,20 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
|
|
|
631
838
|
};
|
|
632
839
|
});
|
|
633
840
|
|
|
634
|
-
var css$1h = {"uui-typography":"
|
|
841
|
+
var css$1h = {"uui-typography":"v6VOAV","hero-header":"kWu3-t","promo-header":"gduC8T","uui-critical":"rdr-Nq","uui-info":"YSiX87","uui-success":"_7bIPDY","uui-warning":"hQmX94","uui-highlight":"oPC5hp","uui-typography-size-12":"xT2BNF","uui-typography-size-14":"_044iCu","uui-typography-size-16":"W3qiOJ","root":"ZuikGS","mode-form":"DvG6CK","mode-cell":"D2gdfr","mode-inline":"pDRNrA","uuiTypography":"v6VOAV","heroHeader":"kWu3-t","promoHeader":"gduC8T","uuiCritical":"rdr-Nq","uuiInfo":"YSiX87","uuiSuccess":"_7bIPDY","uuiWarning":"hQmX94","uuiHighlight":"oPC5hp","uuiTypographySize12":"xT2BNF","uuiTypographySize14":"_044iCu","uuiTypographySize16":"W3qiOJ","modeForm":"DvG6CK","modeCell":"D2gdfr","modeInline":"pDRNrA"};
|
|
635
842
|
|
|
636
|
-
const DEFAULT_SIZE$4 = '36';
|
|
637
843
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
638
844
|
function applyTextAreaMods(mods) {
|
|
639
845
|
return [
|
|
640
846
|
css$1h.root,
|
|
641
|
-
|
|
847
|
+
'uui-textarea',
|
|
848
|
+
'uui-size-' + (mods.size || settings.sizes.defaults.textArea),
|
|
642
849
|
css$1h['mode-' + (mods.mode || DEFAULT_MODE$1)],
|
|
643
850
|
];
|
|
644
851
|
}
|
|
645
852
|
const TextArea = /* @__PURE__ */uuiCore.withMods(uuiComponents.TextArea, applyTextAreaMods, (props) => {
|
|
646
853
|
return {
|
|
647
854
|
autoSize: props.mode === EditMode.CELL ? true : props.autoSize,
|
|
648
|
-
maxLength: props.mode === EditMode.CELL ? undefined : props.maxLength,
|
|
649
855
|
};
|
|
650
856
|
});
|
|
651
857
|
|
|
@@ -733,7 +939,7 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
733
939
|
};
|
|
734
940
|
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgNotificationInfoFill);
|
|
735
941
|
|
|
736
|
-
var css$1g = {"uui-typography":"
|
|
942
|
+
var css$1g = {"uui-typography":"VfoFTP","hero-header":"i-tetx","promo-header":"-PJXux","uui-critical":"DJEVoG","uui-info":"QjTwGC","uui-success":"jrX-gO","uui-warning":"DBPmzV","uui-highlight":"l8PwcW","uui-typography-size-12":"_1ilLU1","uui-typography-size-14":"S6YgXL","uui-typography-size-16":"Y4OdSO","root":"XLkyv3","icon-wrapper":"o0mZ8P","alert-wrapper":"UhMB70","size-48":"ais6i5","size-36":"cTEr5a","action-wrapper":"VtsTi1","action-icon":"sXn1q-","action-link":"-K6YLo","close-icon":"rcOPra","main-path":"PHszuJ","content":"_0DsTHi","uuiTypography":"VfoFTP","heroHeader":"i-tetx","promoHeader":"-PJXux","uuiCritical":"DJEVoG","uuiInfo":"QjTwGC","uuiSuccess":"jrX-gO","uuiWarning":"DBPmzV","uuiHighlight":"l8PwcW","uuiTypographySize12":"_1ilLU1","uuiTypographySize14":"S6YgXL","uuiTypographySize16":"Y4OdSO","iconWrapper":"o0mZ8P","alertWrapper":"UhMB70","size48":"ais6i5","size36":"cTEr5a","actionWrapper":"VtsTi1","actionIcon":"sXn1q-","actionLink":"-K6YLo","closeIcon":"rcOPra","mainPath":"PHszuJ"};
|
|
737
943
|
|
|
738
944
|
const Alert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx__default.default('uui-alert', css$1g.root, css$1g.alertWrapper, props.color && `uui-color-${props.color}`, props.cx, (props.size === '36' ? css$1g.size36 : css$1g.size48)) }, props.rawProps),
|
|
739
945
|
React__namespace.createElement("div", { className: css$1g.mainPath },
|
|
@@ -750,7 +956,7 @@ const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => Re
|
|
|
750
956
|
|
|
751
957
|
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
752
958
|
|
|
753
|
-
var css$1f = {"root":"
|
|
959
|
+
var css$1f = {"root":"O5PvX-"};
|
|
754
960
|
|
|
755
961
|
function applyDropdownContainerMods(mods) {
|
|
756
962
|
return [
|
|
@@ -761,7 +967,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
761
967
|
}
|
|
762
968
|
const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
763
969
|
|
|
764
|
-
var css$1e = {"uui-typography":"
|
|
970
|
+
var css$1e = {"uui-typography":"dbMCz-","hero-header":"v1c1Ji","promo-header":"fgFIPq","uui-critical":"OayjL2","uui-info":"t6Vqb-","uui-success":"_1Y19ke","uui-warning":"-kj0ie","uui-highlight":"GucUd9","uui-typography-size-12":"TY-byk","uui-typography-size-14":"uxITyk","uui-typography-size-16":"tNmjv8","submenu-root-item":"Q8LdQv","icon-after":"kUHfYR","icon-check":"HfXLYB","splitter-root":"_0Ax8cE","splitter":"XAfCxP","header-root":"jtyCxk","item-root":"AEXTmF","icon":"fYf6f5","link":"pni0sc","indent":"Hn4nrr","selected-mark":"w3kZuj","uuiTypography":"dbMCz-","heroHeader":"v1c1Ji","promoHeader":"fgFIPq","uuiCritical":"OayjL2","uuiInfo":"t6Vqb-","uuiSuccess":"_1Y19ke","uuiWarning":"-kj0ie","uuiHighlight":"GucUd9","uuiTypographySize12":"TY-byk","uuiTypographySize14":"uxITyk","uuiTypographySize16":"tNmjv8","submenuRootItem":"Q8LdQv","iconAfter":"kUHfYR","iconCheck":"HfXLYB","splitterRoot":"_0Ax8cE","headerRoot":"jtyCxk","itemRoot":"AEXTmF","selectedMark":"w3kZuj"};
|
|
765
971
|
|
|
766
972
|
exports.IDropdownControlKeys = void 0;
|
|
767
973
|
(function (IDropdownControlKeys) {
|
|
@@ -866,7 +1072,8 @@ function DropdownSubMenu(props) {
|
|
|
866
1072
|
},
|
|
867
1073
|
},
|
|
868
1074
|
];
|
|
869
|
-
|
|
1075
|
+
const dir = uuiComponents.useDocumentDir();
|
|
1076
|
+
return (React__namespace.default.createElement(uuiComponents.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: dir === 'rtl' ? 'left-start' : 'right-start', modifiers: subMenuModifiers, renderBody: (dropdownProps) => React__namespace.default.createElement(DropdownMenuBody, Object.assign({ closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW }, props, dropdownProps)), renderTarget: (_a) => {
|
|
870
1077
|
var { toggleDropdownOpening } = _a, targetProps = __rest(_a, ["toggleDropdownOpening"]);
|
|
871
1078
|
return (React__namespace.default.createElement(DropdownMenuButton, Object.assign({ cx: uuiCore.cx(css$1e.submenuRootItem), icon: systemIcons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props, targetProps)));
|
|
872
1079
|
} }));
|
|
@@ -892,7 +1099,7 @@ function DropdownMenuSwitchButton(props) {
|
|
|
892
1099
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
893
1100
|
}
|
|
894
1101
|
|
|
895
|
-
var css$1d = {"uui-typography":"
|
|
1102
|
+
var css$1d = {"uui-typography":"abCLlj","hero-header":"hwxaq8","promo-header":"EJy9Kn","uui-critical":"RgrKD0","uui-info":"yIloAV","uui-success":"CqCq90","uui-warning":"Kl26jK","uui-highlight":"_2whJx7","uui-typography-size-12":"ZfJOTF","uui-typography-size-14":"IwoeOc","uui-typography-size-16":"_11U-1G","root":"dQPgYB","mode-block":"kwX1M7","mode-inline":"ViadGa","padding-0":"nCA-fQ","padding-6":"TakObJ","padding-12":"_8AKo-A","padding-18":"dBvDRE","uuiTypography":"abCLlj","heroHeader":"hwxaq8","promoHeader":"EJy9Kn","uuiCritical":"RgrKD0","uuiInfo":"yIloAV","uuiSuccess":"CqCq90","uuiWarning":"Kl26jK","uuiHighlight":"_2whJx7","uuiTypographySize12":"ZfJOTF","uuiTypographySize14":"IwoeOc","uuiTypographySize16":"_11U-1G","modeBlock":"kwX1M7","modeInline":"ViadGa","padding0":"nCA-fQ","padding6":"TakObJ","padding12":"_8AKo-A","padding18":"dBvDRE"};
|
|
896
1103
|
|
|
897
1104
|
const getMode = (mode) => {
|
|
898
1105
|
return mode || 'block';
|
|
@@ -908,7 +1115,7 @@ const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accor
|
|
|
908
1115
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons.foldingArrow,
|
|
909
1116
|
}));
|
|
910
1117
|
|
|
911
|
-
var css$1c = {"uui-typography":"
|
|
1118
|
+
var css$1c = {"uui-typography":"QSt9vg","hero-header":"M9qaGD","promo-header":"Jd7v0J","uui-critical":"TKtdjU","uui-info":"wDy-SE","uui-success":"U7rp-B","uui-warning":"M1k-jl","uui-highlight":"faOr5N","uui-typography-size-12":"_5oy-ks","uui-typography-size-14":"JUUAWw","uui-typography-size-16":"_4KXcSl","root":"xENfMD","border-top":"bHCvsv","border-bottom":"eUJzqa","top-shadow":"ywpq0i","size-24":"-bSs2t","size-30":"t3YaIx","size-36":"i39kYA","size-42":"yUWdJt","size-48":"TZKkYs","padding-6":"UPuYF-","padding-12":"AWhzAs","padding-18":"D9ho-V","padding-24":"S1zNDY","margin-24":"qOXfsz","margin-12":"k1r-qL","vPadding-12":"qLJILw","vPadding-18":"pn2C-x","vPadding-24":"O9gKDU","vPadding-36":"N0oOQs","vPadding-48":"dLJY6N","spacing-6":"G-Pg8t","spacing-12":"NKp6hg","spacing-18":"FhYC-0","uui-surface-main":"U-8VbG","uuiTypography":"QSt9vg","heroHeader":"M9qaGD","promoHeader":"Jd7v0J","uuiCritical":"TKtdjU","uuiInfo":"wDy-SE","uuiSuccess":"U7rp-B","uuiWarning":"M1k-jl","uuiHighlight":"faOr5N","uuiTypographySize12":"_5oy-ks","uuiTypographySize14":"JUUAWw","uuiTypographySize16":"_4KXcSl","borderTop":"bHCvsv","borderBottom":"eUJzqa","topShadow":"ywpq0i","size24":"-bSs2t","size30":"t3YaIx","size36":"i39kYA","size42":"yUWdJt","size48":"TZKkYs","padding6":"UPuYF-","padding12":"AWhzAs","padding18":"D9ho-V","padding24":"S1zNDY","margin24":"qOXfsz","margin12":"k1r-qL","vPadding12":"qLJILw","vPadding18":"pn2C-x","vPadding24":"O9gKDU","vPadding36":"N0oOQs","vPadding48":"dLJY6N","spacing6":"G-Pg8t","spacing12":"NKp6hg","spacing18":"FhYC-0","uuiSurfaceMain":"U-8VbG"};
|
|
912
1119
|
|
|
913
1120
|
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$1c.flexCell]);
|
|
914
1121
|
|
|
@@ -932,7 +1139,7 @@ const FlexRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexRow, (props) =
|
|
|
932
1139
|
];
|
|
933
1140
|
});
|
|
934
1141
|
|
|
935
|
-
var css$1b = {"root":"
|
|
1142
|
+
var css$1b = {"root":"oaWGbp","margin-24":"_3YIhVQ","padding-12":"bv-73v","padding-24":"d5a-vk","shadow":"FaIDq-","uui-surface-main":"UDKHb5","margin24":"_3YIhVQ","padding12":"bv-73v","padding24":"d5a-vk","uuiSurfaceMain":"UDKHb5"};
|
|
936
1143
|
|
|
937
1144
|
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
938
1145
|
'uui-panel',
|
|
@@ -942,7 +1149,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
|
942
1149
|
props.background && css$1b[`uui-${props.background}`],
|
|
943
1150
|
]);
|
|
944
1151
|
|
|
945
|
-
var css$1a = {"root":"
|
|
1152
|
+
var css$1a = {"root":"-mb7aG"};
|
|
946
1153
|
|
|
947
1154
|
function applyTooltipMods(mods) {
|
|
948
1155
|
return [
|
|
@@ -952,18 +1159,21 @@ function applyTooltipMods(mods) {
|
|
|
952
1159
|
}
|
|
953
1160
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
954
1161
|
|
|
955
|
-
var css$19 = {"uui-typography":"
|
|
1162
|
+
var css$19 = {"uui-typography":"W2R8os","hero-header":"_0Bg5G1","promo-header":"_6br4Cl","uui-critical":"b3ikKS","uui-info":"cSgcn4","uui-success":"K36pxN","uui-warning":"syK6kh","uui-highlight":"U3bOQi","uui-typography-size-12":"GJAwrA","uui-typography-size-14":"HupQFw","uui-typography-size-16":"EUsRWN","root":"_9zjBqr","uuiTypography":"W2R8os","heroHeader":"_0Bg5G1","promoHeader":"_6br4Cl","uuiCritical":"b3ikKS","uuiInfo":"cSgcn4","uuiSuccess":"K36pxN","uuiWarning":"syK6kh","uuiHighlight":"U3bOQi","uuiTypographySize12":"GJAwrA","uuiTypographySize14":"HupQFw","uuiTypographySize16":"EUsRWN"};
|
|
956
1163
|
|
|
957
|
-
const DEFAULT_SIZE$3 = '36';
|
|
958
1164
|
function applyLabeledInputMods(mods) {
|
|
959
|
-
return [
|
|
1165
|
+
return [
|
|
1166
|
+
'uui-labeled-input',
|
|
1167
|
+
css$19.root,
|
|
1168
|
+
'uui-size-' + (mods.size || settings.sizes.defaults.labeledInput),
|
|
1169
|
+
];
|
|
960
1170
|
}
|
|
961
1171
|
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
962
1172
|
Tooltip: props.Tooltip || Tooltip,
|
|
963
|
-
infoIcon: props.infoIcon || (
|
|
1173
|
+
infoIcon: props.infoIcon || (settings.sizes.labeledInput.fillIcon.includes(props.size) ? ForwardRef$w : ForwardRef$L),
|
|
964
1174
|
}));
|
|
965
1175
|
|
|
966
|
-
var css$18 = {"root":"
|
|
1176
|
+
var css$18 = {"root":"sLMUIO"};
|
|
967
1177
|
|
|
968
1178
|
function RadioGroup(props) {
|
|
969
1179
|
const direction = props.direction || 'vertical';
|
|
@@ -978,7 +1188,7 @@ function RadioGroup(props) {
|
|
|
978
1188
|
})));
|
|
979
1189
|
}
|
|
980
1190
|
|
|
981
|
-
var css$17 = {"root":"
|
|
1191
|
+
var css$17 = {"root":"UHoGxD"};
|
|
982
1192
|
|
|
983
1193
|
function applyScrollBarsMods() {
|
|
984
1194
|
return [
|
|
@@ -987,60 +1197,42 @@ function applyScrollBarsMods() {
|
|
|
987
1197
|
}
|
|
988
1198
|
const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
989
1199
|
|
|
990
|
-
var css$16 = {"scroll-container":"
|
|
1200
|
+
var css$16 = {"scroll-container":"jvabmI","list-container":"FkRcKD","scrollContainer":"jvabmI","listContainer":"FkRcKD"};
|
|
991
1201
|
|
|
992
|
-
var css$15 = {"root":"
|
|
1202
|
+
var css$15 = {"root":"HX2JbG"};
|
|
993
1203
|
|
|
994
1204
|
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$15.root]);
|
|
995
1205
|
|
|
996
|
-
var css$14 = {"uui-typography":"
|
|
1206
|
+
var css$14 = {"uui-typography":"Be4LbF","hero-header":"kvi1PD","promo-header":"TvyWBo","uui-critical":"Xwt6A1","uui-info":"CSDRjI","uui-success":"lNouK-","uui-warning":"kl86oz","uui-highlight":"yuhvbc","uui-typography-size-12":"_5fI9rw","uui-typography-size-14":"vRUu6J","uui-typography-size-16":"rCGl-N","root":"h-Y7xa","uuiTypography":"Be4LbF","heroHeader":"kvi1PD","promoHeader":"TvyWBo","uuiCritical":"Xwt6A1","uuiInfo":"CSDRjI","uuiSuccess":"lNouK-","uuiWarning":"kl86oz","uuiHighlight":"yuhvbc","uuiTypographySize12":"_5fI9rw","uuiTypographySize14":"vRUu6J","uuiTypographySize16":"rCGl-N"};
|
|
997
1207
|
|
|
998
|
-
const DEFAULT_SIZE$2 = '36';
|
|
999
1208
|
const DEFAULT_FILL = 'solid';
|
|
1000
1209
|
function applyBadgeMods(mods) {
|
|
1001
1210
|
return [
|
|
1002
1211
|
'uui-badge',
|
|
1003
1212
|
css$14.root,
|
|
1004
|
-
|
|
1213
|
+
`uui-size-${mods.size || settings.sizes.defaults.badge}`,
|
|
1005
1214
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
1006
1215
|
`uui-color-${mods.color || 'info'}`,
|
|
1007
1216
|
mods.indicator && mods.fill === 'outline' && 'uui-indicator',
|
|
1008
1217
|
];
|
|
1009
1218
|
}
|
|
1010
|
-
const mapCountIndicatorSizes$1 = {
|
|
1011
|
-
18: '12',
|
|
1012
|
-
24: '18',
|
|
1013
|
-
30: '18',
|
|
1014
|
-
36: '18',
|
|
1015
|
-
42: '24',
|
|
1016
|
-
48: '24',
|
|
1017
|
-
};
|
|
1018
1219
|
const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1019
1220
|
const styles = [applyBadgeMods(props), props.cx];
|
|
1020
1221
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
1021
1222
|
return (React__namespace.default.createElement(uuiComponents.Clickable, Object.assign({}, props, { rawProps: Object.assign({ 'aria-haspopup': props.isDropdown, 'aria-expanded': props.isOpen }, props.rawProps), cx: styles, ref: ref }),
|
|
1022
1223
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1023
1224
|
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
1024
|
-
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size:
|
|
1225
|
+
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size: settings.sizes.badge.countIndicator[props.size || settings.sizes.defaults.badge], caption: props.count })),
|
|
1025
1226
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1026
1227
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1027
1228
|
});
|
|
1028
1229
|
|
|
1029
|
-
var css$13 = {"uui-typography":"
|
|
1230
|
+
var css$13 = {"uui-typography":"RIt1Ou","hero-header":"vxVOsl","promo-header":"_1yb12y","uui-critical":"_8xbl9N","uui-info":"LCj0SF","uui-success":"CoKfob","uui-warning":"aUzCKk","uui-highlight":"IeF390","uui-typography-size-12":"a5TqgA","uui-typography-size-14":"_2yiG3v","uui-typography-size-16":"zTp1T1","root":"NlNK8d","uuiTypography":"RIt1Ou","heroHeader":"vxVOsl","promoHeader":"_1yb12y","uuiCritical":"_8xbl9N","uuiInfo":"LCj0SF","uuiSuccess":"CoKfob","uuiWarning":"aUzCKk","uuiHighlight":"IeF390","uuiTypographySize12":"a5TqgA","uuiTypographySize14":"_2yiG3v","uuiTypographySize16":"zTp1T1"};
|
|
1030
1231
|
|
|
1031
|
-
const DEFAULT_SIZE$1 = '36';
|
|
1032
|
-
const mapCountIndicatorSizes = {
|
|
1033
|
-
18: '12',
|
|
1034
|
-
24: '18',
|
|
1035
|
-
30: '18',
|
|
1036
|
-
36: '18',
|
|
1037
|
-
42: '24',
|
|
1038
|
-
48: '24',
|
|
1039
|
-
};
|
|
1040
1232
|
function applyTagMods(props) {
|
|
1041
1233
|
return [
|
|
1042
|
-
css$13['size-' + (props.size || DEFAULT_SIZE$1)],
|
|
1043
1234
|
css$13.root,
|
|
1235
|
+
`uui-size-${props.size || settings.sizes.defaults.tag}`,
|
|
1044
1236
|
`uui-color-${props.color || 'neutral'}`,
|
|
1045
1237
|
`uui-fill-${props.fill || 'solid'}`,
|
|
1046
1238
|
'uui-tag',
|
|
@@ -1053,20 +1245,20 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
|
1053
1245
|
return (React__namespace.default.createElement(uuiComponents.Clickable, Object.assign({}, props, { rawProps: Object.assign({ 'aria-haspopup': props.isDropdown, 'aria-expanded': props.isOpen }, props.rawProps), cx: styles, ref: ref }),
|
|
1054
1246
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1055
1247
|
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
1056
|
-
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size:
|
|
1248
|
+
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { color: (!props.color || props.color === 'neutral') ? 'white' : props.color, size: settings.sizes.tag.countIndicator[(props.size || settings.sizes.defaults.tag)], caption: props.count })),
|
|
1057
1249
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1058
1250
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen })),
|
|
1059
1251
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1060
1252
|
});
|
|
1061
1253
|
|
|
1062
|
-
var css$12 = {"root":"
|
|
1254
|
+
var css$12 = {"root":"Q-5tu4","uui-spinner":"e8TPU8","uuiSpinner":"e8TPU8"};
|
|
1063
1255
|
|
|
1064
1256
|
function applySpinnerMods() {
|
|
1065
1257
|
return [css$12.root, 'uui-spinner'];
|
|
1066
1258
|
}
|
|
1067
1259
|
const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
1068
1260
|
|
|
1069
|
-
var css$11 = {"root":"
|
|
1261
|
+
var css$11 = {"root":"eRhWqv","spacer":"-pYmM7","mode-ghost":"-gaql9","size-24":"_4jqALg","size-30":"g652-8","navigation-size-24":"ypIWcv","navigation-size-30":"PvbsDd","modeGhost":"-gaql9","size24":"_4jqALg","size30":"g652-8","navigationSize24":"ypIWcv","navigationSize30":"PvbsDd"};
|
|
1070
1262
|
|
|
1071
1263
|
var _path$v;
|
|
1072
1264
|
function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
|
|
@@ -1117,14 +1309,14 @@ function Paginator(props) {
|
|
|
1117
1309
|
return React__namespace.default.createElement(uuiComponents.Paginator, Object.assign({}, props, { render: renderPaginator }));
|
|
1118
1310
|
}
|
|
1119
1311
|
|
|
1120
|
-
var css$10 = {"root":"
|
|
1312
|
+
var css$10 = {"root":"PWFeIt","progress-bar":"_88B2Jb","progressBar-indeterminate":"_7RM-8C","size-12":"_6TmTcl","size-18":"uQ-feK","size-24":"-wBxeM","progressBar":"_88B2Jb","progressBarIndeterminate":"_7RM-8C","size12":"_6TmTcl","size18":"uQ-feK","size24":"-wBxeM"};
|
|
1121
1313
|
|
|
1122
1314
|
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1123
1315
|
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$10.root, css$10[`size-${props.size || 12}`]) },
|
|
1124
1316
|
React__namespace.createElement("div", { className: cx__default.default(css$10.progressBar) })));
|
|
1125
1317
|
});
|
|
1126
1318
|
|
|
1127
|
-
var css$$ = {"root":"
|
|
1319
|
+
var css$$ = {"root":"_98UyNW","striped":"IZ3IMn","animate-stripes":"_1g95Ag","size-12":"gmrSh1","size-18":"att51j","size-24":"_71eZ3k","animateStripes":"_1g95Ag","size12":"gmrSh1","size18":"att51j","size24":"_71eZ3k"};
|
|
1128
1320
|
|
|
1129
1321
|
const DEFAULT_SIZE = '12';
|
|
1130
1322
|
function applyProgressBarMods(mods) {
|
|
@@ -1139,76 +1331,51 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
|
|
|
1139
1331
|
hideLabel: props.hideLabel || props.striped,
|
|
1140
1332
|
}));
|
|
1141
1333
|
|
|
1142
|
-
var css$_ = {"root":"
|
|
1334
|
+
var css$_ = {"root":"KazOg0"};
|
|
1143
1335
|
|
|
1144
1336
|
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1145
1337
|
const { progress } = props;
|
|
1146
1338
|
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$_.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$_.root, props.cx) }));
|
|
1147
1339
|
});
|
|
1148
1340
|
|
|
1149
|
-
var css$Z = {"root":"
|
|
1341
|
+
var css$Z = {"root":"lqmCF-"};
|
|
1150
1342
|
|
|
1151
1343
|
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1152
1344
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
1153
1345
|
css$Z.root,
|
|
1154
|
-
|
|
1346
|
+
`uui-size-${props.size || settings.sizes.defaults.statusIndicator}`,
|
|
1155
1347
|
'uui-status_indicator',
|
|
1156
1348
|
`uui-color-${props.color || 'neutral'}`,
|
|
1157
1349
|
`uui-fill-${props.fill || 'solid'}`,
|
|
1158
1350
|
props.cx,
|
|
1159
1351
|
]) },
|
|
1160
|
-
React__namespace.default.createElement("div", { className: "uui-
|
|
1161
|
-
React__namespace.default.createElement("p", { className: "uui-
|
|
1352
|
+
React__namespace.default.createElement("div", { className: "uui-status_indicator-dot" }),
|
|
1353
|
+
React__namespace.default.createElement("p", { className: "uui-status_indicator-caption" }, props.caption)));
|
|
1162
1354
|
});
|
|
1163
1355
|
|
|
1164
|
-
var css$Y = {"drag-handle":"
|
|
1356
|
+
var css$Y = {"drag-handle":"xkJyH4","icon-container":"ZPCFJH","dragHandle":"xkJyH4","iconContainer":"ZPCFJH"};
|
|
1165
1357
|
|
|
1166
1358
|
function DataRowAddons(props) {
|
|
1167
1359
|
var _a, _b;
|
|
1168
1360
|
const row = props.rowProps;
|
|
1169
|
-
const additionalItemSize = +props.size < 30 ? '12' : '18';
|
|
1170
1361
|
const getIndent = () => {
|
|
1171
|
-
|
|
1172
|
-
case '24':
|
|
1173
|
-
return (row.indent - 1) * 6;
|
|
1174
|
-
case '30':
|
|
1175
|
-
case '36':
|
|
1176
|
-
return (row.indent - 1) * 12;
|
|
1177
|
-
case '42':
|
|
1178
|
-
case '48':
|
|
1179
|
-
case '60':
|
|
1180
|
-
return (row.indent - 1) * 24;
|
|
1181
|
-
default:
|
|
1182
|
-
return (row.indent - 1) * 24;
|
|
1183
|
-
}
|
|
1362
|
+
return (row.indent - 1) * settings.sizes.rowAddons.indentUnit[props.size || 'default'];
|
|
1184
1363
|
};
|
|
1185
1364
|
const getWidth = () => {
|
|
1186
|
-
|
|
1187
|
-
case '24':
|
|
1188
|
-
return '12px';
|
|
1189
|
-
case '30':
|
|
1190
|
-
case '36':
|
|
1191
|
-
return '18px';
|
|
1192
|
-
case '42':
|
|
1193
|
-
case '48':
|
|
1194
|
-
case '60':
|
|
1195
|
-
return '24px';
|
|
1196
|
-
default:
|
|
1197
|
-
return '12px';
|
|
1198
|
-
}
|
|
1365
|
+
return settings.sizes.rowAddons.indentWidth[props.size || 'default'];
|
|
1199
1366
|
};
|
|
1200
1367
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1201
1368
|
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__namespace.default.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$Y.dragHandle }),
|
|
1202
|
-
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__namespace.default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size:
|
|
1203
|
-
row.indent > 0 && (React__namespace.default.createElement("div", { key: "fold", className:
|
|
1369
|
+
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__namespace.default.createElement(Checkbox, { key: "cb", cx: "uui-dr_addons-checkbox", tabIndex: props.tabIndex, size: settings.sizes.rowAddons.checkbox[props.size], value: row.isChecked, indeterminate: !row.isChecked && row.isChildrenChecked, onValueChange: () => { var _a; return (_a = row.onCheck) === null || _a === void 0 ? void 0 : _a.call(row, row); }, isDisabled: row.checkbox.isDisabled, isInvalid: row.checkbox.isInvalid })),
|
|
1370
|
+
row.indent > 0 && (React__namespace.default.createElement("div", { key: "fold", className: cx__default.default('uui-dr_addons-indent', `uui-size-${props.size}`), style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__namespace.default.createElement(uuiComponents.IconContainer, { rawProps: {
|
|
1204
1371
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1205
1372
|
role: 'button',
|
|
1206
1373
|
}, key: "icon", icon: ForwardRef$P, cx: [
|
|
1207
1374
|
uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$Y.iconContainer,
|
|
1208
|
-
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1375
|
+
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row), size: settings.sizes.rowAddons.icon[props.size] }))))));
|
|
1209
1376
|
}
|
|
1210
1377
|
|
|
1211
|
-
var css$X = {"root":"
|
|
1378
|
+
var css$X = {"root":"qGrcIa"};
|
|
1212
1379
|
|
|
1213
1380
|
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$X.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__namespace.default.createElement(Spinner, null)) }));
|
|
1214
1381
|
|
|
@@ -1249,7 +1416,7 @@ const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
1249
1416
|
React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1250
1417
|
});
|
|
1251
1418
|
|
|
1252
|
-
var css$W = {"root":"
|
|
1419
|
+
var css$W = {"root":"mhIIsQ"};
|
|
1253
1420
|
|
|
1254
1421
|
function CheckboxGroup(props) {
|
|
1255
1422
|
const currentValue = props.value || [];
|
|
@@ -1411,7 +1578,7 @@ const TREE_SHAKEABLE_INIT = () => (Object.assign(Object.assign({}, uuiCore.i18n)
|
|
|
1411
1578
|
} }));
|
|
1412
1579
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
1413
1580
|
|
|
1414
|
-
var css$V = {"uui-typography":"
|
|
1581
|
+
var css$V = {"uui-typography":"i3xHmX","hero-header":"dRJFfY","promo-header":"tbGsNh","uui-critical":"J-N1Z2","uui-info":"_2k9F5t","uui-success":"_9dakSV","uui-warning":"Kioboq","uui-highlight":"to1TWs","uui-typography-size-12":"Dh9X0R","uui-typography-size-14":"yIRXbO","uui-typography-size-16":"_7WHW7z","modal":"_2okuuV","search-wrapper":"eyJGVM","checkbox":"JGUDp4","no-found-size-24":"H55sdI","no-found-size-30":"LJACaY","no-found-size-36":"cvPKvs","no-found-size-42":"_1X-dlT","uuiTypography":"i3xHmX","heroHeader":"dRJFfY","promoHeader":"tbGsNh","uuiCritical":"J-N1Z2","uuiInfo":"_2k9F5t","uuiSuccess":"_9dakSV","uuiWarning":"Kioboq","uuiHighlight":"to1TWs","uuiTypographySize12":"Dh9X0R","uuiTypographySize14":"yIRXbO","uuiTypographySize16":"_7WHW7z","searchWrapper":"eyJGVM","noFoundSize24":"H55sdI","noFoundSize30":"LJACaY","noFoundSize36":"cvPKvs","noFoundSize42":"_1X-dlT"};
|
|
1415
1582
|
|
|
1416
1583
|
class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
1417
1584
|
constructor() {
|
|
@@ -1423,29 +1590,23 @@ class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
|
1423
1590
|
if (this.props.renderNotFound) {
|
|
1424
1591
|
return this.props.renderNotFound();
|
|
1425
1592
|
}
|
|
1426
|
-
|
|
1427
|
-
|
|
1593
|
+
// TODO: need fix sizes, how to use variables
|
|
1594
|
+
return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$V[`no-found-size-${this.props.searchSize || settings.sizes.dataPickerBody.flexCell.default}`], grow: 1, textAlign: "center" },
|
|
1595
|
+
React__namespace.default.createElement(Text, { size: this.props.searchSize }, i18n.dataPickerBody.noRecordsMessage)));
|
|
1428
1596
|
}
|
|
1429
1597
|
render() {
|
|
1430
|
-
const searchSize = uuiCore.isMobile() ? '
|
|
1598
|
+
const searchSize = (uuiCore.isMobile() ? settings.sizes.dataPickerBody.searchInput['mobile'] : this.props.searchSize);
|
|
1431
1599
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1432
1600
|
this.showSearch() && (React__namespace.default.createElement("div", { key: "search", className: css$V.searchWrapper },
|
|
1433
1601
|
React__namespace.default.createElement(uuiComponents.FlexCell, { grow: 1 },
|
|
1434
|
-
React__namespace.default.createElement(SearchInput, Object.assign({ ref: this.searchRef, placeholder: i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize, debounceDelay: this.props.searchDebounceDelay }))))),
|
|
1435
|
-
React__namespace.default.createElement(FlexRow, { key: "body", cx: uuiCore.cx('uui-
|
|
1602
|
+
React__namespace.default.createElement(SearchInput, Object.assign({ ref: this.searchRef, placeholder: i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize, debounceDelay: this.props.searchDebounceDelay, rawProps: { dir: 'auto' } }))))),
|
|
1603
|
+
React__namespace.default.createElement(FlexRow, { key: "body", cx: uuiCore.cx('uui-picker_input-body', css$V[this.props.editMode], css$V[this.props.selectionMode]), rawProps: { style: { maxHeight: this.props.maxHeight, maxWidth: this.props.maxWidth } } }, this.props.rowsCount > 0 ? (React__namespace.default.createElement(VirtualList, Object.assign({}, this.lens.toProps(), { rows: this.props.rows, rawProps: this.props.rawProps, rowsCount: this.props.rowsCount, isLoading: this.props.isReloading }))) : (this.renderNotFound()))));
|
|
1436
1604
|
}
|
|
1437
1605
|
}
|
|
1438
1606
|
|
|
1439
|
-
const switchSizes = {
|
|
1440
|
-
24: '12',
|
|
1441
|
-
36: '18',
|
|
1442
|
-
42: '24',
|
|
1443
|
-
48: '24',
|
|
1444
|
-
};
|
|
1445
1607
|
function DataPickerFooterImpl(props) {
|
|
1446
1608
|
const { clearSelection, view, showSelected, selectionMode, } = props;
|
|
1447
|
-
const size = uuiCore.isMobile() ? '
|
|
1448
|
-
const switchSize = switchSizes[size];
|
|
1609
|
+
const size = settings.sizes.dataPickerFooter.linkButton[uuiCore.isMobile() ? 'mobile' : props.size];
|
|
1449
1610
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
1450
1611
|
const rowsCount = view.getListProps().rowsCount;
|
|
1451
1612
|
const isEmptyRowsAndHasNoSelection = (rowsCount === 0 && !hasSelection);
|
|
@@ -1455,8 +1616,8 @@ function DataPickerFooterImpl(props) {
|
|
|
1455
1616
|
const selectAllText = i18n.pickerInput.selectAllButton;
|
|
1456
1617
|
// show always for multi picker and for single only in case if search not disabled.
|
|
1457
1618
|
const shouldShowFooter = isSinglePicker ? !props.disableClear : true;
|
|
1458
|
-
return shouldShowFooter && (React__namespace.default.createElement(FlexRow, { padding:
|
|
1459
|
-
!isSinglePicker && (React__namespace.default.createElement(Switch, { size:
|
|
1619
|
+
return shouldShowFooter && (React__namespace.default.createElement(FlexRow, { padding: settings.sizes.dataPickerFooter.flexRowPadding },
|
|
1620
|
+
!isSinglePicker && (React__namespace.default.createElement(Switch, { size: settings.sizes.dataPickerFooter.switch[props.size], value: showSelected.value, isDisabled: !hasSelection, onValueChange: showSelected.onValueChange, label: i18n.pickerInput.showOnlySelectedLabel })),
|
|
1460
1621
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1461
1622
|
React__namespace.default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
1462
1623
|
view.selectAll && (React__namespace.default.createElement(LinkButton, { size: size, caption: hasSelection ? clearAllText : selectAllText, onClick: hasSelection ? clearSelection : () => view.selectAll.onValueChange(true), rawProps: {
|
|
@@ -1468,12 +1629,12 @@ function DataPickerFooterImpl(props) {
|
|
|
1468
1629
|
}
|
|
1469
1630
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
1470
1631
|
|
|
1471
|
-
var css$U = {"header":"
|
|
1632
|
+
var css$U = {"header":"cn9Dkg","close":"mOSiUL"};
|
|
1472
1633
|
|
|
1473
1634
|
const DataPickerHeaderImpl = (props) => {
|
|
1474
1635
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
1475
1636
|
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$U.header },
|
|
1476
|
-
React__namespace.default.createElement(Text, { size:
|
|
1637
|
+
React__namespace.default.createElement(Text, { size: settings.sizes.dataPickerHeader.text.size, fontWeight: settings.sizes.dataPickerHeader.text.fontWeight }, title),
|
|
1477
1638
|
React__namespace.default.createElement(IconButton, { icon: ForwardRef$Q, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$U.close })));
|
|
1478
1639
|
};
|
|
1479
1640
|
const DataPickerHeader = /* @__PURE__ */React__namespace.default.memo(DataPickerHeaderImpl);
|
|
@@ -1493,7 +1654,7 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
1493
1654
|
};
|
|
1494
1655
|
var ForwardRef$t = /*#__PURE__*/React.forwardRef(SvgNotificationDoneFill);
|
|
1495
1656
|
|
|
1496
|
-
var css$T = {"uui-typography":"
|
|
1657
|
+
var css$T = {"uui-typography":"aastYs","hero-header":"J3MJSH","promo-header":"U6gp6k","uui-critical":"WCgdfG","uui-info":"E7FzEu","uui-success":"zPqK2x","uui-warning":"volmX9","uui-highlight":"YeONYa","uui-typography-size-12":"DMgYDT","uui-typography-size-14":"KFyche","uui-typography-size-16":"s0pcsr","root":"t3vNeY","align-widgets-top":"oe8-Mh","align-widgets-center":"yIGbhj","padding-12":"K3wW-t","padding-24":"k0dASH","padding-left-12":"J6pHmU","padding-left-24":"Fd3-HK","icon-container":"W-you5","loading-cell":"nQ90wV","content-wrapper":"CLQT3c","render-item":"FqgjTc","icon-wrapper":"YCSGeN","icon-default":"_7hWYCw","selected-mark":"GHuOX0","uuiTypography":"aastYs","heroHeader":"J3MJSH","promoHeader":"U6gp6k","uuiCritical":"WCgdfG","uuiInfo":"E7FzEu","uuiSuccess":"zPqK2x","uuiWarning":"volmX9","uuiHighlight":"YeONYa","uuiTypographySize12":"DMgYDT","uuiTypographySize14":"KFyche","uuiTypographySize16":"s0pcsr","alignWidgetsTop":"oe8-Mh","alignWidgetsCenter":"yIGbhj","padding12":"K3wW-t","padding24":"k0dASH","paddingLeft12":"J6pHmU","paddingLeft24":"Fd3-HK","iconContainer":"W-you5","loadingCell":"nQ90wV","contentWrapper":"CLQT3c","renderItem":"FqgjTc","iconWrapper":"YCSGeN","iconDefault":"_7hWYCw","selectedMark":"GHuOX0"};
|
|
1497
1658
|
|
|
1498
1659
|
function DataPickerCell(props) {
|
|
1499
1660
|
const ref = React__namespace.useRef();
|
|
@@ -1501,18 +1662,18 @@ function DataPickerCell(props) {
|
|
|
1501
1662
|
if (props.rowProps.isLoading) {
|
|
1502
1663
|
content = (
|
|
1503
1664
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
1504
|
-
React__namespace.createElement(Text, { key: "t", size:
|
|
1665
|
+
React__namespace.createElement(Text, { key: "t", size: settings.sizes.dataPickerCell.text[props.size], cx: css$T.loadingCell },
|
|
1505
1666
|
React__namespace.createElement(TextPlaceholder, null)));
|
|
1506
1667
|
}
|
|
1507
1668
|
else if (props.rowProps.isUnknown) {
|
|
1508
|
-
content = (React__namespace.createElement(Text, { key: "t", size:
|
|
1669
|
+
content = (React__namespace.createElement(Text, { key: "t", size: settings.sizes.dataPickerCell.text[props.size] }, "Unknown"));
|
|
1509
1670
|
}
|
|
1510
1671
|
else {
|
|
1511
1672
|
content = (React__namespace.createElement("div", { key: `${props.rowProps.id}`, className: css$T.renderItem },
|
|
1512
1673
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
1513
1674
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
1514
1675
|
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React__namespace.createElement("div", { className: uuiCore.cx(css$T.iconWrapper, uuiCore.uuiMod.selected) },
|
|
1515
|
-
React__namespace.createElement(uuiComponents.IconContainer, {
|
|
1676
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: settings.sizes.dataPickerCell.icon[props.size], icon: settings.sizes.dataPickerCell.isBoldIcon[props.size] ? ForwardRef$t : ForwardRef$O, cx: props.rowProps.isChildrenSelected ? css$T.iconDefault : css$T.selectedMark, rawProps: { 'aria-label': props.rowProps.isChildrenSelected
|
|
1516
1677
|
? 'Child is selected'
|
|
1517
1678
|
: 'Selected' } })))));
|
|
1518
1679
|
}
|
|
@@ -1521,22 +1682,22 @@ function DataPickerCell(props) {
|
|
|
1521
1682
|
css$T.root,
|
|
1522
1683
|
props.cx,
|
|
1523
1684
|
'data-picker-cell',
|
|
1524
|
-
|
|
1525
|
-
css$T[`padding-${props.padding ||
|
|
1526
|
-
css$T[`padding-left-${props.padding ||
|
|
1685
|
+
'uui-size-' + (props.size || settings.sizes.defaults.dataPickerCell),
|
|
1686
|
+
css$T[`padding-${props.padding || settings.sizes.dataPickerCell.padding.default}`],
|
|
1687
|
+
css$T[`padding-left-${props.padding || settings.sizes.dataPickerCell.paddingLeft.default}`],
|
|
1527
1688
|
css$T[`align-widgets-${props.alignActions || 'top'}`],
|
|
1528
1689
|
] },
|
|
1529
|
-
React__namespace.createElement(DataRowAddons, Object.assign({}, props)),
|
|
1690
|
+
React__namespace.createElement(DataRowAddons, Object.assign({ size: props.size || settings.sizes.defaults.dataPickerCell }, props)),
|
|
1530
1691
|
getWrappedContent()));
|
|
1531
1692
|
}
|
|
1532
1693
|
|
|
1533
|
-
var css$S = {"uui-typography":"
|
|
1694
|
+
var css$S = {"uui-typography":"MzhO-L","hero-header":"OkOy3j","promo-header":"IYKpP1","uui-critical":"zkUPjG","uui-info":"cj3n7j","uui-success":"X-x9R3","uui-warning":"maler3","uui-highlight":"FVDBeP","uui-typography-size-12":"NfmE6h","uui-typography-size-14":"Je5Hoc","uui-typography-size-16":"QGfR-F","picker-row":"_8rLt-3","uuiTypography":"MzhO-L","heroHeader":"OkOy3j","promoHeader":"IYKpP1","uuiCritical":"zkUPjG","uuiInfo":"cj3n7j","uuiSuccess":"X-x9R3","uuiWarning":"maler3","uuiHighlight":"FVDBeP","uuiTypographySize12":"NfmE6h","uuiTypographySize14":"Je5Hoc","uuiTypographySize16":"QGfR-F","pickerRow":"_8rLt-3"};
|
|
1534
1695
|
|
|
1535
1696
|
class DataPickerRow extends React__namespace.Component {
|
|
1536
1697
|
constructor() {
|
|
1537
1698
|
super(...arguments);
|
|
1538
1699
|
this.renderContent = () => {
|
|
1539
|
-
return (React__namespace.createElement(DataPickerCell, { key: "name", size: this.props.size ||
|
|
1700
|
+
return (React__namespace.createElement(DataPickerCell, { key: "name", size: this.props.size || settings.sizes.dataPickerRow.dataPickerCell.default, padding: this.props.padding || settings.sizes.dataPickerRow.padding.default, rowProps: this.props, alignActions: this.props.alignActions || 'top', renderItem: this.props.renderItem }));
|
|
1540
1701
|
};
|
|
1541
1702
|
}
|
|
1542
1703
|
render() {
|
|
@@ -1544,7 +1705,7 @@ class DataPickerRow extends React__namespace.Component {
|
|
|
1544
1705
|
}
|
|
1545
1706
|
}
|
|
1546
1707
|
|
|
1547
|
-
var css$R = {"uui-typography":"
|
|
1708
|
+
var css$R = {"uui-typography":"jXYnbk","hero-header":"aZzDO3","promo-header":"tbnPtl","uui-critical":"kq1Lr9","uui-info":"EFfc8C","uui-success":"S4zvix","uui-warning":"eGkXim","uui-highlight":"_-62WwO","uui-typography-size-12":"P3-Q9a","uui-typography-size-14":"daaR0v","uui-typography-size-16":"iH3C-R","done":"_-6D6H0","container":"FXcRQU","uuiTypography":"jXYnbk","heroHeader":"aZzDO3","promoHeader":"tbnPtl","uuiCritical":"kq1Lr9","uuiInfo":"EFfc8C","uuiSuccess":"S4zvix","uuiWarning":"eGkXim","uuiHighlight":"_-62WwO","uuiTypographySize12":"P3-Q9a","uuiTypographySize14":"daaR0v","uuiTypographySize16":"iH3C-R"};
|
|
1548
1709
|
|
|
1549
1710
|
const MobileDropdownWrapper = (props) => {
|
|
1550
1711
|
const isMobileView = uuiCore.isMobile();
|
|
@@ -1553,7 +1714,7 @@ const MobileDropdownWrapper = (props) => {
|
|
|
1553
1714
|
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { maxWidth: maxWidth, maxHeight: maxHeight, cx: [css$R.container, props.cx] }),
|
|
1554
1715
|
isMobileView && React__namespace.default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
1555
1716
|
props.children,
|
|
1556
|
-
isMobileView && React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => { var _a; return (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$R.done, size:
|
|
1717
|
+
isMobileView && React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => { var _a; return (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$R.done, size: settings.sizes.mobileDropdownWrapper.linkButton })));
|
|
1557
1718
|
};
|
|
1558
1719
|
|
|
1559
1720
|
var _path$s, _path2$4;
|
|
@@ -1578,9 +1739,7 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
1578
1739
|
};
|
|
1579
1740
|
var ForwardRef$s = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
1580
1741
|
|
|
1581
|
-
var css$Q = {"uui-typography":"
|
|
1582
|
-
|
|
1583
|
-
var css$P = {"root":"TC66y3","multiline":"kZoRp1","vertical-padding-24":"-B6FX9","vertical-padding-30":"ErfYor","vertical-padding-36":"Ia-BnH","vertical-padding-42":"UFucnT","vertical-padding-48":"f0fi33","text":"yfLZxM","verticalPadding24":"-B6FX9","verticalPadding30":"ErfYor","verticalPadding36":"Ia-BnH","verticalPadding42":"UFucnT","verticalPadding48":"f0fi33"};
|
|
1742
|
+
var css$Q = {"uui-typography":"_0-imMu","hero-header":"_1uegdy","promo-header":"FhoIW-","uui-critical":"vHcW6R","uui-info":"u7yM2G","uui-success":"qmo2w9","uui-warning":"_8elNQw","uui-highlight":"AEgcyU","uui-typography-size-12":"gfUnlm","uui-typography-size-14":"Fuku2z","uui-typography-size-16":"XXnTFK","sub-header-wrapper":"yFZx7d","switch":"_3kag3Q","no-found-modal-container":"Q17NjQ","no-found-modal-container-icon":"i86p-1","no-found-modal-container-text":"zM0YiF","uuiTypography":"_0-imMu","heroHeader":"_1uegdy","promoHeader":"FhoIW-","uuiCritical":"vHcW6R","uuiInfo":"u7yM2G","uuiSuccess":"qmo2w9","uuiWarning":"_8elNQw","uuiHighlight":"AEgcyU","uuiTypographySize12":"gfUnlm","uuiTypographySize14":"Fuku2z","uuiTypographySize16":"XXnTFK","subHeaderWrapper":"yFZx7d","$switch$":"_3kag3Q","noFoundModalContainer":"Q17NjQ","noFoundModalContainerIcon":"i86p-1","noFoundModalContainerText":"zM0YiF"};
|
|
1584
1743
|
|
|
1585
1744
|
const mergeHighlightRanges = (ranges) => {
|
|
1586
1745
|
const mergedRanges = [];
|
|
@@ -1647,11 +1806,12 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
1647
1806
|
return getDecoratedText(str, ranges);
|
|
1648
1807
|
};
|
|
1649
1808
|
|
|
1650
|
-
|
|
1809
|
+
var css$P = {"root":"_6plSLi","multiline":"trt2YH","vertical-padding-24":"l-TTMg","vertical-padding-30":"BtAzcu","vertical-padding-36":"oUhr-u","vertical-padding-42":"u50Mdt","vertical-padding-48":"dSAmDZ","text":"R-ernm","verticalPadding24":"l-TTMg","verticalPadding30":"BtAzcu","verticalPadding36":"oUhr-u","verticalPadding42":"u50Mdt","verticalPadding48":"dSAmDZ"};
|
|
1810
|
+
|
|
1651
1811
|
function PickerItem(props) {
|
|
1652
1812
|
var _a;
|
|
1653
1813
|
const { highlightSearchMatches = true, size, avatarUrl, isLoading, isDisabled, icon, cx, } = props;
|
|
1654
|
-
const itemSize = size ||
|
|
1814
|
+
const itemSize = size || settings.sizes.defaults.pickerItem;
|
|
1655
1815
|
const isMultiline = !!(props.title && props.subtitle);
|
|
1656
1816
|
const { search } = (_a = props.dataSourceState) !== null && _a !== void 0 ? _a : {};
|
|
1657
1817
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(props.title, search) : props.title;
|
|
@@ -1665,7 +1825,7 @@ function PickerItem(props) {
|
|
|
1665
1825
|
subtitle && (React__namespace.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$P.text }, isLoading ? React__namespace.createElement(TextPlaceholder, { wordsCount: 2 }) : subtitle))))));
|
|
1666
1826
|
}
|
|
1667
1827
|
function getAvatarSize(size, isMultiline) {
|
|
1668
|
-
return isMultiline ?
|
|
1828
|
+
return settings.sizes.pickerItem.avatar[isMultiline ? 'multiline' : 'rest'][size];
|
|
1669
1829
|
}
|
|
1670
1830
|
|
|
1671
1831
|
function PickerModal(props) {
|
|
@@ -1714,34 +1874,18 @@ function PickerModal(props) {
|
|
|
1714
1874
|
listView: view,
|
|
1715
1875
|
rows: dataRows,
|
|
1716
1876
|
searchPosition: 'body',
|
|
1717
|
-
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder }))),
|
|
1877
|
+
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder, rawProps: { dir: 'auto' } }))),
|
|
1718
1878
|
!isSingleSelect() && (React__namespace.default.createElement(Switch, Object.assign({ cx: css$Q.switch, size: "18" }, getFooterProps().showSelected, { isDisabled: view.getSelectedRowsCount() < 1, label: "Show only selected" }))),
|
|
1719
1879
|
props.renderFilter && React__namespace.default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
|
|
1720
1880
|
React__namespace.default.createElement(DataPickerBody, Object.assign({}, getListProps(), { value: getDataSourceState(), onValueChange: handleDataSourceValueChange, search: dataSourceStateLens.prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: renderNotFound, editMode: "modal" })),
|
|
1721
1881
|
React__namespace.default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
1722
1882
|
}
|
|
1723
1883
|
|
|
1724
|
-
var css$O = {"tooltip":"
|
|
1725
|
-
|
|
1726
|
-
const getPickerTogglerButtonSize = (propSize) => {
|
|
1727
|
-
switch (propSize) {
|
|
1728
|
-
case '48':
|
|
1729
|
-
return '42';
|
|
1730
|
-
case '42':
|
|
1731
|
-
return '36';
|
|
1732
|
-
case '36':
|
|
1733
|
-
return '30';
|
|
1734
|
-
case '30':
|
|
1735
|
-
return '24';
|
|
1736
|
-
case '24':
|
|
1737
|
-
return '18';
|
|
1738
|
-
default:
|
|
1739
|
-
return '30';
|
|
1740
|
-
}
|
|
1741
|
-
};
|
|
1884
|
+
var css$O = {"tooltip":"_2L4mKc"};
|
|
1885
|
+
|
|
1742
1886
|
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1743
1887
|
var _a;
|
|
1744
|
-
const tagProps = Object.assign(Object.assign({}, props), { tabIndex: -1, size:
|
|
1888
|
+
const tagProps = Object.assign(Object.assign({}, props), { tabIndex: -1, size: settings.sizes.pickerToggler.tag[props.size], caption: ((_a = props.rowProps) === null || _a === void 0 ? void 0 : _a.isLoading) ? React__namespace.createElement(TextPlaceholder, null) : props.caption });
|
|
1745
1889
|
if (props.isCollapsed) {
|
|
1746
1890
|
const collapsedRows = props.collapsedRows.map((row) => { var _a; return (_a = row.value) === null || _a === void 0 ? void 0 : _a.name; }).join(', ');
|
|
1747
1891
|
return (React__namespace.createElement(Tooltip, { key: "selected", content: collapsedRows, closeDelay: 150, closeOnMouseLeave: "boundary", cx: css$O.tooltip },
|
|
@@ -1752,20 +1896,20 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
1752
1896
|
}
|
|
1753
1897
|
});
|
|
1754
1898
|
|
|
1755
|
-
var css$N = {"uui-typography":"
|
|
1899
|
+
var css$N = {"uui-typography":"-Q61zN","hero-header":"cRxYIW","promo-header":"DUuVo3","uui-critical":"Ii0hMt","uui-info":"_26tfB1","uui-success":"Avcc7B","uui-warning":"jIqYaG","uui-highlight":"-XMVjm","uui-typography-size-12":"ieLg6D","uui-typography-size-14":"sDhxdp","uui-typography-size-16":"-LqHdJ","root":"XbgBlb","mode-form":"xHEkiu","mode-cell":"JNslCa","mode-inline":"CssQFI","uuiTypography":"-Q61zN","heroHeader":"cRxYIW","promoHeader":"DUuVo3","uuiCritical":"Ii0hMt","uuiInfo":"_26tfB1","uuiSuccess":"Avcc7B","uuiWarning":"jIqYaG","uuiHighlight":"-XMVjm","uuiTypographySize12":"ieLg6D","uuiTypographySize14":"sDhxdp","uuiTypographySize16":"-LqHdJ","modeForm":"xHEkiu","modeCell":"JNslCa","modeInline":"CssQFI"};
|
|
1756
1900
|
|
|
1757
|
-
const defaultSize$1 = '36';
|
|
1758
1901
|
const defaultMode$1 = EditMode.FORM;
|
|
1759
1902
|
function applyPickerTogglerMods(mods) {
|
|
1760
1903
|
return [
|
|
1761
1904
|
css$N.root,
|
|
1762
|
-
|
|
1905
|
+
'uui-picker_toggler',
|
|
1906
|
+
`uui-size-${mods.size || settings.sizes.defaults.pickerToggler}`,
|
|
1763
1907
|
css$N['mode-' + (mods.mode || defaultMode$1)],
|
|
1764
1908
|
];
|
|
1765
1909
|
}
|
|
1766
1910
|
function PickerTogglerComponent(props, ref) {
|
|
1767
1911
|
const renderItem = (itemProps) => {
|
|
1768
|
-
const itemPropsWithSize = Object.assign(Object.assign({}, itemProps), { size: props.size });
|
|
1912
|
+
const itemPropsWithSize = Object.assign(Object.assign({}, itemProps), { size: (props.size || settings.sizes.defaults.pickerToggler) });
|
|
1769
1913
|
if (!!props.renderItem) {
|
|
1770
1914
|
return props.renderItem(itemPropsWithSize);
|
|
1771
1915
|
}
|
|
@@ -1775,8 +1919,6 @@ function PickerTogglerComponent(props, ref) {
|
|
|
1775
1919
|
}
|
|
1776
1920
|
const PickerToggler = /* @__PURE__ */React__namespace.forwardRef(PickerTogglerComponent);
|
|
1777
1921
|
|
|
1778
|
-
const pickerHeight$1 = 300;
|
|
1779
|
-
const pickerWidth = 360;
|
|
1780
1922
|
function PickerInputComponent(_a, ref) {
|
|
1781
1923
|
var { highlightSearchMatches = true } = _a, props = __rest(_a, ["highlightSearchMatches"]);
|
|
1782
1924
|
const toggleModalOpening = () => {
|
|
@@ -1813,9 +1955,9 @@ function PickerInputComponent(_a, ref) {
|
|
|
1813
1955
|
};
|
|
1814
1956
|
const getRowSize = () => {
|
|
1815
1957
|
if (uuiCore.isMobile()) {
|
|
1816
|
-
return
|
|
1958
|
+
return settings.sizes.pickerInput.rowSize.mobile;
|
|
1817
1959
|
}
|
|
1818
|
-
return props.editMode === 'modal' ?
|
|
1960
|
+
return props.editMode === 'modal' ? settings.sizes.pickerInput.rowSize.modal : props.size;
|
|
1819
1961
|
};
|
|
1820
1962
|
const getSubtitle = ({ path }, { search }) => {
|
|
1821
1963
|
if (!search)
|
|
@@ -1830,12 +1972,12 @@ function PickerInputComponent(_a, ref) {
|
|
|
1830
1972
|
return (React__namespace.default.createElement(PickerItem, Object.assign({ title: getName(item), size: getRowSize(), dataSourceState: dsState, highlightSearchMatches: highlightSearchMatches }, (flattenSearchResults ? { subtitle: getSubtitle(rowProps, dataSourceState) } : {}), rowProps)));
|
|
1831
1973
|
};
|
|
1832
1974
|
const renderRow = (rowProps, dsState) => {
|
|
1833
|
-
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__namespace.default.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size: getRowSize(), padding: props.editMode === 'modal' ?
|
|
1975
|
+
return props.renderRow ? (props.renderRow(rowProps, dsState)) : (React__namespace.default.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size: getRowSize(), padding: (props.editMode === 'modal' ? settings.sizes.pickerInput.rowSize.padding.modal : settings.sizes.pickerInput.rowSize.padding.default), renderItem: (item, itemProps) => renderRowItem(item, itemProps, dsState) })));
|
|
1834
1976
|
};
|
|
1835
1977
|
const renderBody = (bodyProps, rows) => {
|
|
1836
1978
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
1837
|
-
const bodyHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.dropdownHeight ||
|
|
1838
|
-
const minBodyWidth = props.minBodyWidth ||
|
|
1979
|
+
const bodyHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || settings.sizes.pickerInput.height;
|
|
1980
|
+
const minBodyWidth = props.minBodyWidth || settings.sizes.pickerInput.width;
|
|
1839
1981
|
return (React__namespace.default.createElement(MobileDropdownWrapper, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx], onKeyDown: bodyProps.onKeyDown, width: bodyProps.togglerWidth > minBodyWidth ? bodyProps.togglerWidth : minBodyWidth, focusLock: getSearchPosition() === 'body' },
|
|
1840
1982
|
React__namespace.default.createElement(DataPickerBody, Object.assign({}, bodyProps, { rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode, renderNotFound: props.renderNotFound
|
|
1841
1983
|
? () => props.renderNotFound({
|
|
@@ -1854,7 +1996,7 @@ function PickerInputComponent(_a, ref) {
|
|
|
1854
1996
|
}
|
|
1855
1997
|
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
1856
1998
|
|
|
1857
|
-
var css$M = {"row":"
|
|
1999
|
+
var css$M = {"row":"PxhG4T"};
|
|
1858
2000
|
|
|
1859
2001
|
function PickerListItem(props) {
|
|
1860
2002
|
var _a;
|
|
@@ -1875,7 +2017,7 @@ function PickerListItem(props) {
|
|
|
1875
2017
|
return (React__namespace.default.createElement("div", Object.assign({ role: "option", "aria-selected": props.isSelectable ? props.isSelected : undefined, "aria-busy": props.isLoading, "aria-posinset": props.index + 1 }, (((_a = props.checkbox) === null || _a === void 0 ? void 0 : _a.isVisible) && { 'aria-checked': props.isChecked }), { className: css$M.row }), component));
|
|
1876
2018
|
}
|
|
1877
2019
|
|
|
1878
|
-
var css$L = {"root":"
|
|
2020
|
+
var css$L = {"root":"rCA8z7"};
|
|
1879
2021
|
|
|
1880
2022
|
function PickerList(props) {
|
|
1881
2023
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
@@ -1915,7 +2057,7 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
1915
2057
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
1916
2058
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
1917
2059
|
|
|
1918
|
-
var css$K = {"uui-typography":"
|
|
2060
|
+
var css$K = {"uui-typography":"_3TlYGr","hero-header":"WHJZ5B","promo-header":"_0N8W-g","uui-critical":"_3geZyG","uui-info":"Sl4uHf","uui-success":"JkGacq","uui-warning":"TGl6F4","uui-highlight":"MgCNrl","uui-typography-size-12":"FvyhcU","uui-typography-size-14":"-XJFYg","uui-typography-size-16":"BCXcXX","root":"iYFnzl","title-wrapper":"WS3ZBk","title":"gzoudC","text-wrapper":"FNLG6-","selection":"bIAQr2","postfix":"_17O2vI","selected":"LuANrS","uuiTypography":"_3TlYGr","heroHeader":"WHJZ5B","promoHeader":"_0N8W-g","uuiCritical":"_3geZyG","uuiInfo":"Sl4uHf","uuiSuccess":"JkGacq","uuiWarning":"TGl6F4","uuiHighlight":"MgCNrl","uuiTypographySize12":"FvyhcU","uuiTypographySize14":"-XJFYg","uuiTypographySize16":"BCXcXX","titleWrapper":"WS3ZBk","textWrapper":"FNLG6-"};
|
|
1919
2061
|
|
|
1920
2062
|
const defaultSize = '36';
|
|
1921
2063
|
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
@@ -1982,7 +2124,7 @@ function FilterPickerBody(_a) {
|
|
|
1982
2124
|
};
|
|
1983
2125
|
const renderItem = (item, rowProps, dsState) => {
|
|
1984
2126
|
const { flattenSearchResults } = view.getConfig();
|
|
1985
|
-
return (React__namespace.createElement(PickerItem, Object.assign({ title: getName(item), highlightSearchMatches: highlightSearchMatches }, (flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), { dataSourceState: dsState, size:
|
|
2127
|
+
return (React__namespace.createElement(PickerItem, Object.assign({ title: getName(item), highlightSearchMatches: highlightSearchMatches }, (flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), { dataSourceState: dsState, size: settings.sizes.filterPickerBody.pickerItem }, rowProps)));
|
|
1986
2128
|
};
|
|
1987
2129
|
const onSelect = (row) => {
|
|
1988
2130
|
handleDataSourceValueChange((currentDataSourceState) => (Object.assign(Object.assign({}, currentDataSourceState), { search: '', selectedId: row.id })));
|
|
@@ -1991,24 +2133,24 @@ function FilterPickerBody(_a) {
|
|
|
1991
2133
|
if (rowProps.isSelectable && isSingleSelect() && props.editMode !== 'modal') {
|
|
1992
2134
|
rowProps.onSelect = onSelect;
|
|
1993
2135
|
}
|
|
1994
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size:
|
|
2136
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size: settings.sizes.filterPickerBody.dataPickerRow, padding: "12", renderItem: (item, itemProps) => renderItem(item, itemProps, dsState) })));
|
|
1995
2137
|
};
|
|
1996
2138
|
const renderFooter = () => {
|
|
1997
|
-
return React__namespace.createElement(DataPickerFooter, Object.assign({}, getFooterProps(), { size:
|
|
2139
|
+
return React__namespace.createElement(DataPickerFooter, Object.assign({}, getFooterProps(), { size: settings.sizes.filterPickerBody.dataPickerFooter }));
|
|
1998
2140
|
};
|
|
1999
2141
|
const renderBody = (bodyProps, rows) => {
|
|
2000
2142
|
const renderedDataRows = rows.map((props) => renderRow(props, dataSourceState));
|
|
2001
2143
|
const maxHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.maxBodyHeight || pickerHeight;
|
|
2002
2144
|
const maxWidth = uuiCore.isMobile() ? undefined : 360;
|
|
2003
2145
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
2004
|
-
React__namespace.createElement(DataPickerBody, Object.assign({}, bodyProps, { selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize:
|
|
2146
|
+
React__namespace.createElement(DataPickerBody, Object.assign({}, bodyProps, { selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: settings.sizes.filterPickerBody.searchSize, editMode: "dropdown" })),
|
|
2005
2147
|
renderFooter()));
|
|
2006
2148
|
};
|
|
2007
2149
|
const rows = getRows();
|
|
2008
2150
|
return renderBody(Object.assign(Object.assign(Object.assign({}, getPickerBodyProps(rows)), getListProps()), { showSearch: (_b = props.showSearch) !== null && _b !== void 0 ? _b : true }), rows);
|
|
2009
2151
|
}
|
|
2010
2152
|
|
|
2011
|
-
var css$J = {"container":"
|
|
2153
|
+
var css$J = {"container":"ajmk49"};
|
|
2012
2154
|
|
|
2013
2155
|
const defaultFormat = 'MMM D, YYYY';
|
|
2014
2156
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2217,14 +2359,14 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2217
2359
|
React__namespace.createElement(Button, { icon: navIconRight || ForwardRef$u, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: () => onRightNavigationArrow(), isDisabled: disableNext }))));
|
|
2218
2360
|
}
|
|
2219
2361
|
|
|
2220
|
-
var css$I = {"uui-typography":"
|
|
2362
|
+
var css$I = {"uui-typography":"l-4QT3","hero-header":"bfYUSo","promo-header":"tsSmKC","uui-critical":"Attoil","uui-info":"uQXTkO","uui-success":"NR5a65","uui-warning":"_33fWpc","uui-highlight":"-Q9guB","uui-typography-size-12":"UPRsc7","uui-typography-size-14":"rFlvkk","uui-typography-size-16":"_454r6J","root":"B9Ziuc","uuiTypography":"l-4QT3","heroHeader":"bfYUSo","promoHeader":"tsSmKC","uuiCritical":"Attoil","uuiInfo":"uQXTkO","uuiSuccess":"NR5a65","uuiWarning":"_33fWpc","uuiHighlight":"-Q9guB","uuiTypographySize12":"UPRsc7","uuiTypographySize14":"rFlvkk","uuiTypographySize16":"_454r6J"};
|
|
2221
2363
|
|
|
2222
2364
|
function applyDateSelectionMods() {
|
|
2223
2365
|
return [css$I.root];
|
|
2224
2366
|
}
|
|
2225
2367
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
2226
2368
|
|
|
2227
|
-
var css$H = {"uui-typography":"
|
|
2369
|
+
var css$H = {"uui-typography":"FTnaO1","hero-header":"hXVfe0","promo-header":"e5MhkM","uui-critical":"lMZLgH","uui-info":"J1cKl1","uui-success":"mo-UX1","uui-warning":"_6l8K6Y","uui-highlight":"-rhCKF","uui-typography-size-12":"S3CQEQ","uui-typography-size-14":"_3Red7A","uui-typography-size-16":"_0bRJn9","root":"KHoIwI","uuiTypography":"FTnaO1","heroHeader":"hXVfe0","promoHeader":"e5MhkM","uuiCritical":"lMZLgH","uuiInfo":"J1cKl1","uuiSuccess":"mo-UX1","uuiWarning":"_6l8K6Y","uuiHighlight":"-rhCKF","uuiTypographySize12":"S3CQEQ","uuiTypographySize14":"_3Red7A","uuiTypographySize16":"_0bRJn9"};
|
|
2228
2370
|
|
|
2229
2371
|
const uuiDatePickerBody = {
|
|
2230
2372
|
wrapper: 'uui-datepickerBody-wrapper',
|
|
@@ -2312,7 +2454,7 @@ function FilterDatePickerBody(props) {
|
|
|
2312
2454
|
} })))));
|
|
2313
2455
|
}
|
|
2314
2456
|
|
|
2315
|
-
var css$G = {"uui-typography":"
|
|
2457
|
+
var css$G = {"uui-typography":"FOF7cC","hero-header":"LUICKP","promo-header":"oT7fOi","uui-critical":"GbcPNE","uui-info":"H0nA1z","uui-success":"iQNQE9","uui-warning":"r0moKQ","uui-highlight":"g9vAm1","uui-typography-size-12":"_6LsSwi","uui-typography-size-14":"pdKAlp","uui-typography-size-16":"_29O7Ru","dropdown-container":"ohfYAn","date-input":"iI-kXw","date-input-group":"GgCdzf","separator":"BzGhM4","mode-form":"NSZPr6","mode-cell":"_2uz-EG","uuiTypography":"FOF7cC","heroHeader":"LUICKP","promoHeader":"oT7fOi","uuiCritical":"GbcPNE","uuiInfo":"H0nA1z","uuiSuccess":"iQNQE9","uuiWarning":"r0moKQ","uuiHighlight":"g9vAm1","uuiTypographySize12":"_6LsSwi","uuiTypographySize14":"pdKAlp","uuiTypographySize16":"_29O7Ru","dropdownContainer":"ohfYAn","dateInput":"iI-kXw","dateInputGroup":"GgCdzf","modeForm":"NSZPr6","modeCell":"_2uz-EG"};
|
|
2316
2458
|
|
|
2317
2459
|
const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onBlur, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, id, cx: classes, }, ref) => {
|
|
2318
2460
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
@@ -2338,14 +2480,14 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
2338
2480
|
}
|
|
2339
2481
|
};
|
|
2340
2482
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
2341
|
-
return (React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(classes, css$G.dateInputGroup, isDisabled && uuiCore.uuiMod.disabled, isReadonly && uuiCore.uuiMod.readonly, isInvalid && uuiCore.uuiMod.invalid, inFocus && uuiCore.uuiMod.focus), onClick: (event) => {
|
|
2483
|
+
return (React__namespace.default.createElement("div", { ref: ref, className: uuiCore.cx(classes, css$G.dateInputGroup, 'uui-range-date-picker', isDisabled && uuiCore.uuiMod.disabled, isReadonly && uuiCore.uuiMod.readonly, isInvalid && uuiCore.uuiMod.invalid, inFocus && uuiCore.uuiMod.focus), onClick: (event) => {
|
|
2342
2484
|
if (!isDisabled) {
|
|
2343
2485
|
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
2344
2486
|
}
|
|
2345
2487
|
}, onBlur: onBlur },
|
|
2346
|
-
React__namespace.default.createElement(TextInput, { icon: systemIcons.calendar, cx: uuiCore.cx(css$G.dateInput,
|
|
2488
|
+
React__namespace.default.createElement(TextInput, { icon: systemIcons.calendar, cx: uuiCore.cx(css$G.dateInput, inFocus === 'from' && uuiCore.uuiMod.focus), size: size || settings.sizes.defaults.rangeDatePicker, placeholder: getPlaceholder ? getPlaceholder('from') : i18n.rangeDatePicker.pickerPlaceholderFrom, value: inputValue.from || undefined, onValueChange: (v) => onInputChange(v || '', 'from'), onFocus: (event) => handleFocus(event, 'from'), onBlur: (event) => handleBlur(event, 'from'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps === null || rawProps === void 0 ? void 0 : rawProps.from, id: id }),
|
|
2347
2489
|
React__namespace.default.createElement("div", { className: css$G.separator }),
|
|
2348
|
-
React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$G.dateInput,
|
|
2490
|
+
React__namespace.default.createElement(TextInput, { cx: uuiCore.cx(css$G.dateInput, inFocus === 'to' && uuiCore.uuiMod.focus), placeholder: getPlaceholder ? getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: size || settings.sizes.defaults.rangeDatePicker, value: inputValue.to || undefined, onCancel: clearAllowed ? () => {
|
|
2349
2491
|
onValueChange(defaultRangeValue);
|
|
2350
2492
|
} : undefined, onValueChange: (v) => onInputChange(v || '', 'to'), onFocus: (e) => handleFocus(e, 'to'), onBlur: (e) => handleBlur(e, 'to'), isInvalid: isInvalid, isDisabled: isDisabled, isReadonly: isReadonly, isDropdown: false, rawProps: rawProps === null || rawProps === void 0 ? void 0 : rawProps.to })));
|
|
2351
2493
|
});
|
|
@@ -2403,7 +2545,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
2403
2545
|
React__namespace.default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
2404
2546
|
}
|
|
2405
2547
|
|
|
2406
|
-
var css$F = {"container":"
|
|
2548
|
+
var css$F = {"container":"ZRV5uX"};
|
|
2407
2549
|
|
|
2408
2550
|
function FilterNumericBody(props) {
|
|
2409
2551
|
var _a, _b;
|
|
@@ -2503,7 +2645,7 @@ var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref)
|
|
|
2503
2645
|
};
|
|
2504
2646
|
var ForwardRef$r = /*#__PURE__*/React.forwardRef(SvgActionDeleteForeverFill);
|
|
2505
2647
|
|
|
2506
|
-
var css$E = {"uui-typography":"
|
|
2648
|
+
var css$E = {"uui-typography":"_-2YgRX","hero-header":"SPlct2","promo-header":"zE6WCx","uui-critical":"fPvS8H","uui-info":"_32ZuQi","uui-success":"GnUawe","uui-warning":"IP8PNT","uui-highlight":"aDIH6L","uui-typography-size-12":"SCVvHo","uui-typography-size-14":"PTz88B","uui-typography-size-16":"_6GdzX9","header":"DmCeqw","removeButton":"o49OZI","with-search":"AYX4tT","uuiTypography":"_-2YgRX","heroHeader":"SPlct2","promoHeader":"zE6WCx","uuiCritical":"fPvS8H","uuiInfo":"_32ZuQi","uuiSuccess":"GnUawe","uuiWarning":"IP8PNT","uuiHighlight":"aDIH6L","uuiTypographySize12":"SCVvHo","uuiTypographySize14":"PTz88B","uuiTypographySize16":"_6GdzX9","withSearch":"AYX4tT"};
|
|
2507
2649
|
|
|
2508
2650
|
function useView(props, value) {
|
|
2509
2651
|
const forceUpdate = uuiCore.useForceUpdate();
|
|
@@ -2791,8 +2933,7 @@ function FiltersToolbarImpl(props) {
|
|
|
2791
2933
|
return uuiCore.orderBy(selectedFilters, (f) => { var _a, _b; return (_b = (_a = tableState.filtersConfig) === null || _a === void 0 ? void 0 : _a[f.field]) === null || _b === void 0 ? void 0 : _b.order; });
|
|
2792
2934
|
}, [filters, tableState.filtersConfig]);
|
|
2793
2935
|
const renderAddFilterToggler = React.useCallback((togglerProps) => {
|
|
2794
|
-
|
|
2795
|
-
return (React__namespace.default.createElement(Button, { size: (_a = props.size) !== null && _a !== void 0 ? _a : '36', onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$q, iconPosition: "left", fill: "ghost", color: "primary", cx: UUI_FILTERS_PANEL_ADD_BUTTON }));
|
|
2936
|
+
return (React__namespace.default.createElement(Button, { size: props.size, onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$q, iconPosition: "left", fill: "ghost", color: "primary", cx: UUI_FILTERS_PANEL_ADD_BUTTON }));
|
|
2796
2937
|
}, []);
|
|
2797
2938
|
const getRowOptions = React.useCallback((item) => ({
|
|
2798
2939
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -2825,7 +2966,7 @@ function FiltersToolbarImpl(props) {
|
|
|
2825
2966
|
}
|
|
2826
2967
|
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
2827
2968
|
|
|
2828
|
-
var css$D = {"divider":"
|
|
2969
|
+
var css$D = {"divider":"GvqtQn","dropdownDeleteIcon":"_7JDToK","presetsWrapper":"_0heZFq","addPresetContainer":"homTNo","dropContainer":"_1KPCgB"};
|
|
2829
2970
|
|
|
2830
2971
|
var _path$p;
|
|
2831
2972
|
function _extends$p() { _extends$p = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$p.apply(this, arguments); }
|
|
@@ -2953,7 +3094,7 @@ var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
|
2953
3094
|
};
|
|
2954
3095
|
var ForwardRef$i = /*#__PURE__*/React.forwardRef(SvgActionDeleteOutline);
|
|
2955
3096
|
|
|
2956
|
-
var css$C = {"delete-button":"
|
|
3097
|
+
var css$C = {"delete-button":"zF3qpi","tab-button":"-aEbrH","targetOpen":"gyk-RJ","deleteButton":"zF3qpi","tabButton":"-aEbrH"};
|
|
2957
3098
|
|
|
2958
3099
|
function PresetActionsDropdown(props) {
|
|
2959
3100
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -3011,7 +3152,7 @@ function PresetActionsDropdown(props) {
|
|
|
3011
3152
|
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
3012
3153
|
}
|
|
3013
3154
|
|
|
3014
|
-
var css$B = {"preset-input-cell":"
|
|
3155
|
+
var css$B = {"preset-input-cell":"nn3Ce5","preset-input":"tX5e7U","presetInputCell":"nn3Ce5","presetInput":"tX5e7U"};
|
|
3015
3156
|
|
|
3016
3157
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
3017
3158
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -3044,7 +3185,7 @@ function PresetInput(props) {
|
|
|
3044
3185
|
React__namespace.default.createElement(TextInput, { cx: css$B.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50, isReadonly: readonly })));
|
|
3045
3186
|
}
|
|
3046
3187
|
|
|
3047
|
-
var css$A = {"preset":"
|
|
3188
|
+
var css$A = {"preset":"-gukT9","activePreset":"c-nxV0"};
|
|
3048
3189
|
|
|
3049
3190
|
function Preset(props) {
|
|
3050
3191
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -3146,25 +3287,16 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
3146
3287
|
return columns;
|
|
3147
3288
|
};
|
|
3148
3289
|
|
|
3149
|
-
var css$z = {"line-height-12":"
|
|
3290
|
+
var css$z = {"line-height-12":"UaosY9","line-height-18":"yESbz3","line-height-24":"EWYR6a","line-height-30":"B-rq4o","font-size-10":"p2zbbr","font-size-12":"Ekl28H","font-size-14":"_7eyPpb","font-size-16":"ogKbW1","font-size-18":"zis9li","font-size-24":"BhQL1p","v-padding-2":"TTTcFo","v-padding-3":"G1fDXv","v-padding-5":"EZLy7V","v-padding-6":"BZpBfX","v-padding-8":"ijdgod","v-padding-9":"tXfJS4","v-padding-11":"htK8e8","v-padding-12":"iR-iGl","v-padding-14":"ZF1etr","v-padding-15":"_0K8pKw","v-padding-17":"SWy6UK","v-padding-18":"A7tZ0G","v-padding-23":"-lcRcX","v-padding-24":"u-g1IE","lineHeight12":"UaosY9","lineHeight18":"yESbz3","lineHeight24":"EWYR6a","lineHeight30":"B-rq4o","fontSize10":"p2zbbr","fontSize12":"Ekl28H","fontSize14":"_7eyPpb","fontSize16":"ogKbW1","fontSize18":"zis9li","fontSize24":"BhQL1p","vPadding2":"TTTcFo","vPadding3":"G1fDXv","vPadding5":"EZLy7V","vPadding6":"BZpBfX","vPadding8":"ijdgod","vPadding9":"tXfJS4","vPadding11":"htK8e8","vPadding12":"iR-iGl","vPadding14":"ZF1etr","vPadding15":"_0K8pKw","vPadding17":"SWy6UK","vPadding18":"A7tZ0G","vPadding23":"-lcRcX","vPadding24":"u-g1IE"};
|
|
3150
3291
|
|
|
3151
|
-
const defaultTextSettings = {
|
|
3152
|
-
18: { lineHeight: 12, fontSize: 10 },
|
|
3153
|
-
24: { lineHeight: 18, fontSize: 12 },
|
|
3154
|
-
30: { lineHeight: 18, fontSize: 14 },
|
|
3155
|
-
36: { lineHeight: 18, fontSize: 14 },
|
|
3156
|
-
42: { lineHeight: 24, fontSize: 16 },
|
|
3157
|
-
48: { lineHeight: 24, fontSize: 16 },
|
|
3158
|
-
60: { lineHeight: 30, fontSize: 24 },
|
|
3159
|
-
};
|
|
3160
3292
|
function getTextClasses(props, border) {
|
|
3161
3293
|
if (props.size === 'none') {
|
|
3162
3294
|
return [css$z['line-height-' + props.lineHeight], css$z['font-size-' + props.fontSize]];
|
|
3163
3295
|
}
|
|
3164
3296
|
const setting = {
|
|
3165
3297
|
size: props.size,
|
|
3166
|
-
lineHeight: props.lineHeight ||
|
|
3167
|
-
fontSize: props.fontSize ||
|
|
3298
|
+
lineHeight: props.lineHeight || settings.sizes.text[props.size].lineHeight,
|
|
3299
|
+
fontSize: props.fontSize || settings.sizes.text[props.size].fontSize,
|
|
3168
3300
|
};
|
|
3169
3301
|
const vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
|
|
3170
3302
|
return [
|
|
@@ -3172,11 +3304,11 @@ function getTextClasses(props, border) {
|
|
|
3172
3304
|
];
|
|
3173
3305
|
}
|
|
3174
3306
|
|
|
3175
|
-
var css$y = {"root":"
|
|
3307
|
+
var css$y = {"root":"II5XgO"};
|
|
3176
3308
|
|
|
3177
3309
|
function applyTextMods(mods) {
|
|
3178
3310
|
const textClasses = getTextClasses({
|
|
3179
|
-
size: mods.size ||
|
|
3311
|
+
size: mods.size || settings.sizes.defaults.text,
|
|
3180
3312
|
lineHeight: mods.lineHeight,
|
|
3181
3313
|
fontSize: mods.fontSize,
|
|
3182
3314
|
}, false);
|
|
@@ -3191,7 +3323,7 @@ function applyTextMods(mods) {
|
|
|
3191
3323
|
}
|
|
3192
3324
|
const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, applyTextMods);
|
|
3193
3325
|
|
|
3194
|
-
var css$x = {"root":"
|
|
3326
|
+
var css$x = {"root":"_4Lr7eh","loading-word":"_29QUt7","animated-loading":"Pz4xvi","skeleton_loading":"UJteK6","loadingWord":"_29QUt7","animatedLoading":"Pz4xvi","skeletonLoading":"UJteK6"};
|
|
3195
3327
|
|
|
3196
3328
|
const TextPlaceholder = (props) => {
|
|
3197
3329
|
const pattern = ' ';
|
|
@@ -3210,7 +3342,7 @@ const TextPlaceholder = (props) => {
|
|
|
3210
3342
|
|
|
3211
3343
|
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || '14'}`]);
|
|
3212
3344
|
|
|
3213
|
-
var css$w = {"uui-typography":"
|
|
3345
|
+
var css$w = {"uui-typography":"_3DH2Vu","hero-header":"rIX-In","promo-header":"mBL29y","uui-critical":"jHUDOR","uui-info":"XDodtT","uui-success":"TTIJyZ","uui-warning":"DsybPa","uui-highlight":"h2IQay","uui-typography-size-12":"ogdbZo","uui-typography-size-14":"jl9uxE","uui-typography-size-16":"cs5b-s","root":"_5UQAAj","modal-blocker":"nns9QO","animateModalBlocker":"HN18qu","modal":"OoMJb8","modal-footer":"d59uA0","modal-header":"lj7oRW","uuiTypography":"_3DH2Vu","heroHeader":"rIX-In","promoHeader":"mBL29y","uuiCritical":"jHUDOR","uuiInfo":"XDodtT","uuiSuccess":"TTIJyZ","uuiWarning":"DsybPa","uuiHighlight":"h2IQay","uuiTypographySize12":"ogdbZo","uuiTypographySize14":"jl9uxE","uuiTypographySize16":"cs5b-s","modalBlocker":"nns9QO","modalFooter":"d59uA0","modalHeader":"lj7oRW"};
|
|
3214
3346
|
|
|
3215
3347
|
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$w.modalBlocker]);
|
|
3216
3348
|
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$w.root, css$w.modal], (props) => {
|
|
@@ -3229,19 +3361,19 @@ const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, (
|
|
|
3229
3361
|
maxHeight }),
|
|
3230
3362
|
};
|
|
3231
3363
|
});
|
|
3232
|
-
class ModalHeader extends React__namespace.Component {
|
|
3364
|
+
class ModalHeader extends React__namespace.default.Component {
|
|
3233
3365
|
render() {
|
|
3234
|
-
return (React__namespace.createElement(FlexRow, { padding: this.props.padding || '24', vPadding: "12", borderBottom: this.props.borderBottom, cx: [css$w.root, css$w.modalHeader, this.props.cx], columnGap: "12", rawProps: this.props.rawProps },
|
|
3235
|
-
this.props.title && (React__namespace.createElement(Text, { size: "48", fontSize: "18", fontWeight: "600" }, this.props.title)),
|
|
3366
|
+
return (React__namespace.default.createElement(FlexRow, { padding: this.props.padding || '24', vPadding: "12", borderBottom: this.props.borderBottom, cx: [css$w.root, css$w.modalHeader, this.props.cx], columnGap: "12", rawProps: this.props.rawProps },
|
|
3367
|
+
this.props.title && (React__namespace.default.createElement(Text, { size: "48", fontSize: "18", fontWeight: "600" }, this.props.title)),
|
|
3236
3368
|
this.props.children,
|
|
3237
|
-
this.props.onClose && React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
3238
|
-
this.props.onClose && (React__namespace.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
3239
|
-
React__namespace.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$Q, onClick: this.props.onClose })))));
|
|
3369
|
+
this.props.onClose && React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
3370
|
+
this.props.onClose && (React__namespace.default.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
3371
|
+
React__namespace.default.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$Q, onClick: this.props.onClose })))));
|
|
3240
3372
|
}
|
|
3241
3373
|
}
|
|
3242
|
-
class ModalFooter extends React__namespace.Component {
|
|
3374
|
+
class ModalFooter extends React__namespace.default.Component {
|
|
3243
3375
|
render() {
|
|
3244
|
-
return (React__namespace.createElement(FlexRow, { columnGap: this.props.columnGap || '12', cx: [
|
|
3376
|
+
return (React__namespace.default.createElement(FlexRow, { columnGap: this.props.columnGap || '12', cx: [
|
|
3245
3377
|
css$w.root,
|
|
3246
3378
|
css$w.modalFooter,
|
|
3247
3379
|
this.props.cx,
|
|
@@ -3264,7 +3396,7 @@ var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
|
3264
3396
|
};
|
|
3265
3397
|
var ForwardRef$h = /*#__PURE__*/React.forwardRef(SvgNotificationHelpFill);
|
|
3266
3398
|
|
|
3267
|
-
var css$v = {"uui-typography":"
|
|
3399
|
+
var css$v = {"uui-typography":"IwiFdr","hero-header":"m7YZCl","promo-header":"Mm1DWd","uui-critical":"Jb87-g","uui-info":"Hhiri-","uui-success":"W7Om7c","uui-warning":"e6ulZo","uui-highlight":"Ao7WMT","uui-typography-size-12":"f3ZgJf","uui-typography-size-14":"EoSa97","uui-typography-size-16":"UhQ-8n","root":"_0thES6","icon-wrapper":"_14l7qG","action-wrapper":"rDYbVa","action-link":"giDtjz","close-icon":"qhJ3fI","main-path":"NCnklW","content":"gDvddi","close-wrapper":"eCT1RA","notification-wrapper":"qwoCB3","clear-button":"wJg9HW","uuiTypography":"IwiFdr","heroHeader":"m7YZCl","promoHeader":"Mm1DWd","uuiCritical":"Jb87-g","uuiInfo":"Hhiri-","uuiSuccess":"W7Om7c","uuiWarning":"e6ulZo","uuiHighlight":"Ao7WMT","uuiTypographySize12":"f3ZgJf","uuiTypographySize14":"EoSa97","uuiTypographySize16":"UhQ-8n","iconWrapper":"_14l7qG","actionWrapper":"rDYbVa","actionLink":"giDtjz","closeIcon":"qhJ3fI","mainPath":"NCnklW","closeWrapper":"eCT1RA","notificationWrapper":"qwoCB3","clearButton":"wJg9HW"};
|
|
3268
3400
|
|
|
3269
3401
|
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
3270
3402
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -3340,6 +3472,64 @@ function useReliableForceUpdate() {
|
|
|
3340
3472
|
return red[1];
|
|
3341
3473
|
}
|
|
3342
3474
|
|
|
3475
|
+
var css$u = {"root":"G335hP","timepicker-input":"U6Vn1r","ltr-always":"HAs03H","timepickerInput":"U6Vn1r","ltrAlways":"HAs03H"};
|
|
3476
|
+
|
|
3477
|
+
const uuiTimePicker = {
|
|
3478
|
+
container: 'uui-timepicker-container',
|
|
3479
|
+
iconUp: 'uui-timepicker-icon-up',
|
|
3480
|
+
iconDown: 'uui-timepicker-icon-down',
|
|
3481
|
+
input: 'uui-timepicker-input',
|
|
3482
|
+
elementContainer: 'uui-timepicker-item',
|
|
3483
|
+
};
|
|
3484
|
+
const MIN_MINUTES = 0;
|
|
3485
|
+
const MAX_MINUTES = 59;
|
|
3486
|
+
const FORMAT_12H = 12;
|
|
3487
|
+
function TimePickerBody(props) {
|
|
3488
|
+
const MIN_HOURS = props.format === FORMAT_12H ? 1 : 0;
|
|
3489
|
+
const MAX_HOURS = props.format || FORMAT_12H;
|
|
3490
|
+
const setValue = (newTime) => {
|
|
3491
|
+
props.onValueChange({ hours: newTime.hour(), minutes: newTime.minute() });
|
|
3492
|
+
};
|
|
3493
|
+
const onHoursChange = (newHours) => {
|
|
3494
|
+
setValue(uuiDayjs.dayjs().set(props.value).hour(newHours));
|
|
3495
|
+
};
|
|
3496
|
+
const onMinutesChange = (newMinutes) => {
|
|
3497
|
+
setValue(uuiDayjs.dayjs().set(props.value).minute(newMinutes));
|
|
3498
|
+
};
|
|
3499
|
+
const onTimeTypeChange = () => {
|
|
3500
|
+
setValue(uuiDayjs.dayjs().set(props.value).add(12, 'h'));
|
|
3501
|
+
};
|
|
3502
|
+
const handleMinutesUpClick = () => {
|
|
3503
|
+
const minutesStep = props.minutesStep || 5;
|
|
3504
|
+
const value = uuiDayjs.dayjs().set(props.value);
|
|
3505
|
+
const minutesToAdd = minutesStep - (value.minute() % minutesStep);
|
|
3506
|
+
onMinutesChange(value.add(minutesToAdd, 'm').minute());
|
|
3507
|
+
};
|
|
3508
|
+
const handleMinutesDownClick = () => {
|
|
3509
|
+
const minutesStep = props.minutesStep || 5;
|
|
3510
|
+
const value = uuiDayjs.dayjs().set(props.value);
|
|
3511
|
+
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
3512
|
+
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
3513
|
+
};
|
|
3514
|
+
return (React__namespace.createElement("div", Object.assign({ className: uuiCore.cx(css$u.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef }, props.rawProps),
|
|
3515
|
+
React__namespace.createElement("div", { className: css$u.ltrAlways },
|
|
3516
|
+
React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3517
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).add(1, 'h').hour()) }),
|
|
3518
|
+
React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
3519
|
+
.set(props.value)
|
|
3520
|
+
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
3521
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).subtract(1, 'h').hour()) })),
|
|
3522
|
+
React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3523
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: handleMinutesUpClick }),
|
|
3524
|
+
React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
3525
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: handleMinutesDownClick }))),
|
|
3526
|
+
MAX_HOURS === FORMAT_12H && (React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3527
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: onTimeTypeChange }),
|
|
3528
|
+
React__namespace.createElement(uuiComponents.TextInput, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
3529
|
+
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
3530
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: onTimeTypeChange })))));
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3343
3533
|
const getMeridian = (newValue, format) => {
|
|
3344
3534
|
if (format === 'hh:mm A') {
|
|
3345
3535
|
if (newValue.toLowerCase().includes('p') && newValue.toLowerCase().includes('a')) {
|
|
@@ -3386,8 +3576,6 @@ const formatTime = (hours, minutes, meridian, format) => {
|
|
|
3386
3576
|
return meridianResult ? time.concat(` ${meridianResult}`) : time;
|
|
3387
3577
|
};
|
|
3388
3578
|
|
|
3389
|
-
var css$u = {"root":"_1a2pjz","timepicker-input":"skdcbb","timepickerInput":"skdcbb"};
|
|
3390
|
-
|
|
3391
3579
|
const DEFAULT_MODE = EditMode.FORM;
|
|
3392
3580
|
const valueToTimeString = (value, format) => {
|
|
3393
3581
|
if (value === null)
|
|
@@ -3477,62 +3665,7 @@ function TimePicker(props) {
|
|
|
3477
3665
|
return (React__namespace.default.createElement(Dropdown, { renderTarget: (targetProps) => (props.renderTarget ? props.renderTarget(targetProps) : renderInput(targetProps)), renderBody: (bodyProps) => !props.isDisabled && !props.isReadonly && renderBody(bodyProps), onValueChange: !props.isDisabled && !props.isReadonly ? onToggle : null, value: state.isOpen, modifiers: [{ name: 'offset', options: { offset: [0, 6] } }], forwardedRef: props.forwardedRef }));
|
|
3478
3666
|
}
|
|
3479
3667
|
|
|
3480
|
-
|
|
3481
|
-
container: 'uui-timepicker-container',
|
|
3482
|
-
iconUp: 'uui-timepicker-icon-up',
|
|
3483
|
-
iconDown: 'uui-timepicker-icon-down',
|
|
3484
|
-
input: 'uui-timepicker-input',
|
|
3485
|
-
elementContainer: 'uui-timepicker-item',
|
|
3486
|
-
};
|
|
3487
|
-
const MIN_MINUTES = 0;
|
|
3488
|
-
const MAX_MINUTES = 59;
|
|
3489
|
-
const FORMAT_12H = 12;
|
|
3490
|
-
function TimePickerBody(props) {
|
|
3491
|
-
const MIN_HOURS = props.format === FORMAT_12H ? 1 : 0;
|
|
3492
|
-
const MAX_HOURS = props.format || FORMAT_12H;
|
|
3493
|
-
const setValue = (newTime) => {
|
|
3494
|
-
props.onValueChange({ hours: newTime.hour(), minutes: newTime.minute() });
|
|
3495
|
-
};
|
|
3496
|
-
const onHoursChange = (newHours) => {
|
|
3497
|
-
setValue(uuiDayjs.dayjs().set(props.value).hour(newHours));
|
|
3498
|
-
};
|
|
3499
|
-
const onMinutesChange = (newMinutes) => {
|
|
3500
|
-
setValue(uuiDayjs.dayjs().set(props.value).minute(newMinutes));
|
|
3501
|
-
};
|
|
3502
|
-
const onTimeTypeChange = () => {
|
|
3503
|
-
setValue(uuiDayjs.dayjs().set(props.value).add(12, 'h'));
|
|
3504
|
-
};
|
|
3505
|
-
const handleMinutesUpClick = () => {
|
|
3506
|
-
const minutesStep = props.minutesStep || 5;
|
|
3507
|
-
const value = uuiDayjs.dayjs().set(props.value);
|
|
3508
|
-
const minutesToAdd = minutesStep - (value.minute() % minutesStep);
|
|
3509
|
-
onMinutesChange(value.add(minutesToAdd, 'm').minute());
|
|
3510
|
-
};
|
|
3511
|
-
const handleMinutesDownClick = () => {
|
|
3512
|
-
const minutesStep = props.minutesStep || 5;
|
|
3513
|
-
const value = uuiDayjs.dayjs().set(props.value);
|
|
3514
|
-
const minutesToSubtract = value.minute() % minutesStep === 0 ? minutesStep : value.minute() % minutesStep;
|
|
3515
|
-
onMinutesChange(value.subtract(minutesToSubtract, 'm').minute());
|
|
3516
|
-
};
|
|
3517
|
-
return (React__namespace.createElement("div", Object.assign({ className: uuiCore.cx(css$u.root, uuiTimePicker.container, props.cx), ref: props.forwardedRef }, props.rawProps),
|
|
3518
|
-
React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3519
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment hours' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).add(1, 'h').hour()) }),
|
|
3520
|
-
React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onHoursChange, value: +(uuiDayjs.dayjs()
|
|
3521
|
-
.set(props.value)
|
|
3522
|
-
.format(MAX_HOURS === FORMAT_12H ? 'hh' : 'HH')), min: MIN_HOURS, max: MAX_HOURS }),
|
|
3523
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement hours' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: () => onHoursChange(uuiDayjs.dayjs().set(props.value).subtract(1, 'h').hour()) })),
|
|
3524
|
-
React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3525
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Increment minutes' }, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: handleMinutesUpClick }),
|
|
3526
|
-
React__namespace.createElement(uuiComponents.NumericInput, { cx: uuiTimePicker.input, onValueChange: onMinutesChange, value: +uuiDayjs.dayjs().set(props.value).format('m'), min: MIN_MINUTES, max: MAX_MINUTES }),
|
|
3527
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, rawProps: { 'aria-label': 'Decrement minutes' }, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: handleMinutesDownClick })),
|
|
3528
|
-
MAX_HOURS === FORMAT_12H && (React__namespace.createElement("div", { className: uuiTimePicker.elementContainer },
|
|
3529
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconUp, icon: ForwardRef$P, onClick: onTimeTypeChange }),
|
|
3530
|
-
React__namespace.createElement(uuiComponents.TextInput, { cx: uuiTimePicker.input, onValueChange: () => {
|
|
3531
|
-
}, isReadonly: true, value: uuiDayjs.dayjs().set(props.value).format('A') }),
|
|
3532
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, cx: uuiTimePicker.iconDown, icon: ForwardRef$P, onClick: onTimeTypeChange })))));
|
|
3533
|
-
}
|
|
3534
|
-
|
|
3535
|
-
var css$t = {"root":"_1tTUIl"};
|
|
3668
|
+
var css$t = {"root":"vroRlt"};
|
|
3536
3669
|
|
|
3537
3670
|
function applyInputAddonMods() {
|
|
3538
3671
|
return [
|
|
@@ -3541,7 +3674,7 @@ function applyInputAddonMods() {
|
|
|
3541
3674
|
}
|
|
3542
3675
|
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
3543
3676
|
|
|
3544
|
-
var css$s = {"root":"
|
|
3677
|
+
var css$s = {"root":"YXBt13"};
|
|
3545
3678
|
|
|
3546
3679
|
function applySliderMods() {
|
|
3547
3680
|
return [css$s.root, 'uui-color-neutral'];
|
|
@@ -3595,7 +3728,7 @@ function DatePickerComponent(props, ref) {
|
|
|
3595
3728
|
const allowClear = !props.disableClear && !!inputValue;
|
|
3596
3729
|
return (React__namespace.default.createElement(TextInput, Object.assign({}, renderProps, {
|
|
3597
3730
|
// fixes a bug with body open, it skips unwanted prevent default
|
|
3598
|
-
onClick: () => { }, isDropdown: false, cx: uuiCore.cx(props.inputCx, isBodyOpen && uuiCore.uuiMod.focus), icon: props.mode !== EditMode.CELL && systemIcons.calendar ? systemIcons.calendar : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size: props.size ||
|
|
3731
|
+
onClick: () => { }, isDropdown: false, cx: uuiCore.cx(props.inputCx, isBodyOpen && uuiCore.uuiMod.focus), icon: props.mode !== EditMode.CELL && systemIcons.calendar ? systemIcons.calendar : undefined, iconPosition: props.iconPosition || 'left', placeholder: props.placeholder ? props.placeholder : format, size: props.size || settings.sizes.defaults.datePicker, value: inputValue || undefined, onValueChange: (v) => {
|
|
3599
3732
|
setInputValue(v || '');
|
|
3600
3733
|
}, onCancel: allowClear ? () => {
|
|
3601
3734
|
if (!props.disableClear && !!inputValue) {
|
|
@@ -3624,14 +3757,14 @@ function DatePickerComponent(props, ref) {
|
|
|
3624
3757
|
}
|
|
3625
3758
|
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
3626
3759
|
|
|
3627
|
-
var css$r = {"uui-typography":"
|
|
3760
|
+
var css$r = {"uui-typography":"JcbUiM","hero-header":"weTZAG","promo-header":"GsaB7N","uui-critical":"dvPBdh","uui-info":"_1y-naF","uui-success":"_8Z90q7","uui-warning":"_4R7ZW4","uui-highlight":"_-7KZqB","uui-typography-size-12":"-cdw4l","uui-typography-size-14":"_2ze0Jz","uui-typography-size-16":"OhX93z","root":"Z6U357","uuiTypography":"JcbUiM","heroHeader":"weTZAG","promoHeader":"GsaB7N","uuiCritical":"dvPBdh","uuiInfo":"_1y-naF","uuiSuccess":"_8Z90q7","uuiWarning":"_4R7ZW4","uuiHighlight":"_-7KZqB","uuiTypographySize12":"-cdw4l","uuiTypographySize14":"_2ze0Jz","uuiTypographySize16":"OhX93z"};
|
|
3628
3761
|
|
|
3629
3762
|
function applyCalendarPresetsMods() {
|
|
3630
3763
|
return [css$r.root];
|
|
3631
3764
|
}
|
|
3632
3765
|
const CalendarPresets = /* @__PURE__ */uuiCore.withMods(uuiComponents.CalendarPresets, applyCalendarPresetsMods, () => ({}));
|
|
3633
3766
|
|
|
3634
|
-
var css$q = {"uui-typography":"
|
|
3767
|
+
var css$q = {"uui-typography":"_9LwvVG","hero-header":"ufknGm","promo-header":"_4hqgAz","uui-critical":"fkpNp-","uui-info":"Ai4Da4","uui-success":"_3bV472","uui-warning":"s7xK14","uui-highlight":"X7ktr8","uui-typography-size-12":"eOfCtq","uui-typography-size-14":"WdE57w","uui-typography-size-16":"M1ru2B","root":"OOYaY-","container":"P6vO6D","day-selection":"a4CILI","from-picker":"v2gZXR","to-picker":"VrV4sL","bodes-wrapper":"zGSq1i","blocker":"XWLdSe","uuiTypography":"_9LwvVG","heroHeader":"ufknGm","promoHeader":"_4hqgAz","uuiCritical":"fkpNp-","uuiInfo":"Ai4Da4","uuiSuccess":"_3bV472","uuiWarning":"s7xK14","uuiHighlight":"X7ktr8","uuiTypographySize12":"eOfCtq","uuiTypographySize14":"WdE57w","uuiTypographySize16":"M1ru2B","daySelection":"a4CILI","fromPicker":"v2gZXR","toPicker":"VrV4sL","bodesWrapper":"zGSq1i"};
|
|
3635
3768
|
|
|
3636
3769
|
const uuiRangeDatePickerBody = {
|
|
3637
3770
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3875,7 +4008,7 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3875
4008
|
}
|
|
3876
4009
|
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
3877
4010
|
|
|
3878
|
-
var css$p = {"root":"
|
|
4011
|
+
var css$p = {"root":"RM9R44","blocker":"_1L8Uq-","marker":"_4sQ2wh","top":"IejB3A","bottom":"_0iLSc4","left":"_34jcDg","right":"YJRjck","inside":"e29U-g"};
|
|
3879
4012
|
|
|
3880
4013
|
function DropMarker(props) {
|
|
3881
4014
|
return props.isDndInProgress
|
|
@@ -3890,12 +4023,12 @@ function DropMarker(props) {
|
|
|
3890
4023
|
: null;
|
|
3891
4024
|
}
|
|
3892
4025
|
|
|
3893
|
-
var css$o = {"uui-typography":"
|
|
4026
|
+
var css$o = {"uui-typography":"h0-j-9","hero-header":"BCV7uj","promo-header":"R1zQpZ","uui-critical":"I-Hv8Q","uui-info":"b5-42j","uui-success":"_4JI6nS","uui-warning":"nPS-rr","uui-highlight":"YGYepi","uui-typography-size-12":"OObUXp","uui-typography-size-14":"y4Owr9","uui-typography-size-16":"ngP3EG","cell":"di-kv5","wrapper":"T4v908","align-widgets-top":"B45RPC","align-widgets-center":"OmjFWc","padding-6":"iGSMp-","padding-12":"x4VN9G","padding-24":"Ia2lgL","padding-left-12":"_471Cm4","padding-left-24":"e3rJq5","padding-right-12":"wES7dI","padding-right-24":"_7yJq0D","loading-cell":"aVsvPq","uuiTypography":"h0-j-9","heroHeader":"BCV7uj","promoHeader":"R1zQpZ","uuiCritical":"I-Hv8Q","uuiInfo":"b5-42j","uuiSuccess":"_4JI6nS","uuiWarning":"nPS-rr","uuiHighlight":"YGYepi","uuiTypographySize12":"OObUXp","uuiTypographySize14":"y4Owr9","uuiTypographySize16":"ngP3EG","alignWidgetsTop":"B45RPC","alignWidgetsCenter":"OmjFWc","padding6":"iGSMp-","padding12":"x4VN9G","padding24":"Ia2lgL","paddingLeft12":"_471Cm4","paddingLeft24":"e3rJq5","paddingRight12":"wES7dI","paddingRight24":"_7yJq0D","loadingCell":"aVsvPq"};
|
|
3894
4027
|
|
|
3895
|
-
function DataTableCell(
|
|
3896
|
-
props = Object.assign({},
|
|
4028
|
+
function DataTableCell(initialProps) {
|
|
4029
|
+
const props = Object.assign({}, initialProps);
|
|
3897
4030
|
if (props.isFirstColumn) {
|
|
3898
|
-
props.addons = React__namespace.createElement(DataRowAddons, Object.assign({}, props));
|
|
4031
|
+
props.addons = React__namespace.createElement(DataRowAddons, Object.assign({ size: props.size }, props));
|
|
3899
4032
|
}
|
|
3900
4033
|
props.renderPlaceholder = props.renderPlaceholder
|
|
3901
4034
|
|| (() => (
|
|
@@ -3928,7 +4061,7 @@ function DataTableCell(props) {
|
|
|
3928
4061
|
'data-table-cell',
|
|
3929
4062
|
props.cx,
|
|
3930
4063
|
css$o.cell,
|
|
3931
|
-
|
|
4064
|
+
'uui-size-' + (props.size || '36'),
|
|
3932
4065
|
css$o[`padding-${getPaddings().padding}`],
|
|
3933
4066
|
props.isFirstColumn && css$o[`padding-left-${getPaddings().sidePadding}`],
|
|
3934
4067
|
props.isLastColumn && css$o[`padding-right-${getPaddings().sidePadding}`],
|
|
@@ -3938,7 +4071,7 @@ function DataTableCell(props) {
|
|
|
3938
4071
|
return React__namespace.createElement(uuiComponents.DataTableCell, Object.assign({}, props));
|
|
3939
4072
|
}
|
|
3940
4073
|
|
|
3941
|
-
var css$n = {"uui-typography":"
|
|
4074
|
+
var css$n = {"uui-typography":"vj79Sf","hero-header":"_4mbgbC","promo-header":"Mt0EvQ","uui-critical":"_2ygwSH","uui-info":"_13l-El","uui-success":"bPS7KW","uui-warning":"S23G53","uui-highlight":"SPEVJg","uui-typography-size-12":"gWYZnh","uui-typography-size-14":"k-MA3s","uui-typography-size-16":"yipM0P","root":"nge1rK","size-24":"_0r2qOb","size-30":"gEmJUd","size-36":"DGRpyr","size-48":"_4xOj-E","size-60":"GfqxDL","uuiTypography":"vj79Sf","heroHeader":"_4mbgbC","promoHeader":"Mt0EvQ","uuiCritical":"_2ygwSH","uuiInfo":"_13l-El","uuiSuccess":"bPS7KW","uuiWarning":"S23G53","uuiHighlight":"SPEVJg","uuiTypographySize12":"gWYZnh","uuiTypographySize14":"k-MA3s","uuiTypographySize16":"yipM0P","size24":"_0r2qOb","size30":"gEmJUd","size36":"DGRpyr","size48":"_4xOj-E","size60":"GfqxDL"};
|
|
3942
4075
|
|
|
3943
4076
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3944
4077
|
// As we need our mods to style the cell properly, we extract them from DataTableCellProps.rowProps, which is a hack, but it's reliable enough.
|
|
@@ -3954,7 +4087,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
|
|
|
3954
4087
|
];
|
|
3955
4088
|
}, () => propsMods);
|
|
3956
4089
|
|
|
3957
|
-
var css$m = {"uui-typography":"
|
|
4090
|
+
var css$m = {"uui-typography":"YqSDBG","hero-header":"tlYUaF","promo-header":"xxFaJv","uui-critical":"N1EH54","uui-info":"FHi-kR","uui-success":"m1-AuT","uui-warning":"fGPvfB","uui-highlight":"gFd-oD","uui-typography-size-12":"FvqmBn","uui-typography-size-14":"eKE0au","uui-typography-size-16":"_4dhvCv","sorting-panel-container":"FdBWuI","sort-active":"upqV48","uuiTypography":"YqSDBG","heroHeader":"tlYUaF","promoHeader":"xxFaJv","uuiCritical":"N1EH54","uuiInfo":"FHi-kR","uuiSuccess":"m1-AuT","uuiWarning":"fGPvfB","uuiHighlight":"gFd-oD","uuiTypographySize12":"FvqmBn","uuiTypographySize14":"eKE0au","uuiTypographySize16":"_4dhvCv","sortingPanelContainer":"FdBWuI","sortActive":"upqV48"};
|
|
3958
4091
|
|
|
3959
4092
|
var _path$g;
|
|
3960
4093
|
function _extends$g() { _extends$g = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$g.apply(this, arguments); }
|
|
@@ -4084,7 +4217,7 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
4084
4217
|
};
|
|
4085
4218
|
var ForwardRef$a = /*#__PURE__*/React.forwardRef(SvgNavigationExpandAllOutline);
|
|
4086
4219
|
|
|
4087
|
-
var css$l = {"uui-typography":"
|
|
4220
|
+
var css$l = {"uui-typography":"w8-1dZ","hero-header":"nddqVp","promo-header":"_55MWJQ","uui-critical":"WWB7br","uui-info":"JAR9PE","uui-success":"E5JIHL","uui-warning":"DAeRI4","uui-highlight":"Jf62KX","uui-typography-size-12":"_7vGl-l","uui-typography-size-14":"DXdPjY","uui-typography-size-16":"-MsAgG","cell":"Kffcvj","column-gap-12":"ZeM-tw","caption-wrapper":"S7S0At","column-gap-24":"_1wjuaa","first-column-12":"_1RuB-d","last-column-12":"LErGTt","first-column-24":"jRJknP","last-column-24":"Si0cyP","sort-icon":"_3CYlMr","dropdown-icon":"mwaVVX","infoIcon":"ryLSem","resizable":"_2wCH-8","size-24":"UYov4Z","size-30":"_5fPzlC","size-36":"Ko08PH","size-42":"PBdEYz","size-48":"MMekuP","padding-left-24":"_8SQh0h","padding-right-24":"_7Q-2t6","align-right":"-kYpR9","align-center":"_15ejrq","caption":"xEuZKq","checkbox":"SqUmsH","icon":"wNubqm","fold-all-icon":"XA7U8X","cell-tooltip":"lvUMKP","upper-case":"_6Egejg","font-size-14":"gw8H8l","resize-mark":"cpVp9-","resize-mark-6":"hdEfrQ","resize-mark-12":"K1tAuR","pinned-right":"e2eLfb","draggable":"l4BRy1","ghost":"N51WzQ","is-dragged-out":"_0XmGc5","dnd-marker-left":"pDe0l8","dnd-marker-right":"CzZQp6","cell-tooltip-wrapper":"_3mDszx","cell-tooltip-text":"GMbn9h","uuiTypography":"w8-1dZ","heroHeader":"nddqVp","promoHeader":"_55MWJQ","uuiCritical":"WWB7br","uuiInfo":"JAR9PE","uuiSuccess":"E5JIHL","uuiWarning":"DAeRI4","uuiHighlight":"Jf62KX","uuiTypographySize12":"_7vGl-l","uuiTypographySize14":"DXdPjY","uuiTypographySize16":"-MsAgG","columnGap12":"ZeM-tw","captionWrapper":"S7S0At","columnGap24":"_1wjuaa","firstColumn12":"_1RuB-d","lastColumn12":"LErGTt","firstColumn24":"jRJknP","lastColumn24":"Si0cyP","sortIcon":"_3CYlMr","dropdownIcon":"mwaVVX","size24":"UYov4Z","size30":"_5fPzlC","size36":"Ko08PH","size42":"PBdEYz","size48":"MMekuP","paddingLeft24":"_8SQh0h","paddingRight24":"_7Q-2t6","alignRight":"-kYpR9","alignCenter":"_15ejrq","foldAllIcon":"XA7U8X","cellTooltip":"lvUMKP","upperCase":"_6Egejg","fontSize14":"gw8H8l","resizeMark":"cpVp9-","resizeMark6":"hdEfrQ","resizeMark12":"K1tAuR","pinnedRight":"e2eLfb","isDraggedOut":"_0XmGc5","dndMarkerLeft":"pDe0l8","dndMarkerRight":"CzZQp6","cellTooltipWrapper":"_3mDszx","cellTooltipText":"GMbn9h"};
|
|
4088
4221
|
|
|
4089
4222
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
4090
4223
|
constructor() {
|
|
@@ -4166,14 +4299,14 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
4166
4299
|
};
|
|
4167
4300
|
var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgActionSettingsFill);
|
|
4168
4301
|
|
|
4169
|
-
var css$k = {"uui-typography":"
|
|
4302
|
+
var css$k = {"uui-typography":"AA-t0p","hero-header":"C-n7o4","promo-header":"YBDR8k","uui-critical":"_84kOpg","uui-info":"TJz7rk","uui-success":"Af9Jg0","uui-warning":"BBW713","uui-highlight":"jBFalk","uui-typography-size-12":"lTegXo","uui-typography-size-14":"Ki5hdq","uui-typography-size-16":"scGBNq","header-cell":"WRZwDr","truncate":"frOwWG","uuiTypography":"AA-t0p","heroHeader":"C-n7o4","promoHeader":"YBDR8k","uuiCritical":"_84kOpg","uuiInfo":"TJz7rk","uuiSuccess":"Af9Jg0","uuiWarning":"BBW713","uuiHighlight":"jBFalk","uuiTypographySize12":"lTegXo","uuiTypographySize14":"Ki5hdq","uuiTypographySize16":"scGBNq","headerCell":"WRZwDr"};
|
|
4170
4303
|
|
|
4171
4304
|
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, (props) => [css$k.root, 'uui-dt-vars', props.size === '48' && css$k.truncate], (mods) => ({
|
|
4172
4305
|
renderCell: (props) => React__namespace.createElement(DataTableHeaderCell, Object.assign({}, props, { size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
4173
4306
|
renderConfigButton: () => React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: "config-icon", color: "neutral", icon: ForwardRef$9 }),
|
|
4174
4307
|
}));
|
|
4175
4308
|
|
|
4176
|
-
var styles$1 = {"uui-typography":"
|
|
4309
|
+
var styles$1 = {"uui-typography":"pZMfN7","hero-header":"_7njzCw","promo-header":"caKn7H","uui-critical":"y-Coli","uui-info":"A1ufj3","uui-success":"vAU02x","uui-warning":"_2lc2s2","uui-highlight":"-HC24T","uui-typography-size-12":"hQ7YCA","uui-typography-size-14":"pGNXq1","uui-typography-size-16":"VvLpHw","main-panel":"fTtM02","group-title":"YIvKDX","group-title-text":"RMjD6v","group-title-badge":"fLCoKX","group-items":"L1Ufae","no-data":"WxJGsv","h-divider":"XnTqM3","search-area":"_9q8-Jz","subgroup-accordion":"o1cgHm","subgroup-title":"-Ezt-W","uuiTypography":"pZMfN7","heroHeader":"_7njzCw","promoHeader":"caKn7H","uuiCritical":"y-Coli","uuiInfo":"A1ufj3","uuiSuccess":"vAU02x","uuiWarning":"_2lc2s2","uuiHighlight":"-HC24T","uuiTypographySize12":"hQ7YCA","uuiTypographySize14":"pGNXq1","uuiTypographySize16":"VvLpHw","mainPanel":"fTtM02","groupTitle":"YIvKDX","groupTitleText":"RMjD6v","groupTitleBadge":"fLCoKX","groupItems":"L1Ufae","noData":"WxJGsv","hDivider":"XnTqM3","searchArea":"_9q8-Jz","subgroupAccordion":"o1cgHm","subgroupTitle":"-Ezt-W"};
|
|
4177
4310
|
|
|
4178
4311
|
var _path$8;
|
|
4179
4312
|
function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
|
|
@@ -4230,7 +4363,7 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
4230
4363
|
};
|
|
4231
4364
|
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnRightFill);
|
|
4232
4365
|
|
|
4233
|
-
var css$j = {"unpin-icon":"
|
|
4366
|
+
var css$j = {"unpin-icon":"Vw-lB8","pin-toggler-icon":"_75jUzv","unpinIcon":"Vw-lB8","pinTogglerIcon":"_75jUzv"};
|
|
4234
4367
|
|
|
4235
4368
|
function PinIconButton(props) {
|
|
4236
4369
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4289,7 +4422,7 @@ var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
|
4289
4422
|
};
|
|
4290
4423
|
var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgActionDragIndicator18);
|
|
4291
4424
|
|
|
4292
|
-
var styles = {"uui-typography":"
|
|
4425
|
+
var styles = {"uui-typography":"_6s52l4","hero-header":"_43iSoZ","promo-header":"nfUwlD","uui-critical":"uI4VbI","uui-info":"eKD0k-","uui-success":"Ypiysp","uui-warning":"r3Yr29","uui-highlight":"kb4HaE","uui-typography-size-12":"_7NENeq","uui-typography-size-14":"NXff1Y","uui-typography-size-16":"EO3qMs","row-wrapper":"Jd-0mV","not-pinned":"oDmiQt","pin-icon-button":"P7bduE","checkbox":"eyGTXF","drag-handle":"EiKomx","dnd-disabled":"wPCERC","uuiTypography":"_6s52l4","heroHeader":"_43iSoZ","promoHeader":"nfUwlD","uuiCritical":"uI4VbI","uuiInfo":"eKD0k-","uuiSuccess":"Ypiysp","uuiWarning":"r3Yr29","uuiHighlight":"kb4HaE","uuiTypographySize12":"_7NENeq","uuiTypographySize14":"NXff1Y","uuiTypographySize16":"EO3qMs","rowWrapper":"Jd-0mV","notPinned":"oDmiQt","pinIconButton":"P7bduE","dragHandle":"EiKomx","dndDisabled":"wPCERC"};
|
|
4293
4426
|
|
|
4294
4427
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4295
4428
|
const { column } = props;
|
|
@@ -4398,7 +4531,7 @@ function SubGroup(props) {
|
|
|
4398
4531
|
return null;
|
|
4399
4532
|
}
|
|
4400
4533
|
|
|
4401
|
-
var css$i = {"listContainer":"
|
|
4534
|
+
var css$i = {"listContainer":"pVBm-U","header":"GuMLAd","group":"ggY2M2","stickyHeader":"_6T-m8c"};
|
|
4402
4535
|
|
|
4403
4536
|
const getChildrenAndRest = (row, rows) => {
|
|
4404
4537
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -4464,7 +4597,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4464
4597
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4465
4598
|
ref: ref
|
|
4466
4599
|
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
4467
|
-
clipPath: "url(#
|
|
4600
|
+
clipPath: "url(#ec5d0i3dz3ai0vpru_a)"
|
|
4468
4601
|
}, _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4469
4602
|
d: "M150.585 1.535C49.483-11.495 27.481 61.805 45.725 97.481c10.581 20.69-39.64 70.792 17.744 81.468 27.538 5.123 36-13.341 62.433-10.655 35.4 3.6 148.167-4.73 88.349-78.915-31.713-39.335 1.026-79.506-63.666-87.844Z",
|
|
4470
4603
|
fill: "#F5F6FA"
|
|
@@ -4485,7 +4618,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4485
4618
|
d: "M86.786 22.982c-2.55 0-4.965 2.07-4.965 4.552V120.6c0 2.484 2.4 4.572 4.965 4.572h88.101c2.582 0 4.986-2.089 4.986-4.572V27.534c0-2.464-2.418-4.552-4.986-4.552h-88.1Zm-5.793 4.552c0-3.022 2.874-5.38 5.793-5.38h88.101c2.935 0 5.814 2.374 5.814 5.38V120.6c0 3.021-2.86 5.4-5.814 5.4h-88.1c-2.94 0-5.794-2.381-5.794-5.4V27.534Z",
|
|
4486
4619
|
fill: "#1D1E26"
|
|
4487
4620
|
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
4488
|
-
id: "
|
|
4621
|
+
id: "ec5d0ihssmn4h9ojd_b",
|
|
4489
4622
|
style: {
|
|
4490
4623
|
maskType: "alpha"
|
|
4491
4624
|
},
|
|
@@ -4498,7 +4631,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4498
4631
|
d: "M174.887 125.586h-88.1c-2.752 0-5.38-2.234-5.38-4.986V27.534c0-2.752 2.644-4.966 5.38-4.966h88.1c2.752 0 5.4 2.23 5.4 4.966V120.6c0 2.752-2.632 4.986-5.4 4.986Z",
|
|
4499
4632
|
fill: "#9BDEFF"
|
|
4500
4633
|
}))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
4501
|
-
mask: "url(#
|
|
4634
|
+
mask: "url(#ec5d0ihssmn4h9ojd_b)",
|
|
4502
4635
|
fillRule: "evenodd",
|
|
4503
4636
|
clipRule: "evenodd"
|
|
4504
4637
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -4584,7 +4717,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4584
4717
|
d: "M24.73 96.184a.414.414 0 0 1 .581.06l48.646 59.751a.413.413 0 1 1-.642.523L24.67 96.766a.414.414 0 0 1 .06-.582Z",
|
|
4585
4718
|
fill: "#fff"
|
|
4586
4719
|
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
4587
|
-
id: "
|
|
4720
|
+
id: "ec5d0i3dz3ai0vpru_a"
|
|
4588
4721
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
4589
4722
|
fill: "#fff",
|
|
4590
4723
|
transform: "translate(.552)",
|
|
@@ -4593,7 +4726,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4593
4726
|
};
|
|
4594
4727
|
var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgEmptyTable);
|
|
4595
4728
|
|
|
4596
|
-
var css$h = {"sticky-header":"
|
|
4729
|
+
var css$h = {"sticky-header":"ql6CDh","table":"jc2piE","no-results":"zqpXo6","no-results-icon":"GzIC6g","no-results-title":"K6mIq3","stickyHeader":"ql6CDh","noResults":"zqpXo6","noResultsIcon":"GzIC6g","noResultsTitle":"K6mIq3"};
|
|
4597
4730
|
|
|
4598
4731
|
const DEFAULT_HEADER_SIZE = '36';
|
|
4599
4732
|
const DEFAULT_COLUMN_GAP = '24';
|
|
@@ -4646,9 +4779,9 @@ function DataTable(props) {
|
|
|
4646
4779
|
} }))));
|
|
4647
4780
|
}
|
|
4648
4781
|
|
|
4649
|
-
var css$g = {"root":"
|
|
4782
|
+
var css$g = {"root":"WvOMtu"};
|
|
4650
4783
|
|
|
4651
|
-
var css$f = {"root":"
|
|
4784
|
+
var css$f = {"root":"OWDVDi","burger-content":"_-6oujp","burgerContent":"_-6oujp"};
|
|
4652
4785
|
|
|
4653
4786
|
var _path$3;
|
|
4654
4787
|
function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
|
|
@@ -4691,7 +4824,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
4691
4824
|
};
|
|
4692
4825
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
4693
4826
|
|
|
4694
|
-
var css$e = {"uui-typography":"
|
|
4827
|
+
var css$e = {"uui-typography":"Z9ZLIz","hero-header":"Bm4iJg","promo-header":"_9mTQ47","uui-critical":"MciZl4","uui-info":"h4pkFQ","uui-success":"rfkbnq","uui-warning":"OCAEfM","uui-highlight":"IC2pn5","uui-typography-size-12":"gltzSy","uui-typography-size-14":"Ga9Zo8","uui-typography-size-16":"kob8T7","root":"Y33mAP","button-primary":"Dieh4k","button-secondary":"_-11ao5","hasIcon":"_1BfLKU","dropdown":"_5hWQOR","uuiTypography":"Z9ZLIz","heroHeader":"Bm4iJg","promoHeader":"_9mTQ47","uuiCritical":"MciZl4","uuiInfo":"h4pkFQ","uuiSuccess":"rfkbnq","uuiWarning":"OCAEfM","uuiHighlight":"IC2pn5","uuiTypographySize12":"gltzSy","uuiTypographySize14":"Ga9Zo8","uuiTypographySize16":"kob8T7","buttonPrimary":"Dieh4k","buttonSecondary":"_-11ao5"};
|
|
4695
4828
|
|
|
4696
4829
|
const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
4697
4830
|
css$e.root,
|
|
@@ -4702,13 +4835,13 @@ const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (prop
|
|
|
4702
4835
|
props.icon && css$e.hasIcon,
|
|
4703
4836
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
4704
4837
|
|
|
4705
|
-
var css$d = {"search-input":"
|
|
4838
|
+
var css$d = {"search-input":"C-mGuz","searchInput":"C-mGuz"};
|
|
4706
4839
|
|
|
4707
4840
|
function BurgerSearch(props) {
|
|
4708
4841
|
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(css$d.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$N, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$Q }));
|
|
4709
4842
|
}
|
|
4710
4843
|
|
|
4711
|
-
var css$c = {"root":"
|
|
4844
|
+
var css$c = {"root":"-JoUR6","group-header":"xB6F39","group-name":"xF4Y4E","line":"-l49ww","groupHeader":"xB6F39","groupName":"xF4Y4E"};
|
|
4712
4845
|
|
|
4713
4846
|
function BurgerGroupHeader(props) {
|
|
4714
4847
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -4716,7 +4849,7 @@ function BurgerGroupHeader(props) {
|
|
|
4716
4849
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
4717
4850
|
}
|
|
4718
4851
|
|
|
4719
|
-
var css$b = {"uui-typography":"
|
|
4852
|
+
var css$b = {"uui-typography":"_-4Ah1G","hero-header":"-BGu34","promo-header":"qKKcEp","uui-critical":"lWw2le","uui-info":"fj8K7g","uui-success":"eDXAMN","uui-warning":"hXhFWM","uui-highlight":"_2WfDNE","uui-typography-size-12":"vlYzR4","uui-typography-size-14":"tc8XyH","uui-typography-size-16":"HhP0ab","root":"eMZ-fj","type-primary":"ZYLG2T","type-secondary":"hJjmtB","uuiTypography":"_-4Ah1G","heroHeader":"-BGu34","promoHeader":"qKKcEp","uuiCritical":"lWw2le","uuiInfo":"fj8K7g","uuiSuccess":"eDXAMN","uuiWarning":"hXhFWM","uuiHighlight":"_2WfDNE","uuiTypographySize12":"vlYzR4","uuiTypographySize14":"tc8XyH","uuiTypographySize16":"HhP0ab","typePrimary":"ZYLG2T","typeSecondary":"hJjmtB"};
|
|
4720
4853
|
|
|
4721
4854
|
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4722
4855
|
const { type } = props, clickableProps = __rest(props, ["type"]);
|
|
@@ -4732,7 +4865,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
4732
4865
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
4733
4866
|
});
|
|
4734
4867
|
|
|
4735
|
-
var css$a = {"dropdown-body":"
|
|
4868
|
+
var css$a = {"dropdown-body":"kEjoAi","dropdownBody":"kEjoAi"};
|
|
4736
4869
|
|
|
4737
4870
|
class MainMenuDropdown extends React__namespace.Component {
|
|
4738
4871
|
render() {
|
|
@@ -4787,12 +4920,12 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
4787
4920
|
};
|
|
4788
4921
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
4789
4922
|
|
|
4790
|
-
var css$9 = {"global-menu-btn":"
|
|
4923
|
+
var css$9 = {"global-menu-btn":"_83k2cJ","global-menu-icon":"TFfFrA","globalMenuBtn":"_83k2cJ","globalMenuIcon":"TFfFrA"};
|
|
4791
4924
|
|
|
4792
4925
|
const GlobalMenu = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", Object.assign({ ref: ref, id: "global_menu_toggle", className: cx__default.default(css$9.globalMenuBtn, props.cx) }, props.rawProps),
|
|
4793
4926
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
4794
4927
|
|
|
4795
|
-
var css$8 = {"container":"
|
|
4928
|
+
var css$8 = {"container":"_7VtDbQ","open":"TQoCRV"};
|
|
4796
4929
|
|
|
4797
4930
|
const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, className: cx__default.default(css$8.container, props.isDropdown && css$8.dropdown, props.isOpen && css$8.open, props.onClick && uuiCore.uuiMarkers.clickable, props.cx), onClick: props.onClick },
|
|
4798
4931
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -4800,18 +4933,18 @@ const MainMenuAvatar = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
4800
4933
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
4801
4934
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen }))))));
|
|
4802
4935
|
|
|
4803
|
-
var css$7 = {"search-input":"
|
|
4936
|
+
var css$7 = {"search-input":"DEZGfn","searchInput":"DEZGfn"};
|
|
4804
4937
|
|
|
4805
4938
|
const MainMenuSearch = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
4806
4939
|
var _a;
|
|
4807
4940
|
return (React__namespace.createElement(uuiComponents.TextInput, Object.assign({ iconPosition: "left", icon: ForwardRef$N, cancelIcon: ((_a = props.value) === null || _a === void 0 ? void 0 : _a.length) > 0 && ForwardRef$Q }, props, iEditable, { ref: ref, cx: uuiCore.cx(css$7.searchInput, props.cx) }, props.rawProps)));
|
|
4808
4941
|
} }))));
|
|
4809
4942
|
|
|
4810
|
-
var css$6 = {"container":"
|
|
4943
|
+
var css$6 = {"container":"AvedBl"};
|
|
4811
4944
|
|
|
4812
4945
|
const MainMenuIcon = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(IconButton, Object.assign({ ref: ref, icon: props.icon, cx: uuiCore.cx(props.cx, css$6.container) }, props))));
|
|
4813
4946
|
|
|
4814
|
-
var css$5 = {"root":"
|
|
4947
|
+
var css$5 = {"root":"xRcoFY"};
|
|
4815
4948
|
|
|
4816
4949
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
4817
4950
|
|
|
@@ -4869,7 +5002,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
4869
5002
|
};
|
|
4870
5003
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
4871
5004
|
|
|
4872
|
-
var css$4 = {"root":"
|
|
5005
|
+
var css$4 = {"root":"yo-YRJ","drop-start":"Ptv6xS","drop-over":"QHVPB3","link":"CYPPR5","drop-area":"GBh2eT","drop-caption":"nwuxjQ","icon-blue":"_-6cPoV","dropStart":"Ptv6xS","dropOver":"QHVPB3","dropArea":"GBh2eT","dropCaption":"nwuxjQ","iconBlue":"_-6cPoV"};
|
|
4873
5006
|
|
|
4874
5007
|
function DropSpot(props) {
|
|
4875
5008
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -4887,9 +5020,9 @@ function DropSpot(props) {
|
|
|
4887
5020
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
4888
5021
|
}
|
|
4889
5022
|
|
|
4890
|
-
var css$3 = {"uui-typography":"
|
|
5023
|
+
var css$3 = {"uui-typography":"_5pkolN","hero-header":"WM1gSA","promo-header":"-bKQB6","uui-critical":"FbRJ1a","uui-info":"HNFyMk","uui-success":"_0KNygM","uui-warning":"HoDROB","uui-highlight":"tvqMav","uui-typography-size-12":"bKBdSg","uui-typography-size-14":"f73FQc","uui-typography-size-16":"d2Oy-s","root":"SrXFlq","file-name":"FmENYa","default-color":"gKWQIs","doc-color":"rICyjn","xls-color":"_83ikN7","pdf-color":"_7K7AME","movie-color":"_0TPx5O","img-color":"QSWDUU","mov-color":"JLrfih","error-block":"xlC1aN","icons-block":"vKBgfZ","uuiTypography":"_5pkolN","heroHeader":"WM1gSA","promoHeader":"-bKQB6","uuiCritical":"FbRJ1a","uuiInfo":"HNFyMk","uuiSuccess":"_0KNygM","uuiWarning":"HoDROB","uuiHighlight":"tvqMav","uuiTypographySize12":"bKBdSg","uuiTypographySize14":"f73FQc","uuiTypographySize16":"d2Oy-s","fileName":"FmENYa","defaultColor":"gKWQIs","docColor":"rICyjn","xlsColor":"_83ikN7","pdfColor":"_7K7AME","movieColor":"_0TPx5O","imgColor":"QSWDUU","movColor":"JLrfih","errorBlock":"xlC1aN","iconsBlock":"vKBgfZ"};
|
|
4891
5024
|
|
|
4892
|
-
var css$2 = {"root":"
|
|
5025
|
+
var css$2 = {"root":"_3XlPR2"};
|
|
4893
5026
|
|
|
4894
5027
|
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4895
5028
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5014,7 +5147,7 @@ const getErrorPageConfig = () => ({
|
|
|
5014
5147
|
},
|
|
5015
5148
|
});
|
|
5016
5149
|
|
|
5017
|
-
var css$1 = {"container":"
|
|
5150
|
+
var css$1 = {"container":"Nf1RjC"};
|
|
5018
5151
|
|
|
5019
5152
|
const ErrorPage = (props) => {
|
|
5020
5153
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -5025,7 +5158,7 @@ const ErrorPage = (props) => {
|
|
|
5025
5158
|
React__namespace.default.createElement("div", { className: "uui-error-subtitle" }, props.subtitle))));
|
|
5026
5159
|
};
|
|
5027
5160
|
|
|
5028
|
-
var css = {"recovery-spinner":"
|
|
5161
|
+
var css = {"recovery-spinner":"ne7DP2","recovery-message":"y4IL88","modal-blocker":"cat94J","modalFadeIn":"lfTsnX","recoverySpinner":"ne7DP2","recoveryMessage":"y4IL88","modalBlocker":"cat94J"};
|
|
5029
5162
|
|
|
5030
5163
|
function ErrorHandler(props) {
|
|
5031
5164
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|
|
@@ -5217,6 +5350,7 @@ exports.propsMods = propsMods;
|
|
|
5217
5350
|
exports.rangeDatePickerPresets = rangeDatePickerPresets;
|
|
5218
5351
|
exports.renderCell = renderCell;
|
|
5219
5352
|
exports.renderDropMarkers = renderDropMarkers;
|
|
5353
|
+
exports.settings = settings;
|
|
5220
5354
|
exports.useColumnsWithFilters = useColumnsWithFilters;
|
|
5221
5355
|
exports.useForm = useForm;
|
|
5222
5356
|
exports.uuiDatePickerBody = uuiDatePickerBody;
|