@epam/uui 5.3.0-rc.1 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/inputs.scss +25 -21
- package/assets/styles/typography.scss +14 -6
- package/components/filters/FilterPanelItemToggler.d.ts +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts +3 -1
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/filters/FiltersPanelItem.d.ts.map +1 -1
- package/components/filters/PresetPanel/Preset.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetInput.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
- package/components/filters/PresetPanel/constants.d.ts +5 -0
- package/components/filters/PresetPanel/constants.d.ts.map +1 -0
- package/components/filters/constants.d.ts +5 -0
- package/components/filters/constants.d.ts.map +1 -0
- package/components/inputs/TextInput.d.ts +1 -1
- package/components/layout/ScrollBars.d.ts +0 -1
- package/components/layout/ScrollBars.d.ts.map +1 -1
- package/components/layout/VirtualList.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuAvatar.d.ts +1 -1
- package/components/navigation/MainMenu/MainMenuIcon.d.ts +1 -1
- package/components/navigation/MainMenu/MainMenuSearch.d.ts +1 -1
- package/components/overlays/DropdownMenu.d.ts +7 -9
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/Tooltip.d.ts +1 -1
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/highlight.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
- package/components/types.d.ts +3 -1
- package/components/types.d.ts.map +1 -1
- package/components/typography/Text.d.ts +4 -3
- package/components/typography/Text.d.ts.map +1 -1
- package/helpers/useColumnsWithFilters.d.ts.map +1 -1
- package/index.esm.js +279 -262
- package/index.esm.js.map +1 -1
- package/index.js +279 -261
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/stats.html +1 -1
- package/styles.css +3446 -3434
- package/styles.css.map +1 -1
package/index.js
CHANGED
|
@@ -602,23 +602,23 @@ const systemIcons = {
|
|
|
602
602
|
},
|
|
603
603
|
};
|
|
604
604
|
|
|
605
|
-
var css$
|
|
605
|
+
var css$1m = {"root":"WpCPUn"};
|
|
606
606
|
|
|
607
|
-
const AvatarStack = uuiCore.withMods(uuiComponents.AvatarStack, () => [css$
|
|
607
|
+
const AvatarStack = uuiCore.withMods(uuiComponents.AvatarStack, () => [css$1m.root]);
|
|
608
608
|
|
|
609
|
-
var css$
|
|
609
|
+
var css$1l = {"root":"u99aR-","size-24":"GmWBkg","size-18":"YJZt1K","size-12":"-ZANQZ","size24":"GmWBkg","size18":"YJZt1K","size12":"-ZANQZ"};
|
|
610
610
|
|
|
611
611
|
const CountIndicator = React.forwardRef((props, ref) => {
|
|
612
612
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
613
|
-
css$
|
|
613
|
+
css$1l.root,
|
|
614
614
|
'uui-count_indicator',
|
|
615
|
-
css$
|
|
615
|
+
css$1l[`size-${props.size || 24}`],
|
|
616
616
|
props.color && `uui-color-${props.color}`,
|
|
617
617
|
props.cx,
|
|
618
618
|
]) }, props.caption));
|
|
619
619
|
});
|
|
620
620
|
|
|
621
|
-
var css$
|
|
621
|
+
var css$1k = {"uui-typography":"SypADw","hero-header":"opC9nS","promo-header":"B9oe6A","uui-critical":"Vf1087","uui-info":"tW2PAF","uui-success":"oAtxtb","uui-warning":"zETl7t","uui-highlight":"jFfNzA","uui-typography-size-12":"glwgyC","uui-typography-size-14":"_1oBJKo","uui-typography-size-16":"KHJS27","root":"SJ-ef4","size-18":"tjQiDc","size-24":"_0ynPy9","size-30":"ZMJChZ","size-36":"akC9IJ","size-42":"_0pzG3Q","size-48":"nF8cRF","uuiTypography":"SypADw","heroHeader":"opC9nS","promoHeader":"B9oe6A","uuiCritical":"Vf1087","uuiInfo":"tW2PAF","uuiSuccess":"oAtxtb","uuiWarning":"zETl7t","uuiHighlight":"jFfNzA","uuiTypographySize12":"glwgyC","uuiTypographySize14":"_1oBJKo","uuiTypographySize16":"KHJS27","size18":"tjQiDc","size24":"_0ynPy9","size30":"ZMJChZ","size36":"akC9IJ","size42":"_0pzG3Q","size48":"nF8cRF"};
|
|
622
622
|
|
|
623
623
|
const defaultSize$b = '36';
|
|
624
624
|
const mapSize$1 = {
|
|
@@ -632,8 +632,8 @@ const mapSize$1 = {
|
|
|
632
632
|
function applyBadgeMods(mods) {
|
|
633
633
|
return [
|
|
634
634
|
'uui-badge',
|
|
635
|
-
css$
|
|
636
|
-
css$
|
|
635
|
+
css$1k.root,
|
|
636
|
+
css$1k['size-' + (mods.size || defaultSize$b)],
|
|
637
637
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
638
638
|
mods.color && `uui-color-${mods.color}`,
|
|
639
639
|
mods.indicator && 'uui-indicator',
|
|
@@ -666,7 +666,7 @@ const Badge = uuiCore.withMods(uuiComponents.Button, applyBadgeMods, (props) =>
|
|
|
666
666
|
};
|
|
667
667
|
});
|
|
668
668
|
|
|
669
|
-
var css$
|
|
669
|
+
var css$1j = {"uui-typography":"NRwevP","hero-header":"o3gAJD","promo-header":"lYSeR-","uui-critical":"MhLYsP","uui-info":"xo8irZ","uui-success":"-iRjOa","uui-warning":"SVhnw-","uui-highlight":"_8yQwHp","uui-typography-size-12":"a1P5GO","uui-typography-size-14":"-yl5gk","uui-typography-size-16":"JVKfW0","root":"n5g34A","size-18":"X0a3iH","size-24":"IzTIdU","size-30":"_49vZzq","size-36":"bwXeCT","size-42":"tMVxmq","size-48":"S8rDwZ","uuiTypography":"NRwevP","heroHeader":"o3gAJD","promoHeader":"lYSeR-","uuiCritical":"MhLYsP","uuiInfo":"xo8irZ","uuiSuccess":"-iRjOa","uuiWarning":"SVhnw-","uuiHighlight":"_8yQwHp","uuiTypographySize12":"a1P5GO","uuiTypographySize14":"-yl5gk","uuiTypographySize16":"JVKfW0","size18":"X0a3iH","size24":"IzTIdU","size30":"_49vZzq","size36":"bwXeCT","size42":"tMVxmq","size48":"S8rDwZ"};
|
|
670
670
|
|
|
671
671
|
const defaultSize$a = '36';
|
|
672
672
|
const mapSize = {
|
|
@@ -687,8 +687,8 @@ const mapCountIndicatorSizes = {
|
|
|
687
687
|
};
|
|
688
688
|
function applyTagMods(mods) {
|
|
689
689
|
return [
|
|
690
|
-
css$
|
|
691
|
-
css$
|
|
690
|
+
css$1j['size-' + (mods.size || defaultSize$a)],
|
|
691
|
+
css$1j.root,
|
|
692
692
|
'uui-color-neutral',
|
|
693
693
|
'uui-tag',
|
|
694
694
|
];
|
|
@@ -699,14 +699,14 @@ const Tag = uuiCore.withMods(uuiComponents.Button, applyTagMods, (props) => ({
|
|
|
699
699
|
countIndicator: (countIndicatorProps) => (React__namespace.default.createElement(CountIndicator, Object.assign({}, countIndicatorProps, { color: "white", size: mapCountIndicatorSizes[props.size || defaultSize$a] }))),
|
|
700
700
|
}));
|
|
701
701
|
|
|
702
|
-
var css$
|
|
702
|
+
var css$1i = {"root":"zKvhc5","uui-spinner":"uvepoX","uuiSpinner":"uvepoX"};
|
|
703
703
|
|
|
704
704
|
function applySpinnerMods() {
|
|
705
|
-
return [css$
|
|
705
|
+
return [css$1i.root, 'uui-spinner'];
|
|
706
706
|
}
|
|
707
707
|
const Spinner = uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
708
708
|
|
|
709
|
-
var css$
|
|
709
|
+
var css$1h = {"root":"D1fbkL","spacer":"cPfiln","mode-ghost":"o7lkr5","size-24":"KF7oxw","size-30":"F8PHAo","navigation-size-24":"OfuJ2o","navigation-size-30":"RWaWD3","modeGhost":"o7lkr5","size24":"KF7oxw","size30":"F8PHAo","navigationSize24":"OfuJ2o","navigationSize30":"RWaWD3"};
|
|
710
710
|
|
|
711
711
|
var _path$M;
|
|
712
712
|
function _extends$O() { _extends$O = 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$O.apply(this, arguments); }
|
|
@@ -779,57 +779,57 @@ var ForwardRef$L = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRight18);
|
|
|
779
779
|
function Paginator(props) {
|
|
780
780
|
const renderPaginator = (params) => {
|
|
781
781
|
var _a, _b;
|
|
782
|
-
return (React__namespace.default.createElement("nav", Object.assign({ role: "navigation", className: cx__default.default(css$
|
|
783
|
-
React__namespace.default.createElement(Button, { cx: css$
|
|
782
|
+
return (React__namespace.default.createElement("nav", Object.assign({ role: "navigation", className: cx__default.default(css$1h.root, 'uui-paginator') }, params.rawProps),
|
|
783
|
+
React__namespace.default.createElement(Button, { cx: css$1h[`navigation-size-${(_a = params.size) !== null && _a !== void 0 ? _a : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$M : ForwardRef$O, onClick: params.goToPrev, isDisabled: params.isFirst, fill: "outline", color: "secondary" }),
|
|
784
784
|
params.pages.map((page, index) => {
|
|
785
785
|
var _a, _b;
|
|
786
786
|
if (page.type === 'spacer') {
|
|
787
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$
|
|
787
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$1h[`size-${(_a = params.size) !== null && _a !== void 0 ? _a : '30'}`], css$1h.spacer), size: params.size, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1 }));
|
|
788
788
|
}
|
|
789
789
|
else {
|
|
790
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$
|
|
790
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$1h[`size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], css$1h[`mode-${!page.isActive && 'ghost'}`]), size: params.size, key: page.pageNumber, caption: page.pageNumber, onClick: () => { var _a; return (_a = page.onClick) === null || _a === void 0 ? void 0 : _a.call(page); }, rawProps: { 'aria-current': page.isActive }, fill: (page.isActive && 'outline') || 'ghost', color: "primary" }));
|
|
791
791
|
}
|
|
792
792
|
}),
|
|
793
|
-
React__namespace.default.createElement(Button, { cx: css$
|
|
793
|
+
React__namespace.default.createElement(Button, { cx: css$1h[`navigation-size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$L : ForwardRef$N, onClick: params.goToNext, isDisabled: params.isLast, fill: "outline", color: "secondary" })));
|
|
794
794
|
};
|
|
795
795
|
return React__namespace.default.createElement(uuiComponents.Paginator, Object.assign({}, props, { render: renderPaginator }));
|
|
796
796
|
}
|
|
797
797
|
|
|
798
|
-
var css$
|
|
798
|
+
var css$1g = {"root":"eEk45r","progress-bar":"_2159Z6","progressBar-indeterminate":"_0OmAoK","size-12":"ejMvIT","size-18":"POHonE","size-24":"BLH-jX","progressBar":"_2159Z6","progressBarIndeterminate":"_0OmAoK","size12":"ejMvIT","size18":"POHonE","size24":"BLH-jX"};
|
|
799
799
|
|
|
800
800
|
const IndeterminateBar = React__namespace.forwardRef((props, ref) => {
|
|
801
|
-
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$
|
|
802
|
-
React__namespace.createElement("div", { className: cx__default.default(css$
|
|
801
|
+
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$1g.root, css$1g[`size-${props.size || 12}`]) },
|
|
802
|
+
React__namespace.createElement("div", { className: cx__default.default(css$1g.progressBar) })));
|
|
803
803
|
});
|
|
804
804
|
|
|
805
|
-
var css$
|
|
805
|
+
var css$1f = {"root":"_3qiD7T","striped":"_4Ccn-c","animate-stripes":"Dlvelu","size-12":"Oi06HI","size-18":"Alu94i","size-24":"y2grzv","animateStripes":"Dlvelu","size12":"Oi06HI","size18":"Alu94i","size24":"y2grzv"};
|
|
806
806
|
|
|
807
807
|
const defaultSize$9 = '12';
|
|
808
808
|
function applyProgressBarMods(mods) {
|
|
809
809
|
const size = mods.size || defaultSize$9;
|
|
810
810
|
return [
|
|
811
|
-
css$
|
|
812
|
-
css$
|
|
813
|
-
mods.striped && css$
|
|
811
|
+
css$1f.root,
|
|
812
|
+
css$1f[`size-${size}`],
|
|
813
|
+
mods.striped && css$1f.striped,
|
|
814
814
|
];
|
|
815
815
|
}
|
|
816
816
|
const ProgressBar = uuiCore.withMods(uuiComponents.ProgressBar, applyProgressBarMods, (props) => ({
|
|
817
817
|
hideLabel: props.hideLabel || props.striped,
|
|
818
818
|
}));
|
|
819
819
|
|
|
820
|
-
var css$
|
|
820
|
+
var css$1e = {"root":"aU8Czc"};
|
|
821
821
|
|
|
822
822
|
const IndicatorBar = React__namespace.forwardRef((props, ref) => {
|
|
823
823
|
const { progress } = props;
|
|
824
|
-
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$
|
|
824
|
+
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$1e.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$1e.root, props.cx) }));
|
|
825
825
|
});
|
|
826
826
|
|
|
827
|
-
var css$
|
|
827
|
+
var css$1d = {"root":"eT7zr2","size-12":"_9cjTxF","size-18":"bV9Zus","size-24":"uy0d8F","size12":"_9cjTxF","size18":"bV9Zus","size24":"uy0d8F"};
|
|
828
828
|
|
|
829
829
|
const StatusIndicator = React.forwardRef((props, ref) => {
|
|
830
830
|
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
831
|
-
css$
|
|
832
|
-
css$
|
|
831
|
+
css$1d.root,
|
|
832
|
+
css$1d[`size-${props.size || 24}`],
|
|
833
833
|
'uui-status_indicator',
|
|
834
834
|
`uui-color-${props.color || 'neutral'}`,
|
|
835
835
|
`uui-fill-${props.fill || 'solid'}`,
|
|
@@ -839,7 +839,7 @@ const StatusIndicator = React.forwardRef((props, ref) => {
|
|
|
839
839
|
React__namespace.default.createElement("p", { className: "uui-status_indicator_caption" }, props.caption)));
|
|
840
840
|
});
|
|
841
841
|
|
|
842
|
-
var css$
|
|
842
|
+
var css$1c = {"uui-typography":"bE70KD","hero-header":"oDdXjC","promo-header":"UotDvr","uui-critical":"s9eVFe","uui-info":"YubmKC","uui-success":"uggMG2","uui-warning":"_6IDEOi","uui-highlight":"Azsbvi","uui-typography-size-12":"FybzX9","uui-typography-size-14":"_6WEYqw","uui-typography-size-16":"_5pZIMO","root":"XprW-8","uuiTypography":"bE70KD","heroHeader":"oDdXjC","promoHeader":"UotDvr","uuiCritical":"s9eVFe","uuiInfo":"YubmKC","uuiSuccess":"uggMG2","uuiWarning":"_6IDEOi","uuiHighlight":"Azsbvi","uuiTypographySize12":"FybzX9","uuiTypographySize14":"_6WEYqw","uuiTypographySize16":"_5pZIMO"};
|
|
843
843
|
|
|
844
844
|
const allButtonColors = [
|
|
845
845
|
'accent', 'primary', 'critical', 'secondary', 'neutral',
|
|
@@ -847,11 +847,11 @@ const allButtonColors = [
|
|
|
847
847
|
const defaultSize$8 = '36';
|
|
848
848
|
function applyButtonMods(mods) {
|
|
849
849
|
return [
|
|
850
|
-
css$
|
|
850
|
+
css$1c.root,
|
|
851
851
|
'uui-button',
|
|
852
852
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
853
853
|
`uui-color-${mods.color || 'primary'}`,
|
|
854
|
-
|
|
854
|
+
`uui-size-${mods.size || defaultSize$8}`,
|
|
855
855
|
];
|
|
856
856
|
}
|
|
857
857
|
const Button = uuiCore.withMods(uuiComponents.Button, applyButtonMods, (props) => ({
|
|
@@ -860,17 +860,17 @@ const Button = uuiCore.withMods(uuiComponents.Button, applyButtonMods, (props) =
|
|
|
860
860
|
countIndicator: (countIndicatorProps) => React__namespace.default.createElement(CountIndicator, Object.assign({}, countIndicatorProps, { color: "white" })),
|
|
861
861
|
}));
|
|
862
862
|
|
|
863
|
-
var css$
|
|
863
|
+
var css$1b = {"root":"S5HIHN"};
|
|
864
864
|
|
|
865
865
|
const allIconColors = [
|
|
866
866
|
'info', 'success', 'warning', 'error', 'secondary', 'neutral',
|
|
867
867
|
];
|
|
868
868
|
function applyIconButtonMods(mods) {
|
|
869
|
-
return ['uui-icon_button', `uui-color-${mods.color || 'neutral'}`, css$
|
|
869
|
+
return ['uui-icon_button', `uui-color-${mods.color || 'neutral'}`, css$1b.root];
|
|
870
870
|
}
|
|
871
871
|
const IconButton = uuiCore.withMods(uuiComponents.IconButton, applyIconButtonMods);
|
|
872
872
|
|
|
873
|
-
var css$
|
|
873
|
+
var css$1a = {"root":"hG6Q-Y"};
|
|
874
874
|
|
|
875
875
|
function getIconClass(props) {
|
|
876
876
|
const classList = {
|
|
@@ -894,8 +894,8 @@ const allLinkButtonColors = ['primary', 'secondary', 'contrast'];
|
|
|
894
894
|
function applyLinkButtonMods(mods) {
|
|
895
895
|
return [
|
|
896
896
|
'uui-link_button',
|
|
897
|
-
css$
|
|
898
|
-
|
|
897
|
+
css$1a.root,
|
|
898
|
+
`uui-size-${mods.size || defaultSize$7}`,
|
|
899
899
|
...getIconClass(mods),
|
|
900
900
|
`uui-color-${mods.color || 'primary'}`,
|
|
901
901
|
];
|
|
@@ -905,23 +905,23 @@ const LinkButton = uuiCore.withMods(uuiComponents.Button, applyLinkButtonMods, (
|
|
|
905
905
|
clearIcon: systemIcons[props.size || defaultSize$7].clear,
|
|
906
906
|
}));
|
|
907
907
|
|
|
908
|
-
var css$
|
|
908
|
+
var css$19 = {"uui-typography":"lT8LSF","hero-header":"i1rENA","promo-header":"KSb-Zu","uui-critical":"BQJzkv","uui-info":"_5N3zxB","uui-success":"eVdump","uui-warning":"j2EtKi","uui-highlight":"G6oWj9","uui-typography-size-12":"A44qU3","uui-typography-size-14":"Nmz2nr","uui-typography-size-16":"x7d1C7","root":"F0HJK7","withNotify":"fcAzV0","size-36":"_3L8Sak","size-48":"VGZxW4","size-60":"AurYFn","uuiTypography":"lT8LSF","heroHeader":"i1rENA","promoHeader":"KSb-Zu","uuiCritical":"BQJzkv","uuiInfo":"_5N3zxB","uuiSuccess":"eVdump","uuiWarning":"j2EtKi","uuiHighlight":"G6oWj9","uuiTypographySize12":"A44qU3","uuiTypographySize14":"Nmz2nr","uuiTypographySize16":"x7d1C7","size36":"_3L8Sak","size48":"VGZxW4","size60":"AurYFn"};
|
|
909
909
|
|
|
910
910
|
function applyTabButtonMods(mods) {
|
|
911
911
|
return [
|
|
912
|
-
css$
|
|
912
|
+
css$19.root,
|
|
913
913
|
'uui-tab-button',
|
|
914
|
-
css$
|
|
915
|
-
mods.withNotify && css$
|
|
914
|
+
css$19['size-' + (mods.size || '48')],
|
|
915
|
+
mods.withNotify && css$19.withNotify,
|
|
916
916
|
...getIconClass(mods),
|
|
917
917
|
];
|
|
918
918
|
}
|
|
919
919
|
const TabButton = uuiCore.withMods(uuiComponents.Button, applyTabButtonMods, (props) => (Object.assign(Object.assign({ dropdownIcon: systemIcons['36'].foldingArrow, clearIcon: systemIcons['36'].clear }, props), { rawProps: Object.assign({ role: 'tab' }, props.rawProps), countIndicator: (countIndicatorProps) => (React__namespace.default.createElement(CountIndicator, Object.assign({}, countIndicatorProps, { color: props.isLinkActive ? 'info' : 'neutral', size: "18" }))) })));
|
|
920
920
|
|
|
921
|
-
var css$
|
|
921
|
+
var css$18 = {"uui-typography":"vtQR0c","hero-header":"neDZe1","promo-header":"hJch3y","uui-critical":"i0wN15","uui-info":"SRDiZf","uui-success":"Ej4bsO","uui-warning":"sdeX66","uui-highlight":"IZRirS","uui-typography-size-12":"wJPlq6","uui-typography-size-14":"_5DGJCv","uui-typography-size-16":"C22-gE","root":"NS8OK5","uuiTypography":"vtQR0c","heroHeader":"neDZe1","promoHeader":"hJch3y","uuiCritical":"i0wN15","uuiInfo":"SRDiZf","uuiSuccess":"Ej4bsO","uuiWarning":"sdeX66","uuiHighlight":"IZRirS","uuiTypographySize12":"wJPlq6","uuiTypographySize14":"_5DGJCv","uuiTypographySize16":"C22-gE"};
|
|
922
922
|
|
|
923
923
|
function applyVerticalTabButtonMods() {
|
|
924
|
-
return [css$
|
|
924
|
+
return [css$18.root];
|
|
925
925
|
}
|
|
926
926
|
const VerticalTabButton = uuiCore.withMods(TabButton, applyVerticalTabButtonMods);
|
|
927
927
|
|
|
@@ -945,7 +945,10 @@ const allTextSizes = [
|
|
|
945
945
|
'18', '24', '30', '36', '48',
|
|
946
946
|
];
|
|
947
947
|
const allFontStyles = [
|
|
948
|
-
'
|
|
948
|
+
'normal', 'italic',
|
|
949
|
+
];
|
|
950
|
+
const allFontWeights = [
|
|
951
|
+
'200', '300', '400', '600', '700', '900',
|
|
949
952
|
];
|
|
950
953
|
exports.EditMode = void 0;
|
|
951
954
|
(function (EditMode) {
|
|
@@ -1018,13 +1021,13 @@ var SvgPartlySelect18 = function SvgPartlySelect18(props, ref) {
|
|
|
1018
1021
|
};
|
|
1019
1022
|
var ForwardRef$H = /*#__PURE__*/React.forwardRef(SvgPartlySelect18);
|
|
1020
1023
|
|
|
1021
|
-
var css$
|
|
1024
|
+
var css$17 = {"uui-typography":"K1Rj7r","hero-header":"xcdZea","promo-header":"ELwTJv","uui-critical":"pDzlzI","uui-info":"wdciLS","uui-success":"_7dgbVY","uui-warning":"jsdm9a","uui-highlight":"_-80zjt","uui-typography-size-12":"xbwe3Z","uui-typography-size-14":"cvGhVB","uui-typography-size-16":"_6MzKXr","root":"guafHi","size-18":"qw6MYb","size-12":"KcRld3","mode-cell":"shwRIJ","uuiTypography":"K1Rj7r","heroHeader":"xcdZea","promoHeader":"ELwTJv","uuiCritical":"pDzlzI","uuiInfo":"wdciLS","uuiSuccess":"_7dgbVY","uuiWarning":"jsdm9a","uuiHighlight":"_-80zjt","uuiTypographySize12":"xbwe3Z","uuiTypographySize14":"cvGhVB","uuiTypographySize16":"_6MzKXr","size18":"qw6MYb","size12":"KcRld3","modeCell":"shwRIJ"};
|
|
1022
1025
|
|
|
1023
1026
|
function applyCheckboxMods(mods) {
|
|
1024
1027
|
return [
|
|
1025
|
-
css$
|
|
1026
|
-
css$
|
|
1027
|
-
css$
|
|
1028
|
+
css$17.root,
|
|
1029
|
+
css$17['size-' + (mods.size || '18')],
|
|
1030
|
+
css$17['mode-' + (mods.mode || 'form')],
|
|
1028
1031
|
'uui-color-primary',
|
|
1029
1032
|
];
|
|
1030
1033
|
}
|
|
@@ -1034,7 +1037,7 @@ const applyUUICheckboxProps = (props) => ({
|
|
|
1034
1037
|
});
|
|
1035
1038
|
const Checkbox = uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1036
1039
|
|
|
1037
|
-
var css$
|
|
1040
|
+
var css$16 = {"uui-typography":"ObTsOl","hero-header":"_9JwhjC","promo-header":"_1ICu9T","uui-critical":"JuNg06","uui-info":"_1CIRXq","uui-success":"FSUXJG","uui-warning":"_6Zzxk3","uui-highlight":"wzNLRr","uui-typography-size-12":"w-31lg","uui-typography-size-14":"akDJ8k","uui-typography-size-16":"-fdplU","root":"l2oYIw","size-18":"NF3fv-","size-12":"-SaPhP","uuiTypography":"ObTsOl","heroHeader":"_9JwhjC","promoHeader":"_1ICu9T","uuiCritical":"JuNg06","uuiInfo":"_1CIRXq","uuiSuccess":"FSUXJG","uuiWarning":"_6Zzxk3","uuiHighlight":"wzNLRr","uuiTypographySize12":"w-31lg","uuiTypographySize14":"akDJ8k","uuiTypographySize16":"-fdplU","size18":"NF3fv-","size12":"-SaPhP"};
|
|
1038
1041
|
|
|
1039
1042
|
var _circle;
|
|
1040
1043
|
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); }
|
|
@@ -1054,15 +1057,15 @@ var SvgRadioPoint = function SvgRadioPoint(props, ref) {
|
|
|
1054
1057
|
var ForwardRef$G = /*#__PURE__*/React.forwardRef(SvgRadioPoint);
|
|
1055
1058
|
|
|
1056
1059
|
function applyRadioInputMods(mods) {
|
|
1057
|
-
return [css$
|
|
1060
|
+
return [css$16.root, css$16['size-' + (mods.size || '18')], 'uui-color-primary'];
|
|
1058
1061
|
}
|
|
1059
1062
|
const RadioInput = uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, () => ({ icon: ForwardRef$G }));
|
|
1060
1063
|
|
|
1061
|
-
var css$
|
|
1064
|
+
var css$15 = {"root":"LpFGKP","size-12":"i4Db4Y","size-18":"_9Wddb-","size-24":"QtSKEG","size12":"i4Db4Y","size18":"_9Wddb-","size24":"QtSKEG"};
|
|
1062
1065
|
|
|
1063
1066
|
function applySwitchMods(mods) {
|
|
1064
1067
|
return [
|
|
1065
|
-
css$
|
|
1068
|
+
css$15.root, css$15['size-' + (mods.size || '18')], 'uui-color-primary',
|
|
1066
1069
|
];
|
|
1067
1070
|
}
|
|
1068
1071
|
const Switch = uuiCore.withMods(uuiComponents__namespace.Switch, applySwitchMods);
|
|
@@ -1111,7 +1114,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
1111
1114
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1112
1115
|
};
|
|
1113
1116
|
|
|
1114
|
-
var textInputCss = {"uui-typography":"
|
|
1117
|
+
var textInputCss = {"uui-typography":"vZwEpk","hero-header":"eZvITd","promo-header":"AtCQCY","uui-critical":"-xhMau","uui-info":"IjLwss","uui-success":"I3p4p0","uui-warning":"Gw2C9j","uui-highlight":"Ge7Zcz","uui-typography-size-12":"L3xS-G","uui-typography-size-14":"zD0Gtk","uui-typography-size-16":"Mwyl2C","root":"pwHm3a","mode-form":"Ku6utG","mode-inline":"o5Hcgz","mode-cell":"_4hMTjs","size-24":"_4zzG7I","size-30":"G88CoT","size-36":"JEoa-d","size-42":"_16eU99","size-48":"DCwLGq","uuiTypography":"vZwEpk","heroHeader":"eZvITd","promoHeader":"AtCQCY","uuiCritical":"-xhMau","uuiInfo":"IjLwss","uuiSuccess":"I3p4p0","uuiWarning":"Gw2C9j","uuiHighlight":"Ge7Zcz","uuiTypographySize12":"L3xS-G","uuiTypographySize14":"zD0Gtk","uuiTypographySize16":"Mwyl2C","modeForm":"Ku6utG","modeInline":"o5Hcgz","modeCell":"_4hMTjs","size24":"_4zzG7I","size30":"G88CoT","size36":"JEoa-d","size42":"_16eU99","size48":"DCwLGq"};
|
|
1115
1118
|
|
|
1116
1119
|
const defaultSize$6 = '36';
|
|
1117
1120
|
const defaultMode$5 = exports.EditMode.FORM;
|
|
@@ -1140,22 +1143,22 @@ const SearchInput = React__namespace.default.forwardRef((props, ref) => {
|
|
|
1140
1143
|
: undefined, type: "search", inputMode: "search", ref: ref }, textInputProps, iEditable))) })));
|
|
1141
1144
|
});
|
|
1142
1145
|
|
|
1143
|
-
var css$
|
|
1146
|
+
var css$14 = {"root":"hZ-9cH"};
|
|
1144
1147
|
|
|
1145
|
-
const ControlGroup = uuiCore.withMods(uuiComponents.ControlGroup, () => [css$
|
|
1148
|
+
const ControlGroup = uuiCore.withMods(uuiComponents.ControlGroup, () => [css$14.root]);
|
|
1146
1149
|
|
|
1147
1150
|
function MultiSwitchComponent(props, ref) {
|
|
1148
|
-
return (React__namespace.createElement(ControlGroup, { ref: ref, rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'tablist' }) }, props.items.map((item, index) => (React__namespace.createElement(Button, Object.assign({}, props, item, { isDisabled: props.isDisabled, key: index + '-' + item.id, onClick: () => props.onValueChange(item.id), fill: props.value === item.id ? 'solid' : 'outline', color: props.color
|
|
1151
|
+
return (React__namespace.createElement(ControlGroup, { ref: ref, rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'tablist' }) }, props.items.map((item, index) => (React__namespace.createElement(Button, Object.assign({}, props, item, { isDisabled: props.isDisabled, key: index + '-' + item.id, onClick: () => props.onValueChange(item.id), fill: props.value === item.id ? 'solid' : 'outline', color: props.color, size: props.size, rawProps: { 'aria-current': props.value === item.id, role: 'tab' } }))))));
|
|
1149
1152
|
}
|
|
1150
1153
|
const MultiSwitch = React__namespace.forwardRef(MultiSwitchComponent);
|
|
1151
1154
|
|
|
1152
|
-
var css$
|
|
1155
|
+
var css$13 = {"uui-typography":"OtrqkB","hero-header":"FGBdpY","promo-header":"L7YWGQ","uui-critical":"n0CkVP","uui-info":"yA-23k","uui-success":"GQxIyZ","uui-warning":"rZiABz","uui-highlight":"_0C-ccW","uui-typography-size-12":"_0-mXsJ","uui-typography-size-14":"AOSaph","uui-typography-size-16":"kpMS1u","root":"_9w4vAm","size-24":"vO21Vo","size-30":"Df4fvT","size-36":"Gxo1YJ","size-42":"flCKT8","size-48":"n8M4ym","mode-form":"d6ADS4","mode-cell":"_7u6UOg","uuiTypography":"OtrqkB","heroHeader":"FGBdpY","promoHeader":"L7YWGQ","uuiCritical":"n0CkVP","uuiInfo":"yA-23k","uuiSuccess":"GQxIyZ","uuiWarning":"rZiABz","uuiHighlight":"_0C-ccW","uuiTypographySize12":"_0-mXsJ","uuiTypographySize14":"AOSaph","uuiTypographySize16":"kpMS1u","size24":"vO21Vo","size30":"Df4fvT","size36":"Gxo1YJ","size42":"flCKT8","size48":"n8M4ym","modeForm":"d6ADS4","modeCell":"_7u6UOg"};
|
|
1153
1156
|
|
|
1154
1157
|
const defaultSize$5 = '36';
|
|
1155
1158
|
const defaultMode$4 = exports.EditMode.FORM;
|
|
1156
1159
|
function applyNumericInputMods(mods) {
|
|
1157
1160
|
return [
|
|
1158
|
-
textInputCss.root, css$
|
|
1161
|
+
textInputCss.root, css$13.root, css$13['size-' + (mods.size || defaultSize$5)], textInputCss['size-' + (mods.size || defaultSize$5)], textInputCss['mode-' + (mods.mode || defaultMode$4)],
|
|
1159
1162
|
];
|
|
1160
1163
|
}
|
|
1161
1164
|
const NumericInput = uuiCore.withMods(uuiComponents.NumericInput, applyNumericInputMods, (props) => {
|
|
@@ -1168,13 +1171,13 @@ const NumericInput = uuiCore.withMods(uuiComponents.NumericInput, applyNumericIn
|
|
|
1168
1171
|
});
|
|
1169
1172
|
});
|
|
1170
1173
|
|
|
1171
|
-
var css$
|
|
1174
|
+
var css$12 = {"uui-typography":"DGlpfb","hero-header":"j-RQ6l","promo-header":"-VsUfF","uui-critical":"-fFwsV","uui-info":"h8x4FI","uui-success":"U5LJ0m","uui-warning":"tKIQPW","uui-highlight":"TpYdvS","uui-typography-size-12":"RmwVWW","uui-typography-size-14":"AZd2aG","uui-typography-size-16":"dnvk9l","root":"MOxFrd","mode-form":"LfeNbg","mode-cell":"FjUgRa","mode-inline":"BR6P50","size-24":"caLM1F","size-30":"UVax46","size-36":"UCdOUc","size-42":"_9sQE5W","size-48":"qXmh7X","uuiTypography":"DGlpfb","heroHeader":"j-RQ6l","promoHeader":"-VsUfF","uuiCritical":"-fFwsV","uuiInfo":"h8x4FI","uuiSuccess":"U5LJ0m","uuiWarning":"tKIQPW","uuiHighlight":"TpYdvS","uuiTypographySize12":"RmwVWW","uuiTypographySize14":"AZd2aG","uuiTypographySize16":"dnvk9l","modeForm":"LfeNbg","modeCell":"FjUgRa","modeInline":"BR6P50","size24":"caLM1F","size30":"UVax46","size36":"UCdOUc","size42":"_9sQE5W","size48":"qXmh7X"};
|
|
1172
1175
|
|
|
1173
1176
|
const defaultSize$4 = '36';
|
|
1174
1177
|
const defaultMode$3 = exports.EditMode.FORM;
|
|
1175
1178
|
function applyTextAreaMods(mods) {
|
|
1176
1179
|
return [
|
|
1177
|
-
css$
|
|
1180
|
+
css$12.root, css$12['size-' + (mods.size || defaultSize$4)], css$12['mode-' + (mods.mode || defaultMode$3)],
|
|
1178
1181
|
];
|
|
1179
1182
|
}
|
|
1180
1183
|
const TextArea = uuiCore.withMods(uuiComponents.TextArea, applyTextAreaMods, (props) => ({
|
|
@@ -1182,20 +1185,20 @@ const TextArea = uuiCore.withMods(uuiComponents.TextArea, applyTextAreaMods, (pr
|
|
|
1182
1185
|
maxLength: props.mode === exports.EditMode.CELL ? undefined : props.maxLength,
|
|
1183
1186
|
}));
|
|
1184
1187
|
|
|
1185
|
-
var css$
|
|
1188
|
+
var css$11 = {"root":"JqMmn5"};
|
|
1186
1189
|
|
|
1187
1190
|
function applyDropdownContainerMods(mods) {
|
|
1188
1191
|
return [
|
|
1189
|
-
css$
|
|
1192
|
+
css$11.root,
|
|
1190
1193
|
mods.vPadding && `vPadding-${mods.vPadding}`,
|
|
1191
1194
|
mods.padding && `padding-${mods.padding}`,
|
|
1192
1195
|
];
|
|
1193
1196
|
}
|
|
1194
1197
|
const DropdownContainer = uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
1195
1198
|
|
|
1196
|
-
var css$
|
|
1199
|
+
var css$10 = {"root":"P5QrwQ","timepicker-input":"_79C3uW","timepickerInput":"_79C3uW"};
|
|
1197
1200
|
|
|
1198
|
-
const TimePickerBody = uuiCore.withMods(uuiComponents.TimePickerBody, () => [css$
|
|
1201
|
+
const TimePickerBody = uuiCore.withMods(uuiComponents.TimePickerBody, () => [css$10.root], () => ({ addIcon: ForwardRef$1b, subtractIcon: ForwardRef$1b }));
|
|
1199
1202
|
|
|
1200
1203
|
dayjs__default.default.extend(customParseFormat__default.default);
|
|
1201
1204
|
const defaultMode$2 = exports.EditMode.FORM;
|
|
@@ -1215,7 +1218,7 @@ class TimePicker extends uuiComponents.BaseTimePicker {
|
|
|
1215
1218
|
});
|
|
1216
1219
|
}
|
|
1217
1220
|
}
|
|
1218
|
-
return (React__namespace.default.createElement(TextInput, Object.assign({}, props, { onClick: null, size: this.props.size || '36', isDisabled: this.props.isDisabled, isReadonly: this.props.isReadonly, isInvalid: this.props.isInvalid, cx: [css$
|
|
1221
|
+
return (React__namespace.default.createElement(TextInput, Object.assign({}, props, { onClick: null, size: this.props.size || '36', isDisabled: this.props.isDisabled, isReadonly: this.props.isReadonly, isInvalid: this.props.isInvalid, cx: [css$10.root, css$10.timepickerInput, this.props.inputCx], value: this.state.value, onValueChange: this.handleInputChange, onCancel: this.onClear, onFocus: this.handleFocus, onBlur: this.handleBlur, isDropdown: false, placeholder: this.props.placeholder ? this.props.placeholder : this.getFormat(), mode: this.props.mode || defaultMode$2, rawProps: (_a = this.props.rawProps) === null || _a === void 0 ? void 0 : _a.input })));
|
|
1219
1222
|
};
|
|
1220
1223
|
this.renderBody = (props) => {
|
|
1221
1224
|
var _a;
|
|
@@ -1225,23 +1228,23 @@ class TimePicker extends uuiComponents.BaseTimePicker {
|
|
|
1225
1228
|
}
|
|
1226
1229
|
}
|
|
1227
1230
|
|
|
1228
|
-
var css
|
|
1231
|
+
var css$$ = {"root":"mPfRLD"};
|
|
1229
1232
|
|
|
1230
1233
|
function applyInputAddonMods() {
|
|
1231
1234
|
return [
|
|
1232
|
-
css
|
|
1235
|
+
css$$.root,
|
|
1233
1236
|
];
|
|
1234
1237
|
}
|
|
1235
1238
|
const InputAddon = uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
1236
1239
|
|
|
1237
|
-
var css
|
|
1240
|
+
var css$_ = {"root":"_9nTVGr"};
|
|
1238
1241
|
|
|
1239
1242
|
function applySliderMods() {
|
|
1240
|
-
return [css
|
|
1243
|
+
return [css$_.root, 'uui-color-neutral'];
|
|
1241
1244
|
}
|
|
1242
1245
|
const Slider = uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
1243
1246
|
|
|
1244
|
-
var css$
|
|
1247
|
+
var css$Z = {"container":"ksPHbs"};
|
|
1245
1248
|
|
|
1246
1249
|
dayjs__default.default.extend(localeData__default.default);
|
|
1247
1250
|
const uuiHeader = {
|
|
@@ -1316,21 +1319,21 @@ function DatePickerHeader(props) {
|
|
|
1316
1319
|
var _a, _b, _c;
|
|
1317
1320
|
return `${((_a = props.value) === null || _a === void 0 ? void 0 : _a.view) !== 'MONTH_SELECTION' ? dayjs__default.default.months()[(_b = props.value) === null || _b === void 0 ? void 0 : _b.displayedDate.month()] : ''} ${(_c = props.value) === null || _c === void 0 ? void 0 : _c.displayedDate.year()}`;
|
|
1318
1321
|
}, [(_a = props.value) === null || _a === void 0 ? void 0 : _a.view, (_b = props.value) === null || _b === void 0 ? void 0 : _b.displayedDate]);
|
|
1319
|
-
return (React__namespace.createElement("div", { className: cx__default.default(css$
|
|
1322
|
+
return (React__namespace.createElement("div", { className: cx__default.default(css$Z.container, uuiHeader.container, props.cx) },
|
|
1320
1323
|
React__namespace.createElement("header", { className: uuiHeader.header },
|
|
1321
1324
|
React__namespace.createElement(Button, { icon: props.navIconLeft || ForwardRef$M, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: () => onLeftNavigationArrow() }),
|
|
1322
1325
|
React__namespace.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: () => onCaptionClick(props.value.view) }),
|
|
1323
1326
|
React__namespace.createElement(Button, { icon: props.navIconRight || ForwardRef$L, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: () => onRightNavigationArrow() }))));
|
|
1324
1327
|
}
|
|
1325
1328
|
|
|
1326
|
-
var css$
|
|
1329
|
+
var css$Y = {"uui-typography":"EEq-iB","hero-header":"VUqlXC","promo-header":"uGLzxV","uui-critical":"FrVsvv","uui-info":"qUOgco","uui-success":"Vg-H4S","uui-warning":"WcMOx0","uui-highlight":"OS1CGY","uui-typography-size-12":"CjlIVW","uui-typography-size-14":"k0-J4U","uui-typography-size-16":"hYSFj0","root":"_93nMxD","uuiTypography":"EEq-iB","heroHeader":"VUqlXC","promoHeader":"uGLzxV","uuiCritical":"FrVsvv","uuiInfo":"qUOgco","uuiSuccess":"Vg-H4S","uuiWarning":"WcMOx0","uuiHighlight":"OS1CGY","uuiTypographySize12":"CjlIVW","uuiTypographySize14":"k0-J4U","uuiTypographySize16":"hYSFj0"};
|
|
1327
1330
|
|
|
1328
1331
|
function applyDateSelectionMods() {
|
|
1329
|
-
return [css$
|
|
1332
|
+
return [css$Y.root];
|
|
1330
1333
|
}
|
|
1331
1334
|
const Calendar = uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
1332
1335
|
|
|
1333
|
-
var css$
|
|
1336
|
+
var css$X = {"uui-typography":"bL6DHs","hero-header":"pHz4Hc","promo-header":"AXTF-Z","uui-critical":"uVKZhf","uui-info":"eMkizM","uui-success":"V4UXCQ","uui-warning":"OTBdc-","uui-highlight":"uzlmxG","uui-typography-size-12":"n2FYB-","uui-typography-size-14":"yM9Q0X","uui-typography-size-16":"P8S8YI","root":"-nMPkc","uuiTypography":"bL6DHs","heroHeader":"pHz4Hc","promoHeader":"AXTF-Z","uuiCritical":"uVKZhf","uuiInfo":"eMkizM","uuiSuccess":"V4UXCQ","uuiWarning":"OTBdc-","uuiHighlight":"uzlmxG","uuiTypographySize12":"n2FYB-","uuiTypographySize14":"yM9Q0X","uuiTypographySize16":"P8S8YI"};
|
|
1334
1337
|
|
|
1335
1338
|
dayjs__default.default.extend(updateLocale__default.default);
|
|
1336
1339
|
const uuiDatePickerBody = {
|
|
@@ -1358,7 +1361,7 @@ class DatePickerBody extends uuiComponents.DatePickerBodyBase {
|
|
|
1358
1361
|
}
|
|
1359
1362
|
};
|
|
1360
1363
|
this.renderBody = () => {
|
|
1361
|
-
return (React__namespace.createElement("div", { className: uuiCore.cx(css$
|
|
1364
|
+
return (React__namespace.createElement("div", { className: uuiCore.cx(css$X.root, uuiDatePickerBody.wrapper, this.props.cx) },
|
|
1362
1365
|
React__namespace.createElement(DatePickerHeader, { value: this.props.value, onValueChange: (newValue) => this.props.setDisplayedDateAndView(newValue.displayedDate, newValue.view) }),
|
|
1363
1366
|
this.getView()));
|
|
1364
1367
|
};
|
|
@@ -1447,16 +1450,16 @@ var SvgNavigationClose24$1 = function SvgNavigationClose24(props, ref) {
|
|
|
1447
1450
|
};
|
|
1448
1451
|
var ForwardRef$B = /*#__PURE__*/React.forwardRef(SvgNavigationClose24$1);
|
|
1449
1452
|
|
|
1450
|
-
var css$
|
|
1453
|
+
var css$W = {"root":"AOENEu","icon-wrapper":"OdGIuj","alert-wrapper":"Ww4Yrl","size-48":"KAccym","size-36":"_1DYRXk","action-wrapper":"_6ya407","action-icon":"XyG-ZH","action-link":"IsVjcp","close-icon":"_7OegQP","main-path":"p8NPlH","content":"msIL5Q","iconWrapper":"OdGIuj","alertWrapper":"Ww4Yrl","size48":"KAccym","size36":"_1DYRXk","actionWrapper":"_6ya407","actionIcon":"XyG-ZH","actionLink":"IsVjcp","closeIcon":"_7OegQP","mainPath":"p8NPlH"};
|
|
1451
1454
|
|
|
1452
|
-
const Alert = React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx__default.default('uui-alert', css$
|
|
1453
|
-
React__namespace.createElement("div", { className: css$
|
|
1454
|
-
props.icon && (React__namespace.createElement("div", { className: css$
|
|
1455
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$
|
|
1456
|
-
React__namespace.createElement("div", { className: css$
|
|
1455
|
+
const Alert = React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx__default.default('uui-alert', css$W.root, css$W.alertWrapper, props.color && `uui-color-${props.color}`, props.cx, (props.size === '36' ? css$W.size36 : css$W.size48)) }, props.rawProps),
|
|
1456
|
+
React__namespace.createElement("div", { className: css$W.mainPath },
|
|
1457
|
+
props.icon && (React__namespace.createElement("div", { className: css$W.iconWrapper },
|
|
1458
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$W.actionIcon }))),
|
|
1459
|
+
React__namespace.createElement("div", { className: css$W.content },
|
|
1457
1460
|
props.children,
|
|
1458
|
-
props.actions && (React__namespace.createElement("div", { className: css$
|
|
1459
|
-
props.onClose && React__namespace.createElement(IconButton, { icon: ForwardRef$B, color: "neutral", onClick: props.onClose, cx: css$
|
|
1461
|
+
props.actions && (React__namespace.createElement("div", { className: css$W.actionWrapper }, props.actions.map((action) => (React__namespace.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$W.actionLink, size: (props === null || props === void 0 ? void 0 : props.size) === '36' ? '24' : '30' })))))),
|
|
1462
|
+
props.onClose && React__namespace.createElement(IconButton, { icon: ForwardRef$B, color: "neutral", onClick: props.onClose, cx: css$W.closeIcon })))));
|
|
1460
1463
|
const WarningAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$E, color: "warning", ref: ref }, props)));
|
|
1461
1464
|
const SuccessAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$F, color: "success", ref: ref }, props)));
|
|
1462
1465
|
const HintAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$C, color: "info", ref: ref }, props)));
|
|
@@ -1466,7 +1469,7 @@ function Dropdown(props) {
|
|
|
1466
1469
|
return React__namespace.createElement(uuiComponents.Dropdown, Object.assign({}, props));
|
|
1467
1470
|
}
|
|
1468
1471
|
|
|
1469
|
-
var css$
|
|
1472
|
+
var css$V = {"uui-typography":"u2SEsf","hero-header":"CUaweS","promo-header":"_1LOvVT","uui-critical":"Wybj6G","uui-info":"m3jQ7Y","uui-success":"_9Yf4Ne","uui-warning":"QlAUeC","uui-highlight":"_7EcCOm","uui-typography-size-12":"_4fOXIR","uui-typography-size-14":"PkW4MD","uui-typography-size-16":"BtjP-M","root":"z8TBkg","body-root":"r17aVl","submenu-root-item":"b-KFUS","icon-after":"iAfTzP","icon-check":"_9mhTMg","splitter-root":"rJjkVE","splitter":"XfwO7w","header-root":"t9qrQJ","item-root":"cL5XNf","icon":"uMOm5J","link":"-VsRge","indent":"EL1HtY","uuiTypography":"u2SEsf","heroHeader":"CUaweS","promoHeader":"_1LOvVT","uuiCritical":"Wybj6G","uuiInfo":"m3jQ7Y","uuiSuccess":"_9Yf4Ne","uuiWarning":"QlAUeC","uuiHighlight":"_7EcCOm","uuiTypographySize12":"_4fOXIR","uuiTypographySize14":"PkW4MD","uuiTypographySize16":"BtjP-M","bodyRoot":"r17aVl","submenuRootItem":"b-KFUS","iconAfter":"iAfTzP","iconCheck":"_9mhTMg","splitterRoot":"rJjkVE","headerRoot":"t9qrQJ","itemRoot":"cL5XNf"};
|
|
1470
1473
|
|
|
1471
1474
|
const icons = systemIcons['36'];
|
|
1472
1475
|
exports.IDropdownControlKeys = void 0;
|
|
@@ -1501,11 +1504,10 @@ function DropdownMenuContainer(props) {
|
|
|
1501
1504
|
props.onClose();
|
|
1502
1505
|
}
|
|
1503
1506
|
};
|
|
1504
|
-
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'menu' }), ref: menuRef, lockProps: { onKeyDown: handleArrowKeys }, cx: css$
|
|
1507
|
+
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'menu' }), ref: menuRef, width: props.minWidth, lockProps: { onKeyDown: handleArrowKeys }, cx: [props.cx, css$V.root] })));
|
|
1505
1508
|
}
|
|
1506
|
-
const DropdownMenuBody = uuiCore.withMods(DropdownMenuContainer, () => [css$
|
|
1507
|
-
|
|
1508
|
-
return (Object.assign(Object.assign({ closeOnKey: exports.IDropdownControlKeys.ESCAPE }, props), { rawProps: dropdownRawProps || props.rawProps }));
|
|
1509
|
+
const DropdownMenuBody = uuiCore.withMods(DropdownMenuContainer, () => [css$V.bodyRoot], (props) => {
|
|
1510
|
+
return (Object.assign({ closeOnKey: exports.IDropdownControlKeys.ESCAPE }, props));
|
|
1509
1511
|
});
|
|
1510
1512
|
const DropdownMenuButton = React__namespace.default.forwardRef((props, ref) => {
|
|
1511
1513
|
const context = React.useContext(uuiCore.UuiContext);
|
|
@@ -1527,32 +1529,32 @@ const DropdownMenuButton = React__namespace.default.forwardRef((props, ref) => {
|
|
|
1527
1529
|
const getMenuButtonContent = () => {
|
|
1528
1530
|
const isIconBefore = Boolean(icon && iconPosition !== 'right');
|
|
1529
1531
|
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
1530
|
-
const iconElement = (React__namespace.default.createElement(IconButton, { icon: icon, color: isActive ? 'info' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: uuiCore.cx(css$
|
|
1532
|
+
const iconElement = (React__namespace.default.createElement(IconButton, { icon: icon, color: isActive ? 'info' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: uuiCore.cx(css$V.root, css$V.icon, iconPosition === 'right' ? css$V.iconAfter : css$V.iconBefore) }));
|
|
1531
1533
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1532
1534
|
isIconBefore && iconElement,
|
|
1533
|
-
React__namespace.default.createElement(uuiComponents.Text, { cx: props.indent && css$
|
|
1535
|
+
React__namespace.default.createElement(uuiComponents.Text, { cx: props.indent && css$V.indent }, caption),
|
|
1534
1536
|
isIconAfter && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1535
1537
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1536
1538
|
iconElement))));
|
|
1537
1539
|
};
|
|
1538
1540
|
const isAnchor = Boolean(link || href);
|
|
1539
|
-
const itemClassNames = uuiCore.cx(css$
|
|
1540
|
-
return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(css$
|
|
1541
|
+
const itemClassNames = uuiCore.cx(css$V.root, props.cx, css$V.itemRoot, isDisabled && uuiCore.uuiMod.disabled, isActive && uuiCore.uuiMod.active, isOpen && uuiCore.uuiMod.opened);
|
|
1542
|
+
return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(css$V.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isLinkActive: isActive, isDisabled: isDisabled, forwardedRef: ref, target: target }, getMenuButtonContent())) : (React__namespace.default.createElement(uuiComponents.FlexRow, { rawProps: {
|
|
1541
1543
|
tabIndex: isDisabled ? -1 : 0,
|
|
1542
1544
|
role: 'menuitem',
|
|
1543
1545
|
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
1544
1546
|
}, cx: itemClassNames, onClick: handleClick, ref: ref },
|
|
1545
1547
|
getMenuButtonContent(),
|
|
1546
|
-
isSelected && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icons.accept, cx: uuiCore.cx(css$
|
|
1548
|
+
isSelected && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icons.accept, cx: uuiCore.cx(css$V.root, css$V.selectedCheckmark) })));
|
|
1547
1549
|
});
|
|
1548
1550
|
DropdownMenuButton.displayName = 'DropdownMenuButton';
|
|
1549
1551
|
function DropdownMenuSplitter(props) {
|
|
1550
|
-
return (React__namespace.default.createElement("div", { className: uuiCore.cx(css$
|
|
1551
|
-
React__namespace.default.createElement("hr", { className: css$
|
|
1552
|
+
return (React__namespace.default.createElement("div", { className: uuiCore.cx(css$V.root, props.cx, css$V.splitterRoot) },
|
|
1553
|
+
React__namespace.default.createElement("hr", { className: css$V.splitter })));
|
|
1552
1554
|
}
|
|
1553
1555
|
function DropdownMenuHeader(props) {
|
|
1554
|
-
return (React__namespace.default.createElement("div", { className: uuiCore.cx('uui-dropdown-menu-header', css$
|
|
1555
|
-
React__namespace.default.createElement("span", { className: css$
|
|
1556
|
+
return (React__namespace.default.createElement("div", { className: uuiCore.cx('uui-dropdown-menu-header', css$V.root, props.cx, css$V.headerRoot) },
|
|
1557
|
+
React__namespace.default.createElement("span", { className: css$V.header }, props.caption)));
|
|
1556
1558
|
}
|
|
1557
1559
|
function DropdownSubMenu(props) {
|
|
1558
1560
|
const subMenuModifiers = [
|
|
@@ -1572,7 +1574,7 @@ function DropdownSubMenu(props) {
|
|
|
1572
1574
|
];
|
|
1573
1575
|
return (React__namespace.default.createElement(uuiComponents.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: "right-start", modifiers: subMenuModifiers, renderBody: (dropdownProps) => React__namespace.default.createElement(DropdownMenuBody, Object.assign({ closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW }, props, dropdownProps)), renderTarget: (_a) => {
|
|
1574
1576
|
var { toggleDropdownOpening } = _a, targetProps = __rest(_a, ["toggleDropdownOpening"]);
|
|
1575
|
-
return (React__namespace.default.createElement(DropdownMenuButton, Object.assign({ cx: uuiCore.cx(css$
|
|
1577
|
+
return (React__namespace.default.createElement(DropdownMenuButton, Object.assign({ cx: uuiCore.cx(css$V.root, css$V.submenuRootItem), icon: icons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props, targetProps)));
|
|
1576
1578
|
} }));
|
|
1577
1579
|
}
|
|
1578
1580
|
function DropdownMenuSwitchButton(props) {
|
|
@@ -1589,38 +1591,38 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1589
1591
|
onHandleValueChange(!isSelected);
|
|
1590
1592
|
}
|
|
1591
1593
|
};
|
|
1592
|
-
return (React__namespace.default.createElement(uuiComponents.FlexRow, { cx: uuiCore.cx(props.cx, css$
|
|
1593
|
-
icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$
|
|
1594
|
+
return (React__namespace.default.createElement(uuiComponents.FlexRow, { cx: uuiCore.cx(props.cx, css$V.itemRoot, isDisabled && uuiCore.uuiMod.disabled), onClick: () => onHandleValueChange(!isSelected), rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
|
|
1595
|
+
icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$V.iconBefore }),
|
|
1594
1596
|
React__namespace.default.createElement(uuiComponents.Text, null, caption),
|
|
1595
1597
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1596
1598
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1597
1599
|
}
|
|
1598
1600
|
|
|
1599
|
-
var css$
|
|
1601
|
+
var css$U = {"uui-typography":"nOQW2o","hero-header":"ycMtmF","promo-header":"fAbWdZ","uui-critical":"D7trEF","uui-info":"cff64x","uui-success":"_3hT-2q","uui-warning":"GulcHn","uui-highlight":"I5c-kA","uui-typography-size-12":"FWIB5u","uui-typography-size-14":"_79ElSC","uui-typography-size-16":"D6ombL","root":"n5q7g0","border-bottom":"ubkwR5","top-shadow":"_2vWCeA","size-24":"fAnu18","size-30":"_5DUWwF","size-36":"WOlRkF","size-42":"L24blI","size-48":"lKF9Xn","padding-6":"y7pFCH","padding-12":"R9QoMY","padding-18":"hJFDJ8","padding-24":"f45m-Y","margin-24":"iHZumY","margin-12":"sHLifr","vPadding-12":"X-VhmM","vPadding-18":"_8ZNL55","vPadding-24":"PX9dG1","vPadding-36":"wZ3n76","vPadding-48":"jqTODk","spacing-6":"ssV76z","spacing-12":"F8xl8F","spacing-18":"Y8y-L8","uuiTypography":"nOQW2o","heroHeader":"ycMtmF","promoHeader":"fAbWdZ","uuiCritical":"D7trEF","uuiInfo":"cff64x","uuiSuccess":"_3hT-2q","uuiWarning":"GulcHn","uuiHighlight":"I5c-kA","uuiTypographySize12":"FWIB5u","uuiTypographySize14":"_79ElSC","uuiTypographySize16":"D6ombL","borderBottom":"ubkwR5","topShadow":"_2vWCeA","size24":"fAnu18","size30":"_5DUWwF","size36":"WOlRkF","size42":"L24blI","size48":"lKF9Xn","padding6":"y7pFCH","padding12":"R9QoMY","padding18":"hJFDJ8","padding24":"f45m-Y","margin24":"iHZumY","margin12":"sHLifr","vPadding12":"X-VhmM","vPadding18":"_8ZNL55","vPadding24":"PX9dG1","vPadding36":"wZ3n76","vPadding48":"jqTODk","spacing6":"ssV76z","spacing12":"F8xl8F","spacing18":"Y8y-L8"};
|
|
1600
1602
|
|
|
1601
|
-
const FlexCell = uuiCore.withMods(uuiComponents.FlexCell, () => [css$
|
|
1603
|
+
const FlexCell = uuiCore.withMods(uuiComponents.FlexCell, () => [css$U.flexCell]);
|
|
1602
1604
|
|
|
1603
1605
|
const FlexRow = uuiCore.withMods(uuiComponents.FlexRow, (props) => {
|
|
1604
1606
|
return [
|
|
1605
|
-
css$
|
|
1606
|
-
props.size !== null && css$
|
|
1607
|
-
props.padding && css$
|
|
1608
|
-
props.vPadding && css$
|
|
1609
|
-
props.margin && css$
|
|
1610
|
-
props.topShadow && css$
|
|
1611
|
-
props.borderBottom && css$
|
|
1612
|
-
props.spacing && css$
|
|
1607
|
+
css$U.root,
|
|
1608
|
+
props.size !== null && css$U['size-' + (props.size || '36')],
|
|
1609
|
+
props.padding && css$U['padding-' + props.padding],
|
|
1610
|
+
props.vPadding && css$U['vPadding-' + props.vPadding],
|
|
1611
|
+
props.margin && css$U['margin-' + props.margin],
|
|
1612
|
+
props.topShadow && css$U.topShadow,
|
|
1613
|
+
props.borderBottom && css$U.borderBottom,
|
|
1614
|
+
props.spacing && css$U['spacing-' + props.spacing],
|
|
1613
1615
|
props.background && `uui-color-${props.background}`,
|
|
1614
1616
|
];
|
|
1615
1617
|
});
|
|
1616
1618
|
|
|
1617
|
-
var css$
|
|
1619
|
+
var css$T = {"root":"xwMBvH","margin-24":"_67jcFe","padding-12":"Y4Xapy","padding-24":"MgqIF6","shadow":"_7CqjO5","margin24":"_67jcFe","padding12":"Y4Xapy","padding24":"MgqIF6"};
|
|
1618
1620
|
|
|
1619
1621
|
const Panel = uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
1620
1622
|
'uui-panel',
|
|
1621
|
-
css$
|
|
1622
|
-
props.shadow && css$
|
|
1623
|
-
props.margin && css$
|
|
1623
|
+
css$T.root,
|
|
1624
|
+
props.shadow && css$T.shadow,
|
|
1625
|
+
props.margin && css$T['margin-' + props.margin],
|
|
1624
1626
|
props.background && `uui-color-${props.background}`,
|
|
1625
1627
|
]);
|
|
1626
1628
|
|
|
@@ -1713,56 +1715,58 @@ const i18n = Object.assign(Object.assign({}, uuiCore.i18n), { dataPickerBody: {
|
|
|
1713
1715
|
fileSizeProgress: ' of ',
|
|
1714
1716
|
} });
|
|
1715
1717
|
|
|
1716
|
-
var css$
|
|
1718
|
+
var css$S = {"root":"VJZ6MV","mode-block":"f7ivDk","mode-inline":"d5hrk7","padding-0":"_791icz","padding-6":"CbvSYX","padding-12":"RnMxdQ","padding-18":"_7MLKjS","modeBlock":"f7ivDk","modeInline":"d5hrk7","padding0":"_791icz","padding6":"CbvSYX","padding12":"RnMxdQ","padding18":"_7MLKjS"};
|
|
1717
1719
|
|
|
1718
1720
|
function applyAccordionMods(mods) {
|
|
1719
1721
|
return [
|
|
1720
|
-
css$
|
|
1721
|
-
css$
|
|
1722
|
-
mods.padding && css$
|
|
1722
|
+
css$S.root,
|
|
1723
|
+
css$S['mode-' + (mods.mode || 'block')],
|
|
1724
|
+
mods.padding && css$S['padding-' + mods.padding],
|
|
1723
1725
|
];
|
|
1724
1726
|
}
|
|
1725
1727
|
const Accordion = uuiCore.withMods(uuiComponents__namespace.Accordion, applyAccordionMods, (mods) => ({
|
|
1726
1728
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons[mods.mode === 'block' ? '60' : '30'].foldingArrow,
|
|
1727
1729
|
}));
|
|
1728
1730
|
|
|
1729
|
-
var css$
|
|
1731
|
+
var css$R = {"root":"C8NFEB"};
|
|
1730
1732
|
|
|
1731
1733
|
function applyTooltipMods(mods) {
|
|
1732
1734
|
return [
|
|
1733
|
-
css$
|
|
1734
|
-
`uui-color-${mods.color || '
|
|
1735
|
+
css$R.root,
|
|
1736
|
+
`uui-color-${mods.color || 'inverted'}`,
|
|
1735
1737
|
];
|
|
1736
1738
|
}
|
|
1737
1739
|
const Tooltip = uuiCore.withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
1738
1740
|
|
|
1739
|
-
var css$
|
|
1741
|
+
var css$Q = {"uui-typography":"A8y-9G","hero-header":"xlWiqt","promo-header":"_54NZp4","uui-critical":"uIPz4r","uui-info":"uaZGve","uui-success":"_7XfTpM","uui-warning":"rTqHmf","uui-highlight":"bWK8r2","uui-typography-size-12":"T-KswN","uui-typography-size-14":"s7mwNM","uui-typography-size-16":"Z65XqT","root":"uue1P6","size-24":"_2BSEBC","size-30":"fbC-oc","size-36":"_8hXunH","size-42":"_73xm6r","size-48":"D0VRIn","uuiTypography":"A8y-9G","heroHeader":"xlWiqt","promoHeader":"_54NZp4","uuiCritical":"uIPz4r","uuiInfo":"uaZGve","uuiSuccess":"_7XfTpM","uuiWarning":"rTqHmf","uuiHighlight":"bWK8r2","uuiTypographySize12":"T-KswN","uuiTypographySize14":"s7mwNM","uuiTypographySize16":"Z65XqT","size24":"_2BSEBC","size30":"fbC-oc","size36":"_8hXunH","size42":"_73xm6r","size48":"D0VRIn"};
|
|
1740
1742
|
|
|
1741
1743
|
const defaultSize$3 = '36';
|
|
1742
1744
|
function applyLabeledInputMods(mods) {
|
|
1743
|
-
return [css$
|
|
1745
|
+
return [css$Q.root, css$Q['size-' + (mods.size || defaultSize$3)]];
|
|
1744
1746
|
}
|
|
1745
1747
|
const LabeledInput = uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
1746
1748
|
Tooltip,
|
|
1747
1749
|
infoIcon: systemIcons[props.size || defaultSize$3].help,
|
|
1748
1750
|
}));
|
|
1749
1751
|
|
|
1750
|
-
var css$
|
|
1752
|
+
var css$P = {"root":"gq0WAo"};
|
|
1751
1753
|
|
|
1752
|
-
const RadioGroup = uuiCore.withMods(uuiComponents.RadioGroup, () => [css$
|
|
1754
|
+
const RadioGroup = uuiCore.withMods(uuiComponents.RadioGroup, () => [css$P.root], () => ({ RadioInput }));
|
|
1755
|
+
|
|
1756
|
+
var css$O = {"root":"rd1Yrd"};
|
|
1753
1757
|
|
|
1754
1758
|
function applyScrollBarsMods() {
|
|
1755
1759
|
return [
|
|
1756
|
-
'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
|
|
1760
|
+
css$O.root, 'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
|
|
1757
1761
|
];
|
|
1758
1762
|
}
|
|
1759
1763
|
const ScrollBars = uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
1760
1764
|
|
|
1761
|
-
var css$
|
|
1765
|
+
var css$N = {"scroll-container":"_-8COSl","list-container":"_3D3orT","scrollContainer":"_-8COSl","listContainer":"_3D3orT"};
|
|
1762
1766
|
|
|
1763
|
-
var css$
|
|
1767
|
+
var css$M = {"root":"GgJbxy"};
|
|
1764
1768
|
|
|
1765
|
-
const Blocker = uuiCore.withMods(uuiComponents.Blocker, () => [css$
|
|
1769
|
+
const Blocker = uuiCore.withMods(uuiComponents.Blocker, () => [css$M.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__namespace.default.createElement(Spinner, null)) }));
|
|
1766
1770
|
|
|
1767
1771
|
const VirtualList = React__namespace.forwardRef((props, ref) => {
|
|
1768
1772
|
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = uuiCore.useVirtualList({
|
|
@@ -1778,21 +1782,22 @@ const VirtualList = React__namespace.forwardRef((props, ref) => {
|
|
|
1778
1782
|
var _a;
|
|
1779
1783
|
return ((_a = props.renderRows) === null || _a === void 0 ? void 0 : _a.call(props, {
|
|
1780
1784
|
listContainerRef, estimatedHeight, offsetY, scrollShadows,
|
|
1781
|
-
})) || (React__namespace.createElement("div", { className: css$
|
|
1785
|
+
})) || (React__namespace.createElement("div", { className: css$N.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
1782
1786
|
React__namespace.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
|
|
1783
1787
|
};
|
|
1788
|
+
const renderView = ({ style }) => (React__namespace.createElement(VirtualListView, { isLoading: props.isLoading, style: style, rawProps: props.rawProps }));
|
|
1784
1789
|
const scrollBarsRef = React__namespace.useCallback((scrollbars) => {
|
|
1785
1790
|
var _a;
|
|
1786
1791
|
if (!((_a = scrollbars === null || scrollbars === void 0 ? void 0 : scrollbars.container) === null || _a === void 0 ? void 0 : _a.firstChild))
|
|
1787
1792
|
return;
|
|
1788
1793
|
scrollContainerRef.current = scrollbars.container.firstChild;
|
|
1789
1794
|
}, []);
|
|
1790
|
-
return (React__namespace.createElement(ScrollBars, { cx: uuiCore.cx(css$
|
|
1795
|
+
return (React__namespace.createElement(ScrollBars, { cx: uuiCore.cx(css$N.scrollContainer, props.cx, {
|
|
1791
1796
|
[uuiCore.uuiMarkers.scrolledLeft]: scrollShadows.horizontalLeft,
|
|
1792
1797
|
[uuiCore.uuiMarkers.scrolledRight]: scrollShadows.horizontalRight,
|
|
1793
1798
|
[uuiCore.uuiMarkers.scrolledTop]: scrollShadows.verticalTop,
|
|
1794
1799
|
[uuiCore.uuiMarkers.scrolledBottom]: scrollShadows.verticalBottom,
|
|
1795
|
-
}), onScroll: handleScroll, renderView:
|
|
1800
|
+
}), onScroll: handleScroll, renderView: renderView, ref: scrollBarsRef }, renderRows()));
|
|
1796
1801
|
});
|
|
1797
1802
|
const VirtualListView = React__namespace.forwardRef((props, ref) => {
|
|
1798
1803
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
@@ -1801,11 +1806,11 @@ const VirtualListView = React__namespace.forwardRef((props, ref) => {
|
|
|
1801
1806
|
});
|
|
1802
1807
|
VirtualList.displayName = 'VirtualList';
|
|
1803
1808
|
|
|
1804
|
-
var css$
|
|
1809
|
+
var css$L = {"root":"azTY5J"};
|
|
1805
1810
|
|
|
1806
|
-
const CheckboxGroup = uuiCore.withMods(uuiComponents.CheckboxGroup, () => [css$
|
|
1811
|
+
const CheckboxGroup = uuiCore.withMods(uuiComponents.CheckboxGroup, () => [css$L.root], () => ({ CheckboxInput: Checkbox }));
|
|
1807
1812
|
|
|
1808
|
-
var css$
|
|
1813
|
+
var css$K = {"uui-typography":"_7xAR3k","hero-header":"mWBCXS","promo-header":"TnUj8I","uui-critical":"EJBAGp","uui-info":"unlsgX","uui-success":"ItHgmG","uui-warning":"CGp0es","uui-highlight":"wlI9wt","uui-typography-size-12":"qsBxKr","uui-typography-size-14":"f-n7gp","uui-typography-size-16":"MabruJ","body":"_3leWPe","modal":"LTI-HJ","search-wrapper":"gzNBwo","checkbox":"aS5jEd","no-found-size-24":"ZBO-rJ","no-found-size-30":"VDpkAa","no-found-size-36":"FRM-W2","no-found-size-42":"_2IUbG1","uuiTypography":"_7xAR3k","heroHeader":"mWBCXS","promoHeader":"TnUj8I","uuiCritical":"EJBAGp","uuiInfo":"unlsgX","uuiSuccess":"ItHgmG","uuiWarning":"CGp0es","uuiHighlight":"wlI9wt","uuiTypographySize12":"qsBxKr","uuiTypographySize14":"f-n7gp","uuiTypographySize16":"MabruJ","searchWrapper":"gzNBwo","noFoundSize24":"ZBO-rJ","noFoundSize30":"VDpkAa","noFoundSize36":"FRM-W2","noFoundSize42":"_2IUbG1"};
|
|
1809
1814
|
|
|
1810
1815
|
class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
1811
1816
|
constructor() {
|
|
@@ -1817,16 +1822,16 @@ class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
|
1817
1822
|
if (this.props.renderNotFound) {
|
|
1818
1823
|
return this.props.renderNotFound();
|
|
1819
1824
|
}
|
|
1820
|
-
return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$
|
|
1825
|
+
return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$K[`no-found-size-${this.props.searchSize || 36}`], grow: 1, textAlign: "center" },
|
|
1821
1826
|
React__namespace.default.createElement(Text, { size: this.props.searchSize || '36' }, i18n.dataPickerBody.noRecordsMessage)));
|
|
1822
1827
|
}
|
|
1823
1828
|
render() {
|
|
1824
1829
|
const searchSize = uuiCore.isMobile() ? '48' : this.props.searchSize || '36';
|
|
1825
1830
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1826
|
-
this.showSearch() && (React__namespace.default.createElement("div", { key: "search", className: css$
|
|
1831
|
+
this.showSearch() && (React__namespace.default.createElement("div", { key: "search", className: css$K.searchWrapper },
|
|
1827
1832
|
React__namespace.default.createElement(uuiComponents.FlexCell, { grow: 1 },
|
|
1828
1833
|
React__namespace.default.createElement(SearchInput, Object.assign({ ref: this.searchRef, placeholder: i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize, debounceDelay: this.props.searchDebounceDelay }))))),
|
|
1829
|
-
React__namespace.default.createElement(FlexRow, { key: "body", cx: uuiCore.cx(css$
|
|
1834
|
+
React__namespace.default.createElement(FlexRow, { key: "body", cx: uuiCore.cx(css$K.body, css$K[this.props.editMode], css$K[this.props.selectionMode]), rawProps: { style: { maxHeight: this.props.maxHeight } } }, this.props.rowsCount > 0 ? (React__namespace.default.createElement(VirtualList, Object.assign({}, this.lens.toProps(), { rows: this.props.rows, rawProps: this.props.rawProps, rowsCount: this.props.rowsCount, isLoading: this.props.isReloading }))) : (this.renderNotFound()))));
|
|
1830
1835
|
}
|
|
1831
1836
|
}
|
|
1832
1837
|
|
|
@@ -1841,6 +1846,8 @@ function DataPickerFooterImpl(props) {
|
|
|
1841
1846
|
const size = uuiCore.isMobile() ? '48' : props.size || '36';
|
|
1842
1847
|
const switchSize = switchSizes[size];
|
|
1843
1848
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
1849
|
+
const rowsCount = view.getListProps().rowsCount;
|
|
1850
|
+
const isEmptyRowsAndHasNoSelection = (rowsCount === 0 && !hasSelection);
|
|
1844
1851
|
const isSinglePicker = selectionMode === 'single';
|
|
1845
1852
|
const clearAllText = i18n.pickerInput.clearSelectionButton;
|
|
1846
1853
|
const clearSingleText = i18n.pickerInput.clearSelectionButtonSingle;
|
|
@@ -1853,14 +1860,14 @@ function DataPickerFooterImpl(props) {
|
|
|
1853
1860
|
React__namespace.default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
1854
1861
|
view.selectAll && (React__namespace.default.createElement(LinkButton, { size: size, caption: hasSelection ? clearAllText : selectAllText, onClick: hasSelection ? clearSelection : () => view.selectAll.onValueChange(true), rawProps: {
|
|
1855
1862
|
'aria-label': hasSelection ? clearAllText : selectAllText,
|
|
1856
|
-
} })),
|
|
1863
|
+
}, isDisabled: isEmptyRowsAndHasNoSelection })),
|
|
1857
1864
|
!view.selectAll && (React__namespace.default.createElement(LinkButton, { isDisabled: !hasSelection, size: size, caption: isSinglePicker ? clearSingleText : clearAllText, onClick: clearSelection, rawProps: {
|
|
1858
1865
|
'aria-label': isSinglePicker ? clearSingleText : clearAllText,
|
|
1859
1866
|
} })))));
|
|
1860
1867
|
}
|
|
1861
1868
|
const DataPickerFooter = React__namespace.default.memo(DataPickerFooterImpl);
|
|
1862
1869
|
|
|
1863
|
-
var css$
|
|
1870
|
+
var css$J = {"header":"y3pGT2","close":"_7h-wvy"};
|
|
1864
1871
|
|
|
1865
1872
|
var _path$z;
|
|
1866
1873
|
function _extends$A() { _extends$A = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$A.apply(this, arguments); }
|
|
@@ -1881,9 +1888,9 @@ var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgNavigationClose24);
|
|
|
1881
1888
|
|
|
1882
1889
|
const DataPickerHeaderImpl = (props) => {
|
|
1883
1890
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
1884
|
-
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$
|
|
1885
|
-
React__namespace.default.createElement(Text, { size: "48",
|
|
1886
|
-
React__namespace.default.createElement(IconButton, { icon: ForwardRef$A, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$
|
|
1891
|
+
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$J.header },
|
|
1892
|
+
React__namespace.default.createElement(Text, { size: "48", fontWeight: "600" }, title),
|
|
1893
|
+
React__namespace.default.createElement(IconButton, { icon: ForwardRef$A, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$J.close })));
|
|
1887
1894
|
};
|
|
1888
1895
|
const DataPickerHeader = React__namespace.default.memo(DataPickerHeaderImpl);
|
|
1889
1896
|
|
|
@@ -1904,20 +1911,20 @@ var SvgNavigationChevronDown18 = function SvgNavigationChevronDown18(props, ref)
|
|
|
1904
1911
|
};
|
|
1905
1912
|
var ForwardRef$z = /*#__PURE__*/React.forwardRef(SvgNavigationChevronDown18);
|
|
1906
1913
|
|
|
1907
|
-
var css$
|
|
1914
|
+
var css$I = {"cell":"tUBr5l","wrapper":"ITp0fu","align-widgets-top":"O--3X2","size-24":"_1C2F-n","folding-arrow":"fSlQX8","size-30":"sizOu3","size-36":"Osap2F","size-42":"hgx3Tb","size-48":"nACTIR","size-60":"_6WZPbT","align-widgets-center":"_7R1TWA","padding-12":"vL1cFQ","padding-24":"_5w9QAU","padding-left-12":"_4JT46Y","padding-left-24":"_7wiFl2","padding-right-24":"R83FdW","drag-handle":"fmx8lJ","checkbox":"_769dzV","indent":"YqfB0z","folding-arrow-12":"-giu4i","folding-arrow-18":"yWa1dE","icon-container":"tbvaNH","loading-cell":"RwVrrZ","alignWidgetsTop":"O--3X2","size24":"_1C2F-n","foldingArrow":"fSlQX8","size30":"sizOu3","size36":"Osap2F","size42":"hgx3Tb","size48":"nACTIR","size60":"_6WZPbT","alignWidgetsCenter":"_7R1TWA","padding12":"vL1cFQ","padding24":"_5w9QAU","paddingLeft12":"_4JT46Y","paddingLeft24":"_7wiFl2","paddingRight24":"R83FdW","dragHandle":"fmx8lJ","foldingArrow12":"-giu4i","foldingArrow18":"yWa1dE","iconContainer":"tbvaNH","loadingCell":"RwVrrZ"};
|
|
1908
1915
|
|
|
1909
1916
|
function DataTableRowAddons(props) {
|
|
1910
1917
|
var _a, _b;
|
|
1911
1918
|
const row = props.rowProps;
|
|
1912
1919
|
const additionalItemSize = +props.size < 30 ? '12' : '18';
|
|
1913
1920
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
1914
|
-
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__namespace.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$
|
|
1915
|
-
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__namespace.createElement(Checkbox, { key: "cb", cx: css$
|
|
1916
|
-
row.indent > 0 && (React__namespace.createElement("div", { key: "fold", className: css$
|
|
1921
|
+
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__namespace.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$I.dragHandle }),
|
|
1922
|
+
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__namespace.createElement(Checkbox, { key: "cb", cx: css$I.checkbox, tabIndex: props.tabIndex, size: additionalItemSize, 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 })),
|
|
1923
|
+
row.indent > 0 && (React__namespace.createElement("div", { key: "fold", className: css$I.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable && (React__namespace.createElement(uuiComponents.IconContainer, { rawProps: {
|
|
1917
1924
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1918
1925
|
role: 'button',
|
|
1919
1926
|
}, key: "icon", icon: ForwardRef$z, cx: [
|
|
1920
|
-
css$
|
|
1927
|
+
css$I.foldingArrow, css$I[`folding-arrow-${additionalItemSize}`], uuiCore.uuiMarkers.clickable, css$I.iconContainer,
|
|
1921
1928
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1922
1929
|
}
|
|
1923
1930
|
function DataTableCell(props) {
|
|
@@ -1928,7 +1935,7 @@ function DataTableCell(props) {
|
|
|
1928
1935
|
props.renderPlaceholder = props.renderPlaceholder
|
|
1929
1936
|
|| (() => (
|
|
1930
1937
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
1931
|
-
React__namespace.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48', cx: css$
|
|
1938
|
+
React__namespace.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48', cx: css$I.loadingCell },
|
|
1932
1939
|
React__namespace.createElement(TextPlaceholder, null))));
|
|
1933
1940
|
props.renderUnknown = props.renderUnknown
|
|
1934
1941
|
|| (() => (React__namespace.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48' }, "Unknown")));
|
|
@@ -1938,12 +1945,12 @@ function DataTableCell(props) {
|
|
|
1938
1945
|
'uui-dt-vars',
|
|
1939
1946
|
'data-table-cell',
|
|
1940
1947
|
props.cx,
|
|
1941
|
-
css$
|
|
1942
|
-
css$
|
|
1943
|
-
css$
|
|
1944
|
-
props.isFirstColumn && css$
|
|
1945
|
-
props.isLastColumn && css$
|
|
1946
|
-
css$
|
|
1948
|
+
css$I.cell,
|
|
1949
|
+
css$I['size-' + (props.size || '36')],
|
|
1950
|
+
css$I[`padding-${props.padding || (isEditable && !props.rowProps.isLoading && '0') || '12'}`],
|
|
1951
|
+
props.isFirstColumn && css$I[`padding-left-${props.padding || (isEditable && !props.rowProps.isLoading && '12') || '24'}`],
|
|
1952
|
+
props.isLastColumn && css$I['padding-right-24'],
|
|
1953
|
+
css$I[`align-widgets-${props.alignActions || 'top'}`],
|
|
1947
1954
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
1948
1955
|
];
|
|
1949
1956
|
return React__namespace.createElement(uuiComponents.DataTableCell, Object.assign({}, props));
|
|
@@ -1998,7 +2005,7 @@ var SvgNotificationDone12 = function SvgNotificationDone12(props, ref) {
|
|
|
1998
2005
|
};
|
|
1999
2006
|
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgNotificationDone12);
|
|
2000
2007
|
|
|
2001
|
-
var css$
|
|
2008
|
+
var css$H = {"uui-typography":"oId-jy","hero-header":"zsVNE4","promo-header":"Lu3W9P","uui-critical":"N4-rHz","uui-info":"O6Tbfi","uui-success":"Jnf9rE","uui-warning":"_3aSyW9","uui-highlight":"-RE99J","uui-typography-size-12":"Z-l2Xu","uui-typography-size-14":"yzrZ-e","uui-typography-size-16":"E5wik-","render-item":"za8qEk","icon-wrapper":"_3pROn-","picker-row":"Pqxgwh","icon-default":"ud9FX4","icon-primary":"m2JEMR","uuiTypography":"oId-jy","heroHeader":"zsVNE4","promoHeader":"Lu3W9P","uuiCritical":"N4-rHz","uuiInfo":"O6Tbfi","uuiSuccess":"Jnf9rE","uuiWarning":"_3aSyW9","uuiHighlight":"-RE99J","uuiTypographySize12":"Z-l2Xu","uuiTypographySize14":"yzrZ-e","uuiTypographySize16":"E5wik-","renderItem":"za8qEk","iconWrapper":"_3pROn-","pickerRow":"Pqxgwh","iconDefault":"ud9FX4","iconPrimary":"m2JEMR"};
|
|
2002
2009
|
|
|
2003
2010
|
class DataPickerRow extends React__namespace.Component {
|
|
2004
2011
|
constructor() {
|
|
@@ -2021,11 +2028,11 @@ class DataPickerRow extends React__namespace.Component {
|
|
|
2021
2028
|
key: 'name',
|
|
2022
2029
|
grow: 1,
|
|
2023
2030
|
width: 0,
|
|
2024
|
-
render: (item, rowProps) => (React__namespace.createElement("div", { key: rowProps.id, className: css$
|
|
2031
|
+
render: (item, rowProps) => (React__namespace.createElement("div", { key: rowProps.id, className: css$H.renderItem },
|
|
2025
2032
|
this.props.renderItem(item, rowProps),
|
|
2026
2033
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
2027
|
-
(rowProps.isChildrenSelected || rowProps.isSelected) && (React__namespace.createElement("div", { className: css$
|
|
2028
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: this.getIcon(this.props.size), cx: rowProps.isChildrenSelected ? css$
|
|
2034
|
+
(rowProps.isChildrenSelected || rowProps.isSelected) && (React__namespace.createElement("div", { className: css$H.iconWrapper },
|
|
2035
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: this.getIcon(this.props.size), cx: rowProps.isChildrenSelected ? css$H.iconDefault : css$H.iconPrimary, rawProps: { 'aria-label': rowProps.isChildrenSelected
|
|
2029
2036
|
? 'Child is selected'
|
|
2030
2037
|
: 'Selected' } }))))),
|
|
2031
2038
|
};
|
|
@@ -2034,18 +2041,18 @@ class DataPickerRow extends React__namespace.Component {
|
|
|
2034
2041
|
};
|
|
2035
2042
|
}
|
|
2036
2043
|
render() {
|
|
2037
|
-
return React__namespace.createElement(uuiComponents.DataPickerRow, Object.assign({}, this.props, { cx: [css$
|
|
2044
|
+
return React__namespace.createElement(uuiComponents.DataPickerRow, Object.assign({}, this.props, { cx: [css$H.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
2038
2045
|
}
|
|
2039
2046
|
}
|
|
2040
2047
|
|
|
2041
|
-
var css$
|
|
2048
|
+
var css$G = {"uui-typography":"s43ACf","hero-header":"OlFjXq","promo-header":"TubgYa","uui-critical":"l2wnHl","uui-info":"XpvjQj","uui-success":"vhBdx0","uui-warning":"yCMlC1","uui-highlight":"gucM5l","uui-typography-size-12":"oXFK9w","uui-typography-size-14":"zPzV8a","uui-typography-size-16":"r-EDT7","done":"f-ke43","container":"l90Zsg","uuiTypography":"s43ACf","heroHeader":"OlFjXq","promoHeader":"TubgYa","uuiCritical":"l2wnHl","uuiInfo":"XpvjQj","uuiSuccess":"vhBdx0","uuiWarning":"yCMlC1","uuiHighlight":"gucM5l","uuiTypographySize12":"oXFK9w","uuiTypographySize14":"zPzV8a","uuiTypographySize16":"r-EDT7"};
|
|
2042
2049
|
|
|
2043
2050
|
const MobileDropdownWrapper = (props) => {
|
|
2044
2051
|
const isMobileView = uuiCore.isMobile();
|
|
2045
|
-
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { cx: [css$
|
|
2052
|
+
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { cx: [css$G.container, props.cx], rawProps: props.rawProps, onKeyDown: props.onKeyDown, focusLock: props.focusLock, width: props.width }),
|
|
2046
2053
|
isMobileView && React__namespace.default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
2047
2054
|
props.children,
|
|
2048
|
-
isMobileView && React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => { var _a; return (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$
|
|
2055
|
+
isMobileView && React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => { var _a; return (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$G.done, size: "48" })));
|
|
2049
2056
|
};
|
|
2050
2057
|
|
|
2051
2058
|
var _path$u, _path2$1;
|
|
@@ -2070,7 +2077,7 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
2070
2077
|
};
|
|
2071
2078
|
var ForwardRef$v = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
2072
2079
|
|
|
2073
|
-
var css$
|
|
2080
|
+
var css$F = {"uui-typography":"iq3881","hero-header":"lV4HGG","promo-header":"DHFTXO","uui-critical":"WMSSSp","uui-info":"Wz2DKm","uui-success":"_6h-aSa","uui-warning":"_7XnAyr","uui-highlight":"FLUHcO","uui-typography-size-12":"l2JugX","uui-typography-size-14":"xlQ04f","uui-typography-size-16":"FggJE6","sub-header-wrapper":"pir6nd","switch":"YWuNoj","no-found-modal-container":"AiMzu3","no-found-modal-container-icon":"OM9vj6","no-found-modal-container-text":"JrYKxI","uuiTypography":"iq3881","heroHeader":"lV4HGG","promoHeader":"DHFTXO","uuiCritical":"WMSSSp","uuiInfo":"Wz2DKm","uuiSuccess":"_6h-aSa","uuiWarning":"_7XnAyr","uuiHighlight":"FLUHcO","uuiTypographySize12":"l2JugX","uuiTypographySize14":"xlQ04f","uuiTypographySize16":"FggJE6","subHeaderWrapper":"pir6nd","$switch$":"YWuNoj","noFoundModalContainer":"AiMzu3","noFoundModalContainerIcon":"OM9vj6","noFoundModalContainerText":"JrYKxI"};
|
|
2074
2081
|
|
|
2075
2082
|
function PickerModal(props) {
|
|
2076
2083
|
const { view, selection, dataSourceStateLens, showSelectedLens, dataSourceState, getDataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
|
|
@@ -2079,24 +2086,26 @@ function PickerModal(props) {
|
|
|
2079
2086
|
};
|
|
2080
2087
|
const renderFooter = () => {
|
|
2081
2088
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
2089
|
+
const rowsCount = view.getListProps().rowsCount;
|
|
2090
|
+
const isEmptyRowsAndHasNoSelection = (rowsCount === 0 && !hasSelection);
|
|
2082
2091
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
2083
|
-
view.selectAll && (React__namespace.default.createElement(LinkButton, { caption: hasSelection ? i18n.pickerModal.clearAllButton : i18n.pickerModal.selectAllButton, onClick: hasSelection ? () => clearSelection() : () => view.selectAll.onValueChange(true) })),
|
|
2092
|
+
view.selectAll && (React__namespace.default.createElement(LinkButton, { caption: hasSelection ? i18n.pickerModal.clearAllButton : i18n.pickerModal.selectAllButton, onClick: hasSelection ? () => clearSelection() : () => view.selectAll.onValueChange(true), isDisabled: isEmptyRowsAndHasNoSelection })),
|
|
2084
2093
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
2085
2094
|
React__namespace.default.createElement(Button, { fill: "outline", color: "secondary", caption: i18n.pickerModal.cancelButton, onClick: () => props.abort() }),
|
|
2086
2095
|
React__namespace.default.createElement(Button, { color: "accent", caption: i18n.pickerModal.selectButton, onClick: () => props.success(selection) })));
|
|
2087
2096
|
};
|
|
2088
2097
|
const renderNotFound = () => {
|
|
2089
|
-
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__namespace.default.createElement("div", { className: css$
|
|
2090
|
-
React__namespace.default.createElement(uuiComponents.IconContainer, { cx: css$
|
|
2091
|
-
React__namespace.default.createElement(Text, { cx: css$
|
|
2092
|
-
React__namespace.default.createElement(Text, { cx: css$
|
|
2098
|
+
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__namespace.default.createElement("div", { className: css$F.noFoundModalContainer },
|
|
2099
|
+
React__namespace.default.createElement(uuiComponents.IconContainer, { cx: css$F.noFoundModalContainerIcon, icon: ForwardRef$v }),
|
|
2100
|
+
React__namespace.default.createElement(Text, { cx: css$F.noFoundModalContainerText, fontWeight: "600", fontSize: "16", lineHeight: "24", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsMessage),
|
|
2101
|
+
React__namespace.default.createElement(Text, { cx: css$F.noFoundModalContainerText, fontSize: "12", lineHeight: "18", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
2093
2102
|
};
|
|
2094
2103
|
const dataRows = getRows();
|
|
2095
2104
|
const rows = dataRows.map((row) => renderRow(row));
|
|
2096
2105
|
return (React__namespace.default.createElement(ModalBlocker, Object.assign({}, props),
|
|
2097
2106
|
React__namespace.default.createElement(ModalWindow, { width: 600, height: 700 },
|
|
2098
2107
|
React__namespace.default.createElement(ModalHeader, { title: props.caption || i18n.pickerModal.headerTitle, onClose: () => props.abort() }),
|
|
2099
|
-
React__namespace.default.createElement(FlexCell, { cx: css$
|
|
2108
|
+
React__namespace.default.createElement(FlexCell, { cx: css$F.subHeaderWrapper },
|
|
2100
2109
|
React__namespace.default.createElement(FlexRow, { vPadding: "24" },
|
|
2101
2110
|
React__namespace.default.createElement(SearchInput, Object.assign({}, dataSourceStateLens.prop('search').toProps(), { onKeyDown: (e) => uuiComponents.handleDataSourceKeyboard({
|
|
2102
2111
|
value: getDataSourceState(),
|
|
@@ -2105,7 +2114,7 @@ function PickerModal(props) {
|
|
|
2105
2114
|
rows: dataRows,
|
|
2106
2115
|
searchPosition: 'body',
|
|
2107
2116
|
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder }))),
|
|
2108
|
-
!isSingleSelect() && (React__namespace.default.createElement(Switch, Object.assign({ cx: css$
|
|
2117
|
+
!isSingleSelect() && (React__namespace.default.createElement(Switch, Object.assign({ cx: css$F.switch, size: "18" }, showSelectedLens.toProps(), { isDisabled: view.getSelectedRowsCount() < 1, label: "Show only selected" }))),
|
|
2109
2118
|
props.renderFilter && React__namespace.default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
|
|
2110
2119
|
React__namespace.default.createElement(DataPickerBody, Object.assign({}, getListProps(), { value: getDataSourceState(), onValueChange: handleDataSourceValueChange, search: dataSourceStateLens.prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: renderNotFound, editMode: "modal" })),
|
|
2111
2120
|
React__namespace.default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
@@ -2114,15 +2123,15 @@ function PickerModal(props) {
|
|
|
2114
2123
|
const MAX_ITEMS = 100;
|
|
2115
2124
|
const getMaxItems = (maxItems) => maxItems || maxItems === 0 ? maxItems : MAX_ITEMS;
|
|
2116
2125
|
|
|
2117
|
-
var css$
|
|
2126
|
+
var css$E = {"uui-typography":"fnBG6T","hero-header":"TKCOQA","promo-header":"rDD8-V","uui-critical":"F2Hq-N","uui-info":"jMSNoc","uui-success":"VOhUtS","uui-warning":"D4M4of","uui-highlight":"ZuS3zo","uui-typography-size-12":"LcTyBv","uui-typography-size-14":"S0h-Dx","uui-typography-size-16":"T9N8YF","root":"hJMXa1","mode-form":"m3NAL3","mode-cell":"ynzA8q","mode-inline":"B-n9IV","size-24":"rcimhm","size-30":"_3xpHE-","size-36":"_0PPWYI","size-42":"L-HQCx","size-48":"XY0hur","uuiTypography":"fnBG6T","heroHeader":"TKCOQA","promoHeader":"rDD8-V","uuiCritical":"F2Hq-N","uuiInfo":"jMSNoc","uuiSuccess":"VOhUtS","uuiWarning":"D4M4of","uuiHighlight":"ZuS3zo","uuiTypographySize12":"LcTyBv","uuiTypographySize14":"S0h-Dx","uuiTypographySize16":"T9N8YF","modeForm":"m3NAL3","modeCell":"ynzA8q","modeInline":"B-n9IV","size24":"rcimhm","size30":"_3xpHE-","size36":"_0PPWYI","size42":"L-HQCx","size48":"XY0hur"};
|
|
2118
2127
|
|
|
2119
2128
|
const defaultSize$2 = '36';
|
|
2120
2129
|
const defaultMode$1 = exports.EditMode.FORM;
|
|
2121
2130
|
function applyPickerTogglerMods(mods) {
|
|
2122
2131
|
return [
|
|
2123
|
-
css$
|
|
2124
|
-
css$
|
|
2125
|
-
css$
|
|
2132
|
+
css$E.root,
|
|
2133
|
+
css$E['size-' + (mods.size || defaultSize$2)],
|
|
2134
|
+
css$E['mode-' + (mods.mode || defaultMode$1)],
|
|
2126
2135
|
];
|
|
2127
2136
|
}
|
|
2128
2137
|
function PickerTogglerComponent(props, ref) {
|
|
@@ -2164,9 +2173,7 @@ function PickerTogglerComponent(props, ref) {
|
|
|
2164
2173
|
}
|
|
2165
2174
|
const PickerToggler = React__namespace.forwardRef(PickerTogglerComponent);
|
|
2166
2175
|
|
|
2167
|
-
var css$
|
|
2168
|
-
|
|
2169
|
-
var css$E = {"highlighted-text":"O1m5aV","highlightedText":"O1m5aV"};
|
|
2176
|
+
var css$D = {"root":"Dl8av-","multiline":"_8P-dM2","vertical-padding-24":"BNkcSH","vertical-padding-30":"XIaFA4","vertical-padding-36":"j3Jmup","vertical-padding-42":"_5FFIat","vertical-padding-48":"-TTZZw","text":"wjZ-DS","verticalPadding24":"BNkcSH","verticalPadding30":"XIaFA4","verticalPadding36":"j3Jmup","verticalPadding42":"_5FFIat","verticalPadding48":"-TTZZw"};
|
|
2170
2177
|
|
|
2171
2178
|
const mergeHighlightRanges = (ranges) => {
|
|
2172
2179
|
const mergedRanges = [];
|
|
@@ -2220,7 +2227,7 @@ const getHighlightRanges = (str, search) => {
|
|
|
2220
2227
|
};
|
|
2221
2228
|
const getDecoratedText = (str, ranges) => ranges.map((range, index) => {
|
|
2222
2229
|
const rangeStr = str.substring(range.from, range.to);
|
|
2223
|
-
return (React__namespace.default.createElement("span", Object.assign({ key: `${rangeStr}-${index}` }, (range.isHighlighted ? { className:
|
|
2230
|
+
return (React__namespace.default.createElement("span", Object.assign({ key: `${rangeStr}-${index}` }, (range.isHighlighted ? { className: 'uui-highlight' } : {})), rangeStr));
|
|
2224
2231
|
});
|
|
2225
2232
|
const getHighlightedSearchMatches = (str, search) => {
|
|
2226
2233
|
if (!search || !str) {
|
|
@@ -2249,21 +2256,19 @@ class PickerItem extends React__namespace.Component {
|
|
|
2249
2256
|
const { search } = (_a = this.props.dataSourceState) !== null && _a !== void 0 ? _a : {};
|
|
2250
2257
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(this.props.title, search) : this.props.title;
|
|
2251
2258
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(this.props.subtitle, search) : this.props.subtitle;
|
|
2252
|
-
return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$
|
|
2253
|
-
React__namespace.createElement(FlexRow, { size: itemSize, cx: isMultiline && [css$
|
|
2259
|
+
return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$D.root, 'uui-typography', cx] },
|
|
2260
|
+
React__namespace.createElement(FlexRow, { size: itemSize, cx: isMultiline && [css$D.multiline, css$D[`vertical-padding-${itemSize}`]], spacing: "12" },
|
|
2254
2261
|
avatarUrl && React__namespace.createElement(uuiComponents.Avatar, { isLoading: isLoading, img: avatarUrl, size: this.getAvatarSize(itemSize, isMultiline).toString() }),
|
|
2255
2262
|
icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: icon }),
|
|
2256
2263
|
React__namespace.createElement(FlexCell, { width: "auto" },
|
|
2257
|
-
title && (React__namespace.createElement(Text, { size: itemSize, cx: css$
|
|
2258
|
-
subtitle && (React__namespace.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$
|
|
2264
|
+
title && (React__namespace.createElement(Text, { size: itemSize, cx: css$D.text, color: isDisabled ? 'disabled' : 'primary' }, isLoading ? React__namespace.createElement(TextPlaceholder, { wordsCount: 2 }) : title)),
|
|
2265
|
+
subtitle && (React__namespace.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$D.text }, isLoading ? React__namespace.createElement(TextPlaceholder, { wordsCount: 2 }) : subtitle))))));
|
|
2259
2266
|
}
|
|
2260
2267
|
}
|
|
2261
2268
|
PickerItem.defaultProps = {
|
|
2262
2269
|
highlightSearchMatches: true,
|
|
2263
2270
|
};
|
|
2264
2271
|
|
|
2265
|
-
var css$D = {"uui-typography":"fF8ZwP","hero-header":"_9b-bPp","promo-header":"-cvRcr","uui-critical":"fHlDEe","uui-success":"Dg92tJ","uui-warning":"qhpAAB","uui-typography-size-12":"v-FDRt","uui-typography-size-14":"EUJkES","uui-typography-size-16":"aFs07c","root":"fLKY6A","panel":"p4QNcg","footer-wrapper":"gFO-FS","footer-size-24":"r6XsSu","footer-size-30":"xZzEB2","footer-size-36":"zhjyXq","footer-size-42":"EsxpXL","footer-size-48":"Koxf6N","uuiTypography":"fF8ZwP","heroHeader":"_9b-bPp","promoHeader":"-cvRcr","uuiCritical":"fHlDEe","uuiSuccess":"Dg92tJ","uuiWarning":"qhpAAB","uuiTypographySize12":"v-FDRt","uuiTypographySize14":"EUJkES","uuiTypographySize16":"aFs07c","footerWrapper":"gFO-FS","footerSize24":"r6XsSu","footerSize30":"xZzEB2","footerSize36":"zhjyXq","footerSize42":"EsxpXL","footerSize48":"Koxf6N"};
|
|
2266
|
-
|
|
2267
2272
|
const pickerHeight$1 = 300;
|
|
2268
2273
|
const pickerWidth = 360;
|
|
2269
2274
|
function PickerInput(_a) {
|
|
@@ -2308,7 +2313,7 @@ function PickerInput(_a) {
|
|
|
2308
2313
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
2309
2314
|
const bodyHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || pickerHeight$1;
|
|
2310
2315
|
const minBodyWidth = props.minBodyWidth || pickerWidth;
|
|
2311
|
-
return (React__namespace.default.createElement(MobileDropdownWrapper, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [
|
|
2316
|
+
return (React__namespace.default.createElement(MobileDropdownWrapper, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [props.bodyCx], onKeyDown: bodyProps.onKeyDown, width: bodyProps.togglerWidth > minBodyWidth ? bodyProps.togglerWidth : minBodyWidth, focusLock: getSearchPosition() === 'body' },
|
|
2312
2317
|
React__namespace.default.createElement(DataPickerBody, Object.assign({}, bodyProps, { rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode, renderNotFound: props.renderNotFound
|
|
2313
2318
|
? () => props.renderNotFound({
|
|
2314
2319
|
search: dataSourceState.search,
|
|
@@ -2324,7 +2329,7 @@ function PickerInput(_a) {
|
|
|
2324
2329
|
}, renderBody: (bodyProps) => renderBody(Object.assign(Object.assign(Object.assign({}, bodyProps), getPickerBodyProps(rows)), getListProps()), rows), value: shouldShowBody(), onValueChange: !props.isDisabled && toggleBodyOpening, placement: props.dropdownPlacement, modifiers: popperModifiers, closeBodyOnTogglerHidden: !uuiCore.isMobile(), portalTarget: props.portalTarget }));
|
|
2325
2330
|
}
|
|
2326
2331
|
|
|
2327
|
-
var css$C = {"row":"
|
|
2332
|
+
var css$C = {"row":"ai4KaI"};
|
|
2328
2333
|
|
|
2329
2334
|
function PickerListItem(props) {
|
|
2330
2335
|
var _a;
|
|
@@ -2378,7 +2383,12 @@ function PickerList(props) {
|
|
|
2378
2383
|
}, selectedRows)));
|
|
2379
2384
|
}
|
|
2380
2385
|
|
|
2381
|
-
|
|
2386
|
+
const UUI_FILTERS_PANEL_ADD_BUTTON = 'uui-filters-panel-add-button';
|
|
2387
|
+
const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
2388
|
+
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
2389
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
2390
|
+
|
|
2391
|
+
var css$B = {"uui-typography":"pYcNDa","hero-header":"iuCttl","promo-header":"zO-vJe","uui-critical":"RETlr7","uui-info":"_-6lBdS","uui-success":"_7YSxdz","uui-warning":"mG3YlU","uui-highlight":"-Ous6d","uui-typography-size-12":"i8aISR","uui-typography-size-14":"_4HE0ft","uui-typography-size-16":"unA-6c","root":"Ud3x1C","title-wrapper":"JBx-WF","title":"UnIKQh","text-wrapper":"I7WJ-D","selection":"Vo9DGw","postfix":"Oz5yFS","selected":"_4L8xRo","uuiTypography":"pYcNDa","heroHeader":"iuCttl","promoHeader":"zO-vJe","uuiCritical":"RETlr7","uuiInfo":"_-6lBdS","uuiSuccess":"_7YSxdz","uuiWarning":"mG3YlU","uuiHighlight":"-Ous6d","uuiTypographySize12":"i8aISR","uuiTypographySize14":"_4HE0ft","uuiTypographySize16":"unA-6c","titleWrapper":"JBx-WF","textWrapper":"I7WJ-D"};
|
|
2382
2392
|
|
|
2383
2393
|
const defaultSize = '36';
|
|
2384
2394
|
const FilterPanelItemToggler = React__namespace.forwardRef((props, ref) => {
|
|
@@ -2410,7 +2420,7 @@ const FilterPanelItemToggler = React__namespace.forwardRef((props, ref) => {
|
|
|
2410
2420
|
role: 'button',
|
|
2411
2421
|
tabIndex: props.isDisabled ? -1 : 0,
|
|
2412
2422
|
onKeyDown: onKeyDownHandler,
|
|
2413
|
-
}, cx: cx__default.default(css$B.root, uuiCore.uuiElement.inputBox, uuiCore.uuiMarkers.clickable, props.isOpen && uuiCore.uuiMod.opened,
|
|
2423
|
+
}, cx: cx__default.default(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$B.root, uuiCore.uuiElement.inputBox, uuiCore.uuiMarkers.clickable, props.isOpen && uuiCore.uuiMod.opened, `size-${props.size || defaultSize}`, props.cx), onClick: togglerPickerOpened, ref: ref }),
|
|
2414
2424
|
React__namespace.createElement(uuiComponents.FlexRow, { cx: css$B.titleWrapper },
|
|
2415
2425
|
React__namespace.createElement(Text, { size: props.size, cx: css$B.title }, getTitle),
|
|
2416
2426
|
props.selection && (React__namespace.createElement("div", { className: css$B.textWrapper },
|
|
@@ -2421,6 +2431,7 @@ const FilterPanelItemToggler = React__namespace.forwardRef((props, ref) => {
|
|
|
2421
2431
|
|
|
2422
2432
|
const pickerHeight = 300;
|
|
2423
2433
|
function FilterPickerBody(props) {
|
|
2434
|
+
var _a;
|
|
2424
2435
|
const shouldShowBody = () => props.isOpen;
|
|
2425
2436
|
const { getName, isSingleSelect, getRows, dataSourceState, getFooterProps, getPickerBodyProps, getListProps, handleDataSourceValueChange, } = uuiComponents.usePickerInput(Object.assign(Object.assign({}, props), { shouldShowBody }));
|
|
2426
2437
|
const renderItem = (item, rowProps) => {
|
|
@@ -2443,11 +2454,11 @@ function FilterPickerBody(props) {
|
|
|
2443
2454
|
const renderedDataRows = rows.map((props) => renderRow(props));
|
|
2444
2455
|
const maxHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || pickerHeight;
|
|
2445
2456
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
2446
|
-
React__namespace.createElement(DataPickerBody, Object.assign({}, bodyProps, { selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, searchSize: "36", editMode: "dropdown"
|
|
2457
|
+
React__namespace.createElement(DataPickerBody, Object.assign({}, bodyProps, { selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, searchSize: "36", editMode: "dropdown" })),
|
|
2447
2458
|
renderFooter()));
|
|
2448
2459
|
};
|
|
2449
2460
|
const rows = getRows();
|
|
2450
|
-
return renderBody(Object.assign(Object.assign({}, getPickerBodyProps(rows)), getListProps()), rows);
|
|
2461
|
+
return renderBody(Object.assign(Object.assign(Object.assign({}, getPickerBodyProps(rows)), getListProps()), { showSearch: (_a = props.showSearch) !== null && _a !== void 0 ? _a : true }), rows);
|
|
2451
2462
|
}
|
|
2452
2463
|
|
|
2453
2464
|
class FilterDatePickerBody extends uuiComponents.BaseDatePicker {
|
|
@@ -2482,7 +2493,7 @@ class FilterDatePickerBody extends uuiComponents.BaseDatePicker {
|
|
|
2482
2493
|
}
|
|
2483
2494
|
}
|
|
2484
2495
|
|
|
2485
|
-
var css$A = {"uui-typography":"
|
|
2496
|
+
var css$A = {"uui-typography":"JBZSoE","hero-header":"JBSLB-","promo-header":"qMdi5x","uui-critical":"_2Fl2u2","uui-info":"CQopel","uui-success":"TM2cvF","uui-warning":"d967XQ","uui-highlight":"_0tyVtI","uui-typography-size-12":"AmJ9mI","uui-typography-size-14":"Z6iAnf","uui-typography-size-16":"t-4STs","date-input":"FfSGbR","size-24":"JSB2F3","size-30":"_8wa9r4","size-36":"yVn5cB","size-42":"XsBIiL","size-48":"_8K9xQi","date-input-group":"PiJM0d","separator":"_5ju4kH","mode-form":"-Qfzk8","mode-cell":"w0x84S","uuiTypography":"JBZSoE","heroHeader":"JBSLB-","promoHeader":"qMdi5x","uuiCritical":"_2Fl2u2","uuiInfo":"CQopel","uuiSuccess":"TM2cvF","uuiWarning":"d967XQ","uuiHighlight":"_0tyVtI","uuiTypographySize12":"AmJ9mI","uuiTypographySize14":"Z6iAnf","uuiTypographySize16":"t-4STs","dateInput":"FfSGbR","size24":"JSB2F3","size30":"_8wa9r4","size36":"yVn5cB","size42":"XsBIiL","size48":"_8K9xQi","dateInputGroup":"PiJM0d","modeForm":"-Qfzk8","modeCell":"w0x84S"};
|
|
2486
2497
|
|
|
2487
2498
|
class FilterRangeDatePickerBody extends uuiComponents.BaseRangeDatePicker {
|
|
2488
2499
|
constructor() {
|
|
@@ -2514,7 +2525,7 @@ class FilterRangeDatePickerBody extends uuiComponents.BaseRangeDatePicker {
|
|
|
2514
2525
|
}
|
|
2515
2526
|
}
|
|
2516
2527
|
|
|
2517
|
-
var css$z = {"container":"
|
|
2528
|
+
var css$z = {"container":"xXduhp"};
|
|
2518
2529
|
|
|
2519
2530
|
function FilterNumericBody(props) {
|
|
2520
2531
|
var _a, _b;
|
|
@@ -2605,7 +2616,7 @@ var SvgActionDeleteforever12 = function SvgActionDeleteforever12(props, ref) {
|
|
|
2605
2616
|
};
|
|
2606
2617
|
var ForwardRef$u = /*#__PURE__*/React.forwardRef(SvgActionDeleteforever12);
|
|
2607
2618
|
|
|
2608
|
-
var css$y = {"uui-typography":"
|
|
2619
|
+
var css$y = {"uui-typography":"GglPfX","hero-header":"Vkazd4","promo-header":"efSRjN","uui-critical":"-gAyyt","uui-info":"WvDng0","uui-success":"eoz9a0","uui-warning":"DUiezT","uui-highlight":"cGkCUf","uui-typography-size-12":"Jq-o3a","uui-typography-size-14":"HydnWm","uui-typography-size-16":"z0Zk1r","header":"hcm0Q2","removeButton":"_708fzA","with-search":"RK0CSX","uuiTypography":"GglPfX","heroHeader":"Vkazd4","promoHeader":"efSRjN","uuiCritical":"-gAyyt","uuiInfo":"WvDng0","uuiSuccess":"eoz9a0","uuiWarning":"DUiezT","uuiHighlight":"cGkCUf","uuiTypographySize12":"Jq-o3a","uuiTypographySize14":"HydnWm","uuiTypographySize16":"z0Zk1r","withSearch":"RK0CSX"};
|
|
2609
2620
|
|
|
2610
2621
|
function FiltersToolbarItemImpl(props) {
|
|
2611
2622
|
const { maxCount = 2 } = props;
|
|
@@ -2687,9 +2698,9 @@ function FiltersToolbarItemImpl(props) {
|
|
|
2687
2698
|
};
|
|
2688
2699
|
const renderBody = (dropdownProps) => {
|
|
2689
2700
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
2690
|
-
return isPickersType ? (React__namespace.default.createElement(MobileDropdownWrapper, Object.assign({}, dropdownProps, { cx:
|
|
2701
|
+
return isPickersType ? (React__namespace.default.createElement(MobileDropdownWrapper, Object.assign({}, dropdownProps, { cx: UUI_FILTERS_PANEL_ITEM_BODY, title: props.title, width: 360, onClose: () => isOpenChange(false) }),
|
|
2691
2702
|
renderHeader(hideHeaderTitle),
|
|
2692
|
-
React__namespace.default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))) : (React__namespace.default.createElement(DropdownContainer, Object.assign({}, dropdownProps),
|
|
2703
|
+
React__namespace.default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))) : (React__namespace.default.createElement(DropdownContainer, Object.assign({ cx: UUI_FILTERS_PANEL_ITEM_BODY }, dropdownProps),
|
|
2693
2704
|
renderHeader(hideHeaderTitle),
|
|
2694
2705
|
React__namespace.default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange }))));
|
|
2695
2706
|
};
|
|
@@ -2874,7 +2885,7 @@ function FiltersToolbarImpl(props) {
|
|
|
2874
2885
|
}, [filters, tableState.filtersConfig]);
|
|
2875
2886
|
const renderAddFilterToggler = React.useCallback((togglerProps) => {
|
|
2876
2887
|
var _a;
|
|
2877
|
-
return (React__namespace.default.createElement(Button, { size: (_a = props.size) !== null && _a !== void 0 ? _a : '36', onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$t, iconPosition: "left", fill: "ghost", color: "primary" }));
|
|
2888
|
+
return (React__namespace.default.createElement(Button, { size: (_a = props.size) !== null && _a !== void 0 ? _a : '36', onClick: togglerProps.onClick, ref: togglerProps.ref, caption: i18n.filterToolbar.addCaption, icon: ForwardRef$t, iconPosition: "left", fill: "ghost", color: "primary", cx: UUI_FILTERS_PANEL_ADD_BUTTON }));
|
|
2878
2889
|
}, []);
|
|
2879
2890
|
const getRowOptions = React.useCallback((item) => ({
|
|
2880
2891
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -2897,13 +2908,13 @@ function FiltersToolbarImpl(props) {
|
|
|
2897
2908
|
!isAllFiltersAlwaysVisible && (React__namespace.default.createElement(PickerInput, { dataSource: dataSource, value: selectedFilters, onValueChange: onFiltersChange, selectionMode: "multi", valueType: "entity", key: newFilterId, renderRow: (props) => (React__namespace.default.createElement(DataPickerRow, Object.assign({}, props, { padding: "12", key: props.key, onCheck: (row) => {
|
|
2898
2909
|
props.onCheck && props.onCheck(row);
|
|
2899
2910
|
!row.isChecked && setNewFilterId(row.value.field);
|
|
2900
|
-
}, renderItem: (item, rowProps) => React__namespace.default.createElement(PickerItem, Object.assign({}, rowProps, { title: item.title })) }))), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true, size: props.size }))));
|
|
2911
|
+
}, renderItem: (item, rowProps) => React__namespace.default.createElement(PickerItem, Object.assign({}, rowProps, { title: item.title })) }))), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true, size: props.size, bodyCx: UUI_FILTERS_PANEL_ADD_BUTTON_BODY }))));
|
|
2901
2912
|
}
|
|
2902
2913
|
const FiltersPanel = React__namespace.default.memo(FiltersToolbarImpl);
|
|
2903
2914
|
|
|
2904
|
-
var css$x = {"divider":"
|
|
2915
|
+
var css$x = {"divider":"qsznnt","dropdownDeleteIcon":"QPuu1k","presetsWrapper":"_0o5vwL","addPresetContainer":"_67SEvm","dropContainer":"_4JktuX"};
|
|
2905
2916
|
|
|
2906
|
-
var css$w = {"preset-dropdown-panel":"
|
|
2917
|
+
var css$w = {"preset-dropdown-panel":"u-L3oo","delete-row":"eymslu","delete-button":"oFXeRP","targetOpen":"Y8R0q3","presetDropdownPanel":"u-L3oo","deleteRow":"eymslu","deleteButton":"oFXeRP"};
|
|
2907
2918
|
|
|
2908
2919
|
var _path$r;
|
|
2909
2920
|
function _extends$s() { _extends$s = 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$s.apply(this, arguments); }
|
|
@@ -3055,7 +3066,7 @@ function PresetActionsDropdown(props) {
|
|
|
3055
3066
|
const successNotificationHandler = React.useCallback((text) => {
|
|
3056
3067
|
uuiNotifications
|
|
3057
3068
|
.show((props) => (React__namespace.default.createElement(SuccessNotification, Object.assign({}, props),
|
|
3058
|
-
React__namespace.default.createElement(Text, { size: "36",
|
|
3069
|
+
React__namespace.default.createElement(Text, { size: "36", fontSize: "14" }, text))), { duration: 3 })
|
|
3059
3070
|
.catch(() => null);
|
|
3060
3071
|
}, []);
|
|
3061
3072
|
const saveInCurrentHandler = React.useCallback(() => {
|
|
@@ -3097,7 +3108,12 @@ function PresetActionsDropdown(props) {
|
|
|
3097
3108
|
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
3098
3109
|
}
|
|
3099
3110
|
|
|
3100
|
-
var css$v = {"preset-input-cell":"
|
|
3111
|
+
var css$v = {"preset-input-cell":"_9-iJHM","preset-input":"rWbbhi","presetInputCell":"_9-iJHM","presetInput":"rWbbhi"};
|
|
3112
|
+
|
|
3113
|
+
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
3114
|
+
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
3115
|
+
const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
|
|
3116
|
+
const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
|
|
3101
3117
|
|
|
3102
3118
|
function PresetInput(props) {
|
|
3103
3119
|
var _a;
|
|
@@ -3118,11 +3134,11 @@ function PresetInput(props) {
|
|
|
3118
3134
|
}
|
|
3119
3135
|
props.onCancel();
|
|
3120
3136
|
}, [presetCaption.length, props.onCancel]);
|
|
3121
|
-
return (React__namespace.default.createElement(FlexCell, { cx: css$v.presetInputCell, minWidth: 180 },
|
|
3137
|
+
return (React__namespace.default.createElement(FlexCell, { cx: [css$v.presetInputCell, UUI_PRESETS_PANEL_INPUT], minWidth: 180 },
|
|
3122
3138
|
React__namespace.default.createElement(TextInput, { cx: css$v.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50 })));
|
|
3123
3139
|
}
|
|
3124
3140
|
|
|
3125
|
-
var css$u = {"preset":"
|
|
3141
|
+
var css$u = {"preset":"GvXqEI","activePreset":"xyQ-v-"};
|
|
3126
3142
|
|
|
3127
3143
|
function Preset(props) {
|
|
3128
3144
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -3140,7 +3156,7 @@ function Preset(props) {
|
|
|
3140
3156
|
return props.updatePreset(newPreset);
|
|
3141
3157
|
}, [props.preset]);
|
|
3142
3158
|
const isPresetActive = props.activePresetId === props.preset.id;
|
|
3143
|
-
return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$u.preset, isPresetActive && css$u.activePreset], size: "60", withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: () => React__namespace.default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
3159
|
+
return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$u.preset, isPresetActive && css$u.activePreset, UUI_PRESETS_PANEL_PRESET], size: "60", withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: () => React__namespace.default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
3144
3160
|
}
|
|
3145
3161
|
|
|
3146
3162
|
var _path$j;
|
|
@@ -3171,7 +3187,7 @@ function PresetsPanel(props) {
|
|
|
3171
3187
|
return React__namespace.default.createElement(Preset, Object.assign({ key: preset.id, preset: preset, addPreset: setAddingPreset }, presetApi));
|
|
3172
3188
|
};
|
|
3173
3189
|
const renderAddPresetButton = React.useCallback(() => {
|
|
3174
|
-
return (React__namespace.default.createElement("div", { key: "addingPresetBlock", className: css$x.addPresetContainer }, !isAddingPreset ? (React__namespace.default.createElement(Button, { size: "36", onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$k, iconPosition: "left", fill: "ghost", color: "primary" })) : (React__namespace.default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
3190
|
+
return (React__namespace.default.createElement("div", { key: "addingPresetBlock", className: css$x.addPresetContainer }, !isAddingPreset ? (React__namespace.default.createElement(Button, { cx: UUI_PRESETS_PANEL_ADD_BUTTON, size: "36", onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$k, iconPosition: "left", fill: "ghost", color: "primary" })) : (React__namespace.default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
3175
3191
|
}, [isAddingPreset]);
|
|
3176
3192
|
const onPresetDropdownSelect = (preset) => {
|
|
3177
3193
|
props.choosePreset(preset.preset);
|
|
@@ -3179,7 +3195,7 @@ function PresetsPanel(props) {
|
|
|
3179
3195
|
const renderMoreButtonDropdown = (item, hiddenItems) => {
|
|
3180
3196
|
return (React__namespace.default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__namespace.default.createElement(FlexRow, null,
|
|
3181
3197
|
React__namespace.default.createElement("div", { className: css$x.divider }),
|
|
3182
|
-
React__namespace.default.createElement(Button, Object.assign({ fill: "ghost", color: "secondary", caption: `${(hiddenItems === null || hiddenItems === void 0 ? void 0 : hiddenItems.length) || ''} more` }, props)))), renderBody: (propsBody) => (React__namespace.default.createElement(DropdownContainer, Object.assign({ cx: uuiCore.cx(css$x.dropContainer), width: 230 }, propsBody),
|
|
3198
|
+
React__namespace.default.createElement(Button, Object.assign({ cx: UUI_PRESETS_PANEL_MORE_BUTTON, fill: "ghost", color: "secondary", caption: `${(hiddenItems === null || hiddenItems === void 0 ? void 0 : hiddenItems.length) || ''} more` }, props)))), renderBody: (propsBody) => (React__namespace.default.createElement(DropdownContainer, Object.assign({ cx: uuiCore.cx(css$x.dropContainer), width: 230 }, propsBody),
|
|
3183
3199
|
React__namespace.default.createElement(uuiComponents.ScrollBars, null, hiddenItems.map((hiddenItem) => (React__namespace.default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$l, iconPosition: "right", cx: css$x.dropdownDeleteIcon, onIconClick: !hiddenItem.preset.isReadonly && (() => props.deletePreset(hiddenItem.preset)) })))))) }));
|
|
3184
3200
|
};
|
|
3185
3201
|
const getPresetPriority = (preset, index) => {
|
|
@@ -3236,7 +3252,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
3236
3252
|
return columns;
|
|
3237
3253
|
};
|
|
3238
3254
|
|
|
3239
|
-
var css$t = {"line-height-12":"
|
|
3255
|
+
var css$t = {"line-height-12":"_3hdDME","line-height-18":"-b4mU1","line-height-24":"uT794S","line-height-30":"vLGj29","font-size-10":"_7GCEC4","font-size-12":"zHTot4","font-size-14":"nhFpJW","font-size-16":"_9EyrC3","font-size-18":"SE4AhW","font-size-24":"QESWZF","v-padding-2":"rP2rYQ","v-padding-3":"tXFCft","v-padding-5":"lhAVue","v-padding-6":"lbJPRa","v-padding-8":"_6O6d1-","v-padding-9":"bJlDlF","v-padding-11":"nbmRrW","v-padding-12":"_16sC6g","v-padding-14":"lfVCOj","v-padding-15":"BXdLB-","v-padding-17":"HpkDcT","v-padding-18":"_1y47wM","v-padding-23":"_3uaJXw","v-padding-24":"s-v2aH","lineHeight12":"_3hdDME","lineHeight18":"-b4mU1","lineHeight24":"uT794S","lineHeight30":"vLGj29","fontSize10":"_7GCEC4","fontSize12":"zHTot4","fontSize14":"nhFpJW","fontSize16":"_9EyrC3","fontSize18":"SE4AhW","fontSize24":"QESWZF","vPadding2":"rP2rYQ","vPadding3":"tXFCft","vPadding5":"lhAVue","vPadding6":"lbJPRa","vPadding8":"_6O6d1-","vPadding9":"bJlDlF","vPadding11":"nbmRrW","vPadding12":"_16sC6g","vPadding14":"lfVCOj","vPadding15":"BXdLB-","vPadding17":"HpkDcT","vPadding18":"_1y47wM","vPadding23":"_3uaJXw","vPadding24":"s-v2aH"};
|
|
3240
3256
|
|
|
3241
3257
|
const defaultTextSettings = {
|
|
3242
3258
|
18: { lineHeight: 12, fontSize: 10 },
|
|
@@ -3262,9 +3278,9 @@ function getTextClasses(props, border) {
|
|
|
3262
3278
|
];
|
|
3263
3279
|
}
|
|
3264
3280
|
|
|
3265
|
-
var css$s = {"root":"
|
|
3281
|
+
var css$s = {"root":"TlFkIH"};
|
|
3266
3282
|
|
|
3267
|
-
const allTextColors = ['info', 'warning', 'error', 'success', 'brand', 'primary', 'secondary', 'disabled', '
|
|
3283
|
+
const allTextColors = ['info', 'warning', 'error', 'success', 'brand', 'primary', 'secondary', 'disabled', 'white'];
|
|
3268
3284
|
function applyTextMods(mods) {
|
|
3269
3285
|
const textClasses = getTextClasses({
|
|
3270
3286
|
size: mods.size || '36',
|
|
@@ -3274,14 +3290,15 @@ function applyTextMods(mods) {
|
|
|
3274
3290
|
return [
|
|
3275
3291
|
css$s.root,
|
|
3276
3292
|
'uui-text',
|
|
3277
|
-
`uui-font-${mods.font || 'regular'}`,
|
|
3278
3293
|
`uui-color-${mods.color || 'primary'}`,
|
|
3294
|
+
`uui-font-weight-${mods.fontWeight || '400'}`,
|
|
3295
|
+
`uui-font-style-${mods.fontStyle || 'normal'}`,
|
|
3279
3296
|
'uui-typography',
|
|
3280
3297
|
].concat(textClasses);
|
|
3281
3298
|
}
|
|
3282
3299
|
const Text = uuiCore.withMods(uuiComponents.Text, applyTextMods);
|
|
3283
3300
|
|
|
3284
|
-
var css$r = {"root":"
|
|
3301
|
+
var css$r = {"root":"tQxh--","loading-word":"_1ekaCG","animated-loading":"zIFkq4","skeleton_loading":"KHHevs","loadingWord":"_1ekaCG","animatedLoading":"zIFkq4","skeletonLoading":"KHHevs"};
|
|
3285
3302
|
|
|
3286
3303
|
const TextPlaceholder = (props) => {
|
|
3287
3304
|
const pattern = ' ';
|
|
@@ -3293,14 +3310,14 @@ const TextPlaceholder = (props) => {
|
|
|
3293
3310
|
}
|
|
3294
3311
|
return words;
|
|
3295
3312
|
}, [props.wordsCount]);
|
|
3296
|
-
return (React__namespace.createElement("div", Object.assign({ "aria-busy": true, className: css$r.root }, props.rawProps), text.map((it, index) => (React__namespace.createElement("span", { key: index, className: cx__default.default([
|
|
3313
|
+
return (React__namespace.createElement("div", Object.assign({ "aria-busy": true, className: cx__default.default(css$r.root, 'uui-text-placeholder') }, props.rawProps), text.map((it, index) => (React__namespace.createElement("span", { key: index, className: cx__default.default([
|
|
3297
3314
|
props.cx, css$r.loadingWord, !props.isNotAnimated && css$r.animatedLoading,
|
|
3298
3315
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
3299
3316
|
};
|
|
3300
3317
|
|
|
3301
|
-
const RichTextView = uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-${mods.size || '14'}`]);
|
|
3318
|
+
const RichTextView = uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || '14'}`]);
|
|
3302
3319
|
|
|
3303
|
-
var css$q = {"uui-typography":"
|
|
3320
|
+
var css$q = {"uui-typography":"lMBt-V","hero-header":"I1dBnB","promo-header":"_1oMrB6","uui-critical":"GiRiyy","uui-info":"_6CMlK1","uui-success":"VpAp7n","uui-warning":"wZsqwX","uui-highlight":"nXM2a6","uui-typography-size-12":"V8EcrV","uui-typography-size-14":"nimOOY","uui-typography-size-16":"_4SZXrd","root":"WnJgui","modal-blocker":"_1E0R3J","animateModalBlocker":"aLutW7","modal":"_7V454Y","modal-footer":"eQ2an3","border-top":"Tif08O","modal-header":"j65BUZ","uuiTypography":"lMBt-V","heroHeader":"I1dBnB","promoHeader":"_1oMrB6","uuiCritical":"GiRiyy","uuiInfo":"_6CMlK1","uuiSuccess":"VpAp7n","uuiWarning":"wZsqwX","uuiHighlight":"nXM2a6","uuiTypographySize12":"V8EcrV","uuiTypographySize14":"nimOOY","uuiTypographySize16":"_4SZXrd","modalBlocker":"_1E0R3J","modalFooter":"eQ2an3","borderTop":"Tif08O","modalHeader":"j65BUZ"};
|
|
3304
3321
|
|
|
3305
3322
|
const ModalBlocker = uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$q.modalBlocker]);
|
|
3306
3323
|
const ModalWindow = uuiCore.withMods(uuiComponents.ModalWindow, () => [css$q.root, css$q.modal], (props) => ({
|
|
@@ -3309,7 +3326,7 @@ const ModalWindow = uuiCore.withMods(uuiComponents.ModalWindow, () => [css$q.roo
|
|
|
3309
3326
|
class ModalHeader extends React__namespace.Component {
|
|
3310
3327
|
render() {
|
|
3311
3328
|
return (React__namespace.createElement(FlexRow, { padding: this.props.padding || '24', vPadding: "12", borderBottom: this.props.borderBottom, cx: [css$q.root, css$q.modalHeader, this.props.cx], spacing: "12", rawProps: this.props.rawProps },
|
|
3312
|
-
this.props.title && (React__namespace.createElement(Text, { size: "48", fontSize: "18",
|
|
3329
|
+
this.props.title && (React__namespace.createElement(Text, { size: "48", fontSize: "18", fontWeight: "600" }, this.props.title)),
|
|
3313
3330
|
this.props.children,
|
|
3314
3331
|
this.props.onClose && React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
3315
3332
|
this.props.onClose && (React__namespace.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
@@ -3343,7 +3360,7 @@ var SvgCross = function SvgCross(props, ref) {
|
|
|
3343
3360
|
};
|
|
3344
3361
|
var ForwardRef$j = /*#__PURE__*/React.forwardRef(SvgCross);
|
|
3345
3362
|
|
|
3346
|
-
var css$p = {"uui-typography":"
|
|
3363
|
+
var css$p = {"uui-typography":"AM7mLz","hero-header":"mnYenN","promo-header":"wZdtZ8","uui-critical":"sFGRoX","uui-info":"-YnsLH","uui-success":"QR1i-R","uui-warning":"VIo5u8","uui-highlight":"zr-SbL","uui-typography-size-12":"_11tJF6","uui-typography-size-14":"R1zT6Z","uui-typography-size-16":"_7epnDd","root":"_7VwIJY","icon-wrapper":"UZVWLB","action-wrapper":"oQQkvx","action-link":"oS0j29","close-icon":"_8YeKu-","main-path":"C0-nS8","content":"LE8yLr","clear-button":"STEbml","close-wrapper":"XddM6q","uuiTypography":"AM7mLz","heroHeader":"mnYenN","promoHeader":"wZdtZ8","uuiCritical":"sFGRoX","uuiInfo":"-YnsLH","uuiSuccess":"QR1i-R","uuiWarning":"VIo5u8","uuiHighlight":"zr-SbL","uuiTypographySize12":"_11tJF6","uuiTypographySize14":"R1zT6Z","uuiTypographySize16":"_7epnDd","iconWrapper":"UZVWLB","actionWrapper":"oQQkvx","actionLink":"oS0j29","closeIcon":"_8YeKu-","mainPath":"C0-nS8","clearButton":"STEbml","closeWrapper":"XddM6q"};
|
|
3347
3364
|
|
|
3348
3365
|
const NotificationCard = React__namespace.default.forwardRef((props, ref) => {
|
|
3349
3366
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -3425,14 +3442,14 @@ class DatePicker extends uuiComponents.BaseDatePicker {
|
|
|
3425
3442
|
}
|
|
3426
3443
|
}
|
|
3427
3444
|
|
|
3428
|
-
var css$o = {"uui-typography":"
|
|
3445
|
+
var css$o = {"uui-typography":"NeFHO2","hero-header":"F81oAk","promo-header":"IX-IAh","uui-critical":"B79Ebo","uui-info":"GHPosb","uui-success":"Db3lYL","uui-warning":"_-0Jooy","uui-highlight":"mjvbqo","uui-typography-size-12":"aUWJjZ","uui-typography-size-14":"AxSu3v","uui-typography-size-16":"DwuEGh","root":"wQdrRH","uuiTypography":"NeFHO2","heroHeader":"F81oAk","promoHeader":"IX-IAh","uuiCritical":"B79Ebo","uuiInfo":"GHPosb","uuiSuccess":"Db3lYL","uuiWarning":"_-0Jooy","uuiHighlight":"mjvbqo","uuiTypographySize12":"aUWJjZ","uuiTypographySize14":"AxSu3v","uuiTypographySize16":"DwuEGh"};
|
|
3429
3446
|
|
|
3430
3447
|
function applyCalendarPresetsMods() {
|
|
3431
3448
|
return [css$o.root];
|
|
3432
3449
|
}
|
|
3433
3450
|
const CalendarPresets = uuiCore.withMods(uuiComponents.CalendarPresets, applyCalendarPresetsMods, () => ({}));
|
|
3434
3451
|
|
|
3435
|
-
var css$n = {"uui-typography":"
|
|
3452
|
+
var css$n = {"uui-typography":"pOolMT","hero-header":"VGGQhh","promo-header":"vLytYg","uui-critical":"QybhuJ","uui-info":"E3e-gb","uui-success":"_9tJxI2","uui-warning":"KRm3Hn","uui-highlight":"tRG2V8","uui-typography-size-12":"Ez8DDP","uui-typography-size-14":"t1-EBw","uui-typography-size-16":"PfsmMQ","root":"Xkhex5","container":"dNXlIl","day-selection":"JtJc8u","from-picker":"eix31r","to-picker":"_6kxFP5","bodes-wrapper":"xrxDQk","blocker":"R51tT5","uuiTypography":"pOolMT","heroHeader":"VGGQhh","promoHeader":"vLytYg","uuiCritical":"QybhuJ","uuiInfo":"E3e-gb","uuiSuccess":"_9tJxI2","uuiWarning":"KRm3Hn","uuiHighlight":"tRG2V8","uuiTypographySize12":"Ez8DDP","uuiTypographySize14":"t1-EBw","uuiTypographySize16":"PfsmMQ","daySelection":"JtJc8u","fromPicker":"eix31r","toPicker":"_6kxFP5","bodesWrapper":"xrxDQk"};
|
|
3436
3453
|
|
|
3437
3454
|
dayjs__default.default.extend(isoWeek__default.default);
|
|
3438
3455
|
function weekCount(displayedDate) {
|
|
@@ -3593,7 +3610,7 @@ class RangeDatePickerBody extends React__namespace.Component {
|
|
|
3593
3610
|
}
|
|
3594
3611
|
}
|
|
3595
3612
|
|
|
3596
|
-
var css$m = {"uui-typography":"
|
|
3613
|
+
var css$m = {"uui-typography":"L-yqIp","hero-header":"Jkwo-U","promo-header":"cnBqCS","uui-critical":"rhv4OK","uui-info":"c066kY","uui-success":"UC01ow","uui-warning":"RH3bEt","uui-highlight":"_5inmkg","uui-typography-size-12":"bnxhB1","uui-typography-size-14":"_8RnEfv","uui-typography-size-16":"_5W4iv4","dropdown-container":"CJ9mAf","date-input":"_9vnxAK","size-24":"jIfoPO","size-30":"PywWg5","size-36":"u1XvSK","size-42":"uTtLCy","size-48":"_7ZIwnn","date-input-group":"dGezOT","separator":"ZGofW7","mode-form":"yEWIYf","mode-cell":"eKphfg","uuiTypography":"L-yqIp","heroHeader":"Jkwo-U","promoHeader":"cnBqCS","uuiCritical":"rhv4OK","uuiInfo":"c066kY","uuiSuccess":"UC01ow","uuiWarning":"RH3bEt","uuiHighlight":"_5inmkg","uuiTypographySize12":"bnxhB1","uuiTypographySize14":"_8RnEfv","uuiTypographySize16":"_5W4iv4","dropdownContainer":"CJ9mAf","dateInput":"_9vnxAK","size24":"jIfoPO","size30":"PywWg5","size36":"u1XvSK","size42":"uTtLCy","size48":"_7ZIwnn","dateInputGroup":"dGezOT","modeForm":"yEWIYf","modeCell":"eKphfg"};
|
|
3597
3614
|
|
|
3598
3615
|
const defaultValue = { from: null, to: null };
|
|
3599
3616
|
class RangeDatePicker extends uuiComponents.BaseRangeDatePicker {
|
|
@@ -3626,7 +3643,7 @@ class RangeDatePicker extends uuiComponents.BaseRangeDatePicker {
|
|
|
3626
3643
|
}
|
|
3627
3644
|
}
|
|
3628
3645
|
|
|
3629
|
-
var css$l = {"root":"
|
|
3646
|
+
var css$l = {"root":"_8-M1pw","blocker":"_3JemPy","marker":"_6wXxCN","top":"PnXw9g","bottom":"eyASdY","left":"_7PghNc","right":"r47Ijp","inside":"SEEGHl"};
|
|
3630
3647
|
|
|
3631
3648
|
function DropMarker(props) {
|
|
3632
3649
|
return props.isDndInProgress
|
|
@@ -3641,7 +3658,7 @@ function DropMarker(props) {
|
|
|
3641
3658
|
: null;
|
|
3642
3659
|
}
|
|
3643
3660
|
|
|
3644
|
-
var css$k = {"uui-typography":"
|
|
3661
|
+
var css$k = {"uui-typography":"DtGL--","hero-header":"_0kqU5O","promo-header":"_0wr-D-","uui-critical":"-Hvjso","uui-info":"qlAHTU","uui-success":"k17mZ0","uui-warning":"gn1L42","uui-highlight":"MXw-L1","uui-typography-size-12":"XXj21h","uui-typography-size-14":"zle9g7","uui-typography-size-16":"qbbzNt","root":"_9UOiFn","size-24":"MM-kJ6","size-30":"H7N0x8","size-36":"tWkz1j","size-48":"p-k6Ga","size-60":"Ssb--I","uuiTypography":"DtGL--","heroHeader":"_0kqU5O","promoHeader":"_0wr-D-","uuiCritical":"-Hvjso","uuiInfo":"qlAHTU","uuiSuccess":"k17mZ0","uuiWarning":"gn1L42","uuiHighlight":"MXw-L1","uuiTypographySize12":"XXj21h","uuiTypographySize14":"zle9g7","uuiTypographySize16":"qbbzNt","size24":"MM-kJ6","size30":"H7N0x8","size36":"tWkz1j","size48":"p-k6Ga","size60":"Ssb--I"};
|
|
3645
3662
|
|
|
3646
3663
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3647
3664
|
// 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.
|
|
@@ -3657,7 +3674,7 @@ const DataTableRow = uuiCore.withMods(uuiComponents.DataTableRow, ({ borderBotto
|
|
|
3657
3674
|
];
|
|
3658
3675
|
}, () => propsMods);
|
|
3659
3676
|
|
|
3660
|
-
var css$j = {"uui-typography":"
|
|
3677
|
+
var css$j = {"uui-typography":"PyQMP9","hero-header":"l828Sj","promo-header":"Ek8cw4","uui-critical":"FGmhQ2","uui-info":"toYOyg","uui-success":"pE-XKF","uui-warning":"_2pjuO2","uui-highlight":"hzWn8s","uui-typography-size-12":"_7IY9os","uui-typography-size-14":"zjS8xs","uui-typography-size-16":"ALZI4B","sorting-panel-container":"ndIZ8T","sort-active":"_55rsg7","uuiTypography":"PyQMP9","heroHeader":"l828Sj","promoHeader":"Ek8cw4","uuiCritical":"FGmhQ2","uuiInfo":"toYOyg","uuiSuccess":"pE-XKF","uuiWarning":"_2pjuO2","uuiHighlight":"hzWn8s","uuiTypographySize12":"_7IY9os","uuiTypographySize14":"zjS8xs","uuiTypographySize16":"ALZI4B","sortingPanelContainer":"ndIZ8T","sortActive":"_55rsg7"};
|
|
3661
3678
|
|
|
3662
3679
|
var _path$h;
|
|
3663
3680
|
function _extends$i() { _extends$i = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$i.apply(this, arguments); }
|
|
@@ -3716,7 +3733,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3716
3733
|
};
|
|
3717
3734
|
const ColumnHeaderDropdown = React__namespace.default.memo(ColumnHeaderDropdownImpl);
|
|
3718
3735
|
|
|
3719
|
-
var css$i = {"uui-typography":"
|
|
3736
|
+
var css$i = {"uui-typography":"_26c5bT","hero-header":"NohFqr","promo-header":"yaNhjG","uui-critical":"QSXI5W","uui-info":"SG4-RY","uui-success":"_6r-jgu","uui-warning":"jgdIch","uui-highlight":"dwBUEW","uui-typography-size-12":"tgXj8-","uui-typography-size-14":"R4gwRp","uui-typography-size-16":"IHmTfP","cell":"XrTgYA","sort-icon":"CUcs3S","dropdown-icon":"nRnHLd","infoIcon":"RkhWf6","resizable":"Gl-6Ma","size-24":"mWu9aA","size-30":"_9snvtp","size-36":"tgJO6b","size-42":"uOhQsq","size-48":"yRhsXz","padding-left-24":"hzRfzG","padding-right-24":"HRqPqZ","caption":"MwE-Yg","checkbox":"xe2Cb0","icon":"YPsX5H","icon-cell":"jD-Xr4","align-right":"snnVpf","align-center":"Fcr2SZ","tooltip-wrapper":"ZFAjvX","cell-tooltip":"EL3FTZ","upper-case":"tHXbG5","font-size-14":"VU3EUB","resize-mark":"E6NvZd","draggable":"m1kypY","ghost":"XLwa2B","is-dragged-out":"xmy-X6","dnd-marker-left":"MZ9Inp","dnd-marker-right":"_2jGNKY","cell-tooltip-wrapper":"AEtBmQ","cell-tooltip-text":"_9YxX40","uuiTypography":"_26c5bT","heroHeader":"NohFqr","promoHeader":"yaNhjG","uuiCritical":"QSXI5W","uuiInfo":"SG4-RY","uuiSuccess":"_6r-jgu","uuiWarning":"jgdIch","uuiHighlight":"dwBUEW","uuiTypographySize12":"tgXj8-","uuiTypographySize14":"R4gwRp","uuiTypographySize16":"IHmTfP","sortIcon":"CUcs3S","dropdownIcon":"nRnHLd","size24":"mWu9aA","size30":"_9snvtp","size36":"tgJO6b","size42":"uOhQsq","size48":"yRhsXz","paddingLeft24":"hzRfzG","paddingRight24":"HRqPqZ","iconCell":"jD-Xr4","alignRight":"snnVpf","alignCenter":"Fcr2SZ","tooltipWrapper":"ZFAjvX","cellTooltip":"EL3FTZ","upperCase":"tHXbG5","fontSize14":"VU3EUB","resizeMark":"E6NvZd","isDraggedOut":"xmy-X6","dndMarkerLeft":"MZ9Inp","dndMarkerRight":"_2jGNKY","cellTooltipWrapper":"AEtBmQ","cellTooltipText":"_9YxX40"};
|
|
3720
3737
|
|
|
3721
3738
|
var _path$f;
|
|
3722
3739
|
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); }
|
|
@@ -3781,12 +3798,12 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3781
3798
|
return css$i['font-size-14'];
|
|
3782
3799
|
};
|
|
3783
3800
|
this.getTooltipContent = () => (React__namespace.createElement("div", { className: css$i.cellTooltipWrapper },
|
|
3784
|
-
React__namespace.createElement(Text, { fontSize: "14",
|
|
3785
|
-
this.props.column.info && React__namespace.createElement(Text, { fontSize: "12",
|
|
3801
|
+
React__namespace.createElement(Text, { fontSize: "14", fontWeight: "600", cx: css$i.cellTooltipText }, this.props.column.caption),
|
|
3802
|
+
this.props.column.info && React__namespace.createElement(Text, { fontSize: "12", cx: css$i.cellTooltipText }, this.props.column.info)));
|
|
3786
3803
|
this.getColumnCaption = () => {
|
|
3787
3804
|
return (React__namespace.createElement("div", { className: css$i.tooltipWrapper },
|
|
3788
3805
|
React__namespace.createElement("div", { className: uuiCore.cx(css$i.iconCell, css$i['align-' + this.props.column.textAlign], uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
3789
|
-
React__namespace.createElement(Tooltip, { placement: "top", color: "
|
|
3806
|
+
React__namespace.createElement(Tooltip, { placement: "top", color: "inverted", renderContent: this.getTooltipContent, cx: css$i.cellTooltip, openDelay: 600 },
|
|
3790
3807
|
React__namespace.createElement(Text, { key: "text", lineHeight: "30", fontSize: "14", size: "30", cx: uuiCore.cx(css$i.caption, this.getTextStyle(), uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaption) }, this.props.column.caption)),
|
|
3791
3808
|
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React__namespace.createElement(IconButton, { key: "sort", cx: uuiCore.cx(css$i.icon, css$i.sortIcon, this.props.sortDirection && css$i.sortIconActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: this.props.sortDirection === 'desc' ? ForwardRef$h : this.props.sortDirection === 'asc' ? ForwardRef$i : ForwardRef$g })),
|
|
3792
3809
|
this.props.isFilterActive && (React__namespace.createElement(IconButton, { key: "filter", cx: uuiCore.cx(css$i.icon, !this.props.sortDirection && css$i.filterIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: ForwardRef$f })),
|
|
@@ -3799,18 +3816,18 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3799
3816
|
var _a;
|
|
3800
3817
|
props.ref(ref);
|
|
3801
3818
|
(_a = dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.ref) === null || _a === void 0 ? void 0 : _a.call(dropdownProps, ref);
|
|
3802
|
-
}, cx: uuiCore.cx(uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiCore.uuiMarkers.clickable, css$i.cell, css$i['size-' + (this.props.size || '36')], this.props.isFirstColumn && css$i['padding-left-24'], this.props.isLastColumn && css$i['padding-right-24'], this.props.column.cx, this.props.allowColumnsResizing && css$i.resizable, props.isDraggable && css$i.draggable, props.isDragGhost && css$i.ghost, props.isDraggedOut && css$i.isDraggedOut, props.isDndInProgress && css$i['dnd-marker-' + props.position]), onClick: !this.props.column.renderFilter ? props.toggleSort : dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.onClick, rawProps: Object.assign({ role: 'columnheader', 'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none' }, props.eventHandlers) }),
|
|
3819
|
+
}, cx: uuiCore.cx('uui-dt-vars', uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && uuiCore.uuiMarkers.clickable, css$i.cell, css$i['size-' + (this.props.size || '36')], this.props.isFirstColumn && css$i['padding-left-24'], this.props.isLastColumn && css$i['padding-right-24'], this.props.column.cx, this.props.allowColumnsResizing && css$i.resizable, props.isDraggable && css$i.draggable, props.isDragGhost && css$i.ghost, props.isDraggedOut && css$i.isDraggedOut, props.isDndInProgress && css$i['dnd-marker-' + props.position]), onClick: !this.props.column.renderFilter ? props.toggleSort : dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.onClick, rawProps: Object.assign({ role: 'columnheader', 'aria-sort': this.props.sortDirection === 'asc' ? 'ascending' : this.props.sortDirection ? 'descending' : 'none' }, props.eventHandlers) }),
|
|
3803
3820
|
this.renderHeaderCheckbox(),
|
|
3804
3821
|
this.getColumnCaption(),
|
|
3805
3822
|
this.props.allowColumnsResizing && this.renderResizeMark(props)));
|
|
3806
3823
|
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 }));
|
|
3807
3824
|
}
|
|
3808
3825
|
render() {
|
|
3809
|
-
return React__namespace.createElement(uuiComponents.DataTableHeaderCell, Object.assign({}, this.props, {
|
|
3826
|
+
return React__namespace.createElement(uuiComponents.DataTableHeaderCell, Object.assign({}, this.props, { renderCellContent: this.props.column.renderFilter ? this.renderCellWithFilter : this.renderCellContent }));
|
|
3810
3827
|
}
|
|
3811
3828
|
}
|
|
3812
3829
|
|
|
3813
|
-
var css$h = {"uui-typography":"
|
|
3830
|
+
var css$h = {"uui-typography":"TUTHEu","hero-header":"FEoJfT","promo-header":"_74MD-6","uui-critical":"NKpTSo","uui-info":"_5rc8K1","uui-success":"-Iep3i","uui-warning":"iLmCFq","uui-highlight":"zb2Jmc","uui-typography-size-12":"j-At3z","uui-typography-size-14":"uxQaeg","uui-typography-size-16":"XNJS1l","header-cell":"_7ygxwg","config-icon":"y2TfYT","uuiTypography":"TUTHEu","heroHeader":"FEoJfT","promoHeader":"_74MD-6","uuiCritical":"NKpTSo","uuiInfo":"_5rc8K1","uuiSuccess":"-Iep3i","uuiWarning":"iLmCFq","uuiHighlight":"zb2Jmc","uuiTypographySize12":"j-At3z","uuiTypographySize14":"uxQaeg","uuiTypographySize16":"XNJS1l","headerCell":"_7ygxwg","configIcon":"y2TfYT"};
|
|
3814
3831
|
|
|
3815
3832
|
var _path$c;
|
|
3816
3833
|
function _extends$d() { _extends$d = 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$d.apply(this, arguments); }
|
|
@@ -3834,7 +3851,7 @@ const DataTableHeaderRow = uuiCore.withMods(uuiComponents.DataTableHeaderRow, ()
|
|
|
3834
3851
|
renderConfigButton: () => React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: css$h.configIcon, color: "neutral", icon: ForwardRef$d }),
|
|
3835
3852
|
}));
|
|
3836
3853
|
|
|
3837
|
-
var styles$1 = {"uui-typography":"
|
|
3854
|
+
var styles$1 = {"uui-typography":"N-xiVL","hero-header":"m-l8L8","promo-header":"-WiDvN","uui-critical":"Fxs8Z5","uui-info":"x-JliR","uui-success":"IpDz2O","uui-warning":"NxCgKQ","uui-highlight":"lsnZI5","uui-typography-size-12":"sgO65b","uui-typography-size-14":"_4yT9og","uui-typography-size-16":"qfheHN","main-panel":"NfLLPx","group-title":"v7Id3a","group-title-text":"wgh6Rt","group-title-badge":"PvBxRy","group-items":"_4dSAFf","no-data":"KtzhtB","h-divider":"kcNm8l","search-area":"uk-Wuv","uuiTypography":"N-xiVL","heroHeader":"m-l8L8","promoHeader":"-WiDvN","uuiCritical":"Fxs8Z5","uuiInfo":"x-JliR","uuiSuccess":"IpDz2O","uuiWarning":"NxCgKQ","uuiHighlight":"lsnZI5","uuiTypographySize12":"sgO65b","uuiTypographySize14":"_4yT9og","uuiTypographySize16":"qfheHN","mainPanel":"NfLLPx","groupTitle":"v7Id3a","groupTitleText":"wgh6Rt","groupTitleBadge":"PvBxRy","groupItems":"_4dSAFf","noData":"KtzhtB","hDivider":"kcNm8l","searchArea":"uk-Wuv"};
|
|
3838
3855
|
|
|
3839
3856
|
var _path$b;
|
|
3840
3857
|
function _extends$c() { _extends$c = 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$c.apply(this, arguments); }
|
|
@@ -3909,11 +3926,11 @@ function PinIconButton(props) {
|
|
|
3909
3926
|
]);
|
|
3910
3927
|
const pinClickHandler = isPinnedAlways ? undefined : () => onTogglePin(id);
|
|
3911
3928
|
return (React__namespace.createElement("span", { onMouseOver: () => setIsHovered(true), onMouseOut: () => setIsHovered(false) },
|
|
3912
|
-
React__namespace.createElement(Tooltip, { content: tooltipText, placement: "bottom", color: "
|
|
3929
|
+
React__namespace.createElement(Tooltip, { content: tooltipText, placement: "bottom", color: "inverted" },
|
|
3913
3930
|
React__namespace.createElement(IconButton, { icon: pinIcon, onClick: pinClickHandler, isDisabled: isPinnedAlways, color: isPinned ? 'info' : undefined }))));
|
|
3914
3931
|
}
|
|
3915
3932
|
|
|
3916
|
-
var styles = {"uui-typography":"
|
|
3933
|
+
var styles = {"uui-typography":"_3TeHEf","hero-header":"JPI8zE","promo-header":"pCoK6p","uui-critical":"soijh9","uui-info":"kxn2H1","uui-success":"syrF7T","uui-warning":"SyczcL","uui-highlight":"wtqZcT","uui-typography-size-12":"Ma1VSp","uui-typography-size-14":"lqjVuv","uui-typography-size-16":"BJhFij","row-wrapper":"EaIVfS","not-pinned":"JSN-DT","pin-icon-button":"uGLuHG","checkbox":"SNFXIJ","drag-handle":"uWOkOW","dnd-disabled":"EpbQQD","uuiTypography":"_3TeHEf","heroHeader":"JPI8zE","promoHeader":"pCoK6p","uuiCritical":"soijh9","uuiInfo":"kxn2H1","uuiSuccess":"syrF7T","uuiWarning":"SyczcL","uuiHighlight":"wtqZcT","uuiTypographySize12":"Ma1VSp","uuiTypographySize14":"lqjVuv","uuiTypographySize16":"BJhFij","rowWrapper":"EaIVfS","notPinned":"JSN-DT","pinIconButton":"uGLuHG","dragHandle":"uWOkOW","dndDisabled":"EpbQQD"};
|
|
3917
3934
|
|
|
3918
3935
|
const ColumnRow = React__namespace.memo(function ColumnRow(props) {
|
|
3919
3936
|
const { column } = props;
|
|
@@ -3938,7 +3955,7 @@ const ColumnRow = React__namespace.memo(function ColumnRow(props) {
|
|
|
3938
3955
|
});
|
|
3939
3956
|
|
|
3940
3957
|
const renderGroupTitle = (title, amount) => (React__namespace.createElement(FlexRow, { size: "24", padding: "24", spacing: "6", cx: styles$1.groupTitle },
|
|
3941
|
-
React__namespace.createElement(Text, { cx: styles$1.groupTitleText,
|
|
3958
|
+
React__namespace.createElement(Text, { cx: styles$1.groupTitleText, fontWeight: "600", lineHeight: "24", fontSize: "14" }, title),
|
|
3942
3959
|
React__namespace.createElement(Badge, { cx: styles$1.groupTitleBadge, caption: amount, color: "neutral", size: "18" })));
|
|
3943
3960
|
function ColumnsConfigurationModal(props) {
|
|
3944
3961
|
const i18n$1 = i18n.tables.columnsConfigurationModal;
|
|
@@ -3989,8 +4006,8 @@ function ColumnsConfigurationModal(props) {
|
|
|
3989
4006
|
renderVisible(),
|
|
3990
4007
|
renderHidden(),
|
|
3991
4008
|
isNoData && (React__namespace.createElement(FlexRow, { cx: styles$1.noData },
|
|
3992
|
-
React__namespace.createElement(Text, { fontSize: "24", lineHeight: "30", color: "primary",
|
|
3993
|
-
React__namespace.createElement(Text, { fontSize: "16", lineHeight: "24",
|
|
4009
|
+
React__namespace.createElement(Text, { fontSize: "24", lineHeight: "30", color: "primary", fontWeight: "600" }, i18n$1.noResultsFound.text),
|
|
4010
|
+
React__namespace.createElement(Text, { fontSize: "16", lineHeight: "24", color: "primary" }, i18n$1.noResultsFound.subText))))),
|
|
3994
4011
|
React__namespace.createElement(ModalFooter, { borderTop: true },
|
|
3995
4012
|
React__namespace.createElement(LinkButton, { icon: ForwardRef$r, caption: i18n$1.resetToDefaultButton, onClick: reset }),
|
|
3996
4013
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
@@ -3998,7 +4015,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
3998
4015
|
noVisibleColumns ? (React__namespace.createElement(Tooltip, { content: i18n$1.enableAtLeastOneColumnMessage, placement: "top-end", color: "critical" }, applyButton)) : (applyButton)))));
|
|
3999
4016
|
}
|
|
4000
4017
|
|
|
4001
|
-
var css$g = {"listContainer":"
|
|
4018
|
+
var css$g = {"listContainer":"lBviNX","header":"A-UC5e","group":"_04gaf7","stickyHeader":"wtiKOZ"};
|
|
4002
4019
|
|
|
4003
4020
|
const getChildrenAndRest = (row, rows) => {
|
|
4004
4021
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -4064,7 +4081,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4064
4081
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4065
4082
|
ref: ref
|
|
4066
4083
|
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
4067
|
-
clipPath: "url(#
|
|
4084
|
+
clipPath: "url(#8lxtcfquaaz12anpl_a)"
|
|
4068
4085
|
}, _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
4069
4086
|
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",
|
|
4070
4087
|
fill: "#F5F6FA"
|
|
@@ -4085,7 +4102,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4085
4102
|
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",
|
|
4086
4103
|
fill: "#1D1E26"
|
|
4087
4104
|
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
4088
|
-
id: "
|
|
4105
|
+
id: "8lxtcfedxlju0fbc6_b",
|
|
4089
4106
|
style: {
|
|
4090
4107
|
maskType: "alpha"
|
|
4091
4108
|
},
|
|
@@ -4098,7 +4115,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4098
4115
|
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",
|
|
4099
4116
|
fill: "#9BDEFF"
|
|
4100
4117
|
}))), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
4101
|
-
mask: "url(#
|
|
4118
|
+
mask: "url(#8lxtcfedxlju0fbc6_b)",
|
|
4102
4119
|
fillRule: "evenodd",
|
|
4103
4120
|
clipRule: "evenodd"
|
|
4104
4121
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -4184,7 +4201,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4184
4201
|
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",
|
|
4185
4202
|
fill: "#fff"
|
|
4186
4203
|
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
4187
|
-
id: "
|
|
4204
|
+
id: "8lxtcfquaaz12anpl_a"
|
|
4188
4205
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
4189
4206
|
fill: "#fff",
|
|
4190
4207
|
transform: "translate(.552)",
|
|
@@ -4193,7 +4210,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4193
4210
|
};
|
|
4194
4211
|
var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgEmptyTable);
|
|
4195
4212
|
|
|
4196
|
-
var css$f = {"sticky-header":"
|
|
4213
|
+
var css$f = {"sticky-header":"vXW1F7","table":"_1zy6lj","no-results":"wDsdHy","no-results-icon":"oJ65uC","no-results-title":"YQITHI","stickyHeader":"vXW1F7","noResults":"wDsdHy","noResultsIcon":"oJ65uC","noResultsTitle":"YQITHI"};
|
|
4197
4214
|
|
|
4198
4215
|
function DataTable(props) {
|
|
4199
4216
|
var _a;
|
|
@@ -4210,8 +4227,8 @@ function DataTable(props) {
|
|
|
4210
4227
|
var _a;
|
|
4211
4228
|
return (React__namespace.createElement("div", { className: css$f.noResults }, props.renderNoResultsBlock ? ((_a = props.renderNoResultsBlock) === null || _a === void 0 ? void 0 : _a.call(props)) : (React__namespace.createElement(React__namespace.Fragment, null,
|
|
4212
4229
|
React__namespace.createElement(uuiComponents.IconContainer, { cx: css$f.noResultsIcon, icon: ForwardRef$9 }),
|
|
4213
|
-
React__namespace.createElement(Text, { cx: css$f.noResultsTitle, fontSize: "24", lineHeight: "30", color: "primary",
|
|
4214
|
-
React__namespace.createElement(Text, { fontSize: "16", lineHeight: "24",
|
|
4230
|
+
React__namespace.createElement(Text, { cx: css$f.noResultsTitle, fontSize: "24", lineHeight: "30", color: "primary", fontWeight: "600" }, i18n.tables.noResultsBlock.title),
|
|
4231
|
+
React__namespace.createElement(Text, { fontSize: "16", lineHeight: "24", color: "primary" }, i18n.tables.noResultsBlock.message)))));
|
|
4215
4232
|
}, [props.renderNoResultsBlock]);
|
|
4216
4233
|
const onConfigurationButtonClick = React__namespace.useCallback(() => {
|
|
4217
4234
|
const configProps = { columns: props.columns, columnsConfig: Object.assign({}, config), defaultConfig };
|
|
@@ -4243,9 +4260,9 @@ function DataTable(props) {
|
|
|
4243
4260
|
} })));
|
|
4244
4261
|
}
|
|
4245
4262
|
|
|
4246
|
-
var css$e = {"root":"
|
|
4263
|
+
var css$e = {"root":"mwLJhg"};
|
|
4247
4264
|
|
|
4248
|
-
var css$d = {"root":"
|
|
4265
|
+
var css$d = {"root":"pBuH7i","burger-content":"_34QDdq","burgerContent":"_34QDdq"};
|
|
4249
4266
|
|
|
4250
4267
|
var _path$7;
|
|
4251
4268
|
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); }
|
|
@@ -4312,7 +4329,7 @@ var SvgTriangle = function SvgTriangle(props, ref) {
|
|
|
4312
4329
|
};
|
|
4313
4330
|
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgTriangle);
|
|
4314
4331
|
|
|
4315
|
-
var css$c = {"uui-typography":"
|
|
4332
|
+
var css$c = {"uui-typography":"ggHgN7","hero-header":"_79Ccxo","promo-header":"_6V129K","uui-critical":"_2zRe1O","uui-info":"vwMbQK","uui-success":"V1c-nM","uui-warning":"cZMw8T","uui-highlight":"-w2WIe","uui-typography-size-12":"pPRtvK","uui-typography-size-14":"a8llmu","uui-typography-size-16":"_4kJ-6w","root":"XvWXc-","button-primary":"zAYsB5","button-secondary":"VUBkUL","hasIcon":"qbU-TP","dropdown":"xev0gJ","uuiTypography":"ggHgN7","heroHeader":"_79Ccxo","promoHeader":"_6V129K","uuiCritical":"_2zRe1O","uuiInfo":"vwMbQK","uuiSuccess":"V1c-nM","uuiWarning":"cZMw8T","uuiHighlight":"-w2WIe","uuiTypographySize12":"pPRtvK","uuiTypographySize14":"a8llmu","uuiTypographySize16":"_4kJ-6w","buttonPrimary":"zAYsB5","buttonSecondary":"VUBkUL"};
|
|
4316
4333
|
|
|
4317
4334
|
const BurgerButton = uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
4318
4335
|
css$c.root,
|
|
@@ -4369,13 +4386,13 @@ var SvgMenuInputCancel = function SvgMenuInputCancel(props, ref) {
|
|
|
4369
4386
|
};
|
|
4370
4387
|
var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgMenuInputCancel);
|
|
4371
4388
|
|
|
4372
|
-
var css$b = {"search-input":"
|
|
4389
|
+
var css$b = {"search-input":"xzx8Ya","searchInput":"xzx8Ya"};
|
|
4373
4390
|
|
|
4374
4391
|
function BurgerSearch(props) {
|
|
4375
4392
|
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(css$b.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$15, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$5 }));
|
|
4376
4393
|
}
|
|
4377
4394
|
|
|
4378
|
-
var css$a = {"root":"
|
|
4395
|
+
var css$a = {"root":"p1ttkk","group-header":"_32purX","group-name":"HfP-22","line":"A8dMrp","groupHeader":"_32purX","groupName":"HfP-22"};
|
|
4379
4396
|
|
|
4380
4397
|
function BurgerGroupHeader(props) {
|
|
4381
4398
|
return (React__namespace.createElement("div", { className: cx__default.default(css$a.root, css$a.groupHeader, 'uui-burger-group-header') },
|
|
@@ -4383,7 +4400,7 @@ function BurgerGroupHeader(props) {
|
|
|
4383
4400
|
React__namespace.createElement("span", { className: css$a.groupName }, props.caption)));
|
|
4384
4401
|
}
|
|
4385
4402
|
|
|
4386
|
-
var css$9 = {"uui-typography":"
|
|
4403
|
+
var css$9 = {"uui-typography":"ySFhWr","hero-header":"AFZbgU","promo-header":"_-2NYfh","uui-critical":"avC5ko","uui-info":"wh5Lyg","uui-success":"n2kNYO","uui-warning":"Hp0TEw","uui-highlight":"BlCAbC","uui-typography-size-12":"GSRXNZ","uui-typography-size-14":"u6q7d0","uui-typography-size-16":"_23KQvb","root":"z0Geru","type-primary":"GipQ-S","type-secondary":"OStQ5T","uuiTypography":"ySFhWr","heroHeader":"AFZbgU","promoHeader":"_-2NYfh","uuiCritical":"avC5ko","uuiInfo":"wh5Lyg","uuiSuccess":"n2kNYO","uuiWarning":"Hp0TEw","uuiHighlight":"BlCAbC","uuiTypographySize12":"GSRXNZ","uuiTypographySize14":"u6q7d0","uuiTypographySize16":"_23KQvb","typePrimary":"GipQ-S","typeSecondary":"OStQ5T"};
|
|
4387
4404
|
|
|
4388
4405
|
var _path$4;
|
|
4389
4406
|
function _extends$4() { _extends$4 = 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$4.apply(this, arguments); }
|
|
@@ -4403,7 +4420,7 @@ var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgChevronDown24);
|
|
|
4403
4420
|
|
|
4404
4421
|
const MainMenuButton = uuiCore.withMods(uuiComponents.Button, (mods) => [css$9.root, css$9['type-' + (mods.type || 'primary')]], () => ({ dropdownIcon: ForwardRef$4, role: 'menuitem' }));
|
|
4405
4422
|
|
|
4406
|
-
var css$8 = {"dropdown-body":"
|
|
4423
|
+
var css$8 = {"dropdown-body":"_7K-F-h","dropdownBody":"_7K-F-h"};
|
|
4407
4424
|
|
|
4408
4425
|
class MainMenuDropdown extends React__namespace.Component {
|
|
4409
4426
|
render() {
|
|
@@ -4457,12 +4474,12 @@ var SvgGlobalMenu = function SvgGlobalMenu(props, ref) {
|
|
|
4457
4474
|
};
|
|
4458
4475
|
var ForwardRef$3 = /*#__PURE__*/React.forwardRef(SvgGlobalMenu);
|
|
4459
4476
|
|
|
4460
|
-
var css$7 = {"global-menu-btn":"
|
|
4477
|
+
var css$7 = {"global-menu-btn":"_8DGwyV","globalMenuIcon":"yp2fzd","globalMenuBtn":"_8DGwyV"};
|
|
4461
4478
|
|
|
4462
4479
|
const GlobalMenu = React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", Object.assign({ ref: ref, id: "global_menu_toggle", className: cx__default.default(css$7.globalMenuBtn, props.cx) }, props.rawProps),
|
|
4463
4480
|
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$3, cx: css$7.globalMenuIcon }))));
|
|
4464
4481
|
|
|
4465
|
-
var css$6 = {"container":"
|
|
4482
|
+
var css$6 = {"container":"iuDvmZ","open":"vxl4GE"};
|
|
4466
4483
|
|
|
4467
4484
|
const MainMenuAvatar = React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, className: cx__default.default(css$6.container, props.isDropdown && css$6.dropdown, props.isOpen && css$6.open, props.onClick && uuiCore.uuiMarkers.clickable, props.cx), onClick: props.onClick },
|
|
4468
4485
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -4470,18 +4487,18 @@ const MainMenuAvatar = React__namespace.forwardRef((props, ref) => (React__names
|
|
|
4470
4487
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
4471
4488
|
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$1b, flipY: props.isOpen }))))));
|
|
4472
4489
|
|
|
4473
|
-
var css$5 = {"search-input":"
|
|
4490
|
+
var css$5 = {"search-input":"K00elx","searchInput":"K00elx"};
|
|
4474
4491
|
|
|
4475
4492
|
const MainMenuSearch = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
4476
4493
|
var _a;
|
|
4477
4494
|
return (React__namespace.createElement(uuiComponents.TextInput, Object.assign({ iconPosition: "left", icon: ForwardRef$15, cancelIcon: ((_a = props.value) === null || _a === void 0 ? void 0 : _a.length) > 0 && ForwardRef$5 }, props, iEditable, { ref: ref, cx: uuiCore.cx(css$5.searchInput, props.cx) }, props.rawProps)));
|
|
4478
4495
|
} }))));
|
|
4479
4496
|
|
|
4480
|
-
var css$4 = {"container":"
|
|
4497
|
+
var css$4 = {"container":"g04zUX"};
|
|
4481
4498
|
|
|
4482
4499
|
const MainMenuIcon = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(IconButton, Object.assign({ ref: ref, icon: props.icon, cx: uuiCore.cx(props.cx, css$4.container) }, props))));
|
|
4483
4500
|
|
|
4484
|
-
var css$3 = {"root":"
|
|
4501
|
+
var css$3 = {"root":"IhbvoF"};
|
|
4485
4502
|
|
|
4486
4503
|
const Anchor = uuiCore.withMods(uuiComponents.Anchor, () => [css$3.root]);
|
|
4487
4504
|
|
|
@@ -4538,7 +4555,7 @@ var SvgShape = function SvgShape(props, ref) {
|
|
|
4538
4555
|
};
|
|
4539
4556
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgShape);
|
|
4540
4557
|
|
|
4541
|
-
var css$2 = {"root":"
|
|
4558
|
+
var css$2 = {"root":"pt0u-T","drop-start":"gPUPhf","drop-over":"nCvyDJ","link":"cuHkKB","drop-area":"qcl7kC","icon-blue":"t-Vtl9","dropStart":"gPUPhf","dropOver":"nCvyDJ","dropArea":"qcl7kC","iconBlue":"t-Vtl9"};
|
|
4542
4559
|
|
|
4543
4560
|
class DropSpot extends React__namespace.Component {
|
|
4544
4561
|
constructor() {
|
|
@@ -4562,9 +4579,9 @@ class DropSpot extends React__namespace.Component {
|
|
|
4562
4579
|
}
|
|
4563
4580
|
}
|
|
4564
4581
|
|
|
4565
|
-
var css$1 = {"root":"
|
|
4582
|
+
var css$1 = {"root":"Fi3Chr","file-name":"DAKHz-","default-color":"upoYsa","doc-color":"V2Uj0i","xls-color":"taK17-","pdf-color":"_--9KDI","movie-color":"Z9lEPK","img-color":"XFZ4pJ","mov-color":"-hiF4z","error-block":"EcQ5z-","icons-block":"IY2OsI","fileName":"DAKHz-","defaultColor":"upoYsa","docColor":"V2Uj0i","xlsColor":"taK17-","pdfColor":"_--9KDI","movieColor":"Z9lEPK","imgColor":"XFZ4pJ","movColor":"-hiF4z","errorBlock":"EcQ5z-","iconsBlock":"IY2OsI"};
|
|
4566
4583
|
|
|
4567
|
-
var css = {"root":"
|
|
4584
|
+
var css = {"root":"v9PcwT"};
|
|
4568
4585
|
|
|
4569
4586
|
const SvgCircleProgress = React__namespace.forwardRef((props, ref) => {
|
|
4570
4587
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -4809,6 +4826,7 @@ exports.allButtonFills = allButtonFills;
|
|
|
4809
4826
|
exports.allEpamBadgeSemanticColors = allEpamBadgeSemanticColors;
|
|
4810
4827
|
exports.allFillStyles = allFillStyles;
|
|
4811
4828
|
exports.allFontStyles = allFontStyles;
|
|
4829
|
+
exports.allFontWeights = allFontWeights;
|
|
4812
4830
|
exports.allIconColors = allIconColors;
|
|
4813
4831
|
exports.allLinkButtonColors = allLinkButtonColors;
|
|
4814
4832
|
exports.allRowSizes = allRowSizes;
|