@epam/uui 5.9.0-beta.0 → 5.9.1
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/typography.scss +6 -0
- package/components/buttons/LinkButton.d.ts +10 -1
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/datePickers/CalendarPresets.d.ts +44 -4
- package/components/datePickers/CalendarPresets.d.ts.map +1 -1
- package/components/datePickers/DatePickerHeader.d.ts +4 -4
- package/components/datePickers/DatePickerHeader.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts +0 -4
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/datePickers/types.d.ts +3 -3
- package/components/datePickers/types.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/index.d.ts +1 -0
- package/components/filters/index.d.ts.map +1 -1
- package/components/inputs/TextArea.d.ts.map +1 -1
- package/components/inputs/timePicker/TimePickerBody.d.ts.map +1 -1
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/pickers/DataPickerCell.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts +1 -1
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/MobileDropdownWrapper.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/pickers/PickerTogglerTag.d.ts +1 -0
- package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
- package/components/tables/DataTable.d.ts +1 -1
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts +1 -1
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts +1 -1
- package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
- package/components/widgets/Badge.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts +2 -2
- package/components/widgets/DataRowAddons.d.ts +5 -1
- package/components/widgets/DataRowAddons.d.ts.map +1 -1
- package/components/widgets/StatusIndicator.d.ts.map +1 -1
- package/index.d.ts +2 -1
- package/index.d.ts.map +1 -1
- package/index.esm.js +264 -286
- package/index.esm.js.map +1 -1
- package/index.js +266 -283
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/settings.d.ts +192 -2
- package/settings.d.ts.map +1 -1
- package/stats.html +1 -1
- package/styles.css +3298 -2716
- package/styles.css.map +1 -1
- package/settings.types.d.ts +0 -139
- package/settings.types.d.ts.map +0 -1
package/index.js
CHANGED
|
@@ -74,7 +74,7 @@ var SvgNavigationChevronDownOutline = function SvgNavigationChevronDownOutline(p
|
|
|
74
74
|
viewBox: "0 0 24 24",
|
|
75
75
|
ref: ref
|
|
76
76
|
}, props), _path$P || (_path$P = /*#__PURE__*/React__namespace.createElement("path", {
|
|
77
|
-
d: "
|
|
77
|
+
d: "M5.414 8.086 4 9.5l8 8 8-8-1.414-1.414L12 14.672 5.414 8.086z"
|
|
78
78
|
})));
|
|
79
79
|
};
|
|
80
80
|
var ForwardRef$P = /*#__PURE__*/React.forwardRef(SvgNavigationChevronDownOutline);
|
|
@@ -317,7 +317,6 @@ const systemIcons = {
|
|
|
317
317
|
const settings = {
|
|
318
318
|
sizes: {
|
|
319
319
|
defaults: {
|
|
320
|
-
badge: '36',
|
|
321
320
|
button: '36',
|
|
322
321
|
checkbox: '18',
|
|
323
322
|
countIndicator: '24',
|
|
@@ -331,12 +330,9 @@ const settings = {
|
|
|
331
330
|
tabButton: '48',
|
|
332
331
|
tag: '36',
|
|
333
332
|
text: '36',
|
|
334
|
-
textArea: '36',
|
|
335
333
|
textInput: '36',
|
|
336
334
|
rangeDatePicker: '36',
|
|
337
335
|
datePicker: '36',
|
|
338
|
-
labeledInput: '36',
|
|
339
|
-
statusIndicator: '24',
|
|
340
336
|
},
|
|
341
337
|
tag: {
|
|
342
338
|
countIndicator: {
|
|
@@ -366,11 +362,11 @@ const settings = {
|
|
|
366
362
|
pickerToggler: {
|
|
367
363
|
tag: {
|
|
368
364
|
24: '18',
|
|
369
|
-
30: '
|
|
370
|
-
36: '
|
|
371
|
-
42: '
|
|
372
|
-
48: '
|
|
373
|
-
60: '
|
|
365
|
+
30: '18',
|
|
366
|
+
36: '24',
|
|
367
|
+
42: '30',
|
|
368
|
+
48: '36',
|
|
369
|
+
60: '42',
|
|
374
370
|
},
|
|
375
371
|
},
|
|
376
372
|
dataPickerHeader: {
|
|
@@ -423,14 +419,6 @@ const settings = {
|
|
|
423
419
|
48: '48',
|
|
424
420
|
60: '48',
|
|
425
421
|
},
|
|
426
|
-
icon: {
|
|
427
|
-
24: '12',
|
|
428
|
-
30: '18',
|
|
429
|
-
36: '18',
|
|
430
|
-
42: '24',
|
|
431
|
-
48: '24',
|
|
432
|
-
60: '24',
|
|
433
|
-
},
|
|
434
422
|
},
|
|
435
423
|
dataPickerRow: {
|
|
436
424
|
padding: {
|
|
@@ -445,7 +433,7 @@ const settings = {
|
|
|
445
433
|
switch: {
|
|
446
434
|
24: '12',
|
|
447
435
|
30: '18',
|
|
448
|
-
36: '
|
|
436
|
+
36: '18',
|
|
449
437
|
42: '24',
|
|
450
438
|
48: '24',
|
|
451
439
|
},
|
|
@@ -467,14 +455,6 @@ const settings = {
|
|
|
467
455
|
48: '18',
|
|
468
456
|
60: '18',
|
|
469
457
|
},
|
|
470
|
-
icon: {
|
|
471
|
-
24: '12',
|
|
472
|
-
30: '18',
|
|
473
|
-
36: '18',
|
|
474
|
-
42: '24',
|
|
475
|
-
48: '24',
|
|
476
|
-
60: '24',
|
|
477
|
-
},
|
|
478
458
|
indentUnit: {
|
|
479
459
|
24: 6,
|
|
480
460
|
30: 12,
|
|
@@ -503,29 +483,10 @@ const settings = {
|
|
|
503
483
|
48: { lineHeight: 24, fontSize: 16 },
|
|
504
484
|
60: { lineHeight: 30, fontSize: 24 },
|
|
505
485
|
},
|
|
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
486
|
},
|
|
526
487
|
};
|
|
527
488
|
|
|
528
|
-
var css$1s = {"uui-typography":"
|
|
489
|
+
var css$1s = {"uui-typography":"i-IFmK","hero-header":"O8bkF7","promo-header":"m0M1Vk","uui-critical":"_9ggEka","uui-info":"sKVmxV","uui-success":"VBJsqi","uui-warning":"NCqwe3","uui-highlight":"Pb5hEE","uui-typography-size-12":"_3jXbAV","uui-typography-size-14":"-JmXl1","uui-typography-size-16":"pN4mf0","root":"g--ZrC","uuiTypography":"i-IFmK","heroHeader":"O8bkF7","promoHeader":"m0M1Vk","uuiCritical":"_9ggEka","uuiInfo":"sKVmxV","uuiSuccess":"VBJsqi","uuiWarning":"NCqwe3","uuiHighlight":"Pb5hEE","uuiTypographySize12":"_3jXbAV","uuiTypographySize14":"-JmXl1","uuiTypographySize16":"pN4mf0"};
|
|
529
490
|
|
|
530
491
|
function applyButtonMods(mods) {
|
|
531
492
|
return [
|
|
@@ -543,7 +504,7 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
|
|
|
543
504
|
};
|
|
544
505
|
});
|
|
545
506
|
|
|
546
|
-
var css$1r = {"root":"
|
|
507
|
+
var css$1r = {"root":"ISW7A0"};
|
|
547
508
|
|
|
548
509
|
function applyIconButtonMods(props) {
|
|
549
510
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1r.root];
|
|
@@ -580,18 +541,10 @@ function getIconClass(props) {
|
|
|
580
541
|
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'];
|
|
581
542
|
}
|
|
582
543
|
|
|
583
|
-
var css$1q = {"uui-typography":"
|
|
544
|
+
var css$1q = {"uui-typography":"XJ7gJ-","hero-header":"zbQ1nz","promo-header":"_1EihEb","uui-critical":"EcFRor","uui-info":"s7Jubk","uui-success":"sk-00q","uui-warning":"fp-HeX","uui-highlight":"o4Wf7z","uui-typography-size-12":"Sq0Ftp","uui-typography-size-14":"Oq1WiL","uui-typography-size-16":"jMVg-v","root":"cUVgSy","uuiTypography":"XJ7gJ-","heroHeader":"zbQ1nz","promoHeader":"_1EihEb","uuiCritical":"EcFRor","uuiInfo":"s7Jubk","uuiSuccess":"sk-00q","uuiWarning":"fp-HeX","uuiHighlight":"o4Wf7z","uuiTypographySize12":"Sq0Ftp","uuiTypographySize14":"Oq1WiL","uuiTypographySize16":"jMVg-v"};
|
|
584
545
|
|
|
585
546
|
const DEFAULT_COLOR = 'primary';
|
|
586
|
-
|
|
587
|
-
return [
|
|
588
|
-
'uui-link_button',
|
|
589
|
-
css$1q.root,
|
|
590
|
-
`uui-size-${mods.size || settings.sizes.defaults.linkButton}`,
|
|
591
|
-
...getIconClass(mods),
|
|
592
|
-
`uui-color-${mods.color || DEFAULT_COLOR}`,
|
|
593
|
-
];
|
|
594
|
-
}
|
|
547
|
+
const DEFAULT_WEIGHT = 'semibold';
|
|
595
548
|
const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
596
549
|
if (process.env.NODE_ENV !== "production" && props.color === 'contrast') {
|
|
597
550
|
uuiCore.devLogger.warnAboutDeprecatedPropValue({
|
|
@@ -602,16 +555,24 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
602
555
|
condition: () => props.color === 'contrast',
|
|
603
556
|
});
|
|
604
557
|
}
|
|
605
|
-
const
|
|
558
|
+
const rootStyles = [
|
|
559
|
+
'uui-link_button',
|
|
560
|
+
css$1q.root,
|
|
561
|
+
`uui-size-${props.size || settings.sizes.defaults.linkButton}`,
|
|
562
|
+
...getIconClass(props),
|
|
563
|
+
`uui-color-${props.color || DEFAULT_COLOR}`,
|
|
564
|
+
props.cx,
|
|
565
|
+
];
|
|
566
|
+
const captionStyles = cx__default.default(uuiCore.uuiElement.caption, props.underline && `uui-underline-${props.underline}`, `uui-link-button-weight-${props.weight || DEFAULT_WEIGHT}`);
|
|
606
567
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
607
|
-
return (React__namespace.createElement(uuiComponents.Clickable, Object.assign({}, props, { type: "button", cx:
|
|
568
|
+
return (React__namespace.createElement(uuiComponents.Clickable, Object.assign({}, props, { type: "button", cx: rootStyles, ref: ref }),
|
|
608
569
|
props.icon && props.iconPosition !== 'right' && (React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
609
|
-
props.caption && (React__namespace.createElement("div", { className:
|
|
570
|
+
props.caption && (React__namespace.createElement("div", { className: captionStyles }, props.caption)),
|
|
610
571
|
props.icon && props.iconPosition === 'right' && (React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
611
572
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
612
573
|
});
|
|
613
574
|
|
|
614
|
-
var css$1p = {"root":"
|
|
575
|
+
var css$1p = {"root":"JqPEIJ"};
|
|
615
576
|
|
|
616
577
|
const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
617
578
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
@@ -623,7 +584,7 @@ const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
623
584
|
]) }, props.caption));
|
|
624
585
|
});
|
|
625
586
|
|
|
626
|
-
var css$1o = {"uui-typography":"
|
|
587
|
+
var css$1o = {"uui-typography":"zd93-g","hero-header":"qO3IeI","promo-header":"uqgeXf","uui-critical":"YouBXa","uui-info":"xp7qRc","uui-success":"fFZAUa","uui-warning":"_6ofHhE","uui-highlight":"_0VGY4m","uui-typography-size-12":"AgDevH","uui-typography-size-14":"roQGs6","uui-typography-size-16":"d9J-2n","root":"_9tZEfr","withNotify":"Levh-p","uuiTypography":"zd93-g","heroHeader":"qO3IeI","promoHeader":"uqgeXf","uuiCritical":"YouBXa","uuiInfo":"xp7qRc","uuiSuccess":"fFZAUa","uuiWarning":"_6ofHhE","uuiHighlight":"_0VGY4m","uuiTypographySize12":"AgDevH","uuiTypographySize14":"roQGs6","uuiTypographySize16":"d9J-2n"};
|
|
627
588
|
|
|
628
589
|
const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
629
590
|
const styles = [
|
|
@@ -645,7 +606,7 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
|
|
|
645
606
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
646
607
|
});
|
|
647
608
|
|
|
648
|
-
var css$1n = {"uui-typography":"
|
|
609
|
+
var css$1n = {"uui-typography":"PtxKow","hero-header":"bRC499","promo-header":"_64dKKb","uui-critical":"_8n54MU","uui-info":"-FWYmN","uui-success":"liAp2a","uui-warning":"dbi7cv","uui-highlight":"Z7Edla","uui-typography-size-12":"nkmOac","uui-typography-size-14":"p5LzVP","uui-typography-size-16":"J6fiQP","root":"_6Yhcgc","uuiTypography":"PtxKow","heroHeader":"bRC499","promoHeader":"_64dKKb","uuiCritical":"_8n54MU","uuiInfo":"-FWYmN","uuiSuccess":"liAp2a","uuiWarning":"dbi7cv","uuiHighlight":"Z7Edla","uuiTypographySize12":"nkmOac","uuiTypographySize14":"p5LzVP","uuiTypographySize16":"J6fiQP"};
|
|
649
610
|
|
|
650
611
|
function applyVerticalTabButtonMods() {
|
|
651
612
|
return [css$1n.root];
|
|
@@ -667,7 +628,7 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
|
667
628
|
};
|
|
668
629
|
var ForwardRef$B = /*#__PURE__*/React.forwardRef(SvgContentMinusOutline);
|
|
669
630
|
|
|
670
|
-
var css$1m = {"uui-typography":"
|
|
631
|
+
var css$1m = {"uui-typography":"MNRGxO","hero-header":"IQGIL6","promo-header":"oaMlaj","uui-critical":"Bw3rrQ","uui-info":"hK6DcC","uui-success":"wK2EiN","uui-warning":"yqESmd","uui-highlight":"KbGOQ8","uui-typography-size-12":"zAeltu","uui-typography-size-14":"jOEvil","uui-typography-size-16":"_7xRt-r","root":"_45rG2x","mode-cell":"_4MiOlQ","uuiTypography":"MNRGxO","heroHeader":"IQGIL6","promoHeader":"oaMlaj","uuiCritical":"Bw3rrQ","uuiInfo":"hK6DcC","uuiSuccess":"wK2EiN","uuiWarning":"yqESmd","uuiHighlight":"KbGOQ8","uuiTypographySize12":"zAeltu","uuiTypographySize14":"jOEvil","uuiTypographySize16":"_7xRt-r","modeCell":"_4MiOlQ"};
|
|
671
632
|
|
|
672
633
|
function applyCheckboxMods(mods) {
|
|
673
634
|
return [
|
|
@@ -697,12 +658,12 @@ var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
|
697
658
|
viewBox: "0 0 24 24",
|
|
698
659
|
ref: ref
|
|
699
660
|
}, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
700
|
-
d: "M12
|
|
661
|
+
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
701
662
|
})));
|
|
702
663
|
};
|
|
703
664
|
var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgRadioDotFill);
|
|
704
665
|
|
|
705
|
-
var css$1l = {"uui-typography":"
|
|
666
|
+
var css$1l = {"uui-typography":"DA64WJ","hero-header":"_1S3ehJ","promo-header":"-d3HrQ","uui-critical":"jJohpC","uui-info":"mVtbyc","uui-success":"tF0L2R","uui-warning":"VZCJu-","uui-highlight":"RmTsed","uui-typography-size-12":"PyeJQD","uui-typography-size-14":"K9BIe1","uui-typography-size-16":"yfPs-2","root":"D7j08-","uuiTypography":"DA64WJ","heroHeader":"_1S3ehJ","promoHeader":"-d3HrQ","uuiCritical":"jJohpC","uuiInfo":"mVtbyc","uuiSuccess":"tF0L2R","uuiWarning":"VZCJu-","uuiHighlight":"RmTsed","uuiTypographySize12":"PyeJQD","uuiTypographySize14":"K9BIe1","uuiTypographySize16":"yfPs-2"};
|
|
706
667
|
|
|
707
668
|
function applyRadioInputMods(mods) {
|
|
708
669
|
return [
|
|
@@ -714,7 +675,7 @@ function applyRadioInputMods(mods) {
|
|
|
714
675
|
}
|
|
715
676
|
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$A }));
|
|
716
677
|
|
|
717
|
-
var css$1k = {"root":"
|
|
678
|
+
var css$1k = {"root":"KXX0EY"};
|
|
718
679
|
|
|
719
680
|
function applySwitchMods(mods) {
|
|
720
681
|
return [
|
|
@@ -782,7 +743,7 @@ var EditMode;
|
|
|
782
743
|
EditMode["INLINE"] = "inline";
|
|
783
744
|
})(EditMode || (EditMode = {}));
|
|
784
745
|
|
|
785
|
-
var textInputCss = {"uui-typography":"
|
|
746
|
+
var textInputCss = {"uui-typography":"FBIOs3","hero-header":"QNRK9P","promo-header":"jKd0CX","uui-critical":"T4k0YX","uui-info":"O9v5y5","uui-success":"UxdvuZ","uui-warning":"UF3mh9","uui-highlight":"Ecx673","uui-typography-size-12":"jW-CGt","uui-typography-size-14":"dsDZWF","uui-typography-size-16":"RMhwYI","root":"x8HHS-","mode-form":"aisphR","mode-inline":"_2nbTYc","mode-cell":"BdSuv3","uuiTypography":"FBIOs3","heroHeader":"QNRK9P","promoHeader":"jKd0CX","uuiCritical":"T4k0YX","uuiInfo":"O9v5y5","uuiSuccess":"UxdvuZ","uuiWarning":"UF3mh9","uuiHighlight":"Ecx673","uuiTypographySize12":"jW-CGt","uuiTypographySize14":"dsDZWF","uuiTypographySize16":"RMhwYI","modeForm":"aisphR","modeInline":"_2nbTYc","modeCell":"BdSuv3"};
|
|
786
747
|
|
|
787
748
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
788
749
|
function applyTextInputMods(mods) {
|
|
@@ -808,7 +769,7 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
|
|
|
808
769
|
} })));
|
|
809
770
|
});
|
|
810
771
|
|
|
811
|
-
var css$1j = {"root":"
|
|
772
|
+
var css$1j = {"root":"tx4iAR"};
|
|
812
773
|
|
|
813
774
|
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1j.root]);
|
|
814
775
|
|
|
@@ -817,7 +778,7 @@ function MultiSwitchComponent(props, ref) {
|
|
|
817
778
|
}
|
|
818
779
|
const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
|
|
819
780
|
|
|
820
|
-
var css$1i = {"uui-typography":"
|
|
781
|
+
var css$1i = {"uui-typography":"wC3-EE","hero-header":"HmhfL0","promo-header":"XvpXCI","uui-critical":"edFf9X","uui-info":"_0idIbU","uui-success":"T-XBLy","uui-warning":"pEMZIF","uui-highlight":"w-r4og","uui-typography-size-12":"vJVAYH","uui-typography-size-14":"GFFJAt","uui-typography-size-16":"uEO7es","root":"bm5Sp2","mode-form":"l-aIZ3","mode-cell":"cQD8FG","uuiTypography":"wC3-EE","heroHeader":"HmhfL0","promoHeader":"XvpXCI","uuiCritical":"edFf9X","uuiInfo":"_0idIbU","uuiSuccess":"T-XBLy","uuiWarning":"pEMZIF","uuiHighlight":"w-r4og","uuiTypographySize12":"vJVAYH","uuiTypographySize14":"GFFJAt","uuiTypographySize16":"uEO7es","modeForm":"l-aIZ3","modeCell":"cQD8FG"};
|
|
821
782
|
|
|
822
783
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
823
784
|
function applyNumericInputMods(mods) {
|
|
@@ -838,14 +799,14 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
|
|
|
838
799
|
};
|
|
839
800
|
});
|
|
840
801
|
|
|
841
|
-
var css$1h = {"uui-typography":"
|
|
802
|
+
var css$1h = {"uui-typography":"Py9zLY","hero-header":"L0QzVL","promo-header":"_4-xU-M","uui-critical":"rExUOB","uui-info":"iNptas","uui-success":"zEJD-4","uui-warning":"PRTuCY","uui-highlight":"sNiJS-","uui-typography-size-12":"_1JhA9t","uui-typography-size-14":"HwTZ9I","uui-typography-size-16":"_19tc14","root":"_1ZyaLc","mode-form":"gYcxst","mode-cell":"Kg3DUx","mode-inline":"sRZs6b","size-24":"iJrln1","size-30":"HAk3gg","size-36":"cELDQC","size-42":"VW45sL","size-48":"J3K-ck","uuiTypography":"Py9zLY","heroHeader":"L0QzVL","promoHeader":"_4-xU-M","uuiCritical":"rExUOB","uuiInfo":"iNptas","uuiSuccess":"zEJD-4","uuiWarning":"PRTuCY","uuiHighlight":"sNiJS-","uuiTypographySize12":"_1JhA9t","uuiTypographySize14":"HwTZ9I","uuiTypographySize16":"_19tc14","modeForm":"gYcxst","modeCell":"Kg3DUx","modeInline":"sRZs6b","size24":"iJrln1","size30":"HAk3gg","size36":"cELDQC","size42":"VW45sL","size48":"J3K-ck"};
|
|
842
803
|
|
|
804
|
+
const DEFAULT_SIZE$3 = '36';
|
|
843
805
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
844
806
|
function applyTextAreaMods(mods) {
|
|
845
807
|
return [
|
|
846
808
|
css$1h.root,
|
|
847
|
-
'
|
|
848
|
-
'uui-size-' + (mods.size || settings.sizes.defaults.textArea),
|
|
809
|
+
css$1h['size-' + (mods.size || DEFAULT_SIZE$3)],
|
|
849
810
|
css$1h['mode-' + (mods.mode || DEFAULT_MODE$1)],
|
|
850
811
|
];
|
|
851
812
|
}
|
|
@@ -939,7 +900,7 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
939
900
|
};
|
|
940
901
|
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgNotificationInfoFill);
|
|
941
902
|
|
|
942
|
-
var css$1g = {"uui-typography":"
|
|
903
|
+
var css$1g = {"uui-typography":"uMuySi","hero-header":"p9Rux3","promo-header":"E2bs4R","uui-critical":"zAgbCA","uui-info":"JakQHU","uui-success":"Lao8kF","uui-warning":"vVSUja","uui-highlight":"B67UZy","uui-typography-size-12":"RPrNK0","uui-typography-size-14":"HGSNSI","uui-typography-size-16":"_0gJyxR","root":"HE5yCW","icon-wrapper":"ZsdL8b","alert-wrapper":"GW1VTw","size-48":"UbMqW9","size-36":"qT7v-n","action-wrapper":"URlT9N","action-icon":"Q2aVZV","action-link":"AzPPkJ","close-icon":"sgFz7Z","main-path":"PzLYdX","content":"GdLmww","uuiTypography":"uMuySi","heroHeader":"p9Rux3","promoHeader":"E2bs4R","uuiCritical":"zAgbCA","uuiInfo":"JakQHU","uuiSuccess":"Lao8kF","uuiWarning":"vVSUja","uuiHighlight":"B67UZy","uuiTypographySize12":"RPrNK0","uuiTypographySize14":"HGSNSI","uuiTypographySize16":"_0gJyxR","iconWrapper":"ZsdL8b","alertWrapper":"GW1VTw","size48":"UbMqW9","size36":"qT7v-n","actionWrapper":"URlT9N","actionIcon":"Q2aVZV","actionLink":"AzPPkJ","closeIcon":"sgFz7Z","mainPath":"PzLYdX"};
|
|
943
904
|
|
|
944
905
|
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),
|
|
945
906
|
React__namespace.createElement("div", { className: css$1g.mainPath },
|
|
@@ -956,7 +917,7 @@ const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => Re
|
|
|
956
917
|
|
|
957
918
|
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
958
919
|
|
|
959
|
-
var css$1f = {"root":"
|
|
920
|
+
var css$1f = {"root":"_23nM9u"};
|
|
960
921
|
|
|
961
922
|
function applyDropdownContainerMods(mods) {
|
|
962
923
|
return [
|
|
@@ -967,7 +928,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
967
928
|
}
|
|
968
929
|
const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
969
930
|
|
|
970
|
-
var css$1e = {"uui-typography":"
|
|
931
|
+
var css$1e = {"uui-typography":"_5F-lmK","hero-header":"_18q11c","promo-header":"HBM3cr","uui-critical":"QptYyp","uui-info":"_6-irKK","uui-success":"JNYhaq","uui-warning":"pL4dYR","uui-highlight":"yudWAE","uui-typography-size-12":"e-Yfxa","uui-typography-size-14":"kPcTOC","uui-typography-size-16":"dxnMMe","submenu-root-item":"Wy5qT1","icon-after":"YiAPpK","icon-check":"gKYR-I","splitter-root":"Bf8HM4","splitter":"G8saKQ","header-root":"pAfm7C","item-root":"CS3xAm","icon":"HpSIcR","link":"MRtQ4J","indent":"MGgv-a","selected-mark":"-hAePa","uuiTypography":"_5F-lmK","heroHeader":"_18q11c","promoHeader":"HBM3cr","uuiCritical":"QptYyp","uuiInfo":"_6-irKK","uuiSuccess":"JNYhaq","uuiWarning":"pL4dYR","uuiHighlight":"yudWAE","uuiTypographySize12":"e-Yfxa","uuiTypographySize14":"kPcTOC","uuiTypographySize16":"dxnMMe","submenuRootItem":"Wy5qT1","iconAfter":"YiAPpK","iconCheck":"gKYR-I","splitterRoot":"Bf8HM4","headerRoot":"pAfm7C","itemRoot":"CS3xAm","selectedMark":"-hAePa"};
|
|
971
932
|
|
|
972
933
|
exports.IDropdownControlKeys = void 0;
|
|
973
934
|
(function (IDropdownControlKeys) {
|
|
@@ -1062,7 +1023,8 @@ function DropdownSubMenu(props) {
|
|
|
1062
1023
|
name: 'offset',
|
|
1063
1024
|
options: {
|
|
1064
1025
|
offset: ({ placement }) => {
|
|
1065
|
-
if (placement === 'right-start'
|
|
1026
|
+
if (placement === 'right-start'
|
|
1027
|
+
|| placement === 'left-start') {
|
|
1066
1028
|
return [-6, 0];
|
|
1067
1029
|
}
|
|
1068
1030
|
else {
|
|
@@ -1073,7 +1035,7 @@ function DropdownSubMenu(props) {
|
|
|
1073
1035
|
},
|
|
1074
1036
|
];
|
|
1075
1037
|
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) => {
|
|
1038
|
+
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) => !props.isDisabled && (React__namespace.default.createElement(DropdownMenuBody, Object.assign({ closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW }, props, dropdownProps))), renderTarget: (_a) => {
|
|
1077
1039
|
var { toggleDropdownOpening } = _a, targetProps = __rest(_a, ["toggleDropdownOpening"]);
|
|
1078
1040
|
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)));
|
|
1079
1041
|
} }));
|
|
@@ -1099,7 +1061,7 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1099
1061
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1100
1062
|
}
|
|
1101
1063
|
|
|
1102
|
-
var css$1d = {"uui-typography":"
|
|
1064
|
+
var css$1d = {"uui-typography":"djPOAK","hero-header":"_8D3uKM","promo-header":"DVpyWz","uui-critical":"HEtgyK","uui-info":"smLW6v","uui-success":"qw9QG2","uui-warning":"WDytUb","uui-highlight":"mamQiR","uui-typography-size-12":"_6yX-6v","uui-typography-size-14":"amErVU","uui-typography-size-16":"GikIJS","root":"cZNy1u","mode-block":"g5jEw0","mode-inline":"_7H7BfT","padding-0":"_11ALhf","padding-6":"iDAqlG","padding-12":"V8bJKE","padding-18":"sjI0y8","uuiTypography":"djPOAK","heroHeader":"_8D3uKM","promoHeader":"DVpyWz","uuiCritical":"HEtgyK","uuiInfo":"smLW6v","uuiSuccess":"qw9QG2","uuiWarning":"WDytUb","uuiHighlight":"mamQiR","uuiTypographySize12":"_6yX-6v","uuiTypographySize14":"amErVU","uuiTypographySize16":"GikIJS","modeBlock":"g5jEw0","modeInline":"_7H7BfT","padding0":"_11ALhf","padding6":"iDAqlG","padding12":"V8bJKE","padding18":"sjI0y8"};
|
|
1103
1065
|
|
|
1104
1066
|
const getMode = (mode) => {
|
|
1105
1067
|
return mode || 'block';
|
|
@@ -1115,7 +1077,7 @@ const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accor
|
|
|
1115
1077
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons.foldingArrow,
|
|
1116
1078
|
}));
|
|
1117
1079
|
|
|
1118
|
-
var css$1c = {"uui-typography":"
|
|
1080
|
+
var css$1c = {"uui-typography":"jLD6V-","hero-header":"GYS-Pq","promo-header":"tqpZfm","uui-critical":"ZoYdBU","uui-info":"OiOhWX","uui-success":"f6xG6W","uui-warning":"hMSjGI","uui-highlight":"d2Zzv4","uui-typography-size-12":"yH8gP3","uui-typography-size-14":"E1sxas","uui-typography-size-16":"posgl5","root":"JbBbUh","border-top":"PCqd-l","border-bottom":"L0dl4G","top-shadow":"DFsYSH","size-24":"qbbx3-","size-30":"T0GJ7t","size-36":"YeDcLu","size-42":"lEACsu","size-48":"_09cDM9","padding-6":"CDpBMY","padding-12":"vy9nk1","padding-18":"hX-HrE","padding-24":"arBPmE","margin-24":"eenDGp","margin-12":"DNcLWM","vPadding-12":"h-9PCC","vPadding-18":"m3bJWJ","vPadding-24":"BZGtsq","vPadding-36":"sLVV7l","vPadding-48":"z9nTUh","spacing-6":"KWV7e0","spacing-12":"_1lNpCS","spacing-18":"_4YGcNL","uui-surface-main":"NpJi-w","uuiTypography":"jLD6V-","heroHeader":"GYS-Pq","promoHeader":"tqpZfm","uuiCritical":"ZoYdBU","uuiInfo":"OiOhWX","uuiSuccess":"f6xG6W","uuiWarning":"hMSjGI","uuiHighlight":"d2Zzv4","uuiTypographySize12":"yH8gP3","uuiTypographySize14":"E1sxas","uuiTypographySize16":"posgl5","borderTop":"PCqd-l","borderBottom":"L0dl4G","topShadow":"DFsYSH","size24":"qbbx3-","size30":"T0GJ7t","size36":"YeDcLu","size42":"lEACsu","size48":"_09cDM9","padding6":"CDpBMY","padding12":"vy9nk1","padding18":"hX-HrE","padding24":"arBPmE","margin24":"eenDGp","margin12":"DNcLWM","vPadding12":"h-9PCC","vPadding18":"m3bJWJ","vPadding24":"BZGtsq","vPadding36":"sLVV7l","vPadding48":"z9nTUh","spacing6":"KWV7e0","spacing12":"_1lNpCS","spacing18":"_4YGcNL","uuiSurfaceMain":"NpJi-w"};
|
|
1119
1081
|
|
|
1120
1082
|
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$1c.flexCell]);
|
|
1121
1083
|
|
|
@@ -1139,7 +1101,7 @@ const FlexRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexRow, (props) =
|
|
|
1139
1101
|
];
|
|
1140
1102
|
});
|
|
1141
1103
|
|
|
1142
|
-
var css$1b = {"root":"
|
|
1104
|
+
var css$1b = {"root":"QZc-zH","margin-24":"_7nV4Tt","padding-12":"ofoNIF","padding-24":"_--BviS","shadow":"Tdw4W1","uui-surface-main":"u-3MMR","margin24":"_7nV4Tt","padding12":"ofoNIF","padding24":"_--BviS","uuiSurfaceMain":"u-3MMR"};
|
|
1143
1105
|
|
|
1144
1106
|
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
1145
1107
|
'uui-panel',
|
|
@@ -1149,7 +1111,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
|
1149
1111
|
props.background && css$1b[`uui-${props.background}`],
|
|
1150
1112
|
]);
|
|
1151
1113
|
|
|
1152
|
-
var css$1a = {"root":"
|
|
1114
|
+
var css$1a = {"root":"eXSoOQ"};
|
|
1153
1115
|
|
|
1154
1116
|
function applyTooltipMods(mods) {
|
|
1155
1117
|
return [
|
|
@@ -1159,21 +1121,18 @@ function applyTooltipMods(mods) {
|
|
|
1159
1121
|
}
|
|
1160
1122
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
1161
1123
|
|
|
1162
|
-
var css$19 = {"uui-typography":"
|
|
1124
|
+
var css$19 = {"uui-typography":"VnWHk7","hero-header":"tQmx0S","promo-header":"_20Ml-O","uui-critical":"gMfRL8","uui-info":"Kqjbfu","uui-success":"C4u2J-","uui-warning":"wQXHIK","uui-highlight":"c6FV2z","uui-typography-size-12":"ced3MN","uui-typography-size-14":"SUFfV-","uui-typography-size-16":"HuhTk0","root":"ezc261","size-24":"khdpz-","size-30":"R1NQMH","size-36":"_7S-5MP","size-42":"_6-eOQB","size-48":"_2i8AeP","uuiTypography":"VnWHk7","heroHeader":"tQmx0S","promoHeader":"_20Ml-O","uuiCritical":"gMfRL8","uuiInfo":"Kqjbfu","uuiSuccess":"C4u2J-","uuiWarning":"wQXHIK","uuiHighlight":"c6FV2z","uuiTypographySize12":"ced3MN","uuiTypographySize14":"SUFfV-","uuiTypographySize16":"HuhTk0","size24":"khdpz-","size30":"R1NQMH","size36":"_7S-5MP","size42":"_6-eOQB","size48":"_2i8AeP"};
|
|
1163
1125
|
|
|
1126
|
+
const DEFAULT_SIZE$2 = '36';
|
|
1164
1127
|
function applyLabeledInputMods(mods) {
|
|
1165
|
-
return [
|
|
1166
|
-
'uui-labeled-input',
|
|
1167
|
-
css$19.root,
|
|
1168
|
-
'uui-size-' + (mods.size || settings.sizes.defaults.labeledInput),
|
|
1169
|
-
];
|
|
1128
|
+
return [css$19.root, css$19['size-' + (mods.size || DEFAULT_SIZE$2)]];
|
|
1170
1129
|
}
|
|
1171
1130
|
const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
1172
1131
|
Tooltip: props.Tooltip || Tooltip,
|
|
1173
|
-
infoIcon: props.infoIcon || (
|
|
1132
|
+
infoIcon: props.infoIcon || (['24', '30'].includes(props.size) ? ForwardRef$w : ForwardRef$L),
|
|
1174
1133
|
}));
|
|
1175
1134
|
|
|
1176
|
-
var css$18 = {"root":"
|
|
1135
|
+
var css$18 = {"root":"_4kJ9na"};
|
|
1177
1136
|
|
|
1178
1137
|
function RadioGroup(props) {
|
|
1179
1138
|
const direction = props.direction || 'vertical';
|
|
@@ -1188,7 +1147,7 @@ function RadioGroup(props) {
|
|
|
1188
1147
|
})));
|
|
1189
1148
|
}
|
|
1190
1149
|
|
|
1191
|
-
var css$17 = {"root":"
|
|
1150
|
+
var css$17 = {"root":"JD6LkI"};
|
|
1192
1151
|
|
|
1193
1152
|
function applyScrollBarsMods() {
|
|
1194
1153
|
return [
|
|
@@ -1197,37 +1156,46 @@ function applyScrollBarsMods() {
|
|
|
1197
1156
|
}
|
|
1198
1157
|
const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
1199
1158
|
|
|
1200
|
-
var css$16 = {"scroll-container":"
|
|
1159
|
+
var css$16 = {"scroll-container":"duBpXo","list-container":"o6xzks","scrollContainer":"duBpXo","listContainer":"o6xzks"};
|
|
1201
1160
|
|
|
1202
|
-
var css$15 = {"root":"
|
|
1161
|
+
var css$15 = {"root":"bGA-w0"};
|
|
1203
1162
|
|
|
1204
1163
|
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$15.root]);
|
|
1205
1164
|
|
|
1206
|
-
var css$14 = {"uui-typography":"
|
|
1165
|
+
var css$14 = {"uui-typography":"_1nvzjp","hero-header":"rpf65J","promo-header":"kP-PCn","uui-critical":"JwDXgv","uui-info":"vSq2uO","uui-success":"ogBP6-","uui-warning":"-GhZDx","uui-highlight":"_0JMqBO","uui-typography-size-12":"QWzfcf","uui-typography-size-14":"itVebz","uui-typography-size-16":"ag8zVu","root":"dflBhM","size-18":"_-19Z76","size-24":"QGBkzH","size-30":"LGk4At","size-36":"LISMyk","size-42":"_-73hhs","size-48":"yTXlA3","uuiTypography":"_1nvzjp","heroHeader":"rpf65J","promoHeader":"kP-PCn","uuiCritical":"JwDXgv","uuiInfo":"vSq2uO","uuiSuccess":"ogBP6-","uuiWarning":"-GhZDx","uuiHighlight":"_0JMqBO","uuiTypographySize12":"QWzfcf","uuiTypographySize14":"itVebz","uuiTypographySize16":"ag8zVu","size18":"_-19Z76","size24":"QGBkzH","size30":"LGk4At","size36":"LISMyk","size42":"_-73hhs","size48":"yTXlA3"};
|
|
1207
1166
|
|
|
1167
|
+
const DEFAULT_SIZE$1 = '36';
|
|
1208
1168
|
const DEFAULT_FILL = 'solid';
|
|
1209
1169
|
function applyBadgeMods(mods) {
|
|
1210
1170
|
return [
|
|
1211
1171
|
'uui-badge',
|
|
1212
1172
|
css$14.root,
|
|
1213
|
-
|
|
1173
|
+
css$14['size-' + (mods.size || DEFAULT_SIZE$1)],
|
|
1214
1174
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
1215
1175
|
`uui-color-${mods.color || 'info'}`,
|
|
1216
|
-
mods.indicator && mods.fill === 'outline' && 'uui-indicator',
|
|
1217
1176
|
];
|
|
1218
1177
|
}
|
|
1178
|
+
const mapCountIndicatorSizes = {
|
|
1179
|
+
18: '12',
|
|
1180
|
+
24: '18',
|
|
1181
|
+
30: '18',
|
|
1182
|
+
36: '18',
|
|
1183
|
+
42: '24',
|
|
1184
|
+
48: '24',
|
|
1185
|
+
};
|
|
1219
1186
|
const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
1220
1187
|
const styles = [applyBadgeMods(props), props.cx];
|
|
1221
1188
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
1222
1189
|
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 }),
|
|
1190
|
+
(props.indicator && props.fill === 'outline') && (React__namespace.default.createElement("div", { className: "uui-indicator" })),
|
|
1223
1191
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1224
1192
|
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
1225
|
-
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size:
|
|
1193
|
+
props.count !== undefined && props.count !== null && (React__namespace.default.createElement(CountIndicator, { key: "count-indicator", color: null, size: mapCountIndicatorSizes[props.size || DEFAULT_SIZE$1], caption: props.count })),
|
|
1226
1194
|
props.icon && props.iconPosition === 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1227
1195
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1228
1196
|
});
|
|
1229
1197
|
|
|
1230
|
-
var css$13 = {"uui-typography":"
|
|
1198
|
+
var css$13 = {"uui-typography":"XChVDQ","hero-header":"JUIs4-","promo-header":"oYvlSA","uui-critical":"jUbKyi","uui-info":"Hyz1PW","uui-success":"-SYvpU","uui-warning":"cZ7eVs","uui-highlight":"X48iJS","uui-typography-size-12":"VW2Y00","uui-typography-size-14":"IEsWug","uui-typography-size-16":"_1FH80Z","root":"tzbnLR","uuiTypography":"XChVDQ","heroHeader":"JUIs4-","promoHeader":"oYvlSA","uuiCritical":"jUbKyi","uuiInfo":"Hyz1PW","uuiSuccess":"-SYvpU","uuiWarning":"cZ7eVs","uuiHighlight":"X48iJS","uuiTypographySize12":"VW2Y00","uuiTypographySize14":"IEsWug","uuiTypographySize16":"_1FH80Z"};
|
|
1231
1199
|
|
|
1232
1200
|
function applyTagMods(props) {
|
|
1233
1201
|
return [
|
|
@@ -1251,14 +1219,14 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
|
1251
1219
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1252
1220
|
});
|
|
1253
1221
|
|
|
1254
|
-
var css$12 = {"root":"
|
|
1222
|
+
var css$12 = {"root":"GmEVUZ","uui-spinner":"_1bLvP0","uuiSpinner":"_1bLvP0"};
|
|
1255
1223
|
|
|
1256
1224
|
function applySpinnerMods() {
|
|
1257
1225
|
return [css$12.root, 'uui-spinner'];
|
|
1258
1226
|
}
|
|
1259
1227
|
const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
1260
1228
|
|
|
1261
|
-
var css$11 = {"root":"
|
|
1229
|
+
var css$11 = {"root":"KCDvO0","spacer":"MtRbBh","mode-ghost":"xONVT6","size-24":"AHwmUb","size-30":"U4xyjy","navigation-size-24":"Sk3kRE","navigation-size-30":"Ln8on3","modeGhost":"xONVT6","size24":"AHwmUb","size30":"U4xyjy","navigationSize24":"Sk3kRE","navigationSize30":"Ln8on3"};
|
|
1262
1230
|
|
|
1263
1231
|
var _path$v;
|
|
1264
1232
|
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); }
|
|
@@ -1270,7 +1238,7 @@ var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(p
|
|
|
1270
1238
|
viewBox: "0 0 24 24",
|
|
1271
1239
|
ref: ref
|
|
1272
1240
|
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1273
|
-
d: "
|
|
1241
|
+
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
1274
1242
|
})));
|
|
1275
1243
|
};
|
|
1276
1244
|
var ForwardRef$v = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeftOutline);
|
|
@@ -1285,7 +1253,7 @@ var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline
|
|
|
1285
1253
|
viewBox: "0 0 24 24",
|
|
1286
1254
|
ref: ref
|
|
1287
1255
|
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1288
|
-
d: "
|
|
1256
|
+
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
1289
1257
|
})));
|
|
1290
1258
|
};
|
|
1291
1259
|
var ForwardRef$u = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRightOutline);
|
|
@@ -1309,14 +1277,14 @@ function Paginator(props) {
|
|
|
1309
1277
|
return React__namespace.default.createElement(uuiComponents.Paginator, Object.assign({}, props, { render: renderPaginator }));
|
|
1310
1278
|
}
|
|
1311
1279
|
|
|
1312
|
-
var css$10 = {"root":"
|
|
1280
|
+
var css$10 = {"root":"HfmHYP","progress-bar":"pfsUy4","progressBar-indeterminate":"I-oI0c","size-12":"Ccy9y1","size-18":"mbfmQs","size-24":"_5n-rbO","progressBar":"pfsUy4","progressBarIndeterminate":"I-oI0c","size12":"Ccy9y1","size18":"mbfmQs","size24":"_5n-rbO"};
|
|
1313
1281
|
|
|
1314
1282
|
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1315
1283
|
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}`]) },
|
|
1316
1284
|
React__namespace.createElement("div", { className: cx__default.default(css$10.progressBar) })));
|
|
1317
1285
|
});
|
|
1318
1286
|
|
|
1319
|
-
var css$$ = {"root":"
|
|
1287
|
+
var css$$ = {"root":"ih4tGG","striped":"_71zf7g","animate-stripes":"KiTMEa","size-12":"bWO87O","size-18":"HO82fa","size-24":"LX9Wi9","animateStripes":"KiTMEa","size12":"bWO87O","size18":"HO82fa","size24":"LX9Wi9"};
|
|
1320
1288
|
|
|
1321
1289
|
const DEFAULT_SIZE = '12';
|
|
1322
1290
|
function applyProgressBarMods(mods) {
|
|
@@ -1331,29 +1299,29 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
|
|
|
1331
1299
|
hideLabel: props.hideLabel || props.striped,
|
|
1332
1300
|
}));
|
|
1333
1301
|
|
|
1334
|
-
var css$_ = {"root":"
|
|
1302
|
+
var css$_ = {"root":"LBQTvc"};
|
|
1335
1303
|
|
|
1336
1304
|
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1337
1305
|
const { progress } = props;
|
|
1338
1306
|
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) }));
|
|
1339
1307
|
});
|
|
1340
1308
|
|
|
1341
|
-
var css$Z = {"root":"
|
|
1309
|
+
var css$Z = {"root":"_-5AzRo","size-12":"yId9QG","size-18":"Nb-73f","size-24":"BKA9ia","size12":"yId9QG","size18":"Nb-73f","size24":"BKA9ia"};
|
|
1342
1310
|
|
|
1343
1311
|
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1344
1312
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
1345
1313
|
css$Z.root,
|
|
1346
|
-
`
|
|
1314
|
+
css$Z[`size-${props.size || 24}`],
|
|
1347
1315
|
'uui-status_indicator',
|
|
1348
1316
|
`uui-color-${props.color || 'neutral'}`,
|
|
1349
1317
|
`uui-fill-${props.fill || 'solid'}`,
|
|
1350
1318
|
props.cx,
|
|
1351
1319
|
]) },
|
|
1352
|
-
React__namespace.default.createElement("div", { className: "uui-
|
|
1353
|
-
React__namespace.default.createElement("p", { className: "uui-
|
|
1320
|
+
React__namespace.default.createElement("div", { className: "uui-status_indicator_dot" }),
|
|
1321
|
+
React__namespace.default.createElement("p", { className: "uui-status_indicator_caption" }, props.caption)));
|
|
1354
1322
|
});
|
|
1355
1323
|
|
|
1356
|
-
var css$Y = {"drag-handle":"
|
|
1324
|
+
var css$Y = {"drag-handle":"D6J0gQ","icon-container":"gskFSN","dragHandle":"D6J0gQ","iconContainer":"gskFSN"};
|
|
1357
1325
|
|
|
1358
1326
|
function DataRowAddons(props) {
|
|
1359
1327
|
var _a, _b;
|
|
@@ -1365,17 +1333,17 @@ function DataRowAddons(props) {
|
|
|
1365
1333
|
return settings.sizes.rowAddons.indentWidth[props.size || 'default'];
|
|
1366
1334
|
};
|
|
1367
1335
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1368
|
-
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__namespace.default.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$Y.dragHandle }),
|
|
1336
|
+
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__namespace.default.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$Y.dragHandle, rawProps: Object.assign({}, props.eventHandlers) }),
|
|
1369
1337
|
((_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:
|
|
1338
|
+
row.indent > 0 && (React__namespace.default.createElement("div", { key: "fold", className: "uui-dr_addons-indent", style: { marginInlineStart: getIndent(), width: getWidth() } }, row.isFoldable && (React__namespace.default.createElement(uuiComponents.IconContainer, { rawProps: {
|
|
1371
1339
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1372
1340
|
role: 'button',
|
|
1373
1341
|
}, key: "icon", icon: ForwardRef$P, cx: [
|
|
1374
1342
|
uuiCore.uuiElement.foldingArrow, uuiCore.uuiMarkers.clickable, css$Y.iconContainer,
|
|
1375
|
-
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row)
|
|
1343
|
+
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1376
1344
|
}
|
|
1377
1345
|
|
|
1378
|
-
var css$X = {"root":"
|
|
1346
|
+
var css$X = {"root":"caYEpQ"};
|
|
1379
1347
|
|
|
1380
1348
|
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$X.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__namespace.default.createElement(Spinner, null)) }));
|
|
1381
1349
|
|
|
@@ -1416,7 +1384,7 @@ const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
1416
1384
|
React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1417
1385
|
});
|
|
1418
1386
|
|
|
1419
|
-
var css$W = {"root":"
|
|
1387
|
+
var css$W = {"root":"V2bCTX"};
|
|
1420
1388
|
|
|
1421
1389
|
function CheckboxGroup(props) {
|
|
1422
1390
|
const currentValue = props.value || [];
|
|
@@ -1578,7 +1546,7 @@ const TREE_SHAKEABLE_INIT = () => (Object.assign(Object.assign({}, uuiCore.i18n)
|
|
|
1578
1546
|
} }));
|
|
1579
1547
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
1580
1548
|
|
|
1581
|
-
var css$V = {"uui-typography":"
|
|
1549
|
+
var css$V = {"uui-typography":"XkZaFX","hero-header":"rBPgVU","promo-header":"Ud9jnE","uui-critical":"lfsBum","uui-info":"K0RyVt","uui-success":"RQhxgM","uui-warning":"BGqcUW","uui-highlight":"LrjMe4","uui-typography-size-12":"_8isUOY","uui-typography-size-14":"lOZElh","uui-typography-size-16":"YDA-6x","modal":"_7yhCbT","search-wrapper":"LXzTT7","body":"lA-8YL","checkbox":"vo4b-6","no-found-size-24":"iVMeyV","no-found-size-30":"ImOK9A","no-found-size-36":"TfppAx","no-found-size-42":"xQlV8N","uuiTypography":"XkZaFX","heroHeader":"rBPgVU","promoHeader":"Ud9jnE","uuiCritical":"lfsBum","uuiInfo":"K0RyVt","uuiSuccess":"RQhxgM","uuiWarning":"BGqcUW","uuiHighlight":"LrjMe4","uuiTypographySize12":"_8isUOY","uuiTypographySize14":"lOZElh","uuiTypographySize16":"YDA-6x","searchWrapper":"LXzTT7","noFoundSize24":"iVMeyV","noFoundSize30":"ImOK9A","noFoundSize36":"TfppAx","noFoundSize42":"xQlV8N"};
|
|
1582
1550
|
|
|
1583
1551
|
class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
1584
1552
|
constructor() {
|
|
@@ -1600,12 +1568,12 @@ class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
|
1600
1568
|
this.showSearch() && (React__namespace.default.createElement("div", { key: "search", className: css$V.searchWrapper },
|
|
1601
1569
|
React__namespace.default.createElement(uuiComponents.FlexCell, { grow: 1 },
|
|
1602
1570
|
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-
|
|
1571
|
+
React__namespace.default.createElement(FlexRow, { key: "body", cx: uuiCore.cx('uui-pickerInput-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()))));
|
|
1604
1572
|
}
|
|
1605
1573
|
}
|
|
1606
1574
|
|
|
1607
1575
|
function DataPickerFooterImpl(props) {
|
|
1608
|
-
const { clearSelection, view, showSelected, selectionMode, } = props;
|
|
1576
|
+
const { search, clearSelection, view, showSelected, selectionMode, } = props;
|
|
1609
1577
|
const size = settings.sizes.dataPickerFooter.linkButton[uuiCore.isMobile() ? 'mobile' : props.size];
|
|
1610
1578
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
1611
1579
|
const rowsCount = view.getListProps().rowsCount;
|
|
@@ -1614,9 +1582,10 @@ function DataPickerFooterImpl(props) {
|
|
|
1614
1582
|
const clearAllText = i18n.pickerInput.clearSelectionButton;
|
|
1615
1583
|
const clearSingleText = i18n.pickerInput.clearSelectionButtonSingle;
|
|
1616
1584
|
const selectAllText = i18n.pickerInput.selectAllButton;
|
|
1617
|
-
// show always for multi picker and for single only in case if search not disabled.
|
|
1618
|
-
const
|
|
1619
|
-
|
|
1585
|
+
// show always for multi picker and for single only in case if search not disabled and doesn't searching.
|
|
1586
|
+
const isSearching = search && (search === null || search === void 0 ? void 0 : search.length);
|
|
1587
|
+
const shouldShowFooter = isSinglePicker ? (!isSearching && !props.disableClear) : !isSearching;
|
|
1588
|
+
return shouldShowFooter && (React__namespace.default.createElement(FlexRow, { size: props.size, padding: settings.sizes.dataPickerFooter.flexRowPadding },
|
|
1620
1589
|
!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 })),
|
|
1621
1590
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1622
1591
|
React__namespace.default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
@@ -1629,7 +1598,7 @@ function DataPickerFooterImpl(props) {
|
|
|
1629
1598
|
}
|
|
1630
1599
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
1631
1600
|
|
|
1632
|
-
var css$U = {"header":"
|
|
1601
|
+
var css$U = {"header":"xF5S3n","close":"cfAWWw"};
|
|
1633
1602
|
|
|
1634
1603
|
const DataPickerHeaderImpl = (props) => {
|
|
1635
1604
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
@@ -1654,7 +1623,7 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
1654
1623
|
};
|
|
1655
1624
|
var ForwardRef$t = /*#__PURE__*/React.forwardRef(SvgNotificationDoneFill);
|
|
1656
1625
|
|
|
1657
|
-
var css$T = {"uui-typography":"
|
|
1626
|
+
var css$T = {"uui-typography":"Osbz-V","hero-header":"_4QhK8p","promo-header":"qlsSAa","uui-critical":"y05ZH4","uui-info":"q7g2ZS","uui-success":"qrSiCM","uui-warning":"YQFztg","uui-highlight":"C9xAlp","uui-typography-size-12":"_3UYFzw","uui-typography-size-14":"cZ8jfH","uui-typography-size-16":"gbzp9k","root":"-S6h7t","align-widgets-top":"i-hjN7","size-24":"qv5Lww","size-30":"ZsuMNF","size-36":"_422WBp","size-42":"F5B549","size-48":"sN3QxQ","size-60":"v-BTHk","align-widgets-center":"iM3DHM","icon-wrapper":"_2mg4-g","padding-12":"Xb7Uqb","padding-24":"bfUDNs","padding-left-12":"_2Ap64k","padding-left-24":"LU5ILL","icon-container":"_81qNeN","loading-cell":"W5UUYR","content-wrapper":"ZWbqy3","render-item":"D3Kgys","icon-default":"zfmRNx","selected-mark":"uR1L9x","uuiTypography":"Osbz-V","heroHeader":"_4QhK8p","promoHeader":"qlsSAa","uuiCritical":"y05ZH4","uuiInfo":"q7g2ZS","uuiSuccess":"qrSiCM","uuiWarning":"YQFztg","uuiHighlight":"C9xAlp","uuiTypographySize12":"_3UYFzw","uuiTypographySize14":"cZ8jfH","uuiTypographySize16":"gbzp9k","alignWidgetsTop":"i-hjN7","size24":"qv5Lww","size30":"ZsuMNF","size36":"_422WBp","size42":"F5B549","size48":"sN3QxQ","size60":"v-BTHk","alignWidgetsCenter":"iM3DHM","iconWrapper":"_2mg4-g","padding12":"Xb7Uqb","padding24":"bfUDNs","paddingLeft12":"_2Ap64k","paddingLeft24":"LU5ILL","iconContainer":"_81qNeN","loadingCell":"W5UUYR","contentWrapper":"ZWbqy3","renderItem":"D3Kgys","iconDefault":"zfmRNx","selectedMark":"uR1L9x"};
|
|
1658
1627
|
|
|
1659
1628
|
function DataPickerCell(props) {
|
|
1660
1629
|
const ref = React__namespace.useRef();
|
|
@@ -1673,7 +1642,7 @@ function DataPickerCell(props) {
|
|
|
1673
1642
|
props.renderItem(props.rowProps.value, props.rowProps),
|
|
1674
1643
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
1675
1644
|
(props.rowProps.isChildrenSelected || props.rowProps.isSelected) && (React__namespace.createElement("div", { className: uuiCore.cx(css$T.iconWrapper, uuiCore.uuiMod.selected) },
|
|
1676
|
-
React__namespace.createElement(uuiComponents.IconContainer, {
|
|
1645
|
+
React__namespace.createElement(uuiComponents.IconContainer, { 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
|
|
1677
1646
|
? 'Child is selected'
|
|
1678
1647
|
: 'Selected' } })))));
|
|
1679
1648
|
}
|
|
@@ -1682,16 +1651,16 @@ function DataPickerCell(props) {
|
|
|
1682
1651
|
css$T.root,
|
|
1683
1652
|
props.cx,
|
|
1684
1653
|
'data-picker-cell',
|
|
1685
|
-
'
|
|
1654
|
+
css$T['size-' + (props.size || settings.sizes.defaults.dataPickerCell)],
|
|
1686
1655
|
css$T[`padding-${props.padding || settings.sizes.dataPickerCell.padding.default}`],
|
|
1687
1656
|
css$T[`padding-left-${props.padding || settings.sizes.dataPickerCell.paddingLeft.default}`],
|
|
1688
1657
|
css$T[`align-widgets-${props.alignActions || 'top'}`],
|
|
1689
1658
|
] },
|
|
1690
|
-
React__namespace.createElement(DataRowAddons, Object.assign({
|
|
1659
|
+
React__namespace.createElement(DataRowAddons, Object.assign({}, props, { tabIndex: -1 })),
|
|
1691
1660
|
getWrappedContent()));
|
|
1692
1661
|
}
|
|
1693
1662
|
|
|
1694
|
-
var css$S = {"uui-typography":"
|
|
1663
|
+
var css$S = {"uui-typography":"GJaWtv","hero-header":"ahKt9-","promo-header":"_0xewMC","uui-critical":"i-U7o0","uui-info":"cujdqn","uui-success":"EUvKbR","uui-warning":"SENqCT","uui-highlight":"XeQalu","uui-typography-size-12":"WCHSGv","uui-typography-size-14":"_4eXH6s","uui-typography-size-16":"-DYUwQ","picker-row":"_2Zj5rd","uuiTypography":"GJaWtv","heroHeader":"ahKt9-","promoHeader":"_0xewMC","uuiCritical":"i-U7o0","uuiInfo":"cujdqn","uuiSuccess":"EUvKbR","uuiWarning":"SENqCT","uuiHighlight":"XeQalu","uuiTypographySize12":"WCHSGv","uuiTypographySize14":"_4eXH6s","uuiTypographySize16":"-DYUwQ","pickerRow":"_2Zj5rd"};
|
|
1695
1664
|
|
|
1696
1665
|
class DataPickerRow extends React__namespace.Component {
|
|
1697
1666
|
constructor() {
|
|
@@ -1705,13 +1674,13 @@ class DataPickerRow extends React__namespace.Component {
|
|
|
1705
1674
|
}
|
|
1706
1675
|
}
|
|
1707
1676
|
|
|
1708
|
-
var css$R = {"uui-typography":"
|
|
1677
|
+
var css$R = {"uui-typography":"S5u8I6","hero-header":"DcGk9C","promo-header":"lqD1Qc","uui-critical":"UlTU22","uui-info":"WRAk50","uui-success":"slhaZj","uui-warning":"xEsBPv","uui-highlight":"tUL6vP","uui-typography-size-12":"-XzhKI","uui-typography-size-14":"N2ZBuI","uui-typography-size-16":"MTGLr7","done":"W8gpl2","container":"RIzMox","uuiTypography":"S5u8I6","heroHeader":"DcGk9C","promoHeader":"lqD1Qc","uuiCritical":"UlTU22","uuiInfo":"WRAk50","uuiSuccess":"slhaZj","uuiWarning":"xEsBPv","uuiHighlight":"tUL6vP","uuiTypographySize12":"-XzhKI","uuiTypographySize14":"N2ZBuI","uuiTypographySize16":"MTGLr7"};
|
|
1709
1678
|
|
|
1710
1679
|
const MobileDropdownWrapper = (props) => {
|
|
1711
1680
|
const isMobileView = uuiCore.isMobile();
|
|
1712
1681
|
const maxWidth = isMobileView ? 'auto' : props.maxWidth;
|
|
1713
1682
|
const maxHeight = isMobileView ? 'auto' : props.maxHeight;
|
|
1714
|
-
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { maxWidth: maxWidth, maxHeight: maxHeight, cx: [css$R.container, props.cx] }),
|
|
1683
|
+
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { maxWidth: maxWidth, maxHeight: maxHeight, cx: [css$R.container, props.cx], autoFocus: true }),
|
|
1715
1684
|
isMobileView && React__namespace.default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
1716
1685
|
props.children,
|
|
1717
1686
|
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 })));
|
|
@@ -1739,7 +1708,7 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
1739
1708
|
};
|
|
1740
1709
|
var ForwardRef$s = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
1741
1710
|
|
|
1742
|
-
var css$Q = {"uui-typography":"
|
|
1711
|
+
var css$Q = {"uui-typography":"GlDe-O","hero-header":"_0IpUZk","promo-header":"BwJE96","uui-critical":"M4BdrX","uui-info":"myJ68-","uui-success":"_8VQICq","uui-warning":"GW3rQ0","uui-highlight":"R1giMv","uui-typography-size-12":"nr-wW5","uui-typography-size-14":"RiQe3M","uui-typography-size-16":"m4Oytk","sub-header-wrapper":"JDNzE1","switch":"Qm0CJ8","no-found-modal-container":"FsIOIc","no-found-modal-container-icon":"pIXY6m","no-found-modal-container-text":"_7Fd2IX","uuiTypography":"GlDe-O","heroHeader":"_0IpUZk","promoHeader":"BwJE96","uuiCritical":"M4BdrX","uuiInfo":"myJ68-","uuiSuccess":"_8VQICq","uuiWarning":"GW3rQ0","uuiHighlight":"R1giMv","uuiTypographySize12":"nr-wW5","uuiTypographySize14":"RiQe3M","uuiTypographySize16":"m4Oytk","subHeaderWrapper":"JDNzE1","$switch$":"Qm0CJ8","noFoundModalContainer":"FsIOIc","noFoundModalContainerIcon":"pIXY6m","noFoundModalContainerText":"_7Fd2IX"};
|
|
1743
1712
|
|
|
1744
1713
|
const mergeHighlightRanges = (ranges) => {
|
|
1745
1714
|
const mergedRanges = [];
|
|
@@ -1806,7 +1775,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
1806
1775
|
return getDecoratedText(str, ranges);
|
|
1807
1776
|
};
|
|
1808
1777
|
|
|
1809
|
-
var css$P = {"root":"
|
|
1778
|
+
var css$P = {"root":"a-E0Ar","multiline":"-fgNUh","vertical-padding-24":"gIc885","vertical-padding-30":"tPv41U","vertical-padding-36":"OQiIbE","vertical-padding-42":"_2OOcEm","vertical-padding-48":"X8Zc8N","text":"_6M6hyd","verticalPadding24":"gIc885","verticalPadding30":"tPv41U","verticalPadding36":"OQiIbE","verticalPadding42":"_2OOcEm","verticalPadding48":"X8Zc8N"};
|
|
1810
1779
|
|
|
1811
1780
|
function PickerItem(props) {
|
|
1812
1781
|
var _a;
|
|
@@ -1881,22 +1850,22 @@ function PickerModal(props) {
|
|
|
1881
1850
|
React__namespace.default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
1882
1851
|
}
|
|
1883
1852
|
|
|
1884
|
-
var css$O = {"tooltip":"
|
|
1853
|
+
var css$O = {"tooltip":"oq9FOC"};
|
|
1885
1854
|
|
|
1886
1855
|
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1887
1856
|
var _a;
|
|
1888
1857
|
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 });
|
|
1889
1858
|
if (props.isCollapsed) {
|
|
1890
|
-
const collapsedRows = props.collapsedRows.map((row) =>
|
|
1859
|
+
const collapsedRows = props.collapsedRows.map((row) => props.getName(row.value)).join(', ');
|
|
1891
1860
|
return (React__namespace.createElement(Tooltip, { key: "selected", content: collapsedRows, closeDelay: 150, closeOnMouseLeave: "boundary", cx: css$O.tooltip },
|
|
1892
|
-
React__namespace.createElement(Tag, Object.assign({ ref: ref }, tagProps))));
|
|
1861
|
+
React__namespace.createElement(Tag, Object.assign({ ref: ref, rawProps: { role: 'option' } }, tagProps))));
|
|
1893
1862
|
}
|
|
1894
1863
|
else {
|
|
1895
|
-
return React__namespace.createElement(Tag, Object.assign({ ref: ref }, tagProps));
|
|
1864
|
+
return React__namespace.createElement(Tag, Object.assign({ ref: ref, rawProps: { role: 'option' } }, tagProps));
|
|
1896
1865
|
}
|
|
1897
1866
|
});
|
|
1898
1867
|
|
|
1899
|
-
var css$N = {"uui-typography":"
|
|
1868
|
+
var css$N = {"uui-typography":"gG5rLx","hero-header":"_5FzjQG","promo-header":"YeRo-8","uui-critical":"yAKodB","uui-info":"AIMgZ8","uui-success":"DhIpm2","uui-warning":"pYP0kN","uui-highlight":"MTtiL8","uui-typography-size-12":"H08wXF","uui-typography-size-14":"UApdP1","uui-typography-size-16":"nkS7KC","root":"fAIjMG","mode-form":"g9v2KF","mode-cell":"Ploe04","mode-inline":"cogKTh","uuiTypography":"gG5rLx","heroHeader":"_5FzjQG","promoHeader":"YeRo-8","uuiCritical":"yAKodB","uuiInfo":"AIMgZ8","uuiSuccess":"DhIpm2","uuiWarning":"pYP0kN","uuiHighlight":"MTtiL8","uuiTypographySize12":"H08wXF","uuiTypographySize14":"UApdP1","uuiTypographySize16":"nkS7KC","modeForm":"g9v2KF","modeCell":"Ploe04","modeInline":"cogKTh"};
|
|
1900
1869
|
|
|
1901
1870
|
const defaultMode$1 = EditMode.FORM;
|
|
1902
1871
|
function applyPickerTogglerMods(mods) {
|
|
@@ -1913,9 +1882,9 @@ function PickerTogglerComponent(props, ref) {
|
|
|
1913
1882
|
if (!!props.renderItem) {
|
|
1914
1883
|
return props.renderItem(itemPropsWithSize);
|
|
1915
1884
|
}
|
|
1916
|
-
return React__namespace.createElement(PickerTogglerTag, Object.assign({}, itemPropsWithSize));
|
|
1885
|
+
return (React__namespace.createElement(PickerTogglerTag, Object.assign({}, itemPropsWithSize, { getName: props.getName })));
|
|
1917
1886
|
};
|
|
1918
|
-
return (React__namespace.createElement(uuiComponents.PickerToggler, Object.assign({}, props, { ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: renderItem, getName:
|
|
1887
|
+
return (React__namespace.createElement(uuiComponents.PickerToggler, Object.assign({}, props, { ref: ref, cx: [applyPickerTogglerMods(props), props.cx], renderItem: renderItem, getName: props.getName, cancelIcon: systemIcons.clear, dropdownIcon: systemIcons.foldingArrow })));
|
|
1919
1888
|
}
|
|
1920
1889
|
const PickerToggler = /* @__PURE__ */React__namespace.forwardRef(PickerTogglerComponent);
|
|
1921
1890
|
|
|
@@ -1996,7 +1965,7 @@ function PickerInputComponent(_a, ref) {
|
|
|
1996
1965
|
}
|
|
1997
1966
|
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
1998
1967
|
|
|
1999
|
-
var css$M = {"row":"
|
|
1968
|
+
var css$M = {"row":"gxN5tL"};
|
|
2000
1969
|
|
|
2001
1970
|
function PickerListItem(props) {
|
|
2002
1971
|
var _a;
|
|
@@ -2017,7 +1986,7 @@ function PickerListItem(props) {
|
|
|
2017
1986
|
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));
|
|
2018
1987
|
}
|
|
2019
1988
|
|
|
2020
|
-
var css$L = {"root":"
|
|
1989
|
+
var css$L = {"root":"-GGmeh"};
|
|
2021
1990
|
|
|
2022
1991
|
function PickerList(props) {
|
|
2023
1992
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
@@ -2057,7 +2026,7 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
2057
2026
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
2058
2027
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
2059
2028
|
|
|
2060
|
-
var css$K = {"uui-typography":"
|
|
2029
|
+
var css$K = {"uui-typography":"bE3mvH","hero-header":"sh1q5O","promo-header":"CVA3Wy","uui-critical":"EWckcJ","uui-info":"ZY-3Z1","uui-success":"_1vqoiP","uui-warning":"sEM0Uv","uui-highlight":"_52alqu","uui-typography-size-12":"e5BR-D","uui-typography-size-14":"_14Hxcs","uui-typography-size-16":"XkuJ--","root":"fHgZj0","title-wrapper":"jV79gf","title":"rDSRNr","text-wrapper":"Ew26kt","selection":"M2TsNl","postfix":"GCV0LZ","selected":"si-JW3","uuiTypography":"bE3mvH","heroHeader":"sh1q5O","promoHeader":"CVA3Wy","uuiCritical":"EWckcJ","uuiInfo":"ZY-3Z1","uuiSuccess":"_1vqoiP","uuiWarning":"sEM0Uv","uuiHighlight":"_52alqu","uuiTypographySize12":"e5BR-D","uuiTypographySize14":"_14Hxcs","uuiTypographySize16":"XkuJ--","titleWrapper":"jV79gf","textWrapper":"Ew26kt"};
|
|
2061
2030
|
|
|
2062
2031
|
const defaultSize = '36';
|
|
2063
2032
|
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
@@ -2124,7 +2093,7 @@ function FilterPickerBody(_a) {
|
|
|
2124
2093
|
};
|
|
2125
2094
|
const renderItem = (item, rowProps, dsState) => {
|
|
2126
2095
|
const { flattenSearchResults } = view.getConfig();
|
|
2127
|
-
return (React__namespace.createElement(PickerItem, Object.assign({ title: getName(item), highlightSearchMatches: highlightSearchMatches }, (flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), { dataSourceState: dsState, size:
|
|
2096
|
+
return (React__namespace.createElement(PickerItem, Object.assign({ title: getName(item), highlightSearchMatches: highlightSearchMatches }, (flattenSearchResults ? { subtitle: getSubtitle(rowProps, dsState) } : {}), { dataSourceState: dsState, size: "36" }, rowProps)));
|
|
2128
2097
|
};
|
|
2129
2098
|
const onSelect = (row) => {
|
|
2130
2099
|
handleDataSourceValueChange((currentDataSourceState) => (Object.assign(Object.assign({}, currentDataSourceState), { search: '', selectedId: row.id })));
|
|
@@ -2133,30 +2102,30 @@ function FilterPickerBody(_a) {
|
|
|
2133
2102
|
if (rowProps.isSelectable && isSingleSelect() && props.editMode !== 'modal') {
|
|
2134
2103
|
rowProps.onSelect = onSelect;
|
|
2135
2104
|
}
|
|
2136
|
-
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size:
|
|
2105
|
+
return props.renderRow ? (props.renderRow(rowProps, dataSourceState)) : (React__namespace.createElement(DataPickerRow, Object.assign({}, rowProps, { key: rowProps.rowKey, size: "36", padding: "12", renderItem: (item, itemProps) => renderItem(item, itemProps, dsState) })));
|
|
2137
2106
|
};
|
|
2138
2107
|
const renderFooter = () => {
|
|
2139
|
-
return React__namespace.createElement(DataPickerFooter, Object.assign({}, getFooterProps(), { size:
|
|
2108
|
+
return React__namespace.createElement(DataPickerFooter, Object.assign({}, getFooterProps(), { size: "36" }));
|
|
2140
2109
|
};
|
|
2141
2110
|
const renderBody = (bodyProps, rows) => {
|
|
2142
2111
|
const renderedDataRows = rows.map((props) => renderRow(props, dataSourceState));
|
|
2143
2112
|
const maxHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.maxBodyHeight || pickerHeight;
|
|
2144
2113
|
const maxWidth = uuiCore.isMobile() ? undefined : 360;
|
|
2145
2114
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
2146
|
-
React__namespace.createElement(DataPickerBody, Object.assign({}, bodyProps, { selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize:
|
|
2115
|
+
React__namespace.createElement(DataPickerBody, Object.assign({}, bodyProps, { selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, maxWidth: maxWidth, searchSize: "36", editMode: "dropdown" })),
|
|
2147
2116
|
renderFooter()));
|
|
2148
2117
|
};
|
|
2149
2118
|
const rows = getRows();
|
|
2150
2119
|
return renderBody(Object.assign(Object.assign(Object.assign({}, getPickerBodyProps(rows)), getListProps()), { showSearch: (_b = props.showSearch) !== null && _b !== void 0 ? _b : true }), rows);
|
|
2151
2120
|
}
|
|
2152
2121
|
|
|
2153
|
-
var css$J = {"container":"
|
|
2122
|
+
var css$J = {"container":"_5pfoqI"};
|
|
2154
2123
|
|
|
2155
2124
|
const defaultFormat = 'MMM D, YYYY';
|
|
2156
2125
|
const valueFormat = 'YYYY-MM-DD';
|
|
2157
2126
|
const supportedDateFormats = (format) => {
|
|
2158
2127
|
return [
|
|
2159
|
-
...(format ? [format] : []), 'MM/DD/YYYY', 'DD-MM-YYYY', 'DD.MM.YYYY', 'YYYY/MM/DD', 'YYYY-MM-DD', 'YYYY.MM.DD', 'MMM D, YYYY', 'D/M/YYYY', 'YYYY/M/D',
|
|
2128
|
+
...(format ? [format] : []), 'MM/DD/YYYY', 'DD-MM-YYYY', 'DD.MM.YYYY', 'DDMMYYYY', 'YYYY/MM/DD', 'YYYY-MM-DD', 'YYYY.MM.DD', 'MMM D, YYYY', 'D/M/YYYY', 'YYYY/M/D',
|
|
2160
2129
|
];
|
|
2161
2130
|
};
|
|
2162
2131
|
const uuiDatePickerBodyBase = {
|
|
@@ -2287,10 +2256,13 @@ const uuiHeader = {
|
|
|
2287
2256
|
navIconRight: 'uui-datepickerheader-nav-icon-right',
|
|
2288
2257
|
navIconLeft: 'uui-datepickerheader-nav-icon-left',
|
|
2289
2258
|
};
|
|
2290
|
-
const
|
|
2291
|
-
|
|
2259
|
+
const MIN_SOBER_YEAR = 1000;
|
|
2260
|
+
const MAX_SOBER_YEAR = 2200;
|
|
2261
|
+
const isYearWithinSoberRange = (value) => {
|
|
2262
|
+
const year = value.year();
|
|
2263
|
+
return year >= MIN_SOBER_YEAR && year <= MAX_SOBER_YEAR;
|
|
2292
2264
|
};
|
|
2293
|
-
function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, onValueChange, }) {
|
|
2265
|
+
function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, onValueChange, isDisabled, }) {
|
|
2294
2266
|
const onSetMonth = (newMonth) => {
|
|
2295
2267
|
onValueChange({
|
|
2296
2268
|
view,
|
|
@@ -2350,23 +2322,23 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2350
2322
|
: '';
|
|
2351
2323
|
return `${monthSubstr} ${month.year()}`;
|
|
2352
2324
|
}, [view, month]);
|
|
2353
|
-
const disablePrev = view === 'YEAR_SELECTION' && !
|
|
2354
|
-
const disableNext = view === 'YEAR_SELECTION' && !
|
|
2325
|
+
const disablePrev = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getPrevYearsList(month));
|
|
2326
|
+
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2355
2327
|
return (React__namespace.createElement("div", { className: cx__default.default(css$J.container, uuiHeader.container, cx__default.default) },
|
|
2356
2328
|
React__namespace.createElement("header", { className: uuiHeader.header },
|
|
2357
|
-
React__namespace.createElement(Button, { icon: navIconLeft || ForwardRef$v, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: () => onLeftNavigationArrow(), isDisabled: disablePrev }),
|
|
2358
|
-
React__namespace.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: () => onCaptionClick(view) }),
|
|
2359
|
-
React__namespace.createElement(Button, { icon: navIconRight || ForwardRef$u, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: () => onRightNavigationArrow(), isDisabled: disableNext }))));
|
|
2329
|
+
React__namespace.createElement(Button, { icon: navIconLeft || ForwardRef$v, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: !isDisabled && (() => onLeftNavigationArrow()), isDisabled: disablePrev }),
|
|
2330
|
+
React__namespace.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: !isDisabled && (() => onCaptionClick(view)) }),
|
|
2331
|
+
React__namespace.createElement(Button, { icon: navIconRight || ForwardRef$u, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: !isDisabled && (() => onRightNavigationArrow()), isDisabled: disableNext }))));
|
|
2360
2332
|
}
|
|
2361
2333
|
|
|
2362
|
-
var css$I = {"uui-typography":"
|
|
2334
|
+
var css$I = {"uui-typography":"fOwkl0","hero-header":"RwIeLS","promo-header":"GKr9T7","uui-critical":"ifdDmY","uui-info":"Kz0Fir","uui-success":"HK--02","uui-warning":"eehtE2","uui-highlight":"_27-Q05","uui-typography-size-12":"lgrE1n","uui-typography-size-14":"u9kw1d","uui-typography-size-16":"ZjAZBd","root":"HZPuOK","uuiTypography":"fOwkl0","heroHeader":"RwIeLS","promoHeader":"GKr9T7","uuiCritical":"ifdDmY","uuiInfo":"Kz0Fir","uuiSuccess":"HK--02","uuiWarning":"eehtE2","uuiHighlight":"_27-Q05","uuiTypographySize12":"lgrE1n","uuiTypographySize14":"u9kw1d","uuiTypographySize16":"ZjAZBd"};
|
|
2363
2335
|
|
|
2364
2336
|
function applyDateSelectionMods() {
|
|
2365
2337
|
return [css$I.root];
|
|
2366
2338
|
}
|
|
2367
2339
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
2368
2340
|
|
|
2369
|
-
var css$H = {"uui-typography":"
|
|
2341
|
+
var css$H = {"uui-typography":"_2Z8GkH","hero-header":"z4cJTv","promo-header":"Uv00ao","uui-critical":"UVCZXY","uui-info":"_3wfwVg","uui-success":"bR8iVD","uui-warning":"bIFOIl","uui-highlight":"mD5LZY","uui-typography-size-12":"rsPMMF","uui-typography-size-14":"_2IiHAh","uui-typography-size-16":"BJkrAo","root":"s0VeBO","uuiTypography":"_2Z8GkH","heroHeader":"z4cJTv","promoHeader":"Uv00ao","uuiCritical":"UVCZXY","uuiInfo":"_3wfwVg","uuiSuccess":"bR8iVD","uuiWarning":"bIFOIl","uuiHighlight":"mD5LZY","uuiTypographySize12":"rsPMMF","uuiTypographySize14":"_2IiHAh","uuiTypographySize16":"BJkrAo"};
|
|
2370
2342
|
|
|
2371
2343
|
const uuiDatePickerBody = {
|
|
2372
2344
|
wrapper: 'uui-datepickerBody-wrapper',
|
|
@@ -2385,7 +2357,7 @@ function DatePickerBodyComp(props, ref) {
|
|
|
2385
2357
|
return (React__namespace.default.createElement(StatelessDatePickerBody, Object.assign({ ref: ref }, props, { month: month, view: view, onValueChange: onValueChange, onMonthChange: (m) => setMonth(m), onViewChange: (v) => setView(v) })));
|
|
2386
2358
|
}
|
|
2387
2359
|
const StatelessDatePickerBody = /* @__PURE__ */React.forwardRef(StatelessDatePickerBodyComp);
|
|
2388
|
-
function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter, rawProps, value, month, view, onValueChange, onMonthChange, onViewChange, }, ref) {
|
|
2360
|
+
function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter, rawProps, value, month, view, onValueChange, onMonthChange, onViewChange, isDisabled, }, ref) {
|
|
2389
2361
|
const selectedDate = uuiDayjs.dayjs(value);
|
|
2390
2362
|
const onMonthClick = (newDate) => {
|
|
2391
2363
|
onMonthChange(newDate);
|
|
@@ -2407,7 +2379,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2407
2379
|
case 'YEAR_SELECTION':
|
|
2408
2380
|
return (React__namespace.default.createElement(uuiComponents.YearSelection, { selectedDate: selectedDate, value: month, onValueChange: onYearClick }));
|
|
2409
2381
|
case 'DAY_SELECTION':
|
|
2410
|
-
return (React__namespace.default.createElement(Calendar, { value: selectedDate, month: month, onValueChange: onDayClick, filter: filter, renderDay: renderDay, isHoliday: isHoliday }));
|
|
2382
|
+
return (React__namespace.default.createElement(Calendar, { value: selectedDate, month: month, onValueChange: onDayClick, filter: filter, renderDay: renderDay, isHoliday: isHoliday, isDisabled: isDisabled }));
|
|
2411
2383
|
}
|
|
2412
2384
|
};
|
|
2413
2385
|
return (React__namespace.default.createElement("div", Object.assign({ ref: ref, className: uuiCore.cx(uuiDatePickerBodyBase.container, classes) }, rawProps),
|
|
@@ -2418,7 +2390,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2418
2390
|
}, onValueChange: (newValue) => {
|
|
2419
2391
|
onMonthChange(newValue.month);
|
|
2420
2392
|
onViewChange(newValue.view);
|
|
2421
|
-
} }),
|
|
2393
|
+
}, isDisabled: isDisabled }),
|
|
2422
2394
|
getView())));
|
|
2423
2395
|
}
|
|
2424
2396
|
|
|
@@ -2454,9 +2426,9 @@ function FilterDatePickerBody(props) {
|
|
|
2454
2426
|
} })))));
|
|
2455
2427
|
}
|
|
2456
2428
|
|
|
2457
|
-
var css$G = {"uui-typography":"
|
|
2429
|
+
var css$G = {"uui-typography":"_1s2osU","hero-header":"_49EiAE","promo-header":"ZLL1gv","uui-critical":"_5-tVIG","uui-info":"_011O5k","uui-success":"_6PtYTK","uui-warning":"ozuPrF","uui-highlight":"ZsW92j","uui-typography-size-12":"d5Mnrj","uui-typography-size-14":"y-cDCp","uui-typography-size-16":"m-3uBT","dropdown-container":"JO-J4c","date-input":"cp-KkM","date-input-group":"d7fMEs","separator":"F86Rv6","mode-form":"sG6Hik","mode-cell":"WbtmuU","uuiTypography":"_1s2osU","heroHeader":"_49EiAE","promoHeader":"ZLL1gv","uuiCritical":"_5-tVIG","uuiInfo":"_011O5k","uuiSuccess":"_6PtYTK","uuiWarning":"ozuPrF","uuiHighlight":"ZsW92j","uuiTypographySize12":"d5Mnrj","uuiTypographySize14":"y-cDCp","uuiTypographySize16":"m-3uBT","dropdownContainer":"JO-J4c","dateInput":"cp-KkM","dateInputGroup":"d7fMEs","modeForm":"sG6Hik","modeCell":"WbtmuU"};
|
|
2458
2430
|
|
|
2459
|
-
const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange,
|
|
2431
|
+
const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isInvalid, isReadonly, size, disableClear, rawProps, value, inFocus, format, onValueChange, onFocusInput, onBlurInput, onClick, getPlaceholder, filter, id, cx: classes, }, ref) => {
|
|
2460
2432
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
2461
2433
|
React.useEffect(() => {
|
|
2462
2434
|
setInputValue(toCustomDateRangeFormat(value, format));
|
|
@@ -2479,17 +2451,19 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
2479
2451
|
onValueChange(Object.assign(Object.assign({}, selectedDate), { [inputType]: null }));
|
|
2480
2452
|
}
|
|
2481
2453
|
};
|
|
2454
|
+
const onInputKeyDown = (e) => {
|
|
2455
|
+
if (e.key === 'Enter') {
|
|
2456
|
+
onClick();
|
|
2457
|
+
e.preventDefault();
|
|
2458
|
+
}
|
|
2459
|
+
};
|
|
2482
2460
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
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),
|
|
2484
|
-
|
|
2485
|
-
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
2486
|
-
}
|
|
2487
|
-
}, onBlur: onBlur },
|
|
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 }),
|
|
2461
|
+
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) },
|
|
2462
|
+
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, onClick: onClick, onKeyDown: onInputKeyDown, id: id }),
|
|
2489
2463
|
React__namespace.default.createElement("div", { className: css$G.separator }),
|
|
2490
2464
|
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 ? () => {
|
|
2491
2465
|
onValueChange(defaultRangeValue);
|
|
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 })));
|
|
2466
|
+
} : 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, onClick: onClick, onKeyDown: onInputKeyDown })));
|
|
2493
2467
|
});
|
|
2494
2468
|
|
|
2495
2469
|
function FilterRangeDatePickerBody(props) {
|
|
@@ -2545,7 +2519,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
2545
2519
|
React__namespace.default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
2546
2520
|
}
|
|
2547
2521
|
|
|
2548
|
-
var css$F = {"container":"
|
|
2522
|
+
var css$F = {"container":"VfFwHQ"};
|
|
2549
2523
|
|
|
2550
2524
|
function FilterNumericBody(props) {
|
|
2551
2525
|
var _a, _b;
|
|
@@ -2580,12 +2554,12 @@ function FilterNumericBody(props) {
|
|
|
2580
2554
|
const clearSelection = () => {
|
|
2581
2555
|
if (isInRangePredicate) {
|
|
2582
2556
|
props.onValueChange({
|
|
2583
|
-
from:
|
|
2584
|
-
to:
|
|
2557
|
+
from: undefined,
|
|
2558
|
+
to: undefined,
|
|
2585
2559
|
});
|
|
2586
2560
|
}
|
|
2587
2561
|
else {
|
|
2588
|
-
props.onValueChange(
|
|
2562
|
+
props.onValueChange(undefined);
|
|
2589
2563
|
}
|
|
2590
2564
|
};
|
|
2591
2565
|
const isClearDisabled = typeof props.value !== 'number' && typeof props.value !== 'object';
|
|
@@ -2630,7 +2604,7 @@ function FilterItemBody(props) {
|
|
|
2630
2604
|
|
|
2631
2605
|
var _path$r;
|
|
2632
2606
|
function _extends$r() { _extends$r = 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$r.apply(this, arguments); }
|
|
2633
|
-
var
|
|
2607
|
+
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
2634
2608
|
return /*#__PURE__*/React__namespace.createElement("svg", _extends$r({
|
|
2635
2609
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2636
2610
|
width: 24,
|
|
@@ -2638,14 +2612,12 @@ var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref)
|
|
|
2638
2612
|
viewBox: "0 0 24 24",
|
|
2639
2613
|
ref: ref
|
|
2640
2614
|
}, props), _path$r || (_path$r = /*#__PURE__*/React__namespace.createElement("path", {
|
|
2641
|
-
|
|
2642
|
-
d: "M7 21c-1.1 0-2-.9-2-2V8h14v11c0 1.1-.9 2-2 2H7zm8-17h5v2H4V4h5V3h6v1zM9.4 18.5l2.6-2.6 2.6 2.6 1.4-1.4-2.6-2.6 2.6-2.6-1.4-1.4-2.6 2.6-2.6-2.6L8 11.9l2.6 2.6L8 17.1l1.4 1.4z",
|
|
2643
|
-
clipRule: "evenodd"
|
|
2615
|
+
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
2644
2616
|
})));
|
|
2645
2617
|
};
|
|
2646
|
-
var ForwardRef$r = /*#__PURE__*/React.forwardRef(
|
|
2618
|
+
var ForwardRef$r = /*#__PURE__*/React.forwardRef(SvgActionDeleteOutline);
|
|
2647
2619
|
|
|
2648
|
-
var css$E = {"uui-typography":"
|
|
2620
|
+
var css$E = {"uui-typography":"sKUFgq","hero-header":"_9ktNIt","promo-header":"ywPLqB","uui-critical":"ldH8e4","uui-info":"ogx1WF","uui-success":"Y-R2zL","uui-warning":"YMUrtj","uui-highlight":"qv3fta","uui-typography-size-12":"rVN39q","uui-typography-size-14":"t-CqFQ","uui-typography-size-16":"_78NlGh","header":"_5hN6x0","removeButton":"ClD6I2","with-search":"rcObIx","uuiTypography":"sKUFgq","heroHeader":"_9ktNIt","promoHeader":"ywPLqB","uuiCritical":"ldH8e4","uuiInfo":"ogx1WF","uuiSuccess":"Y-R2zL","uuiWarning":"YMUrtj","uuiHighlight":"qv3fta","uuiTypographySize12":"rVN39q","uuiTypographySize14":"t-CqFQ","uuiTypographySize16":"_78NlGh","withSearch":"rcObIx"};
|
|
2649
2621
|
|
|
2650
2622
|
function useView(props, value) {
|
|
2651
2623
|
const forceUpdate = uuiCore.useForceUpdate();
|
|
@@ -2933,7 +2905,8 @@ function FiltersToolbarImpl(props) {
|
|
|
2933
2905
|
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; });
|
|
2934
2906
|
}, [filters, tableState.filtersConfig]);
|
|
2935
2907
|
const renderAddFilterToggler = React.useCallback((togglerProps) => {
|
|
2936
|
-
|
|
2908
|
+
var _a;
|
|
2909
|
+
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 }));
|
|
2937
2910
|
}, []);
|
|
2938
2911
|
const getRowOptions = React.useCallback((item) => ({
|
|
2939
2912
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -2966,7 +2939,7 @@ function FiltersToolbarImpl(props) {
|
|
|
2966
2939
|
}
|
|
2967
2940
|
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
2968
2941
|
|
|
2969
|
-
var css$D = {"divider":"
|
|
2942
|
+
var css$D = {"divider":"_7aR79c","dropdownDeleteIcon":"ZoWfDn","presetsWrapper":"iQBgXi","addPresetContainer":"_--bMQq","dropContainer":"yH-pgw"};
|
|
2970
2943
|
|
|
2971
2944
|
var _path$p;
|
|
2972
2945
|
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); }
|
|
@@ -3079,22 +3052,7 @@ var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
|
3079
3052
|
};
|
|
3080
3053
|
var ForwardRef$j = /*#__PURE__*/React.forwardRef(SvgContentLinkOutline);
|
|
3081
3054
|
|
|
3082
|
-
var
|
|
3083
|
-
function _extends$i() { _extends$i = 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$i.apply(this, arguments); }
|
|
3084
|
-
var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
3085
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
3086
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3087
|
-
width: 24,
|
|
3088
|
-
height: 24,
|
|
3089
|
-
viewBox: "0 0 24 24",
|
|
3090
|
-
ref: ref
|
|
3091
|
-
}, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3092
|
-
d: "M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zM7 6h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z"
|
|
3093
|
-
})));
|
|
3094
|
-
};
|
|
3095
|
-
var ForwardRef$i = /*#__PURE__*/React.forwardRef(SvgActionDeleteOutline);
|
|
3096
|
-
|
|
3097
|
-
var css$C = {"delete-button":"zF3qpi","tab-button":"-aEbrH","targetOpen":"gyk-RJ","deleteButton":"zF3qpi","tabButton":"-aEbrH"};
|
|
3055
|
+
var css$C = {"delete-button":"ONjxQd","tab-button":"DpiPzH","targetOpen":"Ugn6q8","deleteButton":"ONjxQd","tabButton":"DpiPzH"};
|
|
3098
3056
|
|
|
3099
3057
|
function PresetActionsDropdown(props) {
|
|
3100
3058
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -3144,7 +3102,7 @@ function PresetActionsDropdown(props) {
|
|
|
3144
3102
|
React__namespace.default.createElement(DropdownMenuButton, { key: `${props.preset.id}-copyLink`, icon: ForwardRef$j, caption: "Copy Link", onClick: copyUrlToClipboard }),
|
|
3145
3103
|
!isReadonlyPreset && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
3146
3104
|
React__namespace.default.createElement(DropdownMenuSplitter, { key: "delete-splitter" }),
|
|
3147
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$
|
|
3105
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$r, caption: "Delete", cx: css$C.deleteButton, onClick: deleteHandler })))));
|
|
3148
3106
|
};
|
|
3149
3107
|
const renderTarget = React.useCallback((dropdownProps) => {
|
|
3150
3108
|
return (React__namespace.default.createElement(IconButton, Object.assign({ cx: [css$C.tabButton, dropdownProps.isOpen && css$C.targetOpen], color: props.preset.id === props.activePresetId ? 'primary' : 'neutral' }, dropdownProps, { icon: ForwardRef$p, size: "18" })));
|
|
@@ -3152,7 +3110,7 @@ function PresetActionsDropdown(props) {
|
|
|
3152
3110
|
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
3153
3111
|
}
|
|
3154
3112
|
|
|
3155
|
-
var css$B = {"preset-input-cell":"
|
|
3113
|
+
var css$B = {"preset-input-cell":"SyZQGd","preset-input":"_95ljlD","presetInputCell":"SyZQGd","presetInput":"_95ljlD"};
|
|
3156
3114
|
|
|
3157
3115
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
3158
3116
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -3185,7 +3143,7 @@ function PresetInput(props) {
|
|
|
3185
3143
|
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 })));
|
|
3186
3144
|
}
|
|
3187
3145
|
|
|
3188
|
-
var css$A = {"preset":"
|
|
3146
|
+
var css$A = {"preset":"_1N9D09","activePreset":"jQEFOD"};
|
|
3189
3147
|
|
|
3190
3148
|
function Preset(props) {
|
|
3191
3149
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -3206,6 +3164,23 @@ function Preset(props) {
|
|
|
3206
3164
|
return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$A.preset, isPresetActive && css$A.activePreset, UUI_PRESETS_PANEL_PRESET], size: "60", withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: () => React__namespace.default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
3207
3165
|
}
|
|
3208
3166
|
|
|
3167
|
+
var _path$i;
|
|
3168
|
+
function _extends$i() { _extends$i = 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$i.apply(this, arguments); }
|
|
3169
|
+
var SvgActionDeleteForeverFill = function SvgActionDeleteForeverFill(props, ref) {
|
|
3170
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$i({
|
|
3171
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3172
|
+
width: 24,
|
|
3173
|
+
height: 24,
|
|
3174
|
+
viewBox: "0 0 24 24",
|
|
3175
|
+
ref: ref
|
|
3176
|
+
}, props), _path$i || (_path$i = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3177
|
+
fillRule: "evenodd",
|
|
3178
|
+
d: "M7 21c-1.1 0-2-.9-2-2V8h14v11c0 1.1-.9 2-2 2H7zm8-17h5v2H4V4h5V3h6v1zM9.4 18.5l2.6-2.6 2.6 2.6 1.4-1.4-2.6-2.6 2.6-2.6-1.4-1.4-2.6 2.6-2.6-2.6L8 11.9l2.6 2.6L8 17.1l1.4 1.4z",
|
|
3179
|
+
clipRule: "evenodd"
|
|
3180
|
+
})));
|
|
3181
|
+
};
|
|
3182
|
+
var ForwardRef$i = /*#__PURE__*/React.forwardRef(SvgActionDeleteForeverFill);
|
|
3183
|
+
|
|
3209
3184
|
function PresetsPanel(props) {
|
|
3210
3185
|
const [isAddingPreset, setIsAddingPreset] = React.useState(false);
|
|
3211
3186
|
const setAddingPreset = React.useCallback(() => {
|
|
@@ -3228,7 +3203,7 @@ function PresetsPanel(props) {
|
|
|
3228
3203
|
return (React__namespace.default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__namespace.default.createElement(FlexRow, null,
|
|
3229
3204
|
React__namespace.default.createElement("div", { className: css$D.divider }),
|
|
3230
3205
|
React__namespace.default.createElement(Button, Object.assign({ cx: UUI_PRESETS_PANEL_MORE_BUTTON, fill: "ghost", color: "secondary", caption: `${(hiddenItems === null || hiddenItems === void 0 ? void 0 : hiddenItems.length) || ''} more` }, props)))), renderBody: (propsBody) => (React__namespace.default.createElement(DropdownMenuBody, Object.assign({ minWidth: 230 }, propsBody),
|
|
3231
|
-
React__namespace.default.createElement(uuiComponents.ScrollBars, null, hiddenItems.map((hiddenItem) => (React__namespace.default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$
|
|
3206
|
+
React__namespace.default.createElement(uuiComponents.ScrollBars, null, hiddenItems.map((hiddenItem) => (React__namespace.default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$i, iconPosition: "right", cx: css$D.dropdownDeleteIcon, onIconClick: !hiddenItem.preset.isReadonly && (() => props.deletePreset(hiddenItem.preset)) })))))) }));
|
|
3232
3207
|
};
|
|
3233
3208
|
const getPresetPriority = (preset, index) => {
|
|
3234
3209
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -3287,7 +3262,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
3287
3262
|
return columns;
|
|
3288
3263
|
};
|
|
3289
3264
|
|
|
3290
|
-
var css$z = {"line-height-12":"
|
|
3265
|
+
var css$z = {"line-height-12":"tOMlsI","line-height-18":"V9-Apx","line-height-24":"_2k7baW","line-height-30":"SQACQa","font-size-10":"m1K6LH","font-size-12":"_54BSJ3","font-size-14":"_3Zl5zH","font-size-16":"N7tmUr","font-size-18":"MYSyGq","font-size-24":"yfybxJ","v-padding-2":"d-6kxE","v-padding-3":"Lh7Oba","v-padding-5":"putB78","v-padding-6":"y7ROAa","v-padding-8":"_-0HSQw","v-padding-9":"d4tL-z","v-padding-11":"Lm2pDS","v-padding-12":"_-81RjD","v-padding-14":"-YSsHY","v-padding-15":"Z9ryqA","v-padding-17":"Vgho4D","v-padding-18":"Le9-hJ","v-padding-23":"MJbvAl","v-padding-24":"AgX4iw","lineHeight12":"tOMlsI","lineHeight18":"V9-Apx","lineHeight24":"_2k7baW","lineHeight30":"SQACQa","fontSize10":"m1K6LH","fontSize12":"_54BSJ3","fontSize14":"_3Zl5zH","fontSize16":"N7tmUr","fontSize18":"MYSyGq","fontSize24":"yfybxJ","vPadding2":"d-6kxE","vPadding3":"Lh7Oba","vPadding5":"putB78","vPadding6":"y7ROAa","vPadding8":"_-0HSQw","vPadding9":"d4tL-z","vPadding11":"Lm2pDS","vPadding12":"_-81RjD","vPadding14":"-YSsHY","vPadding15":"Z9ryqA","vPadding17":"Vgho4D","vPadding18":"Le9-hJ","vPadding23":"MJbvAl","vPadding24":"AgX4iw"};
|
|
3291
3266
|
|
|
3292
3267
|
function getTextClasses(props, border) {
|
|
3293
3268
|
if (props.size === 'none') {
|
|
@@ -3304,7 +3279,7 @@ function getTextClasses(props, border) {
|
|
|
3304
3279
|
];
|
|
3305
3280
|
}
|
|
3306
3281
|
|
|
3307
|
-
var css$y = {"root":"
|
|
3282
|
+
var css$y = {"root":"HZ4--V"};
|
|
3308
3283
|
|
|
3309
3284
|
function applyTextMods(mods) {
|
|
3310
3285
|
const textClasses = getTextClasses({
|
|
@@ -3323,7 +3298,7 @@ function applyTextMods(mods) {
|
|
|
3323
3298
|
}
|
|
3324
3299
|
const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, applyTextMods);
|
|
3325
3300
|
|
|
3326
|
-
var css$x = {"root":"
|
|
3301
|
+
var css$x = {"root":"sGcJrc","loading-word":"LT5hwY","animated-loading":"B3sCN5","skeleton_loading":"wqRvFJ","loadingWord":"LT5hwY","animatedLoading":"B3sCN5","skeletonLoading":"wqRvFJ"};
|
|
3327
3302
|
|
|
3328
3303
|
const TextPlaceholder = (props) => {
|
|
3329
3304
|
const pattern = ' ';
|
|
@@ -3342,7 +3317,7 @@ const TextPlaceholder = (props) => {
|
|
|
3342
3317
|
|
|
3343
3318
|
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || '14'}`]);
|
|
3344
3319
|
|
|
3345
|
-
var css$w = {"uui-typography":"
|
|
3320
|
+
var css$w = {"uui-typography":"plCZdW","hero-header":"AeCqbS","promo-header":"GwLgrz","uui-critical":"_0Ej2kB","uui-info":"gWggi0","uui-success":"_3Jfblk","uui-warning":"_1rcgbe","uui-highlight":"rLGM-V","uui-typography-size-12":"JkgY30","uui-typography-size-14":"hWVAp6","uui-typography-size-16":"_9vwXh0","root":"_6gKM4F","modal-blocker":"_4mVAUE","animateModalBlocker":"wovPsE","modal":"zzacEk","modal-footer":"wZMpwc","modal-header":"QPR4Es","uuiTypography":"plCZdW","heroHeader":"AeCqbS","promoHeader":"GwLgrz","uuiCritical":"_0Ej2kB","uuiInfo":"gWggi0","uuiSuccess":"_3Jfblk","uuiWarning":"_1rcgbe","uuiHighlight":"rLGM-V","uuiTypographySize12":"JkgY30","uuiTypographySize14":"hWVAp6","uuiTypographySize16":"_9vwXh0","modalBlocker":"_4mVAUE","modalFooter":"wZMpwc","modalHeader":"QPR4Es"};
|
|
3346
3321
|
|
|
3347
3322
|
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$w.modalBlocker]);
|
|
3348
3323
|
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$w.root, css$w.modal], (props) => {
|
|
@@ -3396,7 +3371,7 @@ var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
|
3396
3371
|
};
|
|
3397
3372
|
var ForwardRef$h = /*#__PURE__*/React.forwardRef(SvgNotificationHelpFill);
|
|
3398
3373
|
|
|
3399
|
-
var css$v = {"uui-typography":"
|
|
3374
|
+
var css$v = {"uui-typography":"p3QP0h","hero-header":"r-iTnY","promo-header":"U67Wpq","uui-critical":"_56MJFs","uui-info":"_9TxvLM","uui-success":"urF-A1","uui-warning":"m2MYVm","uui-highlight":"kHrMI-","uui-typography-size-12":"_2UFPir","uui-typography-size-14":"vp-0uG","uui-typography-size-16":"_08fJ6L","root":"iFF3fw","icon-wrapper":"XVRS7A","action-wrapper":"HhGJl6","action-link":"T3N-5T","close-icon":"eGWyTA","main-path":"_9jAq0V","content":"O-cwtw","close-wrapper":"Cn9xAY","notification-wrapper":"qNiE2O","clear-button":"qp3S7m","uuiTypography":"p3QP0h","heroHeader":"r-iTnY","promoHeader":"U67Wpq","uuiCritical":"_56MJFs","uuiInfo":"_9TxvLM","uuiSuccess":"urF-A1","uuiWarning":"m2MYVm","uuiHighlight":"kHrMI-","uuiTypographySize12":"_2UFPir","uuiTypographySize14":"vp-0uG","uuiTypographySize16":"_08fJ6L","iconWrapper":"XVRS7A","actionWrapper":"HhGJl6","actionLink":"T3N-5T","closeIcon":"eGWyTA","mainPath":"_9jAq0V","closeWrapper":"Cn9xAY","notificationWrapper":"qNiE2O","clearButton":"qp3S7m"};
|
|
3400
3375
|
|
|
3401
3376
|
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
3402
3377
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -3472,7 +3447,7 @@ function useReliableForceUpdate() {
|
|
|
3472
3447
|
return red[1];
|
|
3473
3448
|
}
|
|
3474
3449
|
|
|
3475
|
-
var css$u = {"root":"
|
|
3450
|
+
var css$u = {"root":"g6OvGw","timepicker-input":"Q0iweq","ltr-always":"_18z8-I","timepickerInput":"Q0iweq","ltrAlways":"_18z8-I"};
|
|
3476
3451
|
|
|
3477
3452
|
const uuiTimePicker = {
|
|
3478
3453
|
container: 'uui-timepicker-container',
|
|
@@ -3665,7 +3640,7 @@ function TimePicker(props) {
|
|
|
3665
3640
|
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 }));
|
|
3666
3641
|
}
|
|
3667
3642
|
|
|
3668
|
-
var css$t = {"root":"
|
|
3643
|
+
var css$t = {"root":"VU2SPi"};
|
|
3669
3644
|
|
|
3670
3645
|
function applyInputAddonMods() {
|
|
3671
3646
|
return [
|
|
@@ -3674,7 +3649,7 @@ function applyInputAddonMods() {
|
|
|
3674
3649
|
}
|
|
3675
3650
|
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
3676
3651
|
|
|
3677
|
-
var css$s = {"root":"
|
|
3652
|
+
var css$s = {"root":"QysP0a"};
|
|
3678
3653
|
|
|
3679
3654
|
function applySliderMods() {
|
|
3680
3655
|
return [css$s.root, 'uui-color-neutral'];
|
|
@@ -3710,8 +3685,6 @@ function DatePickerComponent(props, ref) {
|
|
|
3710
3685
|
};
|
|
3711
3686
|
const onBlur = (e) => {
|
|
3712
3687
|
var _a;
|
|
3713
|
-
if (uuiCore.isFocusReceiverInsideFocusLock(e))
|
|
3714
|
-
return;
|
|
3715
3688
|
(_a = props.onBlur) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
3716
3689
|
if (isValidDate(inputValue, format, props.filter)) {
|
|
3717
3690
|
setInputValue(toCustomDateFormat(inputValue, format));
|
|
@@ -3721,14 +3694,17 @@ function DatePickerComponent(props, ref) {
|
|
|
3721
3694
|
setInputValue(null);
|
|
3722
3695
|
onValueChange(null);
|
|
3723
3696
|
}
|
|
3724
|
-
|
|
3697
|
+
};
|
|
3698
|
+
const onInputKeyDown = (e) => {
|
|
3699
|
+
if (e.key === 'Enter') {
|
|
3700
|
+
setBodyIsOpen(true);
|
|
3701
|
+
e.preventDefault();
|
|
3702
|
+
}
|
|
3725
3703
|
};
|
|
3726
3704
|
const renderInput = (renderProps) => {
|
|
3727
3705
|
var _a;
|
|
3728
3706
|
const allowClear = !props.disableClear && !!inputValue;
|
|
3729
|
-
return (React__namespace.default.createElement(TextInput, Object.assign({}, renderProps, {
|
|
3730
|
-
// fixes a bug with body open, it skips unwanted prevent default
|
|
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) => {
|
|
3707
|
+
return (React__namespace.default.createElement(TextInput, Object.assign({}, renderProps, { 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) => {
|
|
3732
3708
|
setInputValue(v || '');
|
|
3733
3709
|
}, onCancel: allowClear ? () => {
|
|
3734
3710
|
if (!props.disableClear && !!inputValue) {
|
|
@@ -3736,13 +3712,12 @@ function DatePickerComponent(props, ref) {
|
|
|
3736
3712
|
}
|
|
3737
3713
|
} : undefined, isInvalid: props.isInvalid, isDisabled: props.isDisabled, isReadonly: props.isReadonly, tabIndex: props.isReadonly || props.isDisabled ? -1 : 0, onFocus: (e) => {
|
|
3738
3714
|
var _a;
|
|
3739
|
-
setBodyIsOpen(true);
|
|
3740
3715
|
(_a = props.onFocus) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
3741
|
-
}, onBlur: onBlur, mode: props.mode || defaultMode, rawProps: (_a = props.rawProps) === null || _a === void 0 ? void 0 : _a.input, id: props.id })));
|
|
3716
|
+
}, onKeyDown: onInputKeyDown, onBlur: onBlur, mode: props.mode || defaultMode, rawProps: (_a = props.rawProps) === null || _a === void 0 ? void 0 : _a.input, id: props.id })));
|
|
3742
3717
|
};
|
|
3743
3718
|
const renderBody = (renderProps) => {
|
|
3744
3719
|
var _a, _b;
|
|
3745
|
-
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, renderProps
|
|
3720
|
+
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, renderProps),
|
|
3746
3721
|
React__namespace.default.createElement(DatePickerBody, { value: value, onValueChange: onBodyValueChange, cx: uuiCore.cx(props.bodyCx), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay, rawProps: (_a = props.rawProps) === null || _a === void 0 ? void 0 : _a.body }), (_b = props.renderFooter) === null || _b === void 0 ? void 0 :
|
|
3747
3722
|
_b.call(props)));
|
|
3748
3723
|
};
|
|
@@ -3757,14 +3732,23 @@ function DatePickerComponent(props, ref) {
|
|
|
3757
3732
|
}
|
|
3758
3733
|
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
3759
3734
|
|
|
3760
|
-
var css$r = {"uui-typography":"
|
|
3735
|
+
var css$r = {"uui-typography":"W6PbRl","hero-header":"DfO11-","promo-header":"-Gz5zX","uui-critical":"go4eRs","uui-info":"_4u8OjU","uui-success":"h2JvgL","uui-warning":"_0j13Nk","uui-highlight":"B1dmBr","uui-typography-size-12":"XuLL6I","uui-typography-size-14":"_1HnpjK","uui-typography-size-16":"_0ERa03","root":"pvg7bO","uuiTypography":"W6PbRl","heroHeader":"DfO11-","promoHeader":"-Gz5zX","uuiCritical":"go4eRs","uuiInfo":"_4u8OjU","uuiSuccess":"h2JvgL","uuiWarning":"_0j13Nk","uuiHighlight":"B1dmBr","uuiTypographySize12":"XuLL6I","uuiTypographySize14":"_1HnpjK","uuiTypographySize16":"_0ERa03"};
|
|
3761
3736
|
|
|
3762
|
-
|
|
3763
|
-
|
|
3737
|
+
const uuiPresets = {
|
|
3738
|
+
container: 'uui-presets-container',
|
|
3739
|
+
header: 'uui-presets-header',
|
|
3740
|
+
item: 'uui-presets-item',
|
|
3741
|
+
};
|
|
3742
|
+
const getPresets = (presets) => {
|
|
3743
|
+
return Object.keys(presets).map((key) => (Object.assign(Object.assign({}, presets[key].getRange()), { name: presets[key].name, key }))).sort((a, b) => a.order - b.order);
|
|
3744
|
+
};
|
|
3745
|
+
function CalendarPresets(props) {
|
|
3746
|
+
return (React__namespace.createElement("div", Object.assign({ ref: props.forwardedRef, className: uuiCore.cx(uuiPresets.container, css$r.root, props.cx) }, props.rawProps),
|
|
3747
|
+
React__namespace.createElement("div", { className: uuiPresets.header }, "Presets"),
|
|
3748
|
+
getPresets(props.presets).map((item) => (React__namespace.createElement(LinkButton, { key: item.key, caption: item.name, onClick: () => props.onPresetSet(item), size: "24" })))));
|
|
3764
3749
|
}
|
|
3765
|
-
const CalendarPresets = /* @__PURE__ */uuiCore.withMods(uuiComponents.CalendarPresets, applyCalendarPresetsMods, () => ({}));
|
|
3766
3750
|
|
|
3767
|
-
var css$q = {"uui-typography":"
|
|
3751
|
+
var css$q = {"uui-typography":"bRiMG-","hero-header":"_41dYfc","promo-header":"_0DgqS-","uui-critical":"O-WduI","uui-info":"o5Ovkn","uui-success":"LKySov","uui-warning":"HEGlnz","uui-highlight":"XoEa-m","uui-typography-size-12":"HtXpI5","uui-typography-size-14":"q5qHv9","uui-typography-size-16":"OQdiWy","root":"ytxHx-","container":"pC8g7w","day-selection":"LFE-SO","from-picker":"_1ANzDS","to-picker":"_3NTsW9","bodes-wrapper":"NxHIpK","blocker":"mJ2xEJ","uuiTypography":"bRiMG-","heroHeader":"_41dYfc","promoHeader":"_0DgqS-","uuiCritical":"O-WduI","uuiInfo":"o5Ovkn","uuiSuccess":"LKySov","uuiWarning":"HEGlnz","uuiHighlight":"XoEa-m","uuiTypographySize12":"HtXpI5","uuiTypographySize14":"q5qHv9","uuiTypographySize16":"OQdiWy","daySelection":"LFE-SO","fromPicker":"_1ANzDS","toPicker":"_3NTsW9","bodesWrapper":"NxHIpK"};
|
|
3768
3752
|
|
|
3769
3753
|
const uuiRangeDatePickerBody = {
|
|
3770
3754
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3912,10 +3896,10 @@ function RangeDatePickerBodyComp(props, ref) {
|
|
|
3912
3896
|
React__namespace.default.createElement(FlexRow, { cx: css$q.bodesWrapper, alignItems: "top" },
|
|
3913
3897
|
React__namespace.default.createElement(StatelessDatePickerBody, Object.assign({ key: "date-picker-body-left", cx: uuiCore.cx(css$q.fromPicker) }, from, { onValueChange: (v) => onBodyValueChange(v, 'from'), onMonthChange: (m) => {
|
|
3914
3898
|
setMonth(m);
|
|
3915
|
-
}, onViewChange: (v) => setView(v), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay || renderDay })),
|
|
3899
|
+
}, onViewChange: (v) => setView(v), filter: props.filter, isHoliday: props.isHoliday, renderDay: props.renderDay || renderDay, isDisabled: view !== 'DAY_SELECTION' && activeMonth === 'to' })),
|
|
3916
3900
|
React__namespace.default.createElement(StatelessDatePickerBody, Object.assign({ key: "date-picker-body-right", cx: uuiCore.cx(css$q.toPicker) }, to, { onValueChange: (v) => onBodyValueChange(v, 'to'), onMonthChange: (m) => {
|
|
3917
3901
|
setMonth(m.subtract(1, 'month'));
|
|
3918
|
-
}, onViewChange: (v) => setView(v), filter: props.filter, renderDay: props.renderDay || renderDay, isHoliday: props.isHoliday })),
|
|
3902
|
+
}, onViewChange: (v) => setView(v), filter: props.filter, renderDay: props.renderDay || renderDay, isHoliday: props.isHoliday, isDisabled: view !== 'DAY_SELECTION' && activeMonth === 'from' })),
|
|
3919
3903
|
view !== 'DAY_SELECTION' && (React__namespace.default.createElement("div", { style: {
|
|
3920
3904
|
left: activeMonth === 'from' ? '50%' : undefined,
|
|
3921
3905
|
right: activeMonth === 'to' ? '50%' : undefined,
|
|
@@ -3960,9 +3944,8 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3960
3944
|
}
|
|
3961
3945
|
}
|
|
3962
3946
|
};
|
|
3963
|
-
const onOpenChange = (newIsOpen
|
|
3947
|
+
const onOpenChange = (newIsOpen) => {
|
|
3964
3948
|
var _a;
|
|
3965
|
-
setInFocus(newIsOpen && focus ? focus : null);
|
|
3966
3949
|
setIsOpen(newIsOpen);
|
|
3967
3950
|
(_a = props.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(props, newIsOpen);
|
|
3968
3951
|
};
|
|
@@ -3978,16 +3961,9 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3978
3961
|
onOpenChange(false);
|
|
3979
3962
|
}
|
|
3980
3963
|
};
|
|
3981
|
-
// mainly for closing body on tab
|
|
3982
|
-
const onInputWrapperBlur = (event) => {
|
|
3983
|
-
if (uuiCore.isFocusReceiverInsideFocusLock(event)) {
|
|
3984
|
-
return;
|
|
3985
|
-
}
|
|
3986
|
-
onOpenChange(false);
|
|
3987
|
-
};
|
|
3988
3964
|
const renderBody = (renderProps) => {
|
|
3989
3965
|
var _a;
|
|
3990
|
-
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, renderProps, { cx: cx__default.default(css$G.dropdownContainer)
|
|
3966
|
+
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, renderProps, { cx: cx__default.default(css$G.dropdownContainer) }),
|
|
3991
3967
|
React__namespace.default.createElement(FlexRow, null,
|
|
3992
3968
|
React__namespace.default.createElement(RangeDatePickerBody, { cx: cx__default.default(props.bodyCx), value: {
|
|
3993
3969
|
selectedDate: _value,
|
|
@@ -3999,16 +3975,16 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3999
3975
|
};
|
|
4000
3976
|
return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: (renderProps) => {
|
|
4001
3977
|
var _a;
|
|
4002
|
-
return ((_a = props.renderTarget) === null || _a === void 0 ? void 0 : _a.call(props, renderProps)) || (React__namespace.default.createElement(RangeDatePickerInput, { ref: renderProps.ref, cx: props.inputCx, onClick: renderProps.onClick, isDisabled: props.isDisabled, isInvalid: props.isInvalid, isReadonly: props.isReadonly, size: props.size, getPlaceholder: props.getPlaceholder, disableClear: props.disableClear, rawProps: props.rawProps, inFocus: inFocus, value: value, format: format, onValueChange: onValueChange,
|
|
3978
|
+
return ((_a = props.renderTarget) === null || _a === void 0 ? void 0 : _a.call(props, renderProps)) || (React__namespace.default.createElement(RangeDatePickerInput, { ref: renderProps.ref, cx: props.inputCx, onClick: renderProps.onClick, isDisabled: props.isDisabled, isInvalid: props.isInvalid, isReadonly: props.isReadonly, size: props.size, getPlaceholder: props.getPlaceholder, disableClear: props.disableClear, rawProps: props.rawProps, inFocus: inFocus, value: value, format: format, onValueChange: onValueChange, onFocusInput: (e, type) => {
|
|
4003
3979
|
var _a;
|
|
4004
|
-
(_a = props.onFocus) === null || _a === void 0 ? void 0 : _a.call(props, e,
|
|
4005
|
-
|
|
4006
|
-
}, onBlurInput: props.onBlur }));
|
|
3980
|
+
(_a = props.onFocus) === null || _a === void 0 ? void 0 : _a.call(props, e, type);
|
|
3981
|
+
setInFocus(type);
|
|
3982
|
+
}, onBlurInput: (e, type) => { var _a; (_a = props.onBlur) === null || _a === void 0 ? void 0 : _a.call(props, e, type); !isOpen && setInFocus(null); } }));
|
|
4007
3983
|
}, renderBody: (renderProps) => renderBody(renderProps), onValueChange: (v) => onOpenChange(v), value: isOpen, modifiers: modifiers, placement: props.placement, forwardedRef: ref }));
|
|
4008
3984
|
}
|
|
4009
3985
|
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
4010
3986
|
|
|
4011
|
-
var css$p = {"root":"
|
|
3987
|
+
var css$p = {"root":"_3ol1MS","blocker":"x2DkW8","marker":"rFab9L","top":"_1c-3lP","bottom":"P8Je-l","left":"UOiLJP","right":"D90zfr","inside":"Sm4f2B"};
|
|
4012
3988
|
|
|
4013
3989
|
function DropMarker(props) {
|
|
4014
3990
|
return props.isDndInProgress
|
|
@@ -4023,18 +3999,18 @@ function DropMarker(props) {
|
|
|
4023
3999
|
: null;
|
|
4024
4000
|
}
|
|
4025
4001
|
|
|
4026
|
-
var css$o = {"uui-typography":"
|
|
4002
|
+
var css$o = {"uui-typography":"cwpupr","hero-header":"h7a04T","promo-header":"STxdpM","uui-critical":"_1JO6Pi","uui-info":"L8cqQU","uui-success":"EbnSU-","uui-warning":"CGlaWM","uui-highlight":"GBSP89","uui-typography-size-12":"zraU4r","uui-typography-size-14":"TJZyXJ","uui-typography-size-16":"Jk-szV","cell":"-cXDPa","wrapper":"QrQLHD","align-widgets-top":"DeQhLt","size-24":"YIDKNI","size-30":"OOVxSW","size-36":"_5TkTnM","size-42":"yn1SYJ","size-48":"Yg56-m","size-60":"Q1sNGk","align-widgets-center":"PyS0Sv","padding-6":"J-X32D","padding-12":"fSsdu7","padding-24":"efaSNV","padding-left-12":"VIRWOz","padding-left-24":"_9Ktcfn","padding-right-12":"B3L0uI","padding-right-24":"pudqU2","loading-cell":"ThpicB","uuiTypography":"cwpupr","heroHeader":"h7a04T","promoHeader":"STxdpM","uuiCritical":"_1JO6Pi","uuiInfo":"L8cqQU","uuiSuccess":"EbnSU-","uuiWarning":"CGlaWM","uuiHighlight":"GBSP89","uuiTypographySize12":"zraU4r","uuiTypographySize14":"TJZyXJ","uuiTypographySize16":"Jk-szV","alignWidgetsTop":"DeQhLt","size24":"YIDKNI","size30":"OOVxSW","size36":"_5TkTnM","size42":"yn1SYJ","size48":"Yg56-m","size60":"Q1sNGk","alignWidgetsCenter":"PyS0Sv","padding6":"J-X32D","padding12":"fSsdu7","padding24":"efaSNV","paddingLeft12":"VIRWOz","paddingLeft24":"_9Ktcfn","paddingRight12":"B3L0uI","paddingRight24":"pudqU2","loadingCell":"ThpicB"};
|
|
4027
4003
|
|
|
4028
|
-
function DataTableCell(
|
|
4029
|
-
|
|
4004
|
+
function DataTableCell(props) {
|
|
4005
|
+
props = Object.assign({}, props);
|
|
4030
4006
|
if (props.isFirstColumn) {
|
|
4031
|
-
props.addons = React__namespace.createElement(DataRowAddons, Object.assign({
|
|
4007
|
+
props.addons = React__namespace.createElement(DataRowAddons, Object.assign({}, props));
|
|
4032
4008
|
}
|
|
4033
4009
|
props.renderPlaceholder = props.renderPlaceholder
|
|
4034
4010
|
|| (() => (
|
|
4035
4011
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
4036
4012
|
React__namespace.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48', cx: css$o.loadingCell },
|
|
4037
|
-
React__namespace.createElement(TextPlaceholder,
|
|
4013
|
+
React__namespace.createElement(TextPlaceholder, { isNotAnimated: true }))));
|
|
4038
4014
|
props.renderUnknown = props.renderUnknown
|
|
4039
4015
|
|| (() => (React__namespace.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48' }, "Unknown")));
|
|
4040
4016
|
props.renderTooltip = (tooltipProps) => React__namespace.createElement(Tooltip, Object.assign({ color: "critical" }, tooltipProps));
|
|
@@ -4057,11 +4033,10 @@ function DataTableCell(initialProps) {
|
|
|
4057
4033
|
return { padding: '12', sidePadding: '24' };
|
|
4058
4034
|
};
|
|
4059
4035
|
props.cx = [
|
|
4060
|
-
'uui-dt-vars',
|
|
4061
4036
|
'data-table-cell',
|
|
4062
4037
|
props.cx,
|
|
4063
4038
|
css$o.cell,
|
|
4064
|
-
'
|
|
4039
|
+
css$o['size-' + (props.size || '36')],
|
|
4065
4040
|
css$o[`padding-${getPaddings().padding}`],
|
|
4066
4041
|
props.isFirstColumn && css$o[`padding-left-${getPaddings().sidePadding}`],
|
|
4067
4042
|
props.isLastColumn && css$o[`padding-right-${getPaddings().sidePadding}`],
|
|
@@ -4071,7 +4046,7 @@ function DataTableCell(initialProps) {
|
|
|
4071
4046
|
return React__namespace.createElement(uuiComponents.DataTableCell, Object.assign({}, props));
|
|
4072
4047
|
}
|
|
4073
4048
|
|
|
4074
|
-
var css$n = {"uui-typography":"
|
|
4049
|
+
var css$n = {"uui-typography":"hw4y-d","hero-header":"Er7e4O","promo-header":"Yw7ntJ","uui-critical":"mijoi4","uui-info":"f2REf9","uui-success":"O8o27y","uui-warning":"n0Pt8-","uui-highlight":"s3SYcI","uui-typography-size-12":"I5f5G1","uui-typography-size-14":"gT-Chl","uui-typography-size-16":"XIf-a7","root":"WiQZkx","size-24":"K84ODd","size-30":"MQnxWq","size-36":"GhLU6k","size-48":"-rCVPJ","size-60":"i28xcT","uuiTypography":"hw4y-d","heroHeader":"Er7e4O","promoHeader":"Yw7ntJ","uuiCritical":"mijoi4","uuiInfo":"f2REf9","uuiSuccess":"O8o27y","uuiWarning":"n0Pt8-","uuiHighlight":"s3SYcI","uuiTypographySize12":"I5f5G1","uuiTypographySize14":"gT-Chl","uuiTypographySize16":"XIf-a7","size24":"K84ODd","size30":"MQnxWq","size36":"GhLU6k","size48":"-rCVPJ","size60":"i28xcT"};
|
|
4075
4050
|
|
|
4076
4051
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
4077
4052
|
// 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.
|
|
@@ -4087,7 +4062,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
|
|
|
4087
4062
|
];
|
|
4088
4063
|
}, () => propsMods);
|
|
4089
4064
|
|
|
4090
|
-
var css$m = {"uui-typography":"
|
|
4065
|
+
var css$m = {"uui-typography":"deXZt6","hero-header":"XGzbMz","promo-header":"OIzjV-","uui-critical":"yYiFm0","uui-info":"rGzi4B","uui-success":"ksKsu-","uui-warning":"etKG8G","uui-highlight":"_-0hvUb","uui-typography-size-12":"_16rCf6","uui-typography-size-14":"PnvAKE","uui-typography-size-16":"_9r9ayE","sorting-panel-container":"TG4YBW","sort-active":"OvkLTQ","uuiTypography":"deXZt6","heroHeader":"XGzbMz","promoHeader":"OIzjV-","uuiCritical":"yYiFm0","uuiInfo":"rGzi4B","uuiSuccess":"ksKsu-","uuiWarning":"etKG8G","uuiHighlight":"_-0hvUb","uuiTypographySize12":"_16rCf6","uuiTypographySize14":"PnvAKE","uuiTypographySize16":"_9r9ayE","sortingPanelContainer":"TG4YBW","sortActive":"OvkLTQ"};
|
|
4091
4066
|
|
|
4092
4067
|
var _path$g;
|
|
4093
4068
|
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); }
|
|
@@ -4182,7 +4157,7 @@ var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props
|
|
|
4182
4157
|
viewBox: "0 0 24 24",
|
|
4183
4158
|
ref: ref
|
|
4184
4159
|
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4185
|
-
d: "
|
|
4160
|
+
d: "M18.586 15.914 20 14.5l-8-8-8 8 1.414 1.414L12 9.328l6.586 6.586z"
|
|
4186
4161
|
})));
|
|
4187
4162
|
};
|
|
4188
4163
|
var ForwardRef$c = /*#__PURE__*/React.forwardRef(SvgNavigationChevronUpOutline);
|
|
@@ -4217,7 +4192,7 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
4217
4192
|
};
|
|
4218
4193
|
var ForwardRef$a = /*#__PURE__*/React.forwardRef(SvgNavigationExpandAllOutline);
|
|
4219
4194
|
|
|
4220
|
-
var css$l = {"uui-typography":"
|
|
4195
|
+
var css$l = {"uui-typography":"IFctLC","hero-header":"_7E3sVC","promo-header":"mxglKH","uui-critical":"vdtSJC","uui-info":"_0CVnRg","uui-success":"_0pO6b7","uui-warning":"ozrKz2","uui-highlight":"z4KeBT","uui-typography-size-12":"_1I0Zqc","uui-typography-size-14":"nSCEi5","uui-typography-size-16":"q-NH8R","cell":"_2G1wDg","column-gap-12":"St5cka","caption-wrapper":"Bh9SRA","column-gap-24":"NUDR6h","first-column-12":"XHOflQ","last-column-12":"_4TLUzP","first-column-24":"_7ivK5r","last-column-24":"uEQnOE","sort-icon":"C3Hvk6","dropdown-icon":"cR6IFp","infoIcon":"m4o-dC","resizable":"c2f-C5","size-24":"yw8aZw","size-30":"EQfsof","size-36":"_74XUv-","size-42":"OLsos9","size-48":"GIr-v-","size-60":"pa0B3l","padding-left-24":"yiO0oX","padding-right-24":"FRvT4h","align-right":"FQef41","align-center":"ppzF4Z","caption":"mTDJPl","checkbox":"off2aL","icon":"WTdaVn","fold-all-icon":"ovi6eA","cell-tooltip":"MNqZDC","upper-case":"sDYzGX","font-size-14":"CzNoYN","resize-mark":"p3oSs8","resize-mark-6":"Ldp30G","resize-mark-12":"a7ZTZR","pinned-right":"_4bH2n3","draggable":"jKI6vL","ghost":"DRWtve","is-dragged-out":"_3IFWUR","dnd-marker-left":"s-4TVE","dnd-marker-right":"BeXWMq","cell-tooltip-wrapper":"dsLGNB","cell-tooltip-text":"BHq9kc","uuiTypography":"IFctLC","heroHeader":"_7E3sVC","promoHeader":"mxglKH","uuiCritical":"vdtSJC","uuiInfo":"_0CVnRg","uuiSuccess":"_0pO6b7","uuiWarning":"ozrKz2","uuiHighlight":"z4KeBT","uuiTypographySize12":"_1I0Zqc","uuiTypographySize14":"nSCEi5","uuiTypographySize16":"q-NH8R","columnGap12":"St5cka","captionWrapper":"Bh9SRA","columnGap24":"NUDR6h","firstColumn12":"XHOflQ","lastColumn12":"_4TLUzP","firstColumn24":"_7ivK5r","lastColumn24":"uEQnOE","sortIcon":"C3Hvk6","dropdownIcon":"cR6IFp","size24":"yw8aZw","size30":"EQfsof","size36":"_74XUv-","size42":"OLsos9","size48":"GIr-v-","size60":"pa0B3l","paddingLeft24":"yiO0oX","paddingRight24":"FRvT4h","alignRight":"FQef41","alignCenter":"ppzF4Z","foldAllIcon":"ovi6eA","cellTooltip":"MNqZDC","upperCase":"sDYzGX","fontSize14":"CzNoYN","resizeMark":"p3oSs8","resizeMark6":"Ldp30G","resizeMark12":"a7ZTZR","pinnedRight":"_4bH2n3","isDraggedOut":"_3IFWUR","dndMarkerLeft":"s-4TVE","dndMarkerRight":"BeXWMq","cellTooltipWrapper":"dsLGNB","cellTooltipText":"BHq9kc"};
|
|
4221
4196
|
|
|
4222
4197
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
4223
4198
|
constructor() {
|
|
@@ -4267,11 +4242,11 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
4267
4242
|
const isResizable = (_a = this.props.column.allowResizing) !== null && _a !== void 0 ? _a : this.props.allowColumnsResizing;
|
|
4268
4243
|
const onClickEvent = !props.isResizing && (!this.props.column.renderFilter ? props.toggleSort : dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.onClick);
|
|
4269
4244
|
const sideColumnPadding = this.props.columnsGap === '12' ? '12' : '24';
|
|
4270
|
-
return (React__namespace.createElement(
|
|
4245
|
+
return (React__namespace.createElement(uuiComponents.DataTableCellContainer, { column: this.props.column, ref: (ref) => {
|
|
4271
4246
|
var _a;
|
|
4272
4247
|
props.ref(ref);
|
|
4273
4248
|
(_a = dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.ref) === null || _a === void 0 ? void 0 : _a.call(dropdownProps, ref);
|
|
4274
|
-
}, cx: uuiCore.cx(
|
|
4249
|
+
}, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiCore.uuiMarkers.clickable, css$l.cell, css$l['size-' + (this.props.size || '36')], this.props.columnsGap && css$l[`column-gap-${this.props.columnsGap}`], this.props.isFirstColumn && css$l[`first-column-${sideColumnPadding}`], this.props.isLastColumn && css$l[`last-column-${sideColumnPadding}`], this.props.column.fix && css$l['pinned-' + this.props.column.fix], isResizable && css$l.resizable, props.isDraggable && css$l.draggable, props.isDragGhost && css$l.ghost, props.isDraggedOut && css$l.isDraggedOut, props.isDndInProgress && css$l['dnd-marker-' + props.position]), onClick: onClickEvent, rawProps: Object.assign({ role: 'columnheader', 'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none' }, props.eventHandlers) },
|
|
4275
4250
|
this.renderHeaderCheckbox(),
|
|
4276
4251
|
this.renderFoldAllIcon(),
|
|
4277
4252
|
this.getColumnCaption(),
|
|
@@ -4280,6 +4255,9 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
4280
4255
|
this.renderCellWithFilter = (props) => (React__namespace.createElement(ColumnHeaderDropdown, { isOpen: this.state.isDropdownOpen, isSortable: this.props.column.isSortable, renderTarget: (dropdownProps) => this.renderCellContent(props, dropdownProps), renderFilter: this.props.renderFilter, onSort: this.props.onSort, sortDirection: this.props.sortDirection, onOpenChange: (isDropdownOpen) => this.setState({ isDropdownOpen }), title: this.props.column.caption }));
|
|
4281
4256
|
}
|
|
4282
4257
|
render() {
|
|
4258
|
+
if (this.props.column.renderHeaderCell) {
|
|
4259
|
+
return this.props.column.renderHeaderCell(this.props);
|
|
4260
|
+
}
|
|
4283
4261
|
return React__namespace.createElement(uuiComponents.DataTableHeaderCell, Object.assign({}, this.props, { renderCellContent: this.props.column.renderFilter ? this.renderCellWithFilter : this.renderCellContent }));
|
|
4284
4262
|
}
|
|
4285
4263
|
}
|
|
@@ -4299,14 +4277,14 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
4299
4277
|
};
|
|
4300
4278
|
var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgActionSettingsFill);
|
|
4301
4279
|
|
|
4302
|
-
var css$k = {"uui-typography":"
|
|
4280
|
+
var css$k = {"uui-typography":"_1vQmKT","hero-header":"QHN6Gg","promo-header":"_0ya0y7","uui-critical":"vB-1qk","uui-info":"pCDuaQ","uui-success":"AwJ8T2","uui-warning":"EByQuc","uui-highlight":"gnOEjL","uui-typography-size-12":"LNyVBu","uui-typography-size-14":"pCVgNJ","uui-typography-size-16":"wXaHom","header-cell":"EvpwS-","truncate":"ee0omN","uuiTypography":"_1vQmKT","heroHeader":"QHN6Gg","promoHeader":"_0ya0y7","uuiCritical":"vB-1qk","uuiInfo":"pCDuaQ","uuiSuccess":"AwJ8T2","uuiWarning":"EByQuc","uuiHighlight":"gnOEjL","uuiTypographySize12":"LNyVBu","uuiTypographySize14":"pCVgNJ","uuiTypographySize16":"wXaHom","headerCell":"EvpwS-"};
|
|
4303
4281
|
|
|
4304
4282
|
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, (props) => [css$k.root, 'uui-dt-vars', props.size === '48' && css$k.truncate], (mods) => ({
|
|
4305
4283
|
renderCell: (props) => React__namespace.createElement(DataTableHeaderCell, Object.assign({}, props, { size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
4306
4284
|
renderConfigButton: () => React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: "config-icon", color: "neutral", icon: ForwardRef$9 }),
|
|
4307
4285
|
}));
|
|
4308
4286
|
|
|
4309
|
-
var styles$1 = {"uui-typography":"
|
|
4287
|
+
var styles$1 = {"uui-typography":"AbOcMH","hero-header":"XvJ-4Y","promo-header":"XVcCr9","uui-critical":"t31Bt2","uui-info":"niYF6C","uui-success":"qHvpir","uui-warning":"nMFabM","uui-highlight":"_4WVajJ","uui-typography-size-12":"dzuE4i","uui-typography-size-14":"_1cknu-","uui-typography-size-16":"EgxOnP","main-panel":"pJhDJ5","group-title":"_36dpUL","group-title-text":"v19Io7","group-title-badge":"ioZllf","group-items":"mhLFRd","no-data":"Ps6FMI","h-divider":"_6xJrpw","search-area":"GD-Cin","subgroup-accordion":"DFZvgg","subgroup-title":"Nel2n0","uuiTypography":"AbOcMH","heroHeader":"XvJ-4Y","promoHeader":"XVcCr9","uuiCritical":"t31Bt2","uuiInfo":"niYF6C","uuiSuccess":"qHvpir","uuiWarning":"nMFabM","uuiHighlight":"_4WVajJ","uuiTypographySize12":"dzuE4i","uuiTypographySize14":"_1cknu-","uuiTypographySize16":"EgxOnP","mainPanel":"pJhDJ5","groupTitle":"_36dpUL","groupTitleText":"v19Io7","groupTitleBadge":"ioZllf","groupItems":"mhLFRd","noData":"Ps6FMI","hDivider":"_6xJrpw","searchArea":"GD-Cin","subgroupAccordion":"DFZvgg","subgroupTitle":"Nel2n0"};
|
|
4310
4288
|
|
|
4311
4289
|
var _path$8;
|
|
4312
4290
|
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); }
|
|
@@ -4363,7 +4341,7 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
4363
4341
|
};
|
|
4364
4342
|
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnRightFill);
|
|
4365
4343
|
|
|
4366
|
-
var css$j = {"unpin-icon":"
|
|
4344
|
+
var css$j = {"unpin-icon":"_8ixFfQ","pin-toggler-icon":"cAjTDl","unpinIcon":"_8ixFfQ","pinTogglerIcon":"cAjTDl"};
|
|
4367
4345
|
|
|
4368
4346
|
function PinIconButton(props) {
|
|
4369
4347
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4422,7 +4400,7 @@ var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
|
4422
4400
|
};
|
|
4423
4401
|
var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgActionDragIndicator18);
|
|
4424
4402
|
|
|
4425
|
-
var styles = {"uui-typography":"
|
|
4403
|
+
var styles = {"uui-typography":"knwmxQ","hero-header":"i1Upub","promo-header":"A9jkLM","uui-critical":"n2gZgf","uui-info":"WbEEVJ","uui-success":"a5Gy8v","uui-warning":"D3Hlws","uui-highlight":"CtCpXD","uui-typography-size-12":"hBgn3K","uui-typography-size-14":"_5-fQMV","uui-typography-size-16":"Z2Z5nM","row-wrapper":"dZCaxb","not-pinned":"Gru9S6","pin-icon-button":"B3bOva","checkbox":"-V3uzv","drag-handle":"n7B9CS","dnd-disabled":"w78BoS","uuiTypography":"knwmxQ","heroHeader":"i1Upub","promoHeader":"A9jkLM","uuiCritical":"n2gZgf","uuiInfo":"WbEEVJ","uuiSuccess":"a5Gy8v","uuiWarning":"D3Hlws","uuiHighlight":"CtCpXD","uuiTypographySize12":"hBgn3K","uuiTypographySize14":"_5-fQMV","uuiTypographySize16":"Z2Z5nM","rowWrapper":"dZCaxb","notPinned":"Gru9S6","pinIconButton":"B3bOva","dragHandle":"n7B9CS","dndDisabled":"w78BoS"};
|
|
4426
4404
|
|
|
4427
4405
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4428
4406
|
const { column } = props;
|
|
@@ -4531,7 +4509,7 @@ function SubGroup(props) {
|
|
|
4531
4509
|
return null;
|
|
4532
4510
|
}
|
|
4533
4511
|
|
|
4534
|
-
var css$i = {"listContainer":"
|
|
4512
|
+
var css$i = {"listContainer":"isxXjZ","header":"WB3-XJ","group":"_02BXus","stickyHeader":"lACdxs"};
|
|
4535
4513
|
|
|
4536
4514
|
const getChildrenAndRest = (row, rows) => {
|
|
4537
4515
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -4597,7 +4575,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4597
4575
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4598
4576
|
ref: ref
|
|
4599
4577
|
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
4600
|
-
clipPath: "url(#
|
|
4578
|
+
clipPath: "url(#dttaa0b2ic052d5qn_a)"
|
|
4601
4579
|
}, _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4602
4580
|
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",
|
|
4603
4581
|
fill: "#F5F6FA"
|
|
@@ -4618,7 +4596,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4618
4596
|
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",
|
|
4619
4597
|
fill: "#1D1E26"
|
|
4620
4598
|
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
4621
|
-
id: "
|
|
4599
|
+
id: "dttaa03gpjzndwh0b_b",
|
|
4622
4600
|
style: {
|
|
4623
4601
|
maskType: "alpha"
|
|
4624
4602
|
},
|
|
@@ -4631,7 +4609,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4631
4609
|
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",
|
|
4632
4610
|
fill: "#9BDEFF"
|
|
4633
4611
|
}))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
4634
|
-
mask: "url(#
|
|
4612
|
+
mask: "url(#dttaa03gpjzndwh0b_b)",
|
|
4635
4613
|
fillRule: "evenodd",
|
|
4636
4614
|
clipRule: "evenodd"
|
|
4637
4615
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -4717,7 +4695,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4717
4695
|
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",
|
|
4718
4696
|
fill: "#fff"
|
|
4719
4697
|
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
4720
|
-
id: "
|
|
4698
|
+
id: "dttaa0b2ic052d5qn_a"
|
|
4721
4699
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
4722
4700
|
fill: "#fff",
|
|
4723
4701
|
transform: "translate(.552)",
|
|
@@ -4726,7 +4704,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4726
4704
|
};
|
|
4727
4705
|
var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgEmptyTable);
|
|
4728
4706
|
|
|
4729
|
-
var css$h = {"sticky-header":"
|
|
4707
|
+
var css$h = {"sticky-header":"UqlJi4","table":"_9c8Bu-","no-results":"bAVS9N","no-results-icon":"_1YP3fQ","no-results-title":"Flxbwi","stickyHeader":"UqlJi4","noResults":"bAVS9N","noResultsIcon":"_1YP3fQ","noResultsTitle":"Flxbwi"};
|
|
4730
4708
|
|
|
4731
4709
|
const DEFAULT_HEADER_SIZE = '36';
|
|
4732
4710
|
const DEFAULT_COLUMN_GAP = '24';
|
|
@@ -4779,9 +4757,9 @@ function DataTable(props) {
|
|
|
4779
4757
|
} }))));
|
|
4780
4758
|
}
|
|
4781
4759
|
|
|
4782
|
-
var css$g = {"root":"
|
|
4760
|
+
var css$g = {"root":"tWfP2U"};
|
|
4783
4761
|
|
|
4784
|
-
var css$f = {"root":"
|
|
4762
|
+
var css$f = {"root":"UNhAwr","burger-content":"zWhjjN","burgerContent":"zWhjjN"};
|
|
4785
4763
|
|
|
4786
4764
|
var _path$3;
|
|
4787
4765
|
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); }
|
|
@@ -4824,7 +4802,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
4824
4802
|
};
|
|
4825
4803
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
4826
4804
|
|
|
4827
|
-
var css$e = {"uui-typography":"
|
|
4805
|
+
var css$e = {"uui-typography":"FqQ2Tb","hero-header":"dwVwTe","promo-header":"H0SnZ0","uui-critical":"zJu4Ka","uui-info":"hptRhN","uui-success":"LjR0L7","uui-warning":"V-2xx7","uui-highlight":"lwrLbn","uui-typography-size-12":"JqG-gJ","uui-typography-size-14":"pDbYTo","uui-typography-size-16":"tTIFZC","root":"NTDvxj","button-primary":"PsxdBn","button-secondary":"_6cEgoA","hasIcon":"pVxKFg","dropdown":"tpTnWe","uuiTypography":"FqQ2Tb","heroHeader":"dwVwTe","promoHeader":"H0SnZ0","uuiCritical":"zJu4Ka","uuiInfo":"hptRhN","uuiSuccess":"LjR0L7","uuiWarning":"V-2xx7","uuiHighlight":"lwrLbn","uuiTypographySize12":"JqG-gJ","uuiTypographySize14":"pDbYTo","uuiTypographySize16":"tTIFZC","buttonPrimary":"PsxdBn","buttonSecondary":"_6cEgoA"};
|
|
4828
4806
|
|
|
4829
4807
|
const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
4830
4808
|
css$e.root,
|
|
@@ -4835,13 +4813,13 @@ const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (prop
|
|
|
4835
4813
|
props.icon && css$e.hasIcon,
|
|
4836
4814
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
4837
4815
|
|
|
4838
|
-
var css$d = {"search-input":"
|
|
4816
|
+
var css$d = {"search-input":"C2VaMy","searchInput":"C2VaMy"};
|
|
4839
4817
|
|
|
4840
4818
|
function BurgerSearch(props) {
|
|
4841
4819
|
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 }));
|
|
4842
4820
|
}
|
|
4843
4821
|
|
|
4844
|
-
var css$c = {"root":"-
|
|
4822
|
+
var css$c = {"root":"-RCkQq","group-header":"CqNebq","group-name":"l439Ii","line":"_33usHg","groupHeader":"CqNebq","groupName":"l439Ii"};
|
|
4845
4823
|
|
|
4846
4824
|
function BurgerGroupHeader(props) {
|
|
4847
4825
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -4849,7 +4827,7 @@ function BurgerGroupHeader(props) {
|
|
|
4849
4827
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
4850
4828
|
}
|
|
4851
4829
|
|
|
4852
|
-
var css$b = {"uui-typography":"
|
|
4830
|
+
var css$b = {"uui-typography":"cfVBPL","hero-header":"rLMM85","promo-header":"_3q3UIY","uui-critical":"ZidfLz","uui-info":"-Ty5bO","uui-success":"_8wgh--","uui-warning":"IUQwPN","uui-highlight":"VzM9Hj","uui-typography-size-12":"SQa9g5","uui-typography-size-14":"b5FNg8","uui-typography-size-16":"PrFTbf","root":"_795PlD","type-primary":"taY-G-","type-secondary":"-S--06","uuiTypography":"cfVBPL","heroHeader":"rLMM85","promoHeader":"_3q3UIY","uuiCritical":"ZidfLz","uuiInfo":"-Ty5bO","uuiSuccess":"_8wgh--","uuiWarning":"IUQwPN","uuiHighlight":"VzM9Hj","uuiTypographySize12":"SQa9g5","uuiTypographySize14":"b5FNg8","uuiTypographySize16":"PrFTbf","typePrimary":"taY-G-","typeSecondary":"-S--06"};
|
|
4853
4831
|
|
|
4854
4832
|
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4855
4833
|
const { type } = props, clickableProps = __rest(props, ["type"]);
|
|
@@ -4865,7 +4843,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
4865
4843
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
4866
4844
|
});
|
|
4867
4845
|
|
|
4868
|
-
var css$a = {"dropdown-body":"
|
|
4846
|
+
var css$a = {"dropdown-body":"dIfb86","dropdownBody":"dIfb86"};
|
|
4869
4847
|
|
|
4870
4848
|
class MainMenuDropdown extends React__namespace.Component {
|
|
4871
4849
|
render() {
|
|
@@ -4920,31 +4898,31 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
4920
4898
|
};
|
|
4921
4899
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
4922
4900
|
|
|
4923
|
-
var css$9 = {"global-menu-btn":"
|
|
4901
|
+
var css$9 = {"global-menu-btn":"DX5Sq4","global-menu-icon":"yqL3vt","globalMenuBtn":"DX5Sq4","globalMenuIcon":"yqL3vt"};
|
|
4924
4902
|
|
|
4925
4903
|
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),
|
|
4926
4904
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
4927
4905
|
|
|
4928
|
-
var css$8 = {"container":"
|
|
4906
|
+
var css$8 = {"container":"_24AObP","open":"BCR5tR","folding-arrow":"G9--js","foldingArrow":"G9--js"};
|
|
4929
4907
|
|
|
4930
4908
|
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 },
|
|
4931
4909
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
4932
4910
|
props.icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon }),
|
|
4933
4911
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
4934
|
-
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen }))))));
|
|
4912
|
+
React__namespace.createElement(uuiComponents.IconContainer, { size: 18, icon: ForwardRef$P, flipY: props.isOpen, cx: css$8.foldingArrow }))))));
|
|
4935
4913
|
|
|
4936
|
-
var css$7 = {"search-input":"
|
|
4914
|
+
var css$7 = {"search-input":"wOBTMq","searchInput":"wOBTMq"};
|
|
4937
4915
|
|
|
4938
4916
|
const MainMenuSearch = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
4939
4917
|
var _a;
|
|
4940
4918
|
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)));
|
|
4941
4919
|
} }))));
|
|
4942
4920
|
|
|
4943
|
-
var css$6 = {"container":"
|
|
4921
|
+
var css$6 = {"container":"honGEK"};
|
|
4944
4922
|
|
|
4945
4923
|
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))));
|
|
4946
4924
|
|
|
4947
|
-
var css$5 = {"root":"
|
|
4925
|
+
var css$5 = {"root":"sqKzVk"};
|
|
4948
4926
|
|
|
4949
4927
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
4950
4928
|
|
|
@@ -5002,7 +4980,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
5002
4980
|
};
|
|
5003
4981
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
5004
4982
|
|
|
5005
|
-
var css$4 = {"root":"
|
|
4983
|
+
var css$4 = {"root":"Hzzr7w","drop-start":"pzeSnD","drop-over":"_8sOctr","link":"-gPI3I","drop-area":"B5DiLw","drop-caption":"_8-AX2U","icon-blue":"TK2rfQ","dropStart":"pzeSnD","dropOver":"_8sOctr","dropArea":"B5DiLw","dropCaption":"_8-AX2U","iconBlue":"TK2rfQ"};
|
|
5006
4984
|
|
|
5007
4985
|
function DropSpot(props) {
|
|
5008
4986
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -5020,9 +4998,9 @@ function DropSpot(props) {
|
|
|
5020
4998
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
5021
4999
|
}
|
|
5022
5000
|
|
|
5023
|
-
var css$3 = {"uui-typography":"
|
|
5001
|
+
var css$3 = {"uui-typography":"u3DI6o","hero-header":"_4nhTg9","promo-header":"_8HgdwJ","uui-critical":"_9JeXd-","uui-info":"Z-6hhk","uui-success":"_5Kv6Jj","uui-warning":"zTMIW2","uui-highlight":"wM1UOw","uui-typography-size-12":"Nxwk7E","uui-typography-size-14":"c-8aoq","uui-typography-size-16":"GtR5uo","root":"Uknelp","file-name":"_8TMdnw","default-color":"OOGvg1","doc-color":"tnSx8B","xls-color":"MgGAIG","pdf-color":"_8Qo1Rh","movie-color":"oawVAB","img-color":"_7ssvK-","mov-color":"-j5OYl","error-block":"U9JBm6","icons-block":"ZrtuW2","uuiTypography":"u3DI6o","heroHeader":"_4nhTg9","promoHeader":"_8HgdwJ","uuiCritical":"_9JeXd-","uuiInfo":"Z-6hhk","uuiSuccess":"_5Kv6Jj","uuiWarning":"zTMIW2","uuiHighlight":"wM1UOw","uuiTypographySize12":"Nxwk7E","uuiTypographySize14":"c-8aoq","uuiTypographySize16":"GtR5uo","fileName":"_8TMdnw","defaultColor":"OOGvg1","docColor":"tnSx8B","xlsColor":"MgGAIG","pdfColor":"_8Qo1Rh","movieColor":"oawVAB","imgColor":"_7ssvK-","movColor":"-j5OYl","errorBlock":"U9JBm6","iconsBlock":"ZrtuW2"};
|
|
5024
5002
|
|
|
5025
|
-
var css$2 = {"root":"
|
|
5003
|
+
var css$2 = {"root":"K7f1GK"};
|
|
5026
5004
|
|
|
5027
5005
|
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5028
5006
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5087,7 +5065,7 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
5087
5065
|
};
|
|
5088
5066
|
const renderErrorContent = () => (React__namespace.createElement(Tooltip, { content: file.error.message, placement: "bottom-start" },
|
|
5089
5067
|
React__namespace.createElement("div", { className: css$3.errorBlock },
|
|
5090
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$x, size: 12
|
|
5068
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$x, size: 12 }),
|
|
5091
5069
|
i18n.fileCard.failedUploadErrorMessage)));
|
|
5092
5070
|
const renderSuccessfulContent = () => (React__namespace.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: "tertiary" },
|
|
5093
5071
|
fileExtension && `${fileExtension.toUpperCase()}, `,
|
|
@@ -5147,7 +5125,7 @@ const getErrorPageConfig = () => ({
|
|
|
5147
5125
|
},
|
|
5148
5126
|
});
|
|
5149
5127
|
|
|
5150
|
-
var css$1 = {"container":"
|
|
5128
|
+
var css$1 = {"container":"_5wUSML"};
|
|
5151
5129
|
|
|
5152
5130
|
const ErrorPage = (props) => {
|
|
5153
5131
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -5158,7 +5136,7 @@ const ErrorPage = (props) => {
|
|
|
5158
5136
|
React__namespace.default.createElement("div", { className: "uui-error-subtitle" }, props.subtitle))));
|
|
5159
5137
|
};
|
|
5160
5138
|
|
|
5161
|
-
var css = {"recovery-spinner":"
|
|
5139
|
+
var css = {"recovery-spinner":"qLWsws","recovery-message":"gH8Egf","modal-blocker":"c3jkWY","modalFadeIn":"m2FCGA","recoverySpinner":"qLWsws","recoveryMessage":"gH8Egf","modalBlocker":"c3jkWY"};
|
|
5162
5140
|
|
|
5163
5141
|
function ErrorHandler(props) {
|
|
5164
5142
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|
|
@@ -5213,6 +5191,10 @@ Object.defineProperty(exports, "Avatar", {
|
|
|
5213
5191
|
enumerable: true,
|
|
5214
5192
|
get: function () { return uuiComponents.Avatar; }
|
|
5215
5193
|
});
|
|
5194
|
+
Object.defineProperty(exports, "DataTableCellContainer", {
|
|
5195
|
+
enumerable: true,
|
|
5196
|
+
get: function () { return uuiComponents.DataTableCellContainer; }
|
|
5197
|
+
});
|
|
5216
5198
|
Object.defineProperty(exports, "FlexSpacer", {
|
|
5217
5199
|
enumerable: true,
|
|
5218
5200
|
get: function () { return uuiComponents.FlexSpacer; }
|
|
@@ -5271,6 +5253,7 @@ exports.ErrorNotification = ErrorNotification;
|
|
|
5271
5253
|
exports.ErrorPage = ErrorPage;
|
|
5272
5254
|
exports.FileCard = FileCard;
|
|
5273
5255
|
exports.FilterItemBody = FilterItemBody;
|
|
5256
|
+
exports.FilterPickerBody = FilterPickerBody;
|
|
5274
5257
|
exports.FiltersPanel = FiltersPanel;
|
|
5275
5258
|
exports.FlexCell = FlexCell;
|
|
5276
5259
|
exports.FlexRow = FlexRow;
|