@epam/uui 5.8.4 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/index.d.ts +1 -0
- package/components/filters/index.d.ts.map +1 -1
- package/components/inputs/timePicker/TimePickerBody.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.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.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/DataRowAddons.d.ts +5 -1
- package/components/widgets/DataRowAddons.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.esm.js +174 -168
- package/index.esm.js.map +1 -1
- package/index.js +176 -165
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/stats.html +19 -1
- package/styles.css +2646 -2667
- package/styles.css.map +1 -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);
|
|
@@ -362,11 +362,11 @@ const settings = {
|
|
|
362
362
|
pickerToggler: {
|
|
363
363
|
tag: {
|
|
364
364
|
24: '18',
|
|
365
|
-
30: '
|
|
366
|
-
36: '
|
|
367
|
-
42: '
|
|
368
|
-
48: '
|
|
369
|
-
60: '
|
|
365
|
+
30: '18',
|
|
366
|
+
36: '24',
|
|
367
|
+
42: '30',
|
|
368
|
+
48: '36',
|
|
369
|
+
60: '42',
|
|
370
370
|
},
|
|
371
371
|
},
|
|
372
372
|
dataPickerHeader: {
|
|
@@ -486,7 +486,7 @@ const settings = {
|
|
|
486
486
|
},
|
|
487
487
|
};
|
|
488
488
|
|
|
489
|
-
var css$1s = {"uui-typography":"
|
|
489
|
+
var css$1s = {"uui-typography":"ikQHV4","hero-header":"BWRSd1","promo-header":"mrlZ17","uui-critical":"we48Gb","uui-info":"C2XUTB","uui-success":"_1aa8T8","uui-warning":"nKNCVv","uui-highlight":"fhL7n-","uui-typography-size-12":"KAFzKd","uui-typography-size-14":"Kj32Um","uui-typography-size-16":"_06dI12","root":"JPYTiK","uuiTypography":"ikQHV4","heroHeader":"BWRSd1","promoHeader":"mrlZ17","uuiCritical":"we48Gb","uuiInfo":"C2XUTB","uuiSuccess":"_1aa8T8","uuiWarning":"nKNCVv","uuiHighlight":"fhL7n-","uuiTypographySize12":"KAFzKd","uuiTypographySize14":"Kj32Um","uuiTypographySize16":"_06dI12"};
|
|
490
490
|
|
|
491
491
|
function applyButtonMods(mods) {
|
|
492
492
|
return [
|
|
@@ -504,7 +504,7 @@ const Button = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Button,
|
|
|
504
504
|
};
|
|
505
505
|
});
|
|
506
506
|
|
|
507
|
-
var css$1r = {"root":"
|
|
507
|
+
var css$1r = {"root":"J9pCrI"};
|
|
508
508
|
|
|
509
509
|
function applyIconButtonMods(props) {
|
|
510
510
|
return ['uui-icon_button', `uui-color-${props.color || 'neutral'}`, css$1r.root];
|
|
@@ -541,7 +541,7 @@ function getIconClass(props) {
|
|
|
541
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'];
|
|
542
542
|
}
|
|
543
543
|
|
|
544
|
-
var css$1q = {"uui-typography":"
|
|
544
|
+
var css$1q = {"uui-typography":"DB0e23","hero-header":"OEyWJr","promo-header":"bYSAKc","uui-critical":"_62jP2M","uui-info":"_0HMZPF","uui-success":"mtB3k-","uui-warning":"Lwd2QR","uui-highlight":"kGGbJa","uui-typography-size-12":"AagwDY","uui-typography-size-14":"oH8rZk","uui-typography-size-16":"_0FJCNd","root":"CNAFaX","uuiTypography":"DB0e23","heroHeader":"OEyWJr","promoHeader":"bYSAKc","uuiCritical":"_62jP2M","uuiInfo":"_0HMZPF","uuiSuccess":"mtB3k-","uuiWarning":"Lwd2QR","uuiHighlight":"kGGbJa","uuiTypographySize12":"AagwDY","uuiTypographySize14":"oH8rZk","uuiTypographySize16":"_0FJCNd"};
|
|
545
545
|
|
|
546
546
|
const DEFAULT_COLOR = 'primary';
|
|
547
547
|
function applyLinkButtonMods(mods) {
|
|
@@ -572,7 +572,7 @@ const LinkButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
572
572
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
573
573
|
});
|
|
574
574
|
|
|
575
|
-
var css$1p = {"root":"
|
|
575
|
+
var css$1p = {"root":"_9ixBwj"};
|
|
576
576
|
|
|
577
577
|
const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
578
578
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
@@ -584,7 +584,7 @@ const CountIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
584
584
|
]) }, props.caption));
|
|
585
585
|
});
|
|
586
586
|
|
|
587
|
-
var css$1o = {"uui-typography":"
|
|
587
|
+
var css$1o = {"uui-typography":"_3UeDRU","hero-header":"-CqL67","promo-header":"fdB9cm","uui-critical":"DKO19o","uui-info":"TjJVGG","uui-success":"w6VHix","uui-warning":"Iea09Q","uui-highlight":"U9-7-d","uui-typography-size-12":"X2IXh2","uui-typography-size-14":"XQnAuU","uui-typography-size-16":"_55F74s","root":"V-Utfz","withNotify":"AUOiEu","uuiTypography":"_3UeDRU","heroHeader":"-CqL67","promoHeader":"fdB9cm","uuiCritical":"DKO19o","uuiInfo":"TjJVGG","uuiSuccess":"w6VHix","uuiWarning":"Iea09Q","uuiHighlight":"U9-7-d","uuiTypographySize12":"X2IXh2","uuiTypographySize14":"XQnAuU","uuiTypographySize16":"_55F74s"};
|
|
588
588
|
|
|
589
589
|
const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
590
590
|
const styles = [
|
|
@@ -606,7 +606,7 @@ const TabButton = /* @__PURE__ */React__namespace.default.forwardRef((props, ref
|
|
|
606
606
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
607
607
|
});
|
|
608
608
|
|
|
609
|
-
var css$1n = {"uui-typography":"
|
|
609
|
+
var css$1n = {"uui-typography":"_91WNlC","hero-header":"Omc1MX","promo-header":"RpMbAj","uui-critical":"i4Dq6E","uui-info":"nKkZg5","uui-success":"d8lqkl","uui-warning":"mNSK-9","uui-highlight":"kkEH7Z","uui-typography-size-12":"_5oUooe","uui-typography-size-14":"XieLtw","uui-typography-size-16":"F-Dsjf","root":"bXmn--","uuiTypography":"_91WNlC","heroHeader":"Omc1MX","promoHeader":"RpMbAj","uuiCritical":"i4Dq6E","uuiInfo":"nKkZg5","uuiSuccess":"d8lqkl","uuiWarning":"mNSK-9","uuiHighlight":"kkEH7Z","uuiTypographySize12":"_5oUooe","uuiTypographySize14":"XieLtw","uuiTypographySize16":"F-Dsjf"};
|
|
610
610
|
|
|
611
611
|
function applyVerticalTabButtonMods() {
|
|
612
612
|
return [css$1n.root];
|
|
@@ -628,7 +628,7 @@ var SvgContentMinusOutline = function SvgContentMinusOutline(props, ref) {
|
|
|
628
628
|
};
|
|
629
629
|
var ForwardRef$B = /*#__PURE__*/React.forwardRef(SvgContentMinusOutline);
|
|
630
630
|
|
|
631
|
-
var css$1m = {"uui-typography":"
|
|
631
|
+
var css$1m = {"uui-typography":"l-cu0D","hero-header":"PtEHLz","promo-header":"MoGoMX","uui-critical":"_5pQU7n","uui-info":"pqz0xD","uui-success":"XD3Uai","uui-warning":"-PQF8c","uui-highlight":"U8BRDm","uui-typography-size-12":"I-QQ-3","uui-typography-size-14":"WpAQfo","uui-typography-size-16":"OwgxCY","root":"yMO4Bu","mode-cell":"wpm9mp","uuiTypography":"l-cu0D","heroHeader":"PtEHLz","promoHeader":"MoGoMX","uuiCritical":"_5pQU7n","uuiInfo":"pqz0xD","uuiSuccess":"XD3Uai","uuiWarning":"-PQF8c","uuiHighlight":"U8BRDm","uuiTypographySize12":"I-QQ-3","uuiTypographySize14":"WpAQfo","uuiTypographySize16":"OwgxCY","modeCell":"wpm9mp"};
|
|
632
632
|
|
|
633
633
|
function applyCheckboxMods(mods) {
|
|
634
634
|
return [
|
|
@@ -658,12 +658,12 @@ var SvgRadioDotFill = function SvgRadioDotFill(props, ref) {
|
|
|
658
658
|
viewBox: "0 0 24 24",
|
|
659
659
|
ref: ref
|
|
660
660
|
}, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
661
|
-
d: "M12
|
|
661
|
+
d: "M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14z"
|
|
662
662
|
})));
|
|
663
663
|
};
|
|
664
664
|
var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgRadioDotFill);
|
|
665
665
|
|
|
666
|
-
var css$1l = {"uui-typography":"
|
|
666
|
+
var css$1l = {"uui-typography":"_3kBDlI","hero-header":"_8q9Ozk","promo-header":"He2dm1","uui-critical":"mTf5wo","uui-info":"_1MR7yw","uui-success":"_9Xr6U2","uui-warning":"hyx0ry","uui-highlight":"dA8o-U","uui-typography-size-12":"fNVhOJ","uui-typography-size-14":"_1Jdex1","uui-typography-size-16":"BSzCn5","root":"Gr4ZHn","uuiTypography":"_3kBDlI","heroHeader":"_8q9Ozk","promoHeader":"He2dm1","uuiCritical":"mTf5wo","uuiInfo":"_1MR7yw","uuiSuccess":"_9Xr6U2","uuiWarning":"hyx0ry","uuiHighlight":"dA8o-U","uuiTypographySize12":"fNVhOJ","uuiTypographySize14":"_1Jdex1","uuiTypographySize16":"BSzCn5"};
|
|
667
667
|
|
|
668
668
|
function applyRadioInputMods(mods) {
|
|
669
669
|
return [
|
|
@@ -675,7 +675,7 @@ function applyRadioInputMods(mods) {
|
|
|
675
675
|
}
|
|
676
676
|
const RadioInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, (props) => ({ icon: props.icon ? props.icon : ForwardRef$A }));
|
|
677
677
|
|
|
678
|
-
var css$1k = {"root":"
|
|
678
|
+
var css$1k = {"root":"gSIiuo"};
|
|
679
679
|
|
|
680
680
|
function applySwitchMods(mods) {
|
|
681
681
|
return [
|
|
@@ -743,7 +743,7 @@ var EditMode;
|
|
|
743
743
|
EditMode["INLINE"] = "inline";
|
|
744
744
|
})(EditMode || (EditMode = {}));
|
|
745
745
|
|
|
746
|
-
var textInputCss = {"uui-typography":"
|
|
746
|
+
var textInputCss = {"uui-typography":"n4Jqvi","hero-header":"cvgGpf","promo-header":"_22SdJT","uui-critical":"zndIe2","uui-info":"_2R-pgI","uui-success":"w7euJ0","uui-warning":"rXEza8","uui-highlight":"_8nqGij","uui-typography-size-12":"MkdJfS","uui-typography-size-14":"YPK3A7","uui-typography-size-16":"iugOJ1","root":"uFsHA3","mode-form":"mp1bFc","mode-inline":"qKsP79","mode-cell":"FnGPQH","uuiTypography":"n4Jqvi","heroHeader":"cvgGpf","promoHeader":"_22SdJT","uuiCritical":"zndIe2","uuiInfo":"_2R-pgI","uuiSuccess":"w7euJ0","uuiWarning":"rXEza8","uuiHighlight":"_8nqGij","uuiTypographySize12":"MkdJfS","uuiTypographySize14":"YPK3A7","uuiTypographySize16":"iugOJ1","modeForm":"mp1bFc","modeInline":"qKsP79","modeCell":"FnGPQH"};
|
|
747
747
|
|
|
748
748
|
const DEFAULT_MODE$3 = EditMode.FORM;
|
|
749
749
|
function applyTextInputMods(mods) {
|
|
@@ -769,7 +769,7 @@ const SearchInput = /* @__PURE__ */React__namespace.default.forwardRef((props, r
|
|
|
769
769
|
} })));
|
|
770
770
|
});
|
|
771
771
|
|
|
772
|
-
var css$1j = {"root":"
|
|
772
|
+
var css$1j = {"root":"_0gPPQx"};
|
|
773
773
|
|
|
774
774
|
const ControlGroup = /* @__PURE__ */uuiCore.withMods(uuiComponents.ControlGroup, () => [css$1j.root]);
|
|
775
775
|
|
|
@@ -778,7 +778,7 @@ function MultiSwitchComponent(props, ref) {
|
|
|
778
778
|
}
|
|
779
779
|
const MultiSwitch = /* @__PURE__ */React__namespace.forwardRef(MultiSwitchComponent);
|
|
780
780
|
|
|
781
|
-
var css$1i = {"uui-typography":"
|
|
781
|
+
var css$1i = {"uui-typography":"tTx8g7","hero-header":"MXAfd-","promo-header":"siI8Kj","uui-critical":"ZZU2ef","uui-info":"_1mDl9T","uui-success":"SZNNa9","uui-warning":"_5PLzVL","uui-highlight":"jHpNF9","uui-typography-size-12":"YZUtgv","uui-typography-size-14":"V18Bcl","uui-typography-size-16":"DqKpg8","root":"MQ1m1w","mode-form":"NST1Rp","mode-cell":"LIltsv","uuiTypography":"tTx8g7","heroHeader":"MXAfd-","promoHeader":"siI8Kj","uuiCritical":"ZZU2ef","uuiInfo":"_1mDl9T","uuiSuccess":"SZNNa9","uuiWarning":"_5PLzVL","uuiHighlight":"jHpNF9","uuiTypographySize12":"YZUtgv","uuiTypographySize14":"V18Bcl","uuiTypographySize16":"DqKpg8","modeForm":"NST1Rp","modeCell":"LIltsv"};
|
|
782
782
|
|
|
783
783
|
const DEFAULT_MODE$2 = EditMode.FORM;
|
|
784
784
|
function applyNumericInputMods(mods) {
|
|
@@ -799,7 +799,7 @@ const NumericInput = /* @__PURE__ */uuiCore.withMods(uuiComponents.NumericInput,
|
|
|
799
799
|
};
|
|
800
800
|
});
|
|
801
801
|
|
|
802
|
-
var css$1h = {"uui-typography":"
|
|
802
|
+
var css$1h = {"uui-typography":"BZmPbq","hero-header":"_1ynbex","promo-header":"J8Q2eu","uui-critical":"Iscv8r","uui-info":"CG6xJh","uui-success":"Ema1--","uui-warning":"r-aRNn","uui-highlight":"_2nDR23","uui-typography-size-12":"_2v-r7G","uui-typography-size-14":"voDJXA","uui-typography-size-16":"-Rd-Ca","root":"_8Qd1AO","mode-form":"MqUck8","mode-cell":"COmq1d","mode-inline":"LWWk9l","size-24":"iYFTDJ","size-30":"VzXCUp","size-36":"y2mPQ-","size-42":"D9smhq","size-48":"S4wrPc","uuiTypography":"BZmPbq","heroHeader":"_1ynbex","promoHeader":"J8Q2eu","uuiCritical":"Iscv8r","uuiInfo":"CG6xJh","uuiSuccess":"Ema1--","uuiWarning":"r-aRNn","uuiHighlight":"_2nDR23","uuiTypographySize12":"_2v-r7G","uuiTypographySize14":"voDJXA","uuiTypographySize16":"-Rd-Ca","modeForm":"MqUck8","modeCell":"COmq1d","modeInline":"LWWk9l","size24":"iYFTDJ","size30":"VzXCUp","size36":"y2mPQ-","size42":"D9smhq","size48":"S4wrPc"};
|
|
803
803
|
|
|
804
804
|
const DEFAULT_SIZE$3 = '36';
|
|
805
805
|
const DEFAULT_MODE$1 = EditMode.FORM;
|
|
@@ -900,7 +900,7 @@ var SvgNotificationInfoFill = function SvgNotificationInfoFill(props, ref) {
|
|
|
900
900
|
};
|
|
901
901
|
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgNotificationInfoFill);
|
|
902
902
|
|
|
903
|
-
var css$1g = {"uui-typography":"
|
|
903
|
+
var css$1g = {"uui-typography":"G6bHVN","hero-header":"g0w-Px","promo-header":"VPbp-0","uui-critical":"yEPjI4","uui-info":"ce66XI","uui-success":"pG5vVr","uui-warning":"uTx3Re","uui-highlight":"auJvIf","uui-typography-size-12":"OFRo7X","uui-typography-size-14":"gVZ3hd","uui-typography-size-16":"zLkgDD","root":"WtGAp-","icon-wrapper":"bKLmcJ","alert-wrapper":"jPBOc0","size-48":"-KdQjA","size-36":"xRXciW","action-wrapper":"tzjQY6","action-icon":"ihBCaf","action-link":"ikM-dM","close-icon":"V1GN-G","main-path":"OxjZ6o","content":"tj91f7","uuiTypography":"G6bHVN","heroHeader":"g0w-Px","promoHeader":"VPbp-0","uuiCritical":"yEPjI4","uuiInfo":"ce66XI","uuiSuccess":"pG5vVr","uuiWarning":"uTx3Re","uuiHighlight":"auJvIf","uuiTypographySize12":"OFRo7X","uuiTypographySize14":"gVZ3hd","uuiTypographySize16":"zLkgDD","iconWrapper":"bKLmcJ","alertWrapper":"jPBOc0","size48":"-KdQjA","size36":"xRXciW","actionWrapper":"tzjQY6","actionIcon":"ihBCaf","actionLink":"ikM-dM","closeIcon":"V1GN-G","mainPath":"OxjZ6o"};
|
|
904
904
|
|
|
905
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),
|
|
906
906
|
React__namespace.createElement("div", { className: css$1g.mainPath },
|
|
@@ -917,7 +917,7 @@ const ErrorAlert = /* @__PURE__ */React__namespace.forwardRef((props, ref) => Re
|
|
|
917
917
|
|
|
918
918
|
const Dropdown = /* @__PURE__ */uuiCore.withMods(uuiComponents.Dropdown);
|
|
919
919
|
|
|
920
|
-
var css$1f = {"root":"
|
|
920
|
+
var css$1f = {"root":"ZPyQKL"};
|
|
921
921
|
|
|
922
922
|
function applyDropdownContainerMods(mods) {
|
|
923
923
|
return [
|
|
@@ -928,7 +928,7 @@ function applyDropdownContainerMods(mods) {
|
|
|
928
928
|
}
|
|
929
929
|
const DropdownContainer = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
930
930
|
|
|
931
|
-
var css$1e = {"uui-typography":"
|
|
931
|
+
var css$1e = {"uui-typography":"d-N8nr","hero-header":"FF6swH","promo-header":"RRyejJ","uui-critical":"h12FiH","uui-info":"js75gN","uui-success":"LYO1fq","uui-warning":"_0P5gtT","uui-highlight":"YdfrxL","uui-typography-size-12":"_3-qo6h","uui-typography-size-14":"l74g6W","uui-typography-size-16":"oGugQH","submenu-root-item":"CMHzhd","icon-after":"CjZuD3","icon-check":"OJoq-p","splitter-root":"q8kF2N","splitter":"fT0PmT","header-root":"KR-05T","item-root":"O2U0aG","icon":"DLs-tf","link":"WigceG","indent":"_7vSy9H","selected-mark":"shggCT","uuiTypography":"d-N8nr","heroHeader":"FF6swH","promoHeader":"RRyejJ","uuiCritical":"h12FiH","uuiInfo":"js75gN","uuiSuccess":"LYO1fq","uuiWarning":"_0P5gtT","uuiHighlight":"YdfrxL","uuiTypographySize12":"_3-qo6h","uuiTypographySize14":"l74g6W","uuiTypographySize16":"oGugQH","submenuRootItem":"CMHzhd","iconAfter":"CjZuD3","iconCheck":"OJoq-p","splitterRoot":"q8kF2N","headerRoot":"KR-05T","itemRoot":"O2U0aG","selectedMark":"shggCT"};
|
|
932
932
|
|
|
933
933
|
exports.IDropdownControlKeys = void 0;
|
|
934
934
|
(function (IDropdownControlKeys) {
|
|
@@ -1061,7 +1061,7 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1061
1061
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1062
1062
|
}
|
|
1063
1063
|
|
|
1064
|
-
var css$1d = {"uui-typography":"
|
|
1064
|
+
var css$1d = {"uui-typography":"r8Vgt1","hero-header":"Qab-ka","promo-header":"_3v6uxk","uui-critical":"CiUk79","uui-info":"n3J0ZJ","uui-success":"BMRU-O","uui-warning":"HNhfR7","uui-highlight":"QgMsv-","uui-typography-size-12":"M1q3Zf","uui-typography-size-14":"wyk-dt","uui-typography-size-16":"D0qCtn","root":"-DlkLD","mode-block":"_0IoZBb","mode-inline":"lcJ0Fk","padding-0":"KA0aub","padding-6":"UAEbiX","padding-12":"ocIgBD","padding-18":"CCFib6","uuiTypography":"r8Vgt1","heroHeader":"Qab-ka","promoHeader":"_3v6uxk","uuiCritical":"CiUk79","uuiInfo":"n3J0ZJ","uuiSuccess":"BMRU-O","uuiWarning":"HNhfR7","uuiHighlight":"QgMsv-","uuiTypographySize12":"M1q3Zf","uuiTypographySize14":"wyk-dt","uuiTypographySize16":"D0qCtn","modeBlock":"_0IoZBb","modeInline":"lcJ0Fk","padding0":"KA0aub","padding6":"UAEbiX","padding12":"ocIgBD","padding18":"CCFib6"};
|
|
1065
1065
|
|
|
1066
1066
|
const getMode = (mode) => {
|
|
1067
1067
|
return mode || 'block';
|
|
@@ -1077,7 +1077,7 @@ const Accordion = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Accor
|
|
|
1077
1077
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons.foldingArrow,
|
|
1078
1078
|
}));
|
|
1079
1079
|
|
|
1080
|
-
var css$1c = {"uui-typography":"
|
|
1080
|
+
var css$1c = {"uui-typography":"Dzr3S3","hero-header":"HM0KOD","promo-header":"ypTtCm","uui-critical":"TgfzQu","uui-info":"pBCtGj","uui-success":"eghtnA","uui-warning":"fP717w","uui-highlight":"d68LZY","uui-typography-size-12":"Oa2Ha2","uui-typography-size-14":"Q9Zs3L","uui-typography-size-16":"lIjJdM","root":"l36s-F","border-top":"VU98zB","border-bottom":"yfBNg5","top-shadow":"D6Tt7D","size-24":"U8H-2V","size-30":"HCiH-u","size-36":"DJBeFG","size-42":"JmG6qV","size-48":"_6scvpM","padding-6":"Sy0DX0","padding-12":"wI3Q75","padding-18":"uu7usU","padding-24":"Bd0AF-","margin-24":"dXmh5S","margin-12":"guZu4K","vPadding-12":"bLsiM3","vPadding-18":"BXDK-h","vPadding-24":"VK7Gca","vPadding-36":"PEsDCV","vPadding-48":"_04aJSK","spacing-6":"N-U857","spacing-12":"WcvCaC","spacing-18":"qRLYKW","uui-surface-main":"_7QZoQ8","uuiTypography":"Dzr3S3","heroHeader":"HM0KOD","promoHeader":"ypTtCm","uuiCritical":"TgfzQu","uuiInfo":"pBCtGj","uuiSuccess":"eghtnA","uuiWarning":"fP717w","uuiHighlight":"d68LZY","uuiTypographySize12":"Oa2Ha2","uuiTypographySize14":"Q9Zs3L","uuiTypographySize16":"lIjJdM","borderTop":"VU98zB","borderBottom":"yfBNg5","topShadow":"D6Tt7D","size24":"U8H-2V","size30":"HCiH-u","size36":"DJBeFG","size42":"JmG6qV","size48":"_6scvpM","padding6":"Sy0DX0","padding12":"wI3Q75","padding18":"uu7usU","padding24":"Bd0AF-","margin24":"dXmh5S","margin12":"guZu4K","vPadding12":"bLsiM3","vPadding18":"BXDK-h","vPadding24":"VK7Gca","vPadding36":"PEsDCV","vPadding48":"_04aJSK","spacing6":"N-U857","spacing12":"WcvCaC","spacing18":"qRLYKW","uuiSurfaceMain":"_7QZoQ8"};
|
|
1081
1081
|
|
|
1082
1082
|
const FlexCell = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexCell, () => [css$1c.flexCell]);
|
|
1083
1083
|
|
|
@@ -1101,7 +1101,7 @@ const FlexRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.FlexRow, (props) =
|
|
|
1101
1101
|
];
|
|
1102
1102
|
});
|
|
1103
1103
|
|
|
1104
|
-
var css$1b = {"root":"
|
|
1104
|
+
var css$1b = {"root":"QSO-L9","margin-24":"wZjJkA","padding-12":"ItZJ-k","padding-24":"icfngw","shadow":"N2FFis","uui-surface-main":"K9Hc1w","margin24":"wZjJkA","padding12":"ItZJ-k","padding24":"icfngw","uuiSurfaceMain":"K9Hc1w"};
|
|
1105
1105
|
|
|
1106
1106
|
const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
1107
1107
|
'uui-panel',
|
|
@@ -1111,7 +1111,7 @@ const Panel = /* @__PURE__ */uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
|
1111
1111
|
props.background && css$1b[`uui-${props.background}`],
|
|
1112
1112
|
]);
|
|
1113
1113
|
|
|
1114
|
-
var css$1a = {"root":"
|
|
1114
|
+
var css$1a = {"root":"NWf-oT"};
|
|
1115
1115
|
|
|
1116
1116
|
function applyTooltipMods(mods) {
|
|
1117
1117
|
return [
|
|
@@ -1121,7 +1121,7 @@ function applyTooltipMods(mods) {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
const Tooltip = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Tooltip, applyTooltipMods);
|
|
1123
1123
|
|
|
1124
|
-
var css$19 = {"uui-typography":"
|
|
1124
|
+
var css$19 = {"uui-typography":"sUo2KF","hero-header":"_6qXt-s","promo-header":"pd5jfn","uui-critical":"Yzx3MA","uui-info":"D9Q5el","uui-success":"nDmtwp","uui-warning":"_76gF-z","uui-highlight":"r8gtZt","uui-typography-size-12":"-snmM-","uui-typography-size-14":"iiVhQ-","uui-typography-size-16":"Tfu5Zs","root":"_5CJ0J3","size-24":"fEWB-T","size-30":"whZ5R1","size-36":"xP-g3Y","size-42":"CxKQZz","size-48":"RzAU8H","uuiTypography":"sUo2KF","heroHeader":"_6qXt-s","promoHeader":"pd5jfn","uuiCritical":"Yzx3MA","uuiInfo":"D9Q5el","uuiSuccess":"nDmtwp","uuiWarning":"_76gF-z","uuiHighlight":"r8gtZt","uuiTypographySize12":"-snmM-","uuiTypographySize14":"iiVhQ-","uuiTypographySize16":"Tfu5Zs","size24":"fEWB-T","size30":"whZ5R1","size36":"xP-g3Y","size42":"CxKQZz","size48":"RzAU8H"};
|
|
1125
1125
|
|
|
1126
1126
|
const DEFAULT_SIZE$2 = '36';
|
|
1127
1127
|
function applyLabeledInputMods(mods) {
|
|
@@ -1132,7 +1132,7 @@ const LabeledInput = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.La
|
|
|
1132
1132
|
infoIcon: props.infoIcon || (['24', '30'].includes(props.size) ? ForwardRef$w : ForwardRef$L),
|
|
1133
1133
|
}));
|
|
1134
1134
|
|
|
1135
|
-
var css$18 = {"root":"
|
|
1135
|
+
var css$18 = {"root":"oa8RcB"};
|
|
1136
1136
|
|
|
1137
1137
|
function RadioGroup(props) {
|
|
1138
1138
|
const direction = props.direction || 'vertical';
|
|
@@ -1147,7 +1147,7 @@ function RadioGroup(props) {
|
|
|
1147
1147
|
})));
|
|
1148
1148
|
}
|
|
1149
1149
|
|
|
1150
|
-
var css$17 = {"root":"
|
|
1150
|
+
var css$17 = {"root":"g7bY0v"};
|
|
1151
1151
|
|
|
1152
1152
|
function applyScrollBarsMods() {
|
|
1153
1153
|
return [
|
|
@@ -1156,13 +1156,13 @@ function applyScrollBarsMods() {
|
|
|
1156
1156
|
}
|
|
1157
1157
|
const ScrollBars = /* @__PURE__ */uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
1158
1158
|
|
|
1159
|
-
var css$16 = {"scroll-container":"
|
|
1159
|
+
var css$16 = {"scroll-container":"mfWprN","list-container":"PGSfR5","scrollContainer":"mfWprN","listContainer":"PGSfR5"};
|
|
1160
1160
|
|
|
1161
|
-
var css$15 = {"root":"
|
|
1161
|
+
var css$15 = {"root":"dN8lps"};
|
|
1162
1162
|
|
|
1163
1163
|
const AvatarStack = /* @__PURE__ */uuiCore.withMods(uuiComponents.AvatarStack, () => [css$15.root]);
|
|
1164
1164
|
|
|
1165
|
-
var css$14 = {"uui-typography":"
|
|
1165
|
+
var css$14 = {"uui-typography":"WAj-Sq","hero-header":"_0KmhkY","promo-header":"sxaqrs","uui-critical":"JBXB7t","uui-info":"ULxeD-","uui-success":"xVhUcP","uui-warning":"C6hk87","uui-highlight":"N6JqJU","uui-typography-size-12":"wbmiLh","uui-typography-size-14":"cUoiaJ","uui-typography-size-16":"Ail3Zi","root":"GEhdbz","size-18":"dzowJH","size-24":"mH9vWD","size-30":"-MIf0J","size-36":"lsYpdh","size-42":"_6QxNOY","size-48":"_8z90ey","uuiTypography":"WAj-Sq","heroHeader":"_0KmhkY","promoHeader":"sxaqrs","uuiCritical":"JBXB7t","uuiInfo":"ULxeD-","uuiSuccess":"xVhUcP","uuiWarning":"C6hk87","uuiHighlight":"N6JqJU","uuiTypographySize12":"wbmiLh","uuiTypographySize14":"cUoiaJ","uuiTypographySize16":"Ail3Zi","size18":"dzowJH","size24":"mH9vWD","size30":"-MIf0J","size36":"lsYpdh","size42":"_6QxNOY","size48":"_8z90ey"};
|
|
1166
1166
|
|
|
1167
1167
|
const DEFAULT_SIZE$1 = '36';
|
|
1168
1168
|
const DEFAULT_FILL = 'solid';
|
|
@@ -1173,7 +1173,6 @@ function applyBadgeMods(mods) {
|
|
|
1173
1173
|
css$14['size-' + (mods.size || DEFAULT_SIZE$1)],
|
|
1174
1174
|
`uui-fill-${mods.fill || DEFAULT_FILL}`,
|
|
1175
1175
|
`uui-color-${mods.color || 'info'}`,
|
|
1176
|
-
mods.indicator && mods.fill === 'outline' && 'uui-indicator',
|
|
1177
1176
|
];
|
|
1178
1177
|
}
|
|
1179
1178
|
const mapCountIndicatorSizes = {
|
|
@@ -1188,6 +1187,7 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
|
|
|
1188
1187
|
const styles = [applyBadgeMods(props), props.cx];
|
|
1189
1188
|
const DropdownIcon = props.dropdownIcon ? props.dropdownIcon : systemIcons.foldingArrow;
|
|
1190
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" })),
|
|
1191
1191
|
props.icon && props.iconPosition !== 'right' && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, onClick: !props.isDisabled ? props.onIconClick : undefined })),
|
|
1192
1192
|
props.caption && (React__namespace.default.createElement("div", { className: uuiCore.uuiElement.caption }, props.caption)),
|
|
1193
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 })),
|
|
@@ -1195,7 +1195,7 @@ const Badge = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) =>
|
|
|
1195
1195
|
props.isDropdown && (React__namespace.default.createElement(uuiComponents.IconContainer, { icon: DropdownIcon, flipY: props.isOpen }))));
|
|
1196
1196
|
});
|
|
1197
1197
|
|
|
1198
|
-
var css$13 = {"uui-typography":"
|
|
1198
|
+
var css$13 = {"uui-typography":"cOa1hK","hero-header":"a9HUR1","promo-header":"Igf67B","uui-critical":"_52RZ4M","uui-info":"gFw0XC","uui-success":"rkslZ4","uui-warning":"FoCzi8","uui-highlight":"JHHn4q","uui-typography-size-12":"-HHHgA","uui-typography-size-14":"Fgsq9N","uui-typography-size-16":"WVE4Me","root":"NY0AwO","uuiTypography":"cOa1hK","heroHeader":"a9HUR1","promoHeader":"Igf67B","uuiCritical":"_52RZ4M","uuiInfo":"gFw0XC","uuiSuccess":"rkslZ4","uuiWarning":"FoCzi8","uuiHighlight":"JHHn4q","uuiTypographySize12":"-HHHgA","uuiTypographySize14":"Fgsq9N","uuiTypographySize16":"WVE4Me"};
|
|
1199
1199
|
|
|
1200
1200
|
function applyTagMods(props) {
|
|
1201
1201
|
return [
|
|
@@ -1219,14 +1219,14 @@ const Tag = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
|
1219
1219
|
props.onClear && !props.isDisabled && (React__namespace.default.createElement(uuiComponents.IconContainer, { cx: uuiCore.uuiMarkers.clickable, icon: ClearIcon, onClick: props.onClear }))));
|
|
1220
1220
|
});
|
|
1221
1221
|
|
|
1222
|
-
var css$12 = {"root":"
|
|
1222
|
+
var css$12 = {"root":"kfiBAj","uui-spinner":"PBHhbI","uuiSpinner":"PBHhbI"};
|
|
1223
1223
|
|
|
1224
1224
|
function applySpinnerMods() {
|
|
1225
1225
|
return [css$12.root, 'uui-spinner'];
|
|
1226
1226
|
}
|
|
1227
1227
|
const Spinner = /* @__PURE__ */uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
1228
1228
|
|
|
1229
|
-
var css$11 = {"root":"
|
|
1229
|
+
var css$11 = {"root":"cry8mb","spacer":"ttW8Wx","mode-ghost":"NTpBGW","size-24":"R465Iz","size-30":"MfBROG","navigation-size-24":"_9w-3Dt","navigation-size-30":"OJWYaJ","modeGhost":"NTpBGW","size24":"R465Iz","size30":"MfBROG","navigationSize24":"_9w-3Dt","navigationSize30":"OJWYaJ"};
|
|
1230
1230
|
|
|
1231
1231
|
var _path$v;
|
|
1232
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); }
|
|
@@ -1238,7 +1238,7 @@ var SvgNavigationChevronLeftOutline = function SvgNavigationChevronLeftOutline(p
|
|
|
1238
1238
|
viewBox: "0 0 24 24",
|
|
1239
1239
|
ref: ref
|
|
1240
1240
|
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1241
|
-
d: "
|
|
1241
|
+
d: "M15.914 5.414 14.5 4l-8 8 8 8 1.414-1.414L9.328 12l6.586-6.586z"
|
|
1242
1242
|
})));
|
|
1243
1243
|
};
|
|
1244
1244
|
var ForwardRef$v = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeftOutline);
|
|
@@ -1253,7 +1253,7 @@ var SvgNavigationChevronRightOutline = function SvgNavigationChevronRightOutline
|
|
|
1253
1253
|
viewBox: "0 0 24 24",
|
|
1254
1254
|
ref: ref
|
|
1255
1255
|
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1256
|
-
d: "
|
|
1256
|
+
d: "M8.086 18.586 9.5 20l8-8-8-8-1.414 1.414L14.672 12l-6.586 6.586z"
|
|
1257
1257
|
})));
|
|
1258
1258
|
};
|
|
1259
1259
|
var ForwardRef$u = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRightOutline);
|
|
@@ -1277,14 +1277,14 @@ function Paginator(props) {
|
|
|
1277
1277
|
return React__namespace.default.createElement(uuiComponents.Paginator, Object.assign({}, props, { render: renderPaginator }));
|
|
1278
1278
|
}
|
|
1279
1279
|
|
|
1280
|
-
var css$10 = {"root":"
|
|
1280
|
+
var css$10 = {"root":"_3h0F-z","progress-bar":"OOME9E","progressBar-indeterminate":"Od12Tx","size-12":"Np7eRF","size-18":"_0L66R9","size-24":"_6BMdRt","progressBar":"OOME9E","progressBarIndeterminate":"Od12Tx","size12":"Np7eRF","size18":"_0L66R9","size24":"_6BMdRt"};
|
|
1281
1281
|
|
|
1282
1282
|
const IndeterminateBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1283
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}`]) },
|
|
1284
1284
|
React__namespace.createElement("div", { className: cx__default.default(css$10.progressBar) })));
|
|
1285
1285
|
});
|
|
1286
1286
|
|
|
1287
|
-
var css$$ = {"root":"
|
|
1287
|
+
var css$$ = {"root":"vjC-yq","striped":"onor4E","animate-stripes":"W1CiSg","size-12":"rg59mq","size-18":"mAcKr1","size-24":"wUxg9B","animateStripes":"W1CiSg","size12":"rg59mq","size18":"mAcKr1","size24":"wUxg9B"};
|
|
1288
1288
|
|
|
1289
1289
|
const DEFAULT_SIZE = '12';
|
|
1290
1290
|
function applyProgressBarMods(mods) {
|
|
@@ -1299,14 +1299,14 @@ const ProgressBar = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Pro
|
|
|
1299
1299
|
hideLabel: props.hideLabel || props.striped,
|
|
1300
1300
|
}));
|
|
1301
1301
|
|
|
1302
|
-
var css$_ = {"root":"
|
|
1302
|
+
var css$_ = {"root":"Thbpze"};
|
|
1303
1303
|
|
|
1304
1304
|
const IndicatorBar = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1305
1305
|
const { progress } = props;
|
|
1306
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) }));
|
|
1307
1307
|
});
|
|
1308
1308
|
|
|
1309
|
-
var css$Z = {"root":"
|
|
1309
|
+
var css$Z = {"root":"-Lj7Ia","size-12":"_6JyhBJ","size-18":"_7UPL4Y","size-24":"V-Vfg1","size12":"_6JyhBJ","size18":"_7UPL4Y","size24":"V-Vfg1"};
|
|
1310
1310
|
|
|
1311
1311
|
const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
1312
1312
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
@@ -1321,7 +1321,7 @@ const StatusIndicator = /* @__PURE__ */React.forwardRef((props, ref) => {
|
|
|
1321
1321
|
React__namespace.default.createElement("p", { className: "uui-status_indicator_caption" }, props.caption)));
|
|
1322
1322
|
});
|
|
1323
1323
|
|
|
1324
|
-
var css$Y = {"drag-handle":"
|
|
1324
|
+
var css$Y = {"drag-handle":"ZOIu7Z","icon-container":"G5zViw","dragHandle":"ZOIu7Z","iconContainer":"G5zViw"};
|
|
1325
1325
|
|
|
1326
1326
|
function DataRowAddons(props) {
|
|
1327
1327
|
var _a, _b;
|
|
@@ -1333,7 +1333,7 @@ function DataRowAddons(props) {
|
|
|
1333
1333
|
return settings.sizes.rowAddons.indentWidth[props.size || 'default'];
|
|
1334
1334
|
};
|
|
1335
1335
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1336
|
-
((_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) }),
|
|
1337
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 })),
|
|
1338
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: {
|
|
1339
1339
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
@@ -1343,7 +1343,7 @@ function DataRowAddons(props) {
|
|
|
1343
1343
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1344
1344
|
}
|
|
1345
1345
|
|
|
1346
|
-
var css$X = {"root":"
|
|
1346
|
+
var css$X = {"root":"wK45AS"};
|
|
1347
1347
|
|
|
1348
1348
|
const Blocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.Blocker, () => [css$X.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__namespace.default.createElement(Spinner, null)) }));
|
|
1349
1349
|
|
|
@@ -1384,7 +1384,7 @@ const VirtualListView = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
1384
1384
|
React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1385
1385
|
});
|
|
1386
1386
|
|
|
1387
|
-
var css$W = {"root":"
|
|
1387
|
+
var css$W = {"root":"MTBCzU"};
|
|
1388
1388
|
|
|
1389
1389
|
function CheckboxGroup(props) {
|
|
1390
1390
|
const currentValue = props.value || [];
|
|
@@ -1546,7 +1546,7 @@ const TREE_SHAKEABLE_INIT = () => (Object.assign(Object.assign({}, uuiCore.i18n)
|
|
|
1546
1546
|
} }));
|
|
1547
1547
|
const i18n = /* @__PURE__ */TREE_SHAKEABLE_INIT();
|
|
1548
1548
|
|
|
1549
|
-
var css$V = {"uui-typography":"
|
|
1549
|
+
var css$V = {"uui-typography":"_86lCaN","hero-header":"_7H-IzY","promo-header":"ByVjsI","uui-critical":"yBZkkL","uui-info":"aVubcX","uui-success":"-LMR5J","uui-warning":"AbBMg8","uui-highlight":"hVjZP6","uui-typography-size-12":"_1NTR2b","uui-typography-size-14":"ZnPw8U","uui-typography-size-16":"JEn-sp","modal":"wkVRxI","search-wrapper":"mvwz1b","body":"nL2Sml","checkbox":"I1tgYi","no-found-size-24":"xXTRUh","no-found-size-30":"aYWqe5","no-found-size-36":"MW7EjZ","no-found-size-42":"u54JXi","uuiTypography":"_86lCaN","heroHeader":"_7H-IzY","promoHeader":"ByVjsI","uuiCritical":"yBZkkL","uuiInfo":"aVubcX","uuiSuccess":"-LMR5J","uuiWarning":"AbBMg8","uuiHighlight":"hVjZP6","uuiTypographySize12":"_1NTR2b","uuiTypographySize14":"ZnPw8U","uuiTypographySize16":"JEn-sp","searchWrapper":"mvwz1b","noFoundSize24":"xXTRUh","noFoundSize30":"aYWqe5","noFoundSize36":"MW7EjZ","noFoundSize42":"u54JXi"};
|
|
1550
1550
|
|
|
1551
1551
|
class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
1552
1552
|
constructor() {
|
|
@@ -1573,7 +1573,7 @@ class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
1575
1575
|
function DataPickerFooterImpl(props) {
|
|
1576
|
-
const { clearSelection, view, showSelected, selectionMode, } = props;
|
|
1576
|
+
const { search, clearSelection, view, showSelected, selectionMode, } = props;
|
|
1577
1577
|
const size = settings.sizes.dataPickerFooter.linkButton[uuiCore.isMobile() ? 'mobile' : props.size];
|
|
1578
1578
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
1579
1579
|
const rowsCount = view.getListProps().rowsCount;
|
|
@@ -1582,8 +1582,9 @@ function DataPickerFooterImpl(props) {
|
|
|
1582
1582
|
const clearAllText = i18n.pickerInput.clearSelectionButton;
|
|
1583
1583
|
const clearSingleText = i18n.pickerInput.clearSelectionButtonSingle;
|
|
1584
1584
|
const selectAllText = i18n.pickerInput.selectAllButton;
|
|
1585
|
-
// show always for multi picker and for single only in case if search not disabled.
|
|
1586
|
-
const
|
|
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;
|
|
1587
1588
|
return shouldShowFooter && (React__namespace.default.createElement(FlexRow, { size: props.size, padding: settings.sizes.dataPickerFooter.flexRowPadding },
|
|
1588
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 })),
|
|
1589
1590
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
@@ -1597,7 +1598,7 @@ function DataPickerFooterImpl(props) {
|
|
|
1597
1598
|
}
|
|
1598
1599
|
const DataPickerFooter = /* @__PURE__ */React__namespace.default.memo(DataPickerFooterImpl);
|
|
1599
1600
|
|
|
1600
|
-
var css$U = {"header":"
|
|
1601
|
+
var css$U = {"header":"QOS-kP","close":"Mmj103"};
|
|
1601
1602
|
|
|
1602
1603
|
const DataPickerHeaderImpl = (props) => {
|
|
1603
1604
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
@@ -1622,7 +1623,7 @@ var SvgNotificationDoneFill = function SvgNotificationDoneFill(props, ref) {
|
|
|
1622
1623
|
};
|
|
1623
1624
|
var ForwardRef$t = /*#__PURE__*/React.forwardRef(SvgNotificationDoneFill);
|
|
1624
1625
|
|
|
1625
|
-
var css$T = {"uui-typography":"
|
|
1626
|
+
var css$T = {"uui-typography":"z3NdeA","hero-header":"_9rvkZ8","promo-header":"UUyVwI","uui-critical":"SEMEAP","uui-info":"_5mPLVN","uui-success":"_-9IyQE","uui-warning":"xzatYq","uui-highlight":"LNpYBo","uui-typography-size-12":"eiE2Ia","uui-typography-size-14":"_66G1ZW","uui-typography-size-16":"cf9ZhN","root":"xA2WQz","align-widgets-top":"MaZQj1","size-24":"_2vO6hW","size-30":"gcwxuS","size-36":"Suw-6K","size-42":"m3XTM6","size-48":"_0gmZdY","size-60":"Wz8Zy0","align-widgets-center":"vUV22F","icon-wrapper":"NXKH3t","padding-12":"DK7Sk1","padding-24":"Qo3tfh","padding-left-12":"_5gKsXy","padding-left-24":"oe-KYN","icon-container":"Xc3gS0","loading-cell":"_8nt6hb","content-wrapper":"B2duoh","render-item":"_7izs9E","icon-default":"d4W6Wa","selected-mark":"_6ifXHX","uuiTypography":"z3NdeA","heroHeader":"_9rvkZ8","promoHeader":"UUyVwI","uuiCritical":"SEMEAP","uuiInfo":"_5mPLVN","uuiSuccess":"_-9IyQE","uuiWarning":"xzatYq","uuiHighlight":"LNpYBo","uuiTypographySize12":"eiE2Ia","uuiTypographySize14":"_66G1ZW","uuiTypographySize16":"cf9ZhN","alignWidgetsTop":"MaZQj1","size24":"_2vO6hW","size30":"gcwxuS","size36":"Suw-6K","size42":"m3XTM6","size48":"_0gmZdY","size60":"Wz8Zy0","alignWidgetsCenter":"vUV22F","iconWrapper":"NXKH3t","padding12":"DK7Sk1","padding24":"Qo3tfh","paddingLeft12":"_5gKsXy","paddingLeft24":"oe-KYN","iconContainer":"Xc3gS0","loadingCell":"_8nt6hb","contentWrapper":"B2duoh","renderItem":"_7izs9E","iconDefault":"d4W6Wa","selectedMark":"_6ifXHX"};
|
|
1626
1627
|
|
|
1627
1628
|
function DataPickerCell(props) {
|
|
1628
1629
|
const ref = React__namespace.useRef();
|
|
@@ -1659,7 +1660,7 @@ function DataPickerCell(props) {
|
|
|
1659
1660
|
getWrappedContent()));
|
|
1660
1661
|
}
|
|
1661
1662
|
|
|
1662
|
-
var css$S = {"uui-typography":"
|
|
1663
|
+
var css$S = {"uui-typography":"_2S-Xqu","hero-header":"L6V3NY","promo-header":"Q-jAAF","uui-critical":"loeJwM","uui-info":"qGk3my","uui-success":"NFsC0J","uui-warning":"OS8f19","uui-highlight":"BQ-bdu","uui-typography-size-12":"CF0zL7","uui-typography-size-14":"x7SEvX","uui-typography-size-16":"Q3IgyT","picker-row":"hGqXFI","uuiTypography":"_2S-Xqu","heroHeader":"L6V3NY","promoHeader":"Q-jAAF","uuiCritical":"loeJwM","uuiInfo":"qGk3my","uuiSuccess":"NFsC0J","uuiWarning":"OS8f19","uuiHighlight":"BQ-bdu","uuiTypographySize12":"CF0zL7","uuiTypographySize14":"x7SEvX","uuiTypographySize16":"Q3IgyT","pickerRow":"hGqXFI"};
|
|
1663
1664
|
|
|
1664
1665
|
class DataPickerRow extends React__namespace.Component {
|
|
1665
1666
|
constructor() {
|
|
@@ -1673,7 +1674,7 @@ class DataPickerRow extends React__namespace.Component {
|
|
|
1673
1674
|
}
|
|
1674
1675
|
}
|
|
1675
1676
|
|
|
1676
|
-
var css$R = {"uui-typography":"
|
|
1677
|
+
var css$R = {"uui-typography":"C-qtGE","hero-header":"NqyIHo","promo-header":"zmcT24","uui-critical":"NQWJ2D","uui-info":"T1aC7o","uui-success":"Qy-UU-","uui-warning":"_529iQc","uui-highlight":"yonYue","uui-typography-size-12":"PWVcky","uui-typography-size-14":"rrGWi0","uui-typography-size-16":"_9fgLHq","done":"_0fC29d","container":"FDPWS7","uuiTypography":"C-qtGE","heroHeader":"NqyIHo","promoHeader":"zmcT24","uuiCritical":"NQWJ2D","uuiInfo":"T1aC7o","uuiSuccess":"Qy-UU-","uuiWarning":"_529iQc","uuiHighlight":"yonYue","uuiTypographySize12":"PWVcky","uuiTypographySize14":"rrGWi0","uuiTypographySize16":"_9fgLHq"};
|
|
1677
1678
|
|
|
1678
1679
|
const MobileDropdownWrapper = (props) => {
|
|
1679
1680
|
const isMobileView = uuiCore.isMobile();
|
|
@@ -1707,7 +1708,7 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
1707
1708
|
};
|
|
1708
1709
|
var ForwardRef$s = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
1709
1710
|
|
|
1710
|
-
var css$Q = {"uui-typography":"-
|
|
1711
|
+
var css$Q = {"uui-typography":"ulvmg-","hero-header":"jbeXKI","promo-header":"bNi-K5","uui-critical":"gucaFt","uui-info":"YAijvv","uui-success":"BgQnMB","uui-warning":"d0oSjD","uui-highlight":"Dtwp0C","uui-typography-size-12":"szUdRx","uui-typography-size-14":"PqL4rN","uui-typography-size-16":"_1OJYST","sub-header-wrapper":"DONc0V","switch":"xzbdT1","no-found-modal-container":"_5L2-JY","no-found-modal-container-icon":"HqI4S7","no-found-modal-container-text":"VzUIKd","uuiTypography":"ulvmg-","heroHeader":"jbeXKI","promoHeader":"bNi-K5","uuiCritical":"gucaFt","uuiInfo":"YAijvv","uuiSuccess":"BgQnMB","uuiWarning":"d0oSjD","uuiHighlight":"Dtwp0C","uuiTypographySize12":"szUdRx","uuiTypographySize14":"PqL4rN","uuiTypographySize16":"_1OJYST","subHeaderWrapper":"DONc0V","$switch$":"xzbdT1","noFoundModalContainer":"_5L2-JY","noFoundModalContainerIcon":"HqI4S7","noFoundModalContainerText":"VzUIKd"};
|
|
1711
1712
|
|
|
1712
1713
|
const mergeHighlightRanges = (ranges) => {
|
|
1713
1714
|
const mergedRanges = [];
|
|
@@ -1774,7 +1775,7 @@ const getHighlightedSearchMatches = (str, search) => {
|
|
|
1774
1775
|
return getDecoratedText(str, ranges);
|
|
1775
1776
|
};
|
|
1776
1777
|
|
|
1777
|
-
var css$P = {"root":"
|
|
1778
|
+
var css$P = {"root":"NrLmdw","multiline":"e8yJkW","vertical-padding-24":"kR8-0W","vertical-padding-30":"K0V-mP","vertical-padding-36":"HoFkbR","vertical-padding-42":"PjMnKP","vertical-padding-48":"qwRB7o","text":"L4V-Zz","verticalPadding24":"kR8-0W","verticalPadding30":"K0V-mP","verticalPadding36":"HoFkbR","verticalPadding42":"PjMnKP","verticalPadding48":"qwRB7o"};
|
|
1778
1779
|
|
|
1779
1780
|
function PickerItem(props) {
|
|
1780
1781
|
var _a;
|
|
@@ -1849,7 +1850,7 @@ function PickerModal(props) {
|
|
|
1849
1850
|
React__namespace.default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
1850
1851
|
}
|
|
1851
1852
|
|
|
1852
|
-
var css$O = {"tooltip":"
|
|
1853
|
+
var css$O = {"tooltip":"Yh1Wh-"};
|
|
1853
1854
|
|
|
1854
1855
|
const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
1855
1856
|
var _a;
|
|
@@ -1857,14 +1858,14 @@ const PickerTogglerTag = /* @__PURE__ */React__namespace.forwardRef((props, ref)
|
|
|
1857
1858
|
if (props.isCollapsed) {
|
|
1858
1859
|
const collapsedRows = props.collapsedRows.map((row) => props.getName(row.value)).join(', ');
|
|
1859
1860
|
return (React__namespace.createElement(Tooltip, { key: "selected", content: collapsedRows, closeDelay: 150, closeOnMouseLeave: "boundary", cx: css$O.tooltip },
|
|
1860
|
-
React__namespace.createElement(Tag, Object.assign({ ref: ref }, tagProps))));
|
|
1861
|
+
React__namespace.createElement(Tag, Object.assign({ ref: ref, rawProps: { role: 'option' } }, tagProps))));
|
|
1861
1862
|
}
|
|
1862
1863
|
else {
|
|
1863
|
-
return React__namespace.createElement(Tag, Object.assign({ ref: ref }, tagProps));
|
|
1864
|
+
return React__namespace.createElement(Tag, Object.assign({ ref: ref, rawProps: { role: 'option' } }, tagProps));
|
|
1864
1865
|
}
|
|
1865
1866
|
});
|
|
1866
1867
|
|
|
1867
|
-
var css$N = {"uui-typography":"
|
|
1868
|
+
var css$N = {"uui-typography":"pT2JXm","hero-header":"kFW2Nu","promo-header":"gqzbS3","uui-critical":"_8sU0Iv","uui-info":"_0w9tSc","uui-success":"eHKuUi","uui-warning":"_9bWfum","uui-highlight":"a-uIvL","uui-typography-size-12":"X1J-6F","uui-typography-size-14":"FWoPtI","uui-typography-size-16":"jdaFpD","root":"WsT-R7","mode-form":"k6mivS","mode-cell":"XX-5-g","mode-inline":"S2uV3X","uuiTypography":"pT2JXm","heroHeader":"kFW2Nu","promoHeader":"gqzbS3","uuiCritical":"_8sU0Iv","uuiInfo":"_0w9tSc","uuiSuccess":"eHKuUi","uuiWarning":"_9bWfum","uuiHighlight":"a-uIvL","uuiTypographySize12":"X1J-6F","uuiTypographySize14":"FWoPtI","uuiTypographySize16":"jdaFpD","modeForm":"k6mivS","modeCell":"XX-5-g","modeInline":"S2uV3X"};
|
|
1868
1869
|
|
|
1869
1870
|
const defaultMode$1 = EditMode.FORM;
|
|
1870
1871
|
function applyPickerTogglerMods(mods) {
|
|
@@ -1964,7 +1965,7 @@ function PickerInputComponent(_a, ref) {
|
|
|
1964
1965
|
}
|
|
1965
1966
|
const PickerInput = /* @__PURE__ */React__namespace.default.forwardRef(PickerInputComponent);
|
|
1966
1967
|
|
|
1967
|
-
var css$M = {"row":"
|
|
1968
|
+
var css$M = {"row":"ETyiF8"};
|
|
1968
1969
|
|
|
1969
1970
|
function PickerListItem(props) {
|
|
1970
1971
|
var _a;
|
|
@@ -1985,7 +1986,7 @@ function PickerListItem(props) {
|
|
|
1985
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));
|
|
1986
1987
|
}
|
|
1987
1988
|
|
|
1988
|
-
var css$L = {"root":"
|
|
1989
|
+
var css$L = {"root":"xVO6S5"};
|
|
1989
1990
|
|
|
1990
1991
|
function PickerList(props) {
|
|
1991
1992
|
const { context, view, onlySelectedView, getName, getEntityName, appendLastSelected, getSelectedIdsArray, buildRowsList, getMaxDefaultItems, dataSourceState, getModalTogglerCaption, } = uuiComponents.usePickerList(props);
|
|
@@ -2025,7 +2026,7 @@ const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
|
2025
2026
|
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
2026
2027
|
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
2027
2028
|
|
|
2028
|
-
var css$K = {"uui-typography":"
|
|
2029
|
+
var css$K = {"uui-typography":"ah-cro","hero-header":"cvHdq3","promo-header":"SA-Sgk","uui-critical":"uDGe-G","uui-info":"B0VhYI","uui-success":"KASGL-","uui-warning":"l28vnZ","uui-highlight":"iQZlZj","uui-typography-size-12":"_1GeqKB","uui-typography-size-14":"Ng0NRj","uui-typography-size-16":"YZ4gZk","root":"vsVu7U","title-wrapper":"pVpzVb","title":"jRxSZE","text-wrapper":"_5BMuKO","selection":"Lpo05B","postfix":"mA4oXt","selected":"NAEVys","uuiTypography":"ah-cro","heroHeader":"cvHdq3","promoHeader":"SA-Sgk","uuiCritical":"uDGe-G","uuiInfo":"B0VhYI","uuiSuccess":"KASGL-","uuiWarning":"l28vnZ","uuiHighlight":"iQZlZj","uuiTypographySize12":"_1GeqKB","uuiTypographySize14":"Ng0NRj","uuiTypographySize16":"YZ4gZk","titleWrapper":"pVpzVb","textWrapper":"_5BMuKO"};
|
|
2029
2030
|
|
|
2030
2031
|
const defaultSize = '36';
|
|
2031
2032
|
const FilterPanelItemToggler = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
@@ -2118,7 +2119,7 @@ function FilterPickerBody(_a) {
|
|
|
2118
2119
|
return renderBody(Object.assign(Object.assign(Object.assign({}, getPickerBodyProps(rows)), getListProps()), { showSearch: (_b = props.showSearch) !== null && _b !== void 0 ? _b : true }), rows);
|
|
2119
2120
|
}
|
|
2120
2121
|
|
|
2121
|
-
var css$J = {"container":"
|
|
2122
|
+
var css$J = {"container":"_3hMf-6"};
|
|
2122
2123
|
|
|
2123
2124
|
const defaultFormat = 'MMM D, YYYY';
|
|
2124
2125
|
const valueFormat = 'YYYY-MM-DD';
|
|
@@ -2261,7 +2262,7 @@ const isYearWithinSoberRange = (value) => {
|
|
|
2261
2262
|
const year = value.year();
|
|
2262
2263
|
return year >= MIN_SOBER_YEAR && year <= MAX_SOBER_YEAR;
|
|
2263
2264
|
};
|
|
2264
|
-
function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, onValueChange, }) {
|
|
2265
|
+
function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, onValueChange, isDisabled, }) {
|
|
2265
2266
|
const onSetMonth = (newMonth) => {
|
|
2266
2267
|
onValueChange({
|
|
2267
2268
|
view,
|
|
@@ -2325,19 +2326,19 @@ function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, o
|
|
|
2325
2326
|
const disableNext = view === 'YEAR_SELECTION' && !isYearWithinSoberRange(getNextYearsList(month));
|
|
2326
2327
|
return (React__namespace.createElement("div", { className: cx__default.default(css$J.container, uuiHeader.container, cx__default.default) },
|
|
2327
2328
|
React__namespace.createElement("header", { className: uuiHeader.header },
|
|
2328
|
-
React__namespace.createElement(Button, { icon: navIconLeft || ForwardRef$v, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: () => onLeftNavigationArrow(), isDisabled: disablePrev }),
|
|
2329
|
-
React__namespace.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: () => onCaptionClick(view) }),
|
|
2330
|
-
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 }))));
|
|
2331
2332
|
}
|
|
2332
2333
|
|
|
2333
|
-
var css$I = {"uui-typography":"
|
|
2334
|
+
var css$I = {"uui-typography":"SnRp9T","hero-header":"ZqKD6U","promo-header":"_8qygIt","uui-critical":"WfNotK","uui-info":"KeHmd-","uui-success":"_8cnrAW","uui-warning":"_5SZssn","uui-highlight":"iEwTHt","uui-typography-size-12":"x-cR91","uui-typography-size-14":"Hpz0Gx","uui-typography-size-16":"GhT0U1","root":"DhmHiH","uuiTypography":"SnRp9T","heroHeader":"ZqKD6U","promoHeader":"_8qygIt","uuiCritical":"WfNotK","uuiInfo":"KeHmd-","uuiSuccess":"_8cnrAW","uuiWarning":"_5SZssn","uuiHighlight":"iEwTHt","uuiTypographySize12":"x-cR91","uuiTypographySize14":"Hpz0Gx","uuiTypographySize16":"GhT0U1"};
|
|
2334
2335
|
|
|
2335
2336
|
function applyDateSelectionMods() {
|
|
2336
2337
|
return [css$I.root];
|
|
2337
2338
|
}
|
|
2338
2339
|
const Calendar = /* @__PURE__ */uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
2339
2340
|
|
|
2340
|
-
var css$H = {"uui-typography":"
|
|
2341
|
+
var css$H = {"uui-typography":"ADvcu7","hero-header":"Uxpc9L","promo-header":"GCuooS","uui-critical":"CBd06V","uui-info":"kPKbIY","uui-success":"XqJWqr","uui-warning":"Fv6gcj","uui-highlight":"-aEVRy","uui-typography-size-12":"jL1nti","uui-typography-size-14":"wc4UMK","uui-typography-size-16":"s96mtp","root":"baG5W7","uuiTypography":"ADvcu7","heroHeader":"Uxpc9L","promoHeader":"GCuooS","uuiCritical":"CBd06V","uuiInfo":"kPKbIY","uuiSuccess":"XqJWqr","uuiWarning":"Fv6gcj","uuiHighlight":"-aEVRy","uuiTypographySize12":"jL1nti","uuiTypographySize14":"wc4UMK","uuiTypographySize16":"s96mtp"};
|
|
2341
2342
|
|
|
2342
2343
|
const uuiDatePickerBody = {
|
|
2343
2344
|
wrapper: 'uui-datepickerBody-wrapper',
|
|
@@ -2356,7 +2357,7 @@ function DatePickerBodyComp(props, ref) {
|
|
|
2356
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) })));
|
|
2357
2358
|
}
|
|
2358
2359
|
const StatelessDatePickerBody = /* @__PURE__ */React.forwardRef(StatelessDatePickerBodyComp);
|
|
2359
|
-
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) {
|
|
2360
2361
|
const selectedDate = uuiDayjs.dayjs(value);
|
|
2361
2362
|
const onMonthClick = (newDate) => {
|
|
2362
2363
|
onMonthChange(newDate);
|
|
@@ -2378,7 +2379,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2378
2379
|
case 'YEAR_SELECTION':
|
|
2379
2380
|
return (React__namespace.default.createElement(uuiComponents.YearSelection, { selectedDate: selectedDate, value: month, onValueChange: onYearClick }));
|
|
2380
2381
|
case 'DAY_SELECTION':
|
|
2381
|
-
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 }));
|
|
2382
2383
|
}
|
|
2383
2384
|
};
|
|
2384
2385
|
return (React__namespace.default.createElement("div", Object.assign({ ref: ref, className: uuiCore.cx(uuiDatePickerBodyBase.container, classes) }, rawProps),
|
|
@@ -2389,7 +2390,7 @@ function StatelessDatePickerBodyComp({ renderDay, isHoliday, cx: classes, filter
|
|
|
2389
2390
|
}, onValueChange: (newValue) => {
|
|
2390
2391
|
onMonthChange(newValue.month);
|
|
2391
2392
|
onViewChange(newValue.view);
|
|
2392
|
-
} }),
|
|
2393
|
+
}, isDisabled: isDisabled }),
|
|
2393
2394
|
getView())));
|
|
2394
2395
|
}
|
|
2395
2396
|
|
|
@@ -2425,9 +2426,9 @@ function FilterDatePickerBody(props) {
|
|
|
2425
2426
|
} })))));
|
|
2426
2427
|
}
|
|
2427
2428
|
|
|
2428
|
-
var css$G = {"uui-typography":"
|
|
2429
|
+
var css$G = {"uui-typography":"oH-Q-P","hero-header":"_3ouacX","promo-header":"WbmTz1","uui-critical":"mYU-gA","uui-info":"tTWl5i","uui-success":"qh0Ats","uui-warning":"BA-Otk","uui-highlight":"rD1a52","uui-typography-size-12":"oJmPNl","uui-typography-size-14":"nHSJpt","uui-typography-size-16":"azL9zV","dropdown-container":"sex9-h","date-input":"afw265","date-input-group":"z7QCTB","separator":"W2V0tr","mode-form":"pn-f-r","mode-cell":"yk6MsP","uuiTypography":"oH-Q-P","heroHeader":"_3ouacX","promoHeader":"WbmTz1","uuiCritical":"mYU-gA","uuiInfo":"tTWl5i","uuiSuccess":"qh0Ats","uuiWarning":"BA-Otk","uuiHighlight":"rD1a52","uuiTypographySize12":"oJmPNl","uuiTypographySize14":"nHSJpt","uuiTypographySize16":"azL9zV","dropdownContainer":"sex9-h","dateInput":"afw265","dateInputGroup":"z7QCTB","modeForm":"pn-f-r","modeCell":"yk6MsP"};
|
|
2429
2430
|
|
|
2430
|
-
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) => {
|
|
2431
2432
|
const [inputValue, setInputValue] = React.useState(toCustomDateRangeFormat(value, format));
|
|
2432
2433
|
React.useEffect(() => {
|
|
2433
2434
|
setInputValue(toCustomDateRangeFormat(value, format));
|
|
@@ -2450,17 +2451,19 @@ const RangeDatePickerInput = /* @__PURE__ */React.forwardRef(({ isDisabled, isIn
|
|
|
2450
2451
|
onValueChange(Object.assign(Object.assign({}, selectedDate), { [inputType]: null }));
|
|
2451
2452
|
}
|
|
2452
2453
|
};
|
|
2454
|
+
const onInputKeyDown = (e) => {
|
|
2455
|
+
if (e.key === 'Enter') {
|
|
2456
|
+
onClick();
|
|
2457
|
+
e.preventDefault();
|
|
2458
|
+
}
|
|
2459
|
+
};
|
|
2453
2460
|
const clearAllowed = !disableClear && inputValue.from && inputValue.to;
|
|
2454
|
-
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),
|
|
2455
|
-
|
|
2456
|
-
onClick === null || onClick === void 0 ? void 0 : onClick(event);
|
|
2457
|
-
}
|
|
2458
|
-
}, onBlur: onBlur },
|
|
2459
|
-
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 }),
|
|
2460
2463
|
React__namespace.default.createElement("div", { className: css$G.separator }),
|
|
2461
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 ? () => {
|
|
2462
2465
|
onValueChange(defaultRangeValue);
|
|
2463
|
-
} : 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 })));
|
|
2464
2467
|
});
|
|
2465
2468
|
|
|
2466
2469
|
function FilterRangeDatePickerBody(props) {
|
|
@@ -2516,7 +2519,7 @@ function FilterRangeDatePickerBody(props) {
|
|
|
2516
2519
|
React__namespace.default.createElement(LinkButton, { isDisabled: !value.from && !value.to, caption: i18n.pickerModal.clearAllButton, onClick: () => onValueChange(defaultRangeValue) })))));
|
|
2517
2520
|
}
|
|
2518
2521
|
|
|
2519
|
-
var css$F = {"container":"
|
|
2522
|
+
var css$F = {"container":"bsGie-"};
|
|
2520
2523
|
|
|
2521
2524
|
function FilterNumericBody(props) {
|
|
2522
2525
|
var _a, _b;
|
|
@@ -2614,7 +2617,7 @@ var SvgActionDeleteOutline = function SvgActionDeleteOutline(props, ref) {
|
|
|
2614
2617
|
};
|
|
2615
2618
|
var ForwardRef$r = /*#__PURE__*/React.forwardRef(SvgActionDeleteOutline);
|
|
2616
2619
|
|
|
2617
|
-
var css$E = {"uui-typography":"
|
|
2620
|
+
var css$E = {"uui-typography":"_7WM9iq","hero-header":"i2pAKD","promo-header":"g86Iqv","uui-critical":"qa0uA-","uui-info":"YOeb1K","uui-success":"coK8Py","uui-warning":"L4VYJy","uui-highlight":"KfUUXi","uui-typography-size-12":"A4fWRi","uui-typography-size-14":"FwBxqF","uui-typography-size-16":"J9eHgT","header":"PhqjPH","removeButton":"mMZarW","with-search":"FVXO1F","uuiTypography":"_7WM9iq","heroHeader":"i2pAKD","promoHeader":"g86Iqv","uuiCritical":"qa0uA-","uuiInfo":"YOeb1K","uuiSuccess":"coK8Py","uuiWarning":"L4VYJy","uuiHighlight":"KfUUXi","uuiTypographySize12":"A4fWRi","uuiTypographySize14":"FwBxqF","uuiTypographySize16":"J9eHgT","withSearch":"FVXO1F"};
|
|
2618
2621
|
|
|
2619
2622
|
function useView(props, value) {
|
|
2620
2623
|
const forceUpdate = uuiCore.useForceUpdate();
|
|
@@ -2936,7 +2939,7 @@ function FiltersToolbarImpl(props) {
|
|
|
2936
2939
|
}
|
|
2937
2940
|
const FiltersPanel = /* @__PURE__ */React__namespace.default.memo(FiltersToolbarImpl);
|
|
2938
2941
|
|
|
2939
|
-
var css$D = {"divider":"
|
|
2942
|
+
var css$D = {"divider":"_5BdRId","dropdownDeleteIcon":"c-mIx7","presetsWrapper":"s8KMrv","addPresetContainer":"mK5Vzh","dropContainer":"VvrxND"};
|
|
2940
2943
|
|
|
2941
2944
|
var _path$p;
|
|
2942
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); }
|
|
@@ -3049,7 +3052,7 @@ var SvgContentLinkOutline = function SvgContentLinkOutline(props, ref) {
|
|
|
3049
3052
|
};
|
|
3050
3053
|
var ForwardRef$j = /*#__PURE__*/React.forwardRef(SvgContentLinkOutline);
|
|
3051
3054
|
|
|
3052
|
-
var css$C = {"delete-button":"
|
|
3055
|
+
var css$C = {"delete-button":"wM4vqg","tab-button":"odA1lm","targetOpen":"ZpnEHf","deleteButton":"wM4vqg","tabButton":"odA1lm"};
|
|
3053
3056
|
|
|
3054
3057
|
function PresetActionsDropdown(props) {
|
|
3055
3058
|
const { uuiNotifications } = uuiCore.useUuiContext();
|
|
@@ -3107,7 +3110,7 @@ function PresetActionsDropdown(props) {
|
|
|
3107
3110
|
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
3108
3111
|
}
|
|
3109
3112
|
|
|
3110
|
-
var css$B = {"preset-input-cell":"
|
|
3113
|
+
var css$B = {"preset-input-cell":"lWQkUw","preset-input":"g5CALa","presetInputCell":"lWQkUw","presetInput":"g5CALa"};
|
|
3111
3114
|
|
|
3112
3115
|
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
3113
3116
|
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
@@ -3140,7 +3143,7 @@ function PresetInput(props) {
|
|
|
3140
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 })));
|
|
3141
3144
|
}
|
|
3142
3145
|
|
|
3143
|
-
var css$A = {"preset":"
|
|
3146
|
+
var css$A = {"preset":"KuyVUH","activePreset":"XaWJ5Z"};
|
|
3144
3147
|
|
|
3145
3148
|
function Preset(props) {
|
|
3146
3149
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -3259,7 +3262,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
3259
3262
|
return columns;
|
|
3260
3263
|
};
|
|
3261
3264
|
|
|
3262
|
-
var css$z = {"line-height-12":"
|
|
3265
|
+
var css$z = {"line-height-12":"Q3YYTL","line-height-18":"MUvIE3","line-height-24":"P1udoe","line-height-30":"_5RiG9r","font-size-10":"hhTTIT","font-size-12":"LICVhv","font-size-14":"veuzdi","font-size-16":"ZQioM8","font-size-18":"SKuIUo","font-size-24":"mSQ02M","v-padding-2":"mQ0q2R","v-padding-3":"cPtwLO","v-padding-5":"bv8YVR","v-padding-6":"Ufm6S-","v-padding-8":"_6xKM-S","v-padding-9":"yV0xnk","v-padding-11":"ID-txN","v-padding-12":"pXy5sz","v-padding-14":"UoixZ6","v-padding-15":"E3-EI6","v-padding-17":"_8L-l6X","v-padding-18":"KYWMB8","v-padding-23":"Mk3Myp","v-padding-24":"CXtOjt","lineHeight12":"Q3YYTL","lineHeight18":"MUvIE3","lineHeight24":"P1udoe","lineHeight30":"_5RiG9r","fontSize10":"hhTTIT","fontSize12":"LICVhv","fontSize14":"veuzdi","fontSize16":"ZQioM8","fontSize18":"SKuIUo","fontSize24":"mSQ02M","vPadding2":"mQ0q2R","vPadding3":"cPtwLO","vPadding5":"bv8YVR","vPadding6":"Ufm6S-","vPadding8":"_6xKM-S","vPadding9":"yV0xnk","vPadding11":"ID-txN","vPadding12":"pXy5sz","vPadding14":"UoixZ6","vPadding15":"E3-EI6","vPadding17":"_8L-l6X","vPadding18":"KYWMB8","vPadding23":"Mk3Myp","vPadding24":"CXtOjt"};
|
|
3263
3266
|
|
|
3264
3267
|
function getTextClasses(props, border) {
|
|
3265
3268
|
if (props.size === 'none') {
|
|
@@ -3276,7 +3279,7 @@ function getTextClasses(props, border) {
|
|
|
3276
3279
|
];
|
|
3277
3280
|
}
|
|
3278
3281
|
|
|
3279
|
-
var css$y = {"root":"
|
|
3282
|
+
var css$y = {"root":"prfFvD"};
|
|
3280
3283
|
|
|
3281
3284
|
function applyTextMods(mods) {
|
|
3282
3285
|
const textClasses = getTextClasses({
|
|
@@ -3295,7 +3298,7 @@ function applyTextMods(mods) {
|
|
|
3295
3298
|
}
|
|
3296
3299
|
const Text = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.Text, applyTextMods);
|
|
3297
3300
|
|
|
3298
|
-
var css$x = {"root":"
|
|
3301
|
+
var css$x = {"root":"W19iYx","loading-word":"y4Jv0B","animated-loading":"_2i2JbP","skeleton_loading":"EjR-9D","loadingWord":"y4Jv0B","animatedLoading":"_2i2JbP","skeletonLoading":"EjR-9D"};
|
|
3299
3302
|
|
|
3300
3303
|
const TextPlaceholder = (props) => {
|
|
3301
3304
|
const pattern = ' ';
|
|
@@ -3314,7 +3317,7 @@ const TextPlaceholder = (props) => {
|
|
|
3314
3317
|
|
|
3315
3318
|
const RichTextView = /* @__PURE__ */uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || '14'}`]);
|
|
3316
3319
|
|
|
3317
|
-
var css$w = {"uui-typography":"
|
|
3320
|
+
var css$w = {"uui-typography":"Okd4LG","hero-header":"_87zjn4","promo-header":"EplwCW","uui-critical":"_9q6u5z","uui-info":"Mi3K42","uui-success":"aZsn1d","uui-warning":"Eq01r5","uui-highlight":"XEw0Uw","uui-typography-size-12":"Tik18W","uui-typography-size-14":"oS5HTs","uui-typography-size-16":"_2JFy8U","root":"W0656N","modal-blocker":"sJwpM0","animateModalBlocker":"xwr60D","modal":"nR4wxh","modal-footer":"dts-oV","modal-header":"EuRpwV","uuiTypography":"Okd4LG","heroHeader":"_87zjn4","promoHeader":"EplwCW","uuiCritical":"_9q6u5z","uuiInfo":"Mi3K42","uuiSuccess":"aZsn1d","uuiWarning":"Eq01r5","uuiHighlight":"XEw0Uw","uuiTypographySize12":"Tik18W","uuiTypographySize14":"oS5HTs","uuiTypographySize16":"_2JFy8U","modalBlocker":"sJwpM0","modalFooter":"dts-oV","modalHeader":"EuRpwV"};
|
|
3318
3321
|
|
|
3319
3322
|
const ModalBlocker = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$w.modalBlocker]);
|
|
3320
3323
|
const ModalWindow = /* @__PURE__ */uuiCore.withMods(uuiComponents.ModalWindow, () => [css$w.root, css$w.modal], (props) => {
|
|
@@ -3368,7 +3371,7 @@ var SvgNotificationHelpFill = function SvgNotificationHelpFill(props, ref) {
|
|
|
3368
3371
|
};
|
|
3369
3372
|
var ForwardRef$h = /*#__PURE__*/React.forwardRef(SvgNotificationHelpFill);
|
|
3370
3373
|
|
|
3371
|
-
var css$v = {"uui-typography":"
|
|
3374
|
+
var css$v = {"uui-typography":"HRWa-R","hero-header":"JiMUSg","promo-header":"dOh5SM","uui-critical":"X4XmyH","uui-info":"tPdvXX","uui-success":"aYs-Xj","uui-warning":"_3pH4A-","uui-highlight":"NuYpj0","uui-typography-size-12":"-Prxmj","uui-typography-size-14":"FEw24v","uui-typography-size-16":"rjINVo","root":"QHvAci","icon-wrapper":"_9cGg3D","action-wrapper":"Ik93qD","action-link":"_7mZ2ZR","close-icon":"CNp1I9","main-path":"-glbmp","content":"y8-E2h","close-wrapper":"odgMNL","notification-wrapper":"aEYYXw","clear-button":"zym0sS","uuiTypography":"HRWa-R","heroHeader":"JiMUSg","promoHeader":"dOh5SM","uuiCritical":"X4XmyH","uuiInfo":"tPdvXX","uuiSuccess":"aYs-Xj","uuiWarning":"_3pH4A-","uuiHighlight":"NuYpj0","uuiTypographySize12":"-Prxmj","uuiTypographySize14":"FEw24v","uuiTypographySize16":"rjINVo","iconWrapper":"_9cGg3D","actionWrapper":"Ik93qD","actionLink":"_7mZ2ZR","closeIcon":"CNp1I9","mainPath":"-glbmp","closeWrapper":"odgMNL","notificationWrapper":"aEYYXw","clearButton":"zym0sS"};
|
|
3372
3375
|
|
|
3373
3376
|
const NotificationCard = /* @__PURE__ */React__namespace.default.forwardRef((props, ref) => {
|
|
3374
3377
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -3444,7 +3447,7 @@ function useReliableForceUpdate() {
|
|
|
3444
3447
|
return red[1];
|
|
3445
3448
|
}
|
|
3446
3449
|
|
|
3447
|
-
var css$u = {"root":"
|
|
3450
|
+
var css$u = {"root":"rrTA2f","timepicker-input":"xUN38P","ltr-always":"ZMYmpB","timepickerInput":"xUN38P","ltrAlways":"ZMYmpB"};
|
|
3448
3451
|
|
|
3449
3452
|
const uuiTimePicker = {
|
|
3450
3453
|
container: 'uui-timepicker-container',
|
|
@@ -3637,7 +3640,7 @@ function TimePicker(props) {
|
|
|
3637
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 }));
|
|
3638
3641
|
}
|
|
3639
3642
|
|
|
3640
|
-
var css$t = {"root":"
|
|
3643
|
+
var css$t = {"root":"PURVl2"};
|
|
3641
3644
|
|
|
3642
3645
|
function applyInputAddonMods() {
|
|
3643
3646
|
return [
|
|
@@ -3646,7 +3649,7 @@ function applyInputAddonMods() {
|
|
|
3646
3649
|
}
|
|
3647
3650
|
const InputAddon = /* @__PURE__ */uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
3648
3651
|
|
|
3649
|
-
var css$s = {"root":"
|
|
3652
|
+
var css$s = {"root":"Njkkm-"};
|
|
3650
3653
|
|
|
3651
3654
|
function applySliderMods() {
|
|
3652
3655
|
return [css$s.root, 'uui-color-neutral'];
|
|
@@ -3682,8 +3685,6 @@ function DatePickerComponent(props, ref) {
|
|
|
3682
3685
|
};
|
|
3683
3686
|
const onBlur = (e) => {
|
|
3684
3687
|
var _a;
|
|
3685
|
-
if (uuiCore.isFocusReceiverInsideFocusLock(e))
|
|
3686
|
-
return;
|
|
3687
3688
|
(_a = props.onBlur) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
3688
3689
|
if (isValidDate(inputValue, format, props.filter)) {
|
|
3689
3690
|
setInputValue(toCustomDateFormat(inputValue, format));
|
|
@@ -3693,14 +3694,17 @@ function DatePickerComponent(props, ref) {
|
|
|
3693
3694
|
setInputValue(null);
|
|
3694
3695
|
onValueChange(null);
|
|
3695
3696
|
}
|
|
3696
|
-
|
|
3697
|
+
};
|
|
3698
|
+
const onInputKeyDown = (e) => {
|
|
3699
|
+
if (e.key === 'Enter') {
|
|
3700
|
+
setBodyIsOpen(true);
|
|
3701
|
+
e.preventDefault();
|
|
3702
|
+
}
|
|
3697
3703
|
};
|
|
3698
3704
|
const renderInput = (renderProps) => {
|
|
3699
3705
|
var _a;
|
|
3700
3706
|
const allowClear = !props.disableClear && !!inputValue;
|
|
3701
|
-
return (React__namespace.default.createElement(TextInput, Object.assign({}, renderProps, {
|
|
3702
|
-
// fixes a bug with body open, it skips unwanted prevent default
|
|
3703
|
-
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) => {
|
|
3704
3708
|
setInputValue(v || '');
|
|
3705
3709
|
}, onCancel: allowClear ? () => {
|
|
3706
3710
|
if (!props.disableClear && !!inputValue) {
|
|
@@ -3708,13 +3712,12 @@ function DatePickerComponent(props, ref) {
|
|
|
3708
3712
|
}
|
|
3709
3713
|
} : undefined, isInvalid: props.isInvalid, isDisabled: props.isDisabled, isReadonly: props.isReadonly, tabIndex: props.isReadonly || props.isDisabled ? -1 : 0, onFocus: (e) => {
|
|
3710
3714
|
var _a;
|
|
3711
|
-
setBodyIsOpen(true);
|
|
3712
3715
|
(_a = props.onFocus) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
3713
|
-
}, 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 })));
|
|
3714
3717
|
};
|
|
3715
3718
|
const renderBody = (renderProps) => {
|
|
3716
3719
|
var _a, _b;
|
|
3717
|
-
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, renderProps
|
|
3720
|
+
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, renderProps),
|
|
3718
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 :
|
|
3719
3722
|
_b.call(props)));
|
|
3720
3723
|
};
|
|
@@ -3729,14 +3732,23 @@ function DatePickerComponent(props, ref) {
|
|
|
3729
3732
|
}
|
|
3730
3733
|
const DatePicker = /* @__PURE__ */React__namespace.default.forwardRef(DatePickerComponent);
|
|
3731
3734
|
|
|
3732
|
-
var css$r = {"uui-typography":"
|
|
3735
|
+
var css$r = {"uui-typography":"IeR1gq","hero-header":"Il-9PT","promo-header":"oAUjHe","uui-critical":"lBtyQp","uui-info":"ThLAit","uui-success":"_31jXqs","uui-warning":"vAaKm7","uui-highlight":"Yy92Gv","uui-typography-size-12":"zHqqoQ","uui-typography-size-14":"oV-vbY","uui-typography-size-16":"PjdR-e","root":"X7yADY","uuiTypography":"IeR1gq","heroHeader":"Il-9PT","promoHeader":"oAUjHe","uuiCritical":"lBtyQp","uuiInfo":"ThLAit","uuiSuccess":"_31jXqs","uuiWarning":"vAaKm7","uuiHighlight":"Yy92Gv","uuiTypographySize12":"zHqqoQ","uuiTypographySize14":"oV-vbY","uuiTypographySize16":"PjdR-e"};
|
|
3733
3736
|
|
|
3734
|
-
|
|
3735
|
-
|
|
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" })))));
|
|
3736
3749
|
}
|
|
3737
|
-
const CalendarPresets = /* @__PURE__ */uuiCore.withMods(uuiComponents.CalendarPresets, applyCalendarPresetsMods, () => ({}));
|
|
3738
3750
|
|
|
3739
|
-
var css$q = {"uui-typography":"
|
|
3751
|
+
var css$q = {"uui-typography":"MzSJvg","hero-header":"YPMhT-","promo-header":"jHn6OV","uui-critical":"APdp-m","uui-info":"cN-BQr","uui-success":"klchuI","uui-warning":"Xwy7Y7","uui-highlight":"m-wPNa","uui-typography-size-12":"zKWr0g","uui-typography-size-14":"UHhA-E","uui-typography-size-16":"bxKeLG","root":"HnPYai","container":"i8NTEs","day-selection":"k9hU50","from-picker":"Q-66Jq","to-picker":"hWWLZs","bodes-wrapper":"KLMmg6","blocker":"NULGwr","uuiTypography":"MzSJvg","heroHeader":"YPMhT-","promoHeader":"jHn6OV","uuiCritical":"APdp-m","uuiInfo":"cN-BQr","uuiSuccess":"klchuI","uuiWarning":"Xwy7Y7","uuiHighlight":"m-wPNa","uuiTypographySize12":"zKWr0g","uuiTypographySize14":"UHhA-E","uuiTypographySize16":"bxKeLG","daySelection":"k9hU50","fromPicker":"Q-66Jq","toPicker":"hWWLZs","bodesWrapper":"KLMmg6"};
|
|
3740
3752
|
|
|
3741
3753
|
const uuiRangeDatePickerBody = {
|
|
3742
3754
|
inRange: 'uui-range-datepicker-in-range',
|
|
@@ -3884,10 +3896,10 @@ function RangeDatePickerBodyComp(props, ref) {
|
|
|
3884
3896
|
React__namespace.default.createElement(FlexRow, { cx: css$q.bodesWrapper, alignItems: "top" },
|
|
3885
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) => {
|
|
3886
3898
|
setMonth(m);
|
|
3887
|
-
}, 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' })),
|
|
3888
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) => {
|
|
3889
3901
|
setMonth(m.subtract(1, 'month'));
|
|
3890
|
-
}, 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' })),
|
|
3891
3903
|
view !== 'DAY_SELECTION' && (React__namespace.default.createElement("div", { style: {
|
|
3892
3904
|
left: activeMonth === 'from' ? '50%' : undefined,
|
|
3893
3905
|
right: activeMonth === 'to' ? '50%' : undefined,
|
|
@@ -3932,9 +3944,8 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3932
3944
|
}
|
|
3933
3945
|
}
|
|
3934
3946
|
};
|
|
3935
|
-
const onOpenChange = (newIsOpen
|
|
3947
|
+
const onOpenChange = (newIsOpen) => {
|
|
3936
3948
|
var _a;
|
|
3937
|
-
setInFocus(newIsOpen && focus ? focus : null);
|
|
3938
3949
|
setIsOpen(newIsOpen);
|
|
3939
3950
|
(_a = props.onOpenChange) === null || _a === void 0 ? void 0 : _a.call(props, newIsOpen);
|
|
3940
3951
|
};
|
|
@@ -3950,16 +3961,9 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3950
3961
|
onOpenChange(false);
|
|
3951
3962
|
}
|
|
3952
3963
|
};
|
|
3953
|
-
// mainly for closing body on tab
|
|
3954
|
-
const onInputWrapperBlur = (event) => {
|
|
3955
|
-
if (uuiCore.isFocusReceiverInsideFocusLock(event)) {
|
|
3956
|
-
return;
|
|
3957
|
-
}
|
|
3958
|
-
onOpenChange(false);
|
|
3959
|
-
};
|
|
3960
3964
|
const renderBody = (renderProps) => {
|
|
3961
3965
|
var _a;
|
|
3962
|
-
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) }),
|
|
3963
3967
|
React__namespace.default.createElement(FlexRow, null,
|
|
3964
3968
|
React__namespace.default.createElement(RangeDatePickerBody, { cx: cx__default.default(props.bodyCx), value: {
|
|
3965
3969
|
selectedDate: _value,
|
|
@@ -3971,16 +3975,16 @@ function RangeDatePickerComponent(props, ref) {
|
|
|
3971
3975
|
};
|
|
3972
3976
|
return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: (renderProps) => {
|
|
3973
3977
|
var _a;
|
|
3974
|
-
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) => {
|
|
3975
3979
|
var _a;
|
|
3976
|
-
(_a = props.onFocus) === null || _a === void 0 ? void 0 : _a.call(props, e,
|
|
3977
|
-
|
|
3978
|
-
}, 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); } }));
|
|
3979
3983
|
}, renderBody: (renderProps) => renderBody(renderProps), onValueChange: (v) => onOpenChange(v), value: isOpen, modifiers: modifiers, placement: props.placement, forwardedRef: ref }));
|
|
3980
3984
|
}
|
|
3981
3985
|
const RangeDatePicker = /* @__PURE__ */React__namespace.default.forwardRef(RangeDatePickerComponent);
|
|
3982
3986
|
|
|
3983
|
-
var css$p = {"root":"
|
|
3987
|
+
var css$p = {"root":"_4ZSCLk","blocker":"LONETC","marker":"cVEtnx","top":"s885vV","bottom":"J0df2z","left":"a6nwKG","right":"N6eFfR","inside":"iLCaTY"};
|
|
3984
3988
|
|
|
3985
3989
|
function DropMarker(props) {
|
|
3986
3990
|
return props.isDndInProgress
|
|
@@ -3995,7 +3999,7 @@ function DropMarker(props) {
|
|
|
3995
3999
|
: null;
|
|
3996
4000
|
}
|
|
3997
4001
|
|
|
3998
|
-
var css$o = {"uui-typography":"
|
|
4002
|
+
var css$o = {"uui-typography":"DB9Csz","hero-header":"i36r-v","promo-header":"PpzxwV","uui-critical":"_5XzqAU","uui-info":"_6t6eML","uui-success":"_6wu5rE","uui-warning":"b1zOQ7","uui-highlight":"oKC-y4","uui-typography-size-12":"Y-xio3","uui-typography-size-14":"EKikFL","uui-typography-size-16":"R-m-yG","cell":"_8zHjvc","wrapper":"jGmpYp","align-widgets-top":"ldF0Nh","size-24":"q0JWUR","size-30":"n2THRM","size-36":"v-KYHw","size-42":"QbIOuf","size-48":"_94YqgK","size-60":"ctMYc1","align-widgets-center":"W1EJN7","padding-6":"g15WKQ","padding-12":"sMm6kB","padding-24":"BNiaVn","padding-left-12":"X5PFvY","padding-left-24":"_22ABYh","padding-right-12":"cUSYPR","padding-right-24":"G5xj7D","loading-cell":"lCM-l-","uuiTypography":"DB9Csz","heroHeader":"i36r-v","promoHeader":"PpzxwV","uuiCritical":"_5XzqAU","uuiInfo":"_6t6eML","uuiSuccess":"_6wu5rE","uuiWarning":"b1zOQ7","uuiHighlight":"oKC-y4","uuiTypographySize12":"Y-xio3","uuiTypographySize14":"EKikFL","uuiTypographySize16":"R-m-yG","alignWidgetsTop":"ldF0Nh","size24":"q0JWUR","size30":"n2THRM","size36":"v-KYHw","size42":"QbIOuf","size48":"_94YqgK","size60":"ctMYc1","alignWidgetsCenter":"W1EJN7","padding6":"g15WKQ","padding12":"sMm6kB","padding24":"BNiaVn","paddingLeft12":"X5PFvY","paddingLeft24":"_22ABYh","paddingRight12":"cUSYPR","paddingRight24":"G5xj7D","loadingCell":"lCM-l-"};
|
|
3999
4003
|
|
|
4000
4004
|
function DataTableCell(props) {
|
|
4001
4005
|
props = Object.assign({}, props);
|
|
@@ -4029,7 +4033,6 @@ function DataTableCell(props) {
|
|
|
4029
4033
|
return { padding: '12', sidePadding: '24' };
|
|
4030
4034
|
};
|
|
4031
4035
|
props.cx = [
|
|
4032
|
-
'uui-dt-vars',
|
|
4033
4036
|
'data-table-cell',
|
|
4034
4037
|
props.cx,
|
|
4035
4038
|
css$o.cell,
|
|
@@ -4043,7 +4046,7 @@ function DataTableCell(props) {
|
|
|
4043
4046
|
return React__namespace.createElement(uuiComponents.DataTableCell, Object.assign({}, props));
|
|
4044
4047
|
}
|
|
4045
4048
|
|
|
4046
|
-
var css$n = {"uui-typography":"
|
|
4049
|
+
var css$n = {"uui-typography":"LRNocH","hero-header":"rJ83Ju","promo-header":"_2Q-M9o","uui-critical":"qYtecf","uui-info":"_2-xca8","uui-success":"PN3hET","uui-warning":"_9bicCZ","uui-highlight":"esgRCA","uui-typography-size-12":"_9WDdfl","uui-typography-size-14":"PbRjbv","uui-typography-size-16":"uAi5QW","root":"pJpV0f","size-24":"KWhAJu","size-30":"RVwEMl","size-36":"kCnppC","size-48":"-xnINE","size-60":"k3izZb","uuiTypography":"LRNocH","heroHeader":"rJ83Ju","promoHeader":"_2Q-M9o","uuiCritical":"qYtecf","uuiInfo":"_2-xca8","uuiSuccess":"PN3hET","uuiWarning":"_9bicCZ","uuiHighlight":"esgRCA","uuiTypographySize12":"_9WDdfl","uuiTypographySize14":"PbRjbv","uuiTypographySize16":"uAi5QW","size24":"KWhAJu","size30":"RVwEMl","size36":"kCnppC","size48":"-xnINE","size60":"k3izZb"};
|
|
4047
4050
|
|
|
4048
4051
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
4049
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.
|
|
@@ -4059,7 +4062,7 @@ const DataTableRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableRow,
|
|
|
4059
4062
|
];
|
|
4060
4063
|
}, () => propsMods);
|
|
4061
4064
|
|
|
4062
|
-
var css$m = {"uui-typography":"
|
|
4065
|
+
var css$m = {"uui-typography":"SAj2Jp","hero-header":"As2fu8","promo-header":"TS7r5p","uui-critical":"tJ3QBq","uui-info":"fs8BTg","uui-success":"j-J9ot","uui-warning":"Z4LsBd","uui-highlight":"qO67Fl","uui-typography-size-12":"_3IeExq","uui-typography-size-14":"_183kyY","uui-typography-size-16":"HIU8br","sorting-panel-container":"BCq8KF","sort-active":"ntI7BL","uuiTypography":"SAj2Jp","heroHeader":"As2fu8","promoHeader":"TS7r5p","uuiCritical":"tJ3QBq","uuiInfo":"fs8BTg","uuiSuccess":"j-J9ot","uuiWarning":"Z4LsBd","uuiHighlight":"qO67Fl","uuiTypographySize12":"_3IeExq","uuiTypographySize14":"_183kyY","uuiTypographySize16":"HIU8br","sortingPanelContainer":"BCq8KF","sortActive":"ntI7BL"};
|
|
4063
4066
|
|
|
4064
4067
|
var _path$g;
|
|
4065
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); }
|
|
@@ -4154,7 +4157,7 @@ var SvgNavigationChevronUpOutline = function SvgNavigationChevronUpOutline(props
|
|
|
4154
4157
|
viewBox: "0 0 24 24",
|
|
4155
4158
|
ref: ref
|
|
4156
4159
|
}, props), _path$c || (_path$c = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4157
|
-
d: "
|
|
4160
|
+
d: "M18.586 15.914 20 14.5l-8-8-8 8 1.414 1.414L12 9.328l6.586 6.586z"
|
|
4158
4161
|
})));
|
|
4159
4162
|
};
|
|
4160
4163
|
var ForwardRef$c = /*#__PURE__*/React.forwardRef(SvgNavigationChevronUpOutline);
|
|
@@ -4189,7 +4192,7 @@ var SvgNavigationExpandAllOutline = function SvgNavigationExpandAllOutline(props
|
|
|
4189
4192
|
};
|
|
4190
4193
|
var ForwardRef$a = /*#__PURE__*/React.forwardRef(SvgNavigationExpandAllOutline);
|
|
4191
4194
|
|
|
4192
|
-
var css$l = {"uui-typography":"
|
|
4195
|
+
var css$l = {"uui-typography":"URTo8s","hero-header":"pOIjMf","promo-header":"X5YCKF","uui-critical":"YbQ0TM","uui-info":"_6TuyGm","uui-success":"nkd0Hr","uui-warning":"SBHzs7","uui-highlight":"Z2JrOq","uui-typography-size-12":"_3Xfq4b","uui-typography-size-14":"RlGrwD","uui-typography-size-16":"C9JJfZ","cell":"_4dX5qr","column-gap-12":"H3Ccar","caption-wrapper":"fYo0ap","column-gap-24":"jsVhU5","first-column-12":"jkMP8p","last-column-12":"gJGQ9f","first-column-24":"dOsMZP","last-column-24":"egT-WD","sort-icon":"lco8GV","dropdown-icon":"wmmfmQ","infoIcon":"vCJd-Q","resizable":"LrQO13","size-24":"k5FK7V","size-30":"XImpfr","size-36":"_3JvAKX","size-42":"ICZXIc","size-48":"WsGy9w","size-60":"_2f7-ZZ","padding-left-24":"CmEGbp","padding-right-24":"_9X4hhl","align-right":"LHGwJ-","align-center":"-QkDS5","caption":"_--ESul","checkbox":"GlXw7g","icon":"VIcPzv","fold-all-icon":"aaA0eo","cell-tooltip":"w0i5wz","upper-case":"g6KJS7","font-size-14":"-NACfU","resize-mark":"RFB9VP","resize-mark-6":"_3B9vie","resize-mark-12":"U5HV1w","pinned-right":"msManF","draggable":"bY4Z1K","ghost":"X6F6vF","is-dragged-out":"qFqw5b","dnd-marker-left":"qZh8Md","dnd-marker-right":"_34MaLs","cell-tooltip-wrapper":"_2ccq1j","cell-tooltip-text":"Tb-oRS","uuiTypography":"URTo8s","heroHeader":"pOIjMf","promoHeader":"X5YCKF","uuiCritical":"YbQ0TM","uuiInfo":"_6TuyGm","uuiSuccess":"nkd0Hr","uuiWarning":"SBHzs7","uuiHighlight":"Z2JrOq","uuiTypographySize12":"_3Xfq4b","uuiTypographySize14":"RlGrwD","uuiTypographySize16":"C9JJfZ","columnGap12":"H3Ccar","captionWrapper":"fYo0ap","columnGap24":"jsVhU5","firstColumn12":"jkMP8p","lastColumn12":"gJGQ9f","firstColumn24":"dOsMZP","lastColumn24":"egT-WD","sortIcon":"lco8GV","dropdownIcon":"wmmfmQ","size24":"k5FK7V","size30":"XImpfr","size36":"_3JvAKX","size42":"ICZXIc","size48":"WsGy9w","size60":"_2f7-ZZ","paddingLeft24":"CmEGbp","paddingRight24":"_9X4hhl","alignRight":"LHGwJ-","alignCenter":"-QkDS5","foldAllIcon":"aaA0eo","cellTooltip":"w0i5wz","upperCase":"g6KJS7","fontSize14":"-NACfU","resizeMark":"RFB9VP","resizeMark6":"_3B9vie","resizeMark12":"U5HV1w","pinnedRight":"msManF","isDraggedOut":"qFqw5b","dndMarkerLeft":"qZh8Md","dndMarkerRight":"_34MaLs","cellTooltipWrapper":"_2ccq1j","cellTooltipText":"Tb-oRS"};
|
|
4193
4196
|
|
|
4194
4197
|
class DataTableHeaderCell extends React__namespace.Component {
|
|
4195
4198
|
constructor() {
|
|
@@ -4239,11 +4242,11 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
4239
4242
|
const isResizable = (_a = this.props.column.allowResizing) !== null && _a !== void 0 ? _a : this.props.allowColumnsResizing;
|
|
4240
4243
|
const onClickEvent = !props.isResizing && (!this.props.column.renderFilter ? props.toggleSort : dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.onClick);
|
|
4241
4244
|
const sideColumnPadding = this.props.columnsGap === '12' ? '12' : '24';
|
|
4242
|
-
return (React__namespace.createElement(
|
|
4245
|
+
return (React__namespace.createElement(uuiComponents.DataTableCellContainer, { column: this.props.column, ref: (ref) => {
|
|
4243
4246
|
var _a;
|
|
4244
4247
|
props.ref(ref);
|
|
4245
4248
|
(_a = dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.ref) === null || _a === void 0 ? void 0 : _a.call(dropdownProps, ref);
|
|
4246
|
-
}, 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) },
|
|
4247
4250
|
this.renderHeaderCheckbox(),
|
|
4248
4251
|
this.renderFoldAllIcon(),
|
|
4249
4252
|
this.getColumnCaption(),
|
|
@@ -4252,6 +4255,9 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
4252
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 }));
|
|
4253
4256
|
}
|
|
4254
4257
|
render() {
|
|
4258
|
+
if (this.props.column.renderHeaderCell) {
|
|
4259
|
+
return this.props.column.renderHeaderCell(this.props);
|
|
4260
|
+
}
|
|
4255
4261
|
return React__namespace.createElement(uuiComponents.DataTableHeaderCell, Object.assign({}, this.props, { renderCellContent: this.props.column.renderFilter ? this.renderCellWithFilter : this.renderCellContent }));
|
|
4256
4262
|
}
|
|
4257
4263
|
}
|
|
@@ -4271,14 +4277,14 @@ var SvgActionSettingsFill = function SvgActionSettingsFill(props, ref) {
|
|
|
4271
4277
|
};
|
|
4272
4278
|
var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgActionSettingsFill);
|
|
4273
4279
|
|
|
4274
|
-
var css$k = {"uui-typography":"
|
|
4280
|
+
var css$k = {"uui-typography":"JoDG9L","hero-header":"A6Ek2v","promo-header":"lzGbg9","uui-critical":"YTVQZm","uui-info":"i-Bfya","uui-success":"i7ybRQ","uui-warning":"ZcdWJ1","uui-highlight":"E4CBPQ","uui-typography-size-12":"TI-4Eo","uui-typography-size-14":"ImtOu-","uui-typography-size-16":"t--f-b","header-cell":"y3xY0M","truncate":"P4voBK","uuiTypography":"JoDG9L","heroHeader":"A6Ek2v","promoHeader":"lzGbg9","uuiCritical":"YTVQZm","uuiInfo":"i-Bfya","uuiSuccess":"i7ybRQ","uuiWarning":"ZcdWJ1","uuiHighlight":"E4CBPQ","uuiTypographySize12":"TI-4Eo","uuiTypographySize14":"ImtOu-","uuiTypographySize16":"t--f-b","headerCell":"y3xY0M"};
|
|
4275
4281
|
|
|
4276
4282
|
const DataTableHeaderRow = /* @__PURE__ */uuiCore.withMods(uuiComponents.DataTableHeaderRow, (props) => [css$k.root, 'uui-dt-vars', props.size === '48' && css$k.truncate], (mods) => ({
|
|
4277
4283
|
renderCell: (props) => React__namespace.createElement(DataTableHeaderCell, Object.assign({}, props, { size: mods.size, textCase: mods.textCase || 'normal', key: props.column.key, columnsGap: mods.columnsGap })),
|
|
4278
4284
|
renderConfigButton: () => React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: "config-icon", color: "neutral", icon: ForwardRef$9 }),
|
|
4279
4285
|
}));
|
|
4280
4286
|
|
|
4281
|
-
var styles$1 = {"uui-typography":"
|
|
4287
|
+
var styles$1 = {"uui-typography":"Vokmbn","hero-header":"EQdV2N","promo-header":"PGHRqT","uui-critical":"_9Ul8I7","uui-info":"O6GL78","uui-success":"kDb-A0","uui-warning":"P3Ncmo","uui-highlight":"sTbzO9","uui-typography-size-12":"l8km75","uui-typography-size-14":"UVbWGP","uui-typography-size-16":"IFLORB","main-panel":"_5q-tgy","group-title":"uw-JTz","group-title-text":"X1V--d","group-title-badge":"iGEVWG","group-items":"OimAjF","no-data":"ABddPb","h-divider":"lmZQc7","search-area":"t5C6pi","subgroup-accordion":"w2IeiQ","subgroup-title":"Tg9A2g","uuiTypography":"Vokmbn","heroHeader":"EQdV2N","promoHeader":"PGHRqT","uuiCritical":"_9Ul8I7","uuiInfo":"O6GL78","uuiSuccess":"kDb-A0","uuiWarning":"P3Ncmo","uuiHighlight":"sTbzO9","uuiTypographySize12":"l8km75","uuiTypographySize14":"UVbWGP","uuiTypographySize16":"IFLORB","mainPanel":"_5q-tgy","groupTitle":"uw-JTz","groupTitleText":"X1V--d","groupTitleBadge":"iGEVWG","groupItems":"OimAjF","noData":"ABddPb","hDivider":"lmZQc7","searchArea":"t5C6pi","subgroupAccordion":"w2IeiQ","subgroupTitle":"Tg9A2g"};
|
|
4282
4288
|
|
|
4283
4289
|
var _path$8;
|
|
4284
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); }
|
|
@@ -4335,7 +4341,7 @@ var SvgTableGroupColumnRightFill = function SvgTableGroupColumnRightFill(props,
|
|
|
4335
4341
|
};
|
|
4336
4342
|
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgTableGroupColumnRightFill);
|
|
4337
4343
|
|
|
4338
|
-
var css$j = {"unpin-icon":"
|
|
4344
|
+
var css$j = {"unpin-icon":"pq1p6G","pin-toggler-icon":"YjJtOE","unpinIcon":"pq1p6G","pinTogglerIcon":"YjJtOE"};
|
|
4339
4345
|
|
|
4340
4346
|
function PinIconButton(props) {
|
|
4341
4347
|
const i18nLocal = i18n.tables.columnsConfigurationModal;
|
|
@@ -4394,7 +4400,7 @@ var SvgActionDragIndicator18 = function SvgActionDragIndicator18(props, ref) {
|
|
|
4394
4400
|
};
|
|
4395
4401
|
var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgActionDragIndicator18);
|
|
4396
4402
|
|
|
4397
|
-
var styles = {"uui-typography":"
|
|
4403
|
+
var styles = {"uui-typography":"MSIR0E","hero-header":"_9JCG0z","promo-header":"Tc3Wns","uui-critical":"J8Z-ri","uui-info":"Su9InE","uui-success":"EJl0IY","uui-warning":"_3yR2Xb","uui-highlight":"QU5AlH","uui-typography-size-12":"WHiaNt","uui-typography-size-14":"Q-8e44","uui-typography-size-16":"qyUJl4","row-wrapper":"PNwNTq","not-pinned":"-Cu8cs","pin-icon-button":"_14Y04u","checkbox":"pJWnW7","drag-handle":"BQUaaz","dnd-disabled":"vGDeWm","uuiTypography":"MSIR0E","heroHeader":"_9JCG0z","promoHeader":"Tc3Wns","uuiCritical":"J8Z-ri","uuiInfo":"Su9InE","uuiSuccess":"EJl0IY","uuiWarning":"_3yR2Xb","uuiHighlight":"QU5AlH","uuiTypographySize12":"WHiaNt","uuiTypographySize14":"Q-8e44","uuiTypographySize16":"qyUJl4","rowWrapper":"PNwNTq","notPinned":"-Cu8cs","pinIconButton":"_14Y04u","dragHandle":"BQUaaz","dndDisabled":"vGDeWm"};
|
|
4398
4404
|
|
|
4399
4405
|
const ColumnRow = /* @__PURE__ */React__namespace.memo(function ColumnRow(props) {
|
|
4400
4406
|
const { column } = props;
|
|
@@ -4503,7 +4509,7 @@ function SubGroup(props) {
|
|
|
4503
4509
|
return null;
|
|
4504
4510
|
}
|
|
4505
4511
|
|
|
4506
|
-
var css$i = {"listContainer":"
|
|
4512
|
+
var css$i = {"listContainer":"L0SVcQ","header":"FeMw00","group":"OYh8Ts","stickyHeader":"-L4TMg"};
|
|
4507
4513
|
|
|
4508
4514
|
const getChildrenAndRest = (row, rows) => {
|
|
4509
4515
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -4569,7 +4575,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4569
4575
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4570
4576
|
ref: ref
|
|
4571
4577
|
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
4572
|
-
clipPath: "url(#
|
|
4578
|
+
clipPath: "url(#mlph1cratcmcep9zp_a)"
|
|
4573
4579
|
}, _path$4 || (_path$4 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4574
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",
|
|
4575
4581
|
fill: "#F5F6FA"
|
|
@@ -4590,7 +4596,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4590
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",
|
|
4591
4597
|
fill: "#1D1E26"
|
|
4592
4598
|
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
4593
|
-
id: "
|
|
4599
|
+
id: "mlph1cynwn7hsk32_b",
|
|
4594
4600
|
style: {
|
|
4595
4601
|
maskType: "alpha"
|
|
4596
4602
|
},
|
|
@@ -4603,7 +4609,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4603
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",
|
|
4604
4610
|
fill: "#9BDEFF"
|
|
4605
4611
|
}))), _g || (_g = /*#__PURE__*/React__namespace.createElement("g", {
|
|
4606
|
-
mask: "url(#
|
|
4612
|
+
mask: "url(#mlph1cynwn7hsk32_b)",
|
|
4607
4613
|
fillRule: "evenodd",
|
|
4608
4614
|
clipRule: "evenodd"
|
|
4609
4615
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -4689,7 +4695,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4689
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",
|
|
4690
4696
|
fill: "#fff"
|
|
4691
4697
|
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
4692
|
-
id: "
|
|
4698
|
+
id: "mlph1cratcmcep9zp_a"
|
|
4693
4699
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
4694
4700
|
fill: "#fff",
|
|
4695
4701
|
transform: "translate(.552)",
|
|
@@ -4698,7 +4704,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4698
4704
|
};
|
|
4699
4705
|
var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgEmptyTable);
|
|
4700
4706
|
|
|
4701
|
-
var css$h = {"sticky-header":"
|
|
4707
|
+
var css$h = {"sticky-header":"I-RxPM","table":"SFk0vx","no-results":"kNnlhS","no-results-icon":"R0UMPA","no-results-title":"AKl-Kw","stickyHeader":"I-RxPM","noResults":"kNnlhS","noResultsIcon":"R0UMPA","noResultsTitle":"AKl-Kw"};
|
|
4702
4708
|
|
|
4703
4709
|
const DEFAULT_HEADER_SIZE = '36';
|
|
4704
4710
|
const DEFAULT_COLUMN_GAP = '24';
|
|
@@ -4751,9 +4757,9 @@ function DataTable(props) {
|
|
|
4751
4757
|
} }))));
|
|
4752
4758
|
}
|
|
4753
4759
|
|
|
4754
|
-
var css$g = {"root":"
|
|
4760
|
+
var css$g = {"root":"OmOnGs"};
|
|
4755
4761
|
|
|
4756
|
-
var css$f = {"root":"
|
|
4762
|
+
var css$f = {"root":"AiPC6A","burger-content":"mCaynR","burgerContent":"mCaynR"};
|
|
4757
4763
|
|
|
4758
4764
|
var _path$3;
|
|
4759
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); }
|
|
@@ -4796,7 +4802,7 @@ var SvgNavigationArrowDownOutline = function SvgNavigationArrowDownOutline(props
|
|
|
4796
4802
|
};
|
|
4797
4803
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgNavigationArrowDownOutline);
|
|
4798
4804
|
|
|
4799
|
-
var css$e = {"uui-typography":"
|
|
4805
|
+
var css$e = {"uui-typography":"J5b0h-","hero-header":"XXQElh","promo-header":"-skN-Y","uui-critical":"Jkkn1I","uui-info":"_9bGupP","uui-success":"EiMRHa","uui-warning":"vGLBFF","uui-highlight":"Hvm-jU","uui-typography-size-12":"OjC2A4","uui-typography-size-14":"-cMb58","uui-typography-size-16":"pEY49d","root":"K86F8s","button-primary":"_1yGZ9d","button-secondary":"BdYXZX","hasIcon":"m463rQ","dropdown":"H8905x","uuiTypography":"J5b0h-","heroHeader":"XXQElh","promoHeader":"-skN-Y","uuiCritical":"Jkkn1I","uuiInfo":"_9bGupP","uuiSuccess":"EiMRHa","uuiWarning":"vGLBFF","uuiHighlight":"Hvm-jU","uuiTypographySize12":"OjC2A4","uuiTypographySize14":"-cMb58","uuiTypographySize16":"pEY49d","buttonPrimary":"_1yGZ9d","buttonSecondary":"BdYXZX"};
|
|
4800
4806
|
|
|
4801
4807
|
const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
4802
4808
|
css$e.root,
|
|
@@ -4807,13 +4813,13 @@ const BurgerButton = /* @__PURE__ */uuiCore.withMods(uuiComponents.Button, (prop
|
|
|
4807
4813
|
props.icon && css$e.hasIcon,
|
|
4808
4814
|
], () => ({ dropdownIcon: ForwardRef$2, dropdownIconPosition: 'left', role: 'menuitem' }));
|
|
4809
4815
|
|
|
4810
|
-
var css$d = {"search-input":"
|
|
4816
|
+
var css$d = {"search-input":"RN7DO2","searchInput":"RN7DO2"};
|
|
4811
4817
|
|
|
4812
4818
|
function BurgerSearch(props) {
|
|
4813
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 }));
|
|
4814
4820
|
}
|
|
4815
4821
|
|
|
4816
|
-
var css$c = {"root":"
|
|
4822
|
+
var css$c = {"root":"KEUFvj","group-header":"_8VHPIz","group-name":"AfbtX-","line":"P8zyF3","groupHeader":"_8VHPIz","groupName":"AfbtX-"};
|
|
4817
4823
|
|
|
4818
4824
|
function BurgerGroupHeader(props) {
|
|
4819
4825
|
return (React__namespace.createElement("div", { className: cx__default.default(css$c.root, css$c.groupHeader, 'uui-burger-group-header') },
|
|
@@ -4821,7 +4827,7 @@ function BurgerGroupHeader(props) {
|
|
|
4821
4827
|
React__namespace.createElement("span", { className: css$c.groupName }, props.caption)));
|
|
4822
4828
|
}
|
|
4823
4829
|
|
|
4824
|
-
var css$b = {"uui-typography":"
|
|
4830
|
+
var css$b = {"uui-typography":"Z-LKJu","hero-header":"LPElsU","promo-header":"LUG-83","uui-critical":"_7CE37K","uui-info":"GZrvTZ","uui-success":"EXkW73","uui-warning":"Yvkj-y","uui-highlight":"DCmo56","uui-typography-size-12":"qYy-0B","uui-typography-size-14":"NJDcl5","uui-typography-size-16":"TddkCV","root":"Y7j3Vr","type-primary":"jPHC-m","type-secondary":"LluvsA","uuiTypography":"Z-LKJu","heroHeader":"LPElsU","promoHeader":"LUG-83","uuiCritical":"_7CE37K","uuiInfo":"GZrvTZ","uuiSuccess":"EXkW73","uuiWarning":"Yvkj-y","uuiHighlight":"DCmo56","uuiTypographySize12":"qYy-0B","uuiTypographySize14":"NJDcl5","uuiTypographySize16":"TddkCV","typePrimary":"jPHC-m","typeSecondary":"LluvsA"};
|
|
4825
4831
|
|
|
4826
4832
|
const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
4827
4833
|
const { type } = props, clickableProps = __rest(props, ["type"]);
|
|
@@ -4837,7 +4843,7 @@ const MainMenuButton = /* @__PURE__ */React__namespace.forwardRef((props, ref) =
|
|
|
4837
4843
|
props.isDropdown && (React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$P, flipY: props.isOpen }))));
|
|
4838
4844
|
});
|
|
4839
4845
|
|
|
4840
|
-
var css$a = {"dropdown-body":"
|
|
4846
|
+
var css$a = {"dropdown-body":"_0Yt-Zh","dropdownBody":"_0Yt-Zh"};
|
|
4841
4847
|
|
|
4842
4848
|
class MainMenuDropdown extends React__namespace.Component {
|
|
4843
4849
|
render() {
|
|
@@ -4892,31 +4898,31 @@ var SvgNavigationGlobalMenuOutlineOutline = function SvgNavigationGlobalMenuOutl
|
|
|
4892
4898
|
};
|
|
4893
4899
|
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgNavigationGlobalMenuOutlineOutline);
|
|
4894
4900
|
|
|
4895
|
-
var css$9 = {"global-menu-btn":"
|
|
4901
|
+
var css$9 = {"global-menu-btn":"xX-XZb","global-menu-icon":"bdtuAC","globalMenuBtn":"xX-XZb","globalMenuIcon":"bdtuAC"};
|
|
4896
4902
|
|
|
4897
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),
|
|
4898
4904
|
React__namespace.createElement(uuiComponents.IconContainer, { size: 36, icon: ForwardRef$1, cx: css$9.globalMenuIcon }))));
|
|
4899
4905
|
|
|
4900
|
-
var css$8 = {"container":"
|
|
4906
|
+
var css$8 = {"container":"_37Imdr","open":"G1TQgN","folding-arrow":"Um2aEm","foldingArrow":"Um2aEm"};
|
|
4901
4907
|
|
|
4902
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 },
|
|
4903
4909
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
4904
4910
|
props.icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon }),
|
|
4905
4911
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
4906
|
-
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 }))))));
|
|
4907
4913
|
|
|
4908
|
-
var css$7 = {"search-input":"
|
|
4914
|
+
var css$7 = {"search-input":"sgK5Dw","searchInput":"sgK5Dw"};
|
|
4909
4915
|
|
|
4910
4916
|
const MainMenuSearch = /* @__PURE__ */React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
4911
4917
|
var _a;
|
|
4912
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)));
|
|
4913
4919
|
} }))));
|
|
4914
4920
|
|
|
4915
|
-
var css$6 = {"container":"
|
|
4921
|
+
var css$6 = {"container":"_5REjOZ"};
|
|
4916
4922
|
|
|
4917
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))));
|
|
4918
4924
|
|
|
4919
|
-
var css$5 = {"root":"
|
|
4925
|
+
var css$5 = {"root":"c0-JnW"};
|
|
4920
4926
|
|
|
4921
4927
|
const Anchor = /* @__PURE__ */uuiCore.withMods(uuiComponents.Anchor, () => [css$5.root]);
|
|
4922
4928
|
|
|
@@ -4974,7 +4980,7 @@ var SvgFileCloudUploadFill = function SvgFileCloudUploadFill(props, ref) {
|
|
|
4974
4980
|
};
|
|
4975
4981
|
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgFileCloudUploadFill);
|
|
4976
4982
|
|
|
4977
|
-
var css$4 = {"root":"
|
|
4983
|
+
var css$4 = {"root":"pdutGr","drop-start":"_8NfBdV","drop-over":"cIQMu9","link":"uYLsUb","drop-area":"dKS7XH","drop-caption":"_8wvWc-","icon-blue":"iNCNVD","dropStart":"_8NfBdV","dropOver":"cIQMu9","dropArea":"dKS7XH","dropCaption":"_8wvWc-","iconBlue":"iNCNVD"};
|
|
4978
4984
|
|
|
4979
4985
|
function DropSpot(props) {
|
|
4980
4986
|
const getInfoText = typeof props.infoText === 'string'
|
|
@@ -4992,9 +4998,9 @@ function DropSpot(props) {
|
|
|
4992
4998
|
return React__namespace.createElement(uuiComponents.DropSpot, { render: renderAttachmentArea, onFilesDropped: props.onUploadFiles });
|
|
4993
4999
|
}
|
|
4994
5000
|
|
|
4995
|
-
var css$3 = {"uui-typography":"
|
|
5001
|
+
var css$3 = {"uui-typography":"Q4iE-X","hero-header":"OlA4CZ","promo-header":"-uIzq4","uui-critical":"_9-LKLY","uui-info":"-Lx-l8","uui-success":"AcK0x9","uui-warning":"y-lhZL","uui-highlight":"xB5x-9","uui-typography-size-12":"shWtNW","uui-typography-size-14":"TTFZMb","uui-typography-size-16":"_2xQS3r","root":"bE10zm","file-name":"D4TpdY","default-color":"RetiMO","doc-color":"xXhrvv","xls-color":"eCBn3a","pdf-color":"_1aE9hF","movie-color":"PNI8aJ","img-color":"_5ZDAiY","mov-color":"COX30V","error-block":"_75jIn8","icons-block":"t4CDsv","uuiTypography":"Q4iE-X","heroHeader":"OlA4CZ","promoHeader":"-uIzq4","uuiCritical":"_9-LKLY","uuiInfo":"-Lx-l8","uuiSuccess":"AcK0x9","uuiWarning":"y-lhZL","uuiHighlight":"xB5x-9","uuiTypographySize12":"shWtNW","uuiTypographySize14":"TTFZMb","uuiTypographySize16":"_2xQS3r","fileName":"D4TpdY","defaultColor":"RetiMO","docColor":"xXhrvv","xlsColor":"eCBn3a","pdfColor":"_1aE9hF","movieColor":"PNI8aJ","imgColor":"_5ZDAiY","movColor":"COX30V","errorBlock":"_75jIn8","iconsBlock":"t4CDsv"};
|
|
4996
5002
|
|
|
4997
|
-
var css$2 = {"root":"
|
|
5003
|
+
var css$2 = {"root":"Wd2mcC"};
|
|
4998
5004
|
|
|
4999
5005
|
const SvgCircleProgress = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
5000
5006
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -5059,7 +5065,7 @@ const FileCard = /* @__PURE__ */React__namespace.forwardRef((props, ref) => {
|
|
|
5059
5065
|
};
|
|
5060
5066
|
const renderErrorContent = () => (React__namespace.createElement(Tooltip, { content: file.error.message, placement: "bottom-start" },
|
|
5061
5067
|
React__namespace.createElement("div", { className: css$3.errorBlock },
|
|
5062
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$x, size: 12
|
|
5068
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$x, size: 12 }),
|
|
5063
5069
|
i18n.fileCard.failedUploadErrorMessage)));
|
|
5064
5070
|
const renderSuccessfulContent = () => (React__namespace.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: "tertiary" },
|
|
5065
5071
|
fileExtension && `${fileExtension.toUpperCase()}, `,
|
|
@@ -5119,7 +5125,7 @@ const getErrorPageConfig = () => ({
|
|
|
5119
5125
|
},
|
|
5120
5126
|
});
|
|
5121
5127
|
|
|
5122
|
-
var css$1 = {"container":"
|
|
5128
|
+
var css$1 = {"container":"_3b-ahG"};
|
|
5123
5129
|
|
|
5124
5130
|
const ErrorPage = (props) => {
|
|
5125
5131
|
const isMobileScreen = uuiCore.isMobile();
|
|
@@ -5130,7 +5136,7 @@ const ErrorPage = (props) => {
|
|
|
5130
5136
|
React__namespace.default.createElement("div", { className: "uui-error-subtitle" }, props.subtitle))));
|
|
5131
5137
|
};
|
|
5132
5138
|
|
|
5133
|
-
var css = {"recovery-spinner":"
|
|
5139
|
+
var css = {"recovery-spinner":"_1bwlGQ","recovery-message":"MVPwfv","modal-blocker":"_7WrlyN","modalFadeIn":"nkvelA","recoverySpinner":"_1bwlGQ","recoveryMessage":"MVPwfv","modalBlocker":"_7WrlyN"};
|
|
5134
5140
|
|
|
5135
5141
|
function ErrorHandler(props) {
|
|
5136
5142
|
const { uuiNotifications, uuiModals, uuiApi } = uuiCore.useUuiContext();
|
|
@@ -5185,6 +5191,10 @@ Object.defineProperty(exports, "Avatar", {
|
|
|
5185
5191
|
enumerable: true,
|
|
5186
5192
|
get: function () { return uuiComponents.Avatar; }
|
|
5187
5193
|
});
|
|
5194
|
+
Object.defineProperty(exports, "DataTableCellContainer", {
|
|
5195
|
+
enumerable: true,
|
|
5196
|
+
get: function () { return uuiComponents.DataTableCellContainer; }
|
|
5197
|
+
});
|
|
5188
5198
|
Object.defineProperty(exports, "FlexSpacer", {
|
|
5189
5199
|
enumerable: true,
|
|
5190
5200
|
get: function () { return uuiComponents.FlexSpacer; }
|
|
@@ -5243,6 +5253,7 @@ exports.ErrorNotification = ErrorNotification;
|
|
|
5243
5253
|
exports.ErrorPage = ErrorPage;
|
|
5244
5254
|
exports.FileCard = FileCard;
|
|
5245
5255
|
exports.FilterItemBody = FilterItemBody;
|
|
5256
|
+
exports.FilterPickerBody = FilterPickerBody;
|
|
5246
5257
|
exports.FiltersPanel = FiltersPanel;
|
|
5247
5258
|
exports.FlexCell = FlexCell;
|
|
5248
5259
|
exports.FlexRow = FlexRow;
|