@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.esm.js
CHANGED
|
@@ -572,23 +572,23 @@ const systemIcons = {
|
|
|
572
572
|
},
|
|
573
573
|
};
|
|
574
574
|
|
|
575
|
-
var css$
|
|
575
|
+
var css$1m = {"root":"WpCPUn"};
|
|
576
576
|
|
|
577
|
-
const AvatarStack = withMods(AvatarStack$1, () => [css$
|
|
577
|
+
const AvatarStack = withMods(AvatarStack$1, () => [css$1m.root]);
|
|
578
578
|
|
|
579
|
-
var css$
|
|
579
|
+
var css$1l = {"root":"u99aR-","size-24":"GmWBkg","size-18":"YJZt1K","size-12":"-ZANQZ","size24":"GmWBkg","size18":"YJZt1K","size12":"-ZANQZ"};
|
|
580
580
|
|
|
581
581
|
const CountIndicator = forwardRef((props, ref) => {
|
|
582
582
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
583
|
-
css$
|
|
583
|
+
css$1l.root,
|
|
584
584
|
'uui-count_indicator',
|
|
585
|
-
css$
|
|
585
|
+
css$1l[`size-${props.size || 24}`],
|
|
586
586
|
props.color && `uui-color-${props.color}`,
|
|
587
587
|
props.cx,
|
|
588
588
|
]) }, props.caption));
|
|
589
589
|
});
|
|
590
590
|
|
|
591
|
-
var css$
|
|
591
|
+
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"};
|
|
592
592
|
|
|
593
593
|
const defaultSize$b = '36';
|
|
594
594
|
const mapSize$1 = {
|
|
@@ -602,8 +602,8 @@ const mapSize$1 = {
|
|
|
602
602
|
function applyBadgeMods(mods) {
|
|
603
603
|
return [
|
|
604
604
|
'uui-badge',
|
|
605
|
-
css$
|
|
606
|
-
css$
|
|
605
|
+
css$1k.root,
|
|
606
|
+
css$1k['size-' + (mods.size || defaultSize$b)],
|
|
607
607
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
608
608
|
mods.color && `uui-color-${mods.color}`,
|
|
609
609
|
mods.indicator && 'uui-indicator',
|
|
@@ -636,7 +636,7 @@ const Badge = withMods(Button$1, applyBadgeMods, (props) => {
|
|
|
636
636
|
};
|
|
637
637
|
});
|
|
638
638
|
|
|
639
|
-
var css$
|
|
639
|
+
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"};
|
|
640
640
|
|
|
641
641
|
const defaultSize$a = '36';
|
|
642
642
|
const mapSize = {
|
|
@@ -657,8 +657,8 @@ const mapCountIndicatorSizes = {
|
|
|
657
657
|
};
|
|
658
658
|
function applyTagMods(mods) {
|
|
659
659
|
return [
|
|
660
|
-
css$
|
|
661
|
-
css$
|
|
660
|
+
css$1j['size-' + (mods.size || defaultSize$a)],
|
|
661
|
+
css$1j.root,
|
|
662
662
|
'uui-color-neutral',
|
|
663
663
|
'uui-tag',
|
|
664
664
|
];
|
|
@@ -669,14 +669,14 @@ const Tag = withMods(Button$1, applyTagMods, (props) => ({
|
|
|
669
669
|
countIndicator: (countIndicatorProps) => (React__default.createElement(CountIndicator, Object.assign({}, countIndicatorProps, { color: "white", size: mapCountIndicatorSizes[props.size || defaultSize$a] }))),
|
|
670
670
|
}));
|
|
671
671
|
|
|
672
|
-
var css$
|
|
672
|
+
var css$1i = {"root":"zKvhc5","uui-spinner":"uvepoX","uuiSpinner":"uvepoX"};
|
|
673
673
|
|
|
674
674
|
function applySpinnerMods() {
|
|
675
|
-
return [css$
|
|
675
|
+
return [css$1i.root, 'uui-spinner'];
|
|
676
676
|
}
|
|
677
677
|
const Spinner = withMods(Spinner$1, applySpinnerMods);
|
|
678
678
|
|
|
679
|
-
var css$
|
|
679
|
+
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"};
|
|
680
680
|
|
|
681
681
|
var _path$M;
|
|
682
682
|
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); }
|
|
@@ -749,57 +749,57 @@ var ForwardRef$L = /*#__PURE__*/forwardRef(SvgNavigationChevronRight18);
|
|
|
749
749
|
function Paginator(props) {
|
|
750
750
|
const renderPaginator = (params) => {
|
|
751
751
|
var _a, _b;
|
|
752
|
-
return (React__default.createElement("nav", Object.assign({ role: "navigation", className: cx(css$
|
|
753
|
-
React__default.createElement(Button, { cx: css$
|
|
752
|
+
return (React__default.createElement("nav", Object.assign({ role: "navigation", className: cx(css$1h.root, 'uui-paginator') }, params.rawProps),
|
|
753
|
+
React__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" }),
|
|
754
754
|
params.pages.map((page, index) => {
|
|
755
755
|
var _a, _b;
|
|
756
756
|
if (page.type === 'spacer') {
|
|
757
|
-
return (React__default.createElement(Button, { cx: cx(css$
|
|
757
|
+
return (React__default.createElement(Button, { cx: cx(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 }));
|
|
758
758
|
}
|
|
759
759
|
else {
|
|
760
|
-
return (React__default.createElement(Button, { cx: cx(css$
|
|
760
|
+
return (React__default.createElement(Button, { cx: cx(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" }));
|
|
761
761
|
}
|
|
762
762
|
}),
|
|
763
|
-
React__default.createElement(Button, { cx: css$
|
|
763
|
+
React__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" })));
|
|
764
764
|
};
|
|
765
765
|
return React__default.createElement(Paginator$1, Object.assign({}, props, { render: renderPaginator }));
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
var css$
|
|
768
|
+
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"};
|
|
769
769
|
|
|
770
770
|
const IndeterminateBar = React.forwardRef((props, ref) => {
|
|
771
|
-
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$
|
|
772
|
-
React.createElement("div", { className: cx(css$
|
|
771
|
+
return (React.createElement("div", { ref: ref, className: cx('uui-indeterminate_bar', props.cx, css$1g.root, css$1g[`size-${props.size || 12}`]) },
|
|
772
|
+
React.createElement("div", { className: cx(css$1g.progressBar) })));
|
|
773
773
|
});
|
|
774
774
|
|
|
775
|
-
var css$
|
|
775
|
+
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"};
|
|
776
776
|
|
|
777
777
|
const defaultSize$9 = '12';
|
|
778
778
|
function applyProgressBarMods(mods) {
|
|
779
779
|
const size = mods.size || defaultSize$9;
|
|
780
780
|
return [
|
|
781
|
-
css$
|
|
782
|
-
css$
|
|
783
|
-
mods.striped && css$
|
|
781
|
+
css$1f.root,
|
|
782
|
+
css$1f[`size-${size}`],
|
|
783
|
+
mods.striped && css$1f.striped,
|
|
784
784
|
];
|
|
785
785
|
}
|
|
786
786
|
const ProgressBar = withMods(ProgressBar$1, applyProgressBarMods, (props) => ({
|
|
787
787
|
hideLabel: props.hideLabel || props.striped,
|
|
788
788
|
}));
|
|
789
789
|
|
|
790
|
-
var css$
|
|
790
|
+
var css$1e = {"root":"aU8Czc"};
|
|
791
791
|
|
|
792
792
|
const IndicatorBar = React.forwardRef((props, ref) => {
|
|
793
793
|
const { progress } = props;
|
|
794
|
-
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$
|
|
794
|
+
return progress || progress === 0 ? (React.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx(css$1e.root, props.cx), hideLabel: true })) : (React.createElement(IndeterminateBar, { ref: ref, cx: cx(css$1e.root, props.cx) }));
|
|
795
795
|
});
|
|
796
796
|
|
|
797
|
-
var css$
|
|
797
|
+
var css$1d = {"root":"eT7zr2","size-12":"_9cjTxF","size-18":"bV9Zus","size-24":"uy0d8F","size12":"_9cjTxF","size18":"bV9Zus","size24":"uy0d8F"};
|
|
798
798
|
|
|
799
799
|
const StatusIndicator = forwardRef((props, ref) => {
|
|
800
800
|
return (React__default.createElement("div", { ref: ref, className: cx([
|
|
801
|
-
css$
|
|
802
|
-
css$
|
|
801
|
+
css$1d.root,
|
|
802
|
+
css$1d[`size-${props.size || 24}`],
|
|
803
803
|
'uui-status_indicator',
|
|
804
804
|
`uui-color-${props.color || 'neutral'}`,
|
|
805
805
|
`uui-fill-${props.fill || 'solid'}`,
|
|
@@ -809,7 +809,7 @@ const StatusIndicator = forwardRef((props, ref) => {
|
|
|
809
809
|
React__default.createElement("p", { className: "uui-status_indicator_caption" }, props.caption)));
|
|
810
810
|
});
|
|
811
811
|
|
|
812
|
-
var css$
|
|
812
|
+
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"};
|
|
813
813
|
|
|
814
814
|
const allButtonColors = [
|
|
815
815
|
'accent', 'primary', 'critical', 'secondary', 'neutral',
|
|
@@ -817,11 +817,11 @@ const allButtonColors = [
|
|
|
817
817
|
const defaultSize$8 = '36';
|
|
818
818
|
function applyButtonMods(mods) {
|
|
819
819
|
return [
|
|
820
|
-
css$
|
|
820
|
+
css$1c.root,
|
|
821
821
|
'uui-button',
|
|
822
822
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
823
823
|
`uui-color-${mods.color || 'primary'}`,
|
|
824
|
-
|
|
824
|
+
`uui-size-${mods.size || defaultSize$8}`,
|
|
825
825
|
];
|
|
826
826
|
}
|
|
827
827
|
const Button = withMods(Button$1, applyButtonMods, (props) => ({
|
|
@@ -830,17 +830,17 @@ const Button = withMods(Button$1, applyButtonMods, (props) => ({
|
|
|
830
830
|
countIndicator: (countIndicatorProps) => React__default.createElement(CountIndicator, Object.assign({}, countIndicatorProps, { color: "white" })),
|
|
831
831
|
}));
|
|
832
832
|
|
|
833
|
-
var css$
|
|
833
|
+
var css$1b = {"root":"S5HIHN"};
|
|
834
834
|
|
|
835
835
|
const allIconColors = [
|
|
836
836
|
'info', 'success', 'warning', 'error', 'secondary', 'neutral',
|
|
837
837
|
];
|
|
838
838
|
function applyIconButtonMods(mods) {
|
|
839
|
-
return ['uui-icon_button', `uui-color-${mods.color || 'neutral'}`, css$
|
|
839
|
+
return ['uui-icon_button', `uui-color-${mods.color || 'neutral'}`, css$1b.root];
|
|
840
840
|
}
|
|
841
841
|
const IconButton = withMods(IconButton$1, applyIconButtonMods);
|
|
842
842
|
|
|
843
|
-
var css$
|
|
843
|
+
var css$1a = {"root":"hG6Q-Y"};
|
|
844
844
|
|
|
845
845
|
function getIconClass(props) {
|
|
846
846
|
const classList = {
|
|
@@ -864,8 +864,8 @@ const allLinkButtonColors = ['primary', 'secondary', 'contrast'];
|
|
|
864
864
|
function applyLinkButtonMods(mods) {
|
|
865
865
|
return [
|
|
866
866
|
'uui-link_button',
|
|
867
|
-
css$
|
|
868
|
-
|
|
867
|
+
css$1a.root,
|
|
868
|
+
`uui-size-${mods.size || defaultSize$7}`,
|
|
869
869
|
...getIconClass(mods),
|
|
870
870
|
`uui-color-${mods.color || 'primary'}`,
|
|
871
871
|
];
|
|
@@ -875,23 +875,23 @@ const LinkButton = withMods(Button$1, applyLinkButtonMods, (props) => ({
|
|
|
875
875
|
clearIcon: systemIcons[props.size || defaultSize$7].clear,
|
|
876
876
|
}));
|
|
877
877
|
|
|
878
|
-
var css$
|
|
878
|
+
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"};
|
|
879
879
|
|
|
880
880
|
function applyTabButtonMods(mods) {
|
|
881
881
|
return [
|
|
882
|
-
css$
|
|
882
|
+
css$19.root,
|
|
883
883
|
'uui-tab-button',
|
|
884
|
-
css$
|
|
885
|
-
mods.withNotify && css$
|
|
884
|
+
css$19['size-' + (mods.size || '48')],
|
|
885
|
+
mods.withNotify && css$19.withNotify,
|
|
886
886
|
...getIconClass(mods),
|
|
887
887
|
];
|
|
888
888
|
}
|
|
889
889
|
const TabButton = withMods(Button$1, 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__default.createElement(CountIndicator, Object.assign({}, countIndicatorProps, { color: props.isLinkActive ? 'info' : 'neutral', size: "18" }))) })));
|
|
890
890
|
|
|
891
|
-
var css$
|
|
891
|
+
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"};
|
|
892
892
|
|
|
893
893
|
function applyVerticalTabButtonMods() {
|
|
894
|
-
return [css$
|
|
894
|
+
return [css$18.root];
|
|
895
895
|
}
|
|
896
896
|
const VerticalTabButton = withMods(TabButton, applyVerticalTabButtonMods);
|
|
897
897
|
|
|
@@ -915,7 +915,10 @@ const allTextSizes = [
|
|
|
915
915
|
'18', '24', '30', '36', '48',
|
|
916
916
|
];
|
|
917
917
|
const allFontStyles = [
|
|
918
|
-
'
|
|
918
|
+
'normal', 'italic',
|
|
919
|
+
];
|
|
920
|
+
const allFontWeights = [
|
|
921
|
+
'200', '300', '400', '600', '700', '900',
|
|
919
922
|
];
|
|
920
923
|
var EditMode;
|
|
921
924
|
(function (EditMode) {
|
|
@@ -988,13 +991,13 @@ var SvgPartlySelect18 = function SvgPartlySelect18(props, ref) {
|
|
|
988
991
|
};
|
|
989
992
|
var ForwardRef$H = /*#__PURE__*/forwardRef(SvgPartlySelect18);
|
|
990
993
|
|
|
991
|
-
var css$
|
|
994
|
+
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"};
|
|
992
995
|
|
|
993
996
|
function applyCheckboxMods(mods) {
|
|
994
997
|
return [
|
|
995
|
-
css$
|
|
996
|
-
css$
|
|
997
|
-
css$
|
|
998
|
+
css$17.root,
|
|
999
|
+
css$17['size-' + (mods.size || '18')],
|
|
1000
|
+
css$17['mode-' + (mods.mode || 'form')],
|
|
998
1001
|
'uui-color-primary',
|
|
999
1002
|
];
|
|
1000
1003
|
}
|
|
@@ -1004,7 +1007,7 @@ const applyUUICheckboxProps = (props) => ({
|
|
|
1004
1007
|
});
|
|
1005
1008
|
const Checkbox = withMods(uuiComponents.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
1006
1009
|
|
|
1007
|
-
var css$
|
|
1010
|
+
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"};
|
|
1008
1011
|
|
|
1009
1012
|
var _circle;
|
|
1010
1013
|
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); }
|
|
@@ -1024,15 +1027,15 @@ var SvgRadioPoint = function SvgRadioPoint(props, ref) {
|
|
|
1024
1027
|
var ForwardRef$G = /*#__PURE__*/forwardRef(SvgRadioPoint);
|
|
1025
1028
|
|
|
1026
1029
|
function applyRadioInputMods(mods) {
|
|
1027
|
-
return [css$
|
|
1030
|
+
return [css$16.root, css$16['size-' + (mods.size || '18')], 'uui-color-primary'];
|
|
1028
1031
|
}
|
|
1029
1032
|
const RadioInput = withMods(RadioInput$1, applyRadioInputMods, () => ({ icon: ForwardRef$G }));
|
|
1030
1033
|
|
|
1031
|
-
var css$
|
|
1034
|
+
var css$15 = {"root":"LpFGKP","size-12":"i4Db4Y","size-18":"_9Wddb-","size-24":"QtSKEG","size12":"i4Db4Y","size18":"_9Wddb-","size24":"QtSKEG"};
|
|
1032
1035
|
|
|
1033
1036
|
function applySwitchMods(mods) {
|
|
1034
1037
|
return [
|
|
1035
|
-
css$
|
|
1038
|
+
css$15.root, css$15['size-' + (mods.size || '18')], 'uui-color-primary',
|
|
1036
1039
|
];
|
|
1037
1040
|
}
|
|
1038
1041
|
const Switch = withMods(uuiComponents.Switch, applySwitchMods);
|
|
@@ -1081,7 +1084,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
1081
1084
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1082
1085
|
};
|
|
1083
1086
|
|
|
1084
|
-
var textInputCss = {"uui-typography":"
|
|
1087
|
+
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"};
|
|
1085
1088
|
|
|
1086
1089
|
const defaultSize$6 = '36';
|
|
1087
1090
|
const defaultMode$5 = EditMode.FORM;
|
|
@@ -1110,22 +1113,22 @@ const SearchInput = React__default.forwardRef((props, ref) => {
|
|
|
1110
1113
|
: undefined, type: "search", inputMode: "search", ref: ref }, textInputProps, iEditable))) })));
|
|
1111
1114
|
});
|
|
1112
1115
|
|
|
1113
|
-
var css$
|
|
1116
|
+
var css$14 = {"root":"hZ-9cH"};
|
|
1114
1117
|
|
|
1115
|
-
const ControlGroup = withMods(ControlGroup$1, () => [css$
|
|
1118
|
+
const ControlGroup = withMods(ControlGroup$1, () => [css$14.root]);
|
|
1116
1119
|
|
|
1117
1120
|
function MultiSwitchComponent(props, ref) {
|
|
1118
|
-
return (React.createElement(ControlGroup, { ref: ref, rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'tablist' }) }, props.items.map((item, index) => (React.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
|
|
1121
|
+
return (React.createElement(ControlGroup, { ref: ref, rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'tablist' }) }, props.items.map((item, index) => (React.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' } }))))));
|
|
1119
1122
|
}
|
|
1120
1123
|
const MultiSwitch = React.forwardRef(MultiSwitchComponent);
|
|
1121
1124
|
|
|
1122
|
-
var css$
|
|
1125
|
+
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"};
|
|
1123
1126
|
|
|
1124
1127
|
const defaultSize$5 = '36';
|
|
1125
1128
|
const defaultMode$4 = EditMode.FORM;
|
|
1126
1129
|
function applyNumericInputMods(mods) {
|
|
1127
1130
|
return [
|
|
1128
|
-
textInputCss.root, css$
|
|
1131
|
+
textInputCss.root, css$13.root, css$13['size-' + (mods.size || defaultSize$5)], textInputCss['size-' + (mods.size || defaultSize$5)], textInputCss['mode-' + (mods.mode || defaultMode$4)],
|
|
1129
1132
|
];
|
|
1130
1133
|
}
|
|
1131
1134
|
const NumericInput = withMods(NumericInput$1, applyNumericInputMods, (props) => {
|
|
@@ -1138,13 +1141,13 @@ const NumericInput = withMods(NumericInput$1, applyNumericInputMods, (props) =>
|
|
|
1138
1141
|
});
|
|
1139
1142
|
});
|
|
1140
1143
|
|
|
1141
|
-
var css$
|
|
1144
|
+
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"};
|
|
1142
1145
|
|
|
1143
1146
|
const defaultSize$4 = '36';
|
|
1144
1147
|
const defaultMode$3 = EditMode.FORM;
|
|
1145
1148
|
function applyTextAreaMods(mods) {
|
|
1146
1149
|
return [
|
|
1147
|
-
css$
|
|
1150
|
+
css$12.root, css$12['size-' + (mods.size || defaultSize$4)], css$12['mode-' + (mods.mode || defaultMode$3)],
|
|
1148
1151
|
];
|
|
1149
1152
|
}
|
|
1150
1153
|
const TextArea = withMods(TextArea$1, applyTextAreaMods, (props) => ({
|
|
@@ -1152,20 +1155,20 @@ const TextArea = withMods(TextArea$1, applyTextAreaMods, (props) => ({
|
|
|
1152
1155
|
maxLength: props.mode === EditMode.CELL ? undefined : props.maxLength,
|
|
1153
1156
|
}));
|
|
1154
1157
|
|
|
1155
|
-
var css$
|
|
1158
|
+
var css$11 = {"root":"JqMmn5"};
|
|
1156
1159
|
|
|
1157
1160
|
function applyDropdownContainerMods(mods) {
|
|
1158
1161
|
return [
|
|
1159
|
-
css$
|
|
1162
|
+
css$11.root,
|
|
1160
1163
|
mods.vPadding && `vPadding-${mods.vPadding}`,
|
|
1161
1164
|
mods.padding && `padding-${mods.padding}`,
|
|
1162
1165
|
];
|
|
1163
1166
|
}
|
|
1164
1167
|
const DropdownContainer = withMods(uuiComponents.DropdownContainer, applyDropdownContainerMods);
|
|
1165
1168
|
|
|
1166
|
-
var css$
|
|
1169
|
+
var css$10 = {"root":"P5QrwQ","timepicker-input":"_79C3uW","timepickerInput":"_79C3uW"};
|
|
1167
1170
|
|
|
1168
|
-
const TimePickerBody = withMods(TimePickerBody$1, () => [css$
|
|
1171
|
+
const TimePickerBody = withMods(TimePickerBody$1, () => [css$10.root], () => ({ addIcon: ForwardRef$1b, subtractIcon: ForwardRef$1b }));
|
|
1169
1172
|
|
|
1170
1173
|
dayjs.extend(customParseFormat);
|
|
1171
1174
|
const defaultMode$2 = EditMode.FORM;
|
|
@@ -1185,7 +1188,7 @@ class TimePicker extends BaseTimePicker {
|
|
|
1185
1188
|
});
|
|
1186
1189
|
}
|
|
1187
1190
|
}
|
|
1188
|
-
return (React__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$
|
|
1191
|
+
return (React__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 })));
|
|
1189
1192
|
};
|
|
1190
1193
|
this.renderBody = (props) => {
|
|
1191
1194
|
var _a;
|
|
@@ -1195,23 +1198,23 @@ class TimePicker extends BaseTimePicker {
|
|
|
1195
1198
|
}
|
|
1196
1199
|
}
|
|
1197
1200
|
|
|
1198
|
-
var css
|
|
1201
|
+
var css$$ = {"root":"mPfRLD"};
|
|
1199
1202
|
|
|
1200
1203
|
function applyInputAddonMods() {
|
|
1201
1204
|
return [
|
|
1202
|
-
css
|
|
1205
|
+
css$$.root,
|
|
1203
1206
|
];
|
|
1204
1207
|
}
|
|
1205
1208
|
const InputAddon = withMods(InputAddon$1, applyInputAddonMods);
|
|
1206
1209
|
|
|
1207
|
-
var css
|
|
1210
|
+
var css$_ = {"root":"_9nTVGr"};
|
|
1208
1211
|
|
|
1209
1212
|
function applySliderMods() {
|
|
1210
|
-
return [css
|
|
1213
|
+
return [css$_.root, 'uui-color-neutral'];
|
|
1211
1214
|
}
|
|
1212
1215
|
const Slider = withMods(Slider$1, applySliderMods);
|
|
1213
1216
|
|
|
1214
|
-
var css$
|
|
1217
|
+
var css$Z = {"container":"ksPHbs"};
|
|
1215
1218
|
|
|
1216
1219
|
dayjs.extend(localeData);
|
|
1217
1220
|
const uuiHeader = {
|
|
@@ -1286,21 +1289,21 @@ function DatePickerHeader(props) {
|
|
|
1286
1289
|
var _a, _b, _c;
|
|
1287
1290
|
return `${((_a = props.value) === null || _a === void 0 ? void 0 : _a.view) !== 'MONTH_SELECTION' ? dayjs.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()}`;
|
|
1288
1291
|
}, [(_a = props.value) === null || _a === void 0 ? void 0 : _a.view, (_b = props.value) === null || _b === void 0 ? void 0 : _b.displayedDate]);
|
|
1289
|
-
return (React.createElement("div", { className: cx(css$
|
|
1292
|
+
return (React.createElement("div", { className: cx(css$Z.container, uuiHeader.container, props.cx) },
|
|
1290
1293
|
React.createElement("header", { className: uuiHeader.header },
|
|
1291
1294
|
React.createElement(Button, { icon: props.navIconLeft || ForwardRef$M, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: () => onLeftNavigationArrow() }),
|
|
1292
1295
|
React.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: () => onCaptionClick(props.value.view) }),
|
|
1293
1296
|
React.createElement(Button, { icon: props.navIconRight || ForwardRef$L, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: () => onRightNavigationArrow() }))));
|
|
1294
1297
|
}
|
|
1295
1298
|
|
|
1296
|
-
var css$
|
|
1299
|
+
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"};
|
|
1297
1300
|
|
|
1298
1301
|
function applyDateSelectionMods() {
|
|
1299
|
-
return [css$
|
|
1302
|
+
return [css$Y.root];
|
|
1300
1303
|
}
|
|
1301
1304
|
const Calendar = withMods(Calendar$1, applyDateSelectionMods);
|
|
1302
1305
|
|
|
1303
|
-
var css$
|
|
1306
|
+
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"};
|
|
1304
1307
|
|
|
1305
1308
|
dayjs.extend(updateLocale);
|
|
1306
1309
|
const uuiDatePickerBody = {
|
|
@@ -1328,7 +1331,7 @@ class DatePickerBody extends DatePickerBodyBase {
|
|
|
1328
1331
|
}
|
|
1329
1332
|
};
|
|
1330
1333
|
this.renderBody = () => {
|
|
1331
|
-
return (React.createElement("div", { className: cx$1(css$
|
|
1334
|
+
return (React.createElement("div", { className: cx$1(css$X.root, uuiDatePickerBody.wrapper, this.props.cx) },
|
|
1332
1335
|
React.createElement(DatePickerHeader, { value: this.props.value, onValueChange: (newValue) => this.props.setDisplayedDateAndView(newValue.displayedDate, newValue.view) }),
|
|
1333
1336
|
this.getView()));
|
|
1334
1337
|
};
|
|
@@ -1417,16 +1420,16 @@ var SvgNavigationClose24$1 = function SvgNavigationClose24(props, ref) {
|
|
|
1417
1420
|
};
|
|
1418
1421
|
var ForwardRef$B = /*#__PURE__*/forwardRef(SvgNavigationClose24$1);
|
|
1419
1422
|
|
|
1420
|
-
var css$
|
|
1423
|
+
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"};
|
|
1421
1424
|
|
|
1422
|
-
const Alert = React.forwardRef((props, ref) => (React.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx('uui-alert', css$
|
|
1423
|
-
React.createElement("div", { className: css$
|
|
1424
|
-
props.icon && (React.createElement("div", { className: css$
|
|
1425
|
-
React.createElement(IconContainer, { icon: props.icon, cx: css$
|
|
1426
|
-
React.createElement("div", { className: css$
|
|
1425
|
+
const Alert = React.forwardRef((props, ref) => (React.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx('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),
|
|
1426
|
+
React.createElement("div", { className: css$W.mainPath },
|
|
1427
|
+
props.icon && (React.createElement("div", { className: css$W.iconWrapper },
|
|
1428
|
+
React.createElement(IconContainer, { icon: props.icon, cx: css$W.actionIcon }))),
|
|
1429
|
+
React.createElement("div", { className: css$W.content },
|
|
1427
1430
|
props.children,
|
|
1428
|
-
props.actions && (React.createElement("div", { className: css$
|
|
1429
|
-
props.onClose && React.createElement(IconButton, { icon: ForwardRef$B, color: "neutral", onClick: props.onClose, cx: css$
|
|
1431
|
+
props.actions && (React.createElement("div", { className: css$W.actionWrapper }, props.actions.map((action) => (React.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' })))))),
|
|
1432
|
+
props.onClose && React.createElement(IconButton, { icon: ForwardRef$B, color: "neutral", onClick: props.onClose, cx: css$W.closeIcon })))));
|
|
1430
1433
|
const WarningAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$E, color: "warning", ref: ref }, props)));
|
|
1431
1434
|
const SuccessAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$F, color: "success", ref: ref }, props)));
|
|
1432
1435
|
const HintAlert = React.forwardRef((props, ref) => React.createElement(Alert, Object.assign({ icon: ForwardRef$C, color: "info", ref: ref }, props)));
|
|
@@ -1436,7 +1439,7 @@ function Dropdown(props) {
|
|
|
1436
1439
|
return React.createElement(Dropdown$1, Object.assign({}, props));
|
|
1437
1440
|
}
|
|
1438
1441
|
|
|
1439
|
-
var css$
|
|
1442
|
+
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"};
|
|
1440
1443
|
|
|
1441
1444
|
const icons = systemIcons['36'];
|
|
1442
1445
|
var IDropdownControlKeys;
|
|
@@ -1471,11 +1474,10 @@ function DropdownMenuContainer(props) {
|
|
|
1471
1474
|
props.onClose();
|
|
1472
1475
|
}
|
|
1473
1476
|
};
|
|
1474
|
-
return (React__default.createElement(DropdownContainer, Object.assign({}, props, { rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'menu' }), ref: menuRef, lockProps: { onKeyDown: handleArrowKeys }, cx: css$
|
|
1477
|
+
return (React__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] })));
|
|
1475
1478
|
}
|
|
1476
|
-
const DropdownMenuBody = withMods(DropdownMenuContainer, () => [css$
|
|
1477
|
-
|
|
1478
|
-
return (Object.assign(Object.assign({ closeOnKey: IDropdownControlKeys.ESCAPE }, props), { rawProps: dropdownRawProps || props.rawProps }));
|
|
1479
|
+
const DropdownMenuBody = withMods(DropdownMenuContainer, () => [css$V.bodyRoot], (props) => {
|
|
1480
|
+
return (Object.assign({ closeOnKey: IDropdownControlKeys.ESCAPE }, props));
|
|
1479
1481
|
});
|
|
1480
1482
|
const DropdownMenuButton = React__default.forwardRef((props, ref) => {
|
|
1481
1483
|
const context = useContext(UuiContext);
|
|
@@ -1497,32 +1499,32 @@ const DropdownMenuButton = React__default.forwardRef((props, ref) => {
|
|
|
1497
1499
|
const getMenuButtonContent = () => {
|
|
1498
1500
|
const isIconBefore = Boolean(icon && iconPosition !== 'right');
|
|
1499
1501
|
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
1500
|
-
const iconElement = (React__default.createElement(IconButton, { icon: icon, color: isActive ? 'info' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: cx$1(css$
|
|
1502
|
+
const iconElement = (React__default.createElement(IconButton, { icon: icon, color: isActive ? 'info' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: cx$1(css$V.root, css$V.icon, iconPosition === 'right' ? css$V.iconAfter : css$V.iconBefore) }));
|
|
1501
1503
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1502
1504
|
isIconBefore && iconElement,
|
|
1503
|
-
React__default.createElement(Text$1, { cx: props.indent && css$
|
|
1505
|
+
React__default.createElement(Text$1, { cx: props.indent && css$V.indent }, caption),
|
|
1504
1506
|
isIconAfter && (React__default.createElement(React__default.Fragment, null,
|
|
1505
1507
|
React__default.createElement(FlexSpacer, null),
|
|
1506
1508
|
iconElement))));
|
|
1507
1509
|
};
|
|
1508
1510
|
const isAnchor = Boolean(link || href);
|
|
1509
|
-
const itemClassNames = cx$1(css$
|
|
1510
|
-
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(css$
|
|
1511
|
+
const itemClassNames = cx$1(css$V.root, props.cx, css$V.itemRoot, isDisabled && uuiMod.disabled, isActive && uuiMod.active, isOpen && uuiMod.opened);
|
|
1512
|
+
return isAnchor ? (React__default.createElement(Anchor$1, { cx: cx$1(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__default.createElement(FlexRow$1, { rawProps: {
|
|
1511
1513
|
tabIndex: isDisabled ? -1 : 0,
|
|
1512
1514
|
role: 'menuitem',
|
|
1513
1515
|
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
1514
1516
|
}, cx: itemClassNames, onClick: handleClick, ref: ref },
|
|
1515
1517
|
getMenuButtonContent(),
|
|
1516
|
-
isSelected && React__default.createElement(IconContainer, { icon: icons.accept, cx: cx$1(css$
|
|
1518
|
+
isSelected && React__default.createElement(IconContainer, { icon: icons.accept, cx: cx$1(css$V.root, css$V.selectedCheckmark) })));
|
|
1517
1519
|
});
|
|
1518
1520
|
DropdownMenuButton.displayName = 'DropdownMenuButton';
|
|
1519
1521
|
function DropdownMenuSplitter(props) {
|
|
1520
|
-
return (React__default.createElement("div", { className: cx$1(css$
|
|
1521
|
-
React__default.createElement("hr", { className: css$
|
|
1522
|
+
return (React__default.createElement("div", { className: cx$1(css$V.root, props.cx, css$V.splitterRoot) },
|
|
1523
|
+
React__default.createElement("hr", { className: css$V.splitter })));
|
|
1522
1524
|
}
|
|
1523
1525
|
function DropdownMenuHeader(props) {
|
|
1524
|
-
return (React__default.createElement("div", { className: cx$1('uui-dropdown-menu-header', css$
|
|
1525
|
-
React__default.createElement("span", { className: css$
|
|
1526
|
+
return (React__default.createElement("div", { className: cx$1('uui-dropdown-menu-header', css$V.root, props.cx, css$V.headerRoot) },
|
|
1527
|
+
React__default.createElement("span", { className: css$V.header }, props.caption)));
|
|
1526
1528
|
}
|
|
1527
1529
|
function DropdownSubMenu(props) {
|
|
1528
1530
|
const subMenuModifiers = [
|
|
@@ -1542,7 +1544,7 @@ function DropdownSubMenu(props) {
|
|
|
1542
1544
|
];
|
|
1543
1545
|
return (React__default.createElement(Dropdown$1, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: "right-start", modifiers: subMenuModifiers, renderBody: (dropdownProps) => React__default.createElement(DropdownMenuBody, Object.assign({ closeOnKey: IDropdownControlKeys.LEFT_ARROW }, props, dropdownProps)), renderTarget: (_a) => {
|
|
1544
1546
|
var { toggleDropdownOpening } = _a, targetProps = __rest(_a, ["toggleDropdownOpening"]);
|
|
1545
|
-
return (React__default.createElement(DropdownMenuButton, Object.assign({ cx: cx$1(css$
|
|
1547
|
+
return (React__default.createElement(DropdownMenuButton, Object.assign({ cx: cx$1(css$V.root, css$V.submenuRootItem), icon: icons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props, targetProps)));
|
|
1546
1548
|
} }));
|
|
1547
1549
|
}
|
|
1548
1550
|
function DropdownMenuSwitchButton(props) {
|
|
@@ -1559,38 +1561,38 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1559
1561
|
onHandleValueChange(!isSelected);
|
|
1560
1562
|
}
|
|
1561
1563
|
};
|
|
1562
|
-
return (React__default.createElement(FlexRow$1, { cx: cx$1(props.cx, css$
|
|
1563
|
-
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$
|
|
1564
|
+
return (React__default.createElement(FlexRow$1, { cx: cx$1(props.cx, css$V.itemRoot, isDisabled && uuiMod.disabled), onClick: () => onHandleValueChange(!isSelected), rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
|
|
1565
|
+
icon && React__default.createElement(IconContainer, { icon: icon, cx: css$V.iconBefore }),
|
|
1564
1566
|
React__default.createElement(Text$1, null, caption),
|
|
1565
1567
|
React__default.createElement(FlexSpacer, null),
|
|
1566
1568
|
React__default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1567
1569
|
}
|
|
1568
1570
|
|
|
1569
|
-
var css$
|
|
1571
|
+
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"};
|
|
1570
1572
|
|
|
1571
|
-
const FlexCell = withMods(FlexCell$1, () => [css$
|
|
1573
|
+
const FlexCell = withMods(FlexCell$1, () => [css$U.flexCell]);
|
|
1572
1574
|
|
|
1573
1575
|
const FlexRow = withMods(FlexRow$1, (props) => {
|
|
1574
1576
|
return [
|
|
1575
|
-
css$
|
|
1576
|
-
props.size !== null && css$
|
|
1577
|
-
props.padding && css$
|
|
1578
|
-
props.vPadding && css$
|
|
1579
|
-
props.margin && css$
|
|
1580
|
-
props.topShadow && css$
|
|
1581
|
-
props.borderBottom && css$
|
|
1582
|
-
props.spacing && css$
|
|
1577
|
+
css$U.root,
|
|
1578
|
+
props.size !== null && css$U['size-' + (props.size || '36')],
|
|
1579
|
+
props.padding && css$U['padding-' + props.padding],
|
|
1580
|
+
props.vPadding && css$U['vPadding-' + props.vPadding],
|
|
1581
|
+
props.margin && css$U['margin-' + props.margin],
|
|
1582
|
+
props.topShadow && css$U.topShadow,
|
|
1583
|
+
props.borderBottom && css$U.borderBottom,
|
|
1584
|
+
props.spacing && css$U['spacing-' + props.spacing],
|
|
1583
1585
|
props.background && `uui-color-${props.background}`,
|
|
1584
1586
|
];
|
|
1585
1587
|
});
|
|
1586
1588
|
|
|
1587
|
-
var css$
|
|
1589
|
+
var css$T = {"root":"xwMBvH","margin-24":"_67jcFe","padding-12":"Y4Xapy","padding-24":"MgqIF6","shadow":"_7CqjO5","margin24":"_67jcFe","padding12":"Y4Xapy","padding24":"MgqIF6"};
|
|
1588
1590
|
|
|
1589
1591
|
const Panel = withMods(VPanel, (props) => [
|
|
1590
1592
|
'uui-panel',
|
|
1591
|
-
css$
|
|
1592
|
-
props.shadow && css$
|
|
1593
|
-
props.margin && css$
|
|
1593
|
+
css$T.root,
|
|
1594
|
+
props.shadow && css$T.shadow,
|
|
1595
|
+
props.margin && css$T['margin-' + props.margin],
|
|
1594
1596
|
props.background && `uui-color-${props.background}`,
|
|
1595
1597
|
]);
|
|
1596
1598
|
|
|
@@ -1683,56 +1685,58 @@ const i18n = Object.assign(Object.assign({}, i18n$2), { dataPickerBody: {
|
|
|
1683
1685
|
fileSizeProgress: ' of ',
|
|
1684
1686
|
} });
|
|
1685
1687
|
|
|
1686
|
-
var css$
|
|
1688
|
+
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"};
|
|
1687
1689
|
|
|
1688
1690
|
function applyAccordionMods(mods) {
|
|
1689
1691
|
return [
|
|
1690
|
-
css$
|
|
1691
|
-
css$
|
|
1692
|
-
mods.padding && css$
|
|
1692
|
+
css$S.root,
|
|
1693
|
+
css$S['mode-' + (mods.mode || 'block')],
|
|
1694
|
+
mods.padding && css$S['padding-' + mods.padding],
|
|
1693
1695
|
];
|
|
1694
1696
|
}
|
|
1695
1697
|
const Accordion = withMods(uuiComponents.Accordion, applyAccordionMods, (mods) => ({
|
|
1696
1698
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons[mods.mode === 'block' ? '60' : '30'].foldingArrow,
|
|
1697
1699
|
}));
|
|
1698
1700
|
|
|
1699
|
-
var css$
|
|
1701
|
+
var css$R = {"root":"C8NFEB"};
|
|
1700
1702
|
|
|
1701
1703
|
function applyTooltipMods(mods) {
|
|
1702
1704
|
return [
|
|
1703
|
-
css$
|
|
1704
|
-
`uui-color-${mods.color || '
|
|
1705
|
+
css$R.root,
|
|
1706
|
+
`uui-color-${mods.color || 'inverted'}`,
|
|
1705
1707
|
];
|
|
1706
1708
|
}
|
|
1707
1709
|
const Tooltip = withMods(Tooltip$1, applyTooltipMods);
|
|
1708
1710
|
|
|
1709
|
-
var css$
|
|
1711
|
+
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"};
|
|
1710
1712
|
|
|
1711
1713
|
const defaultSize$3 = '36';
|
|
1712
1714
|
function applyLabeledInputMods(mods) {
|
|
1713
|
-
return [css$
|
|
1715
|
+
return [css$Q.root, css$Q['size-' + (mods.size || defaultSize$3)]];
|
|
1714
1716
|
}
|
|
1715
1717
|
const LabeledInput = withMods(uuiComponents.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
1716
1718
|
Tooltip,
|
|
1717
1719
|
infoIcon: systemIcons[props.size || defaultSize$3].help,
|
|
1718
1720
|
}));
|
|
1719
1721
|
|
|
1720
|
-
var css$
|
|
1722
|
+
var css$P = {"root":"gq0WAo"};
|
|
1721
1723
|
|
|
1722
|
-
const RadioGroup = withMods(RadioGroup$1, () => [css$
|
|
1724
|
+
const RadioGroup = withMods(RadioGroup$1, () => [css$P.root], () => ({ RadioInput }));
|
|
1725
|
+
|
|
1726
|
+
var css$O = {"root":"rd1Yrd"};
|
|
1723
1727
|
|
|
1724
1728
|
function applyScrollBarsMods() {
|
|
1725
1729
|
return [
|
|
1726
|
-
'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
|
|
1730
|
+
css$O.root, 'uui-scroll-bars', 'uui-shadow-top', 'uui-shadow-bottom',
|
|
1727
1731
|
];
|
|
1728
1732
|
}
|
|
1729
1733
|
const ScrollBars = withMods(ScrollBars$1, applyScrollBarsMods);
|
|
1730
1734
|
|
|
1731
|
-
var css$
|
|
1735
|
+
var css$N = {"scroll-container":"_-8COSl","list-container":"_3D3orT","scrollContainer":"_-8COSl","listContainer":"_3D3orT"};
|
|
1732
1736
|
|
|
1733
|
-
var css$
|
|
1737
|
+
var css$M = {"root":"GgJbxy"};
|
|
1734
1738
|
|
|
1735
|
-
const Blocker = withMods(Blocker$1, () => [css$
|
|
1739
|
+
const Blocker = withMods(Blocker$1, () => [css$M.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__default.createElement(Spinner, null)) }));
|
|
1736
1740
|
|
|
1737
1741
|
const VirtualList = React.forwardRef((props, ref) => {
|
|
1738
1742
|
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = useVirtualList({
|
|
@@ -1748,21 +1752,22 @@ const VirtualList = React.forwardRef((props, ref) => {
|
|
|
1748
1752
|
var _a;
|
|
1749
1753
|
return ((_a = props.renderRows) === null || _a === void 0 ? void 0 : _a.call(props, {
|
|
1750
1754
|
listContainerRef, estimatedHeight, offsetY, scrollShadows,
|
|
1751
|
-
})) || (React.createElement("div", { className: css$
|
|
1755
|
+
})) || (React.createElement("div", { className: css$N.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
1752
1756
|
React.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
|
|
1753
1757
|
};
|
|
1758
|
+
const renderView = ({ style }) => (React.createElement(VirtualListView, { isLoading: props.isLoading, style: style, rawProps: props.rawProps }));
|
|
1754
1759
|
const scrollBarsRef = React.useCallback((scrollbars) => {
|
|
1755
1760
|
var _a;
|
|
1756
1761
|
if (!((_a = scrollbars === null || scrollbars === void 0 ? void 0 : scrollbars.container) === null || _a === void 0 ? void 0 : _a.firstChild))
|
|
1757
1762
|
return;
|
|
1758
1763
|
scrollContainerRef.current = scrollbars.container.firstChild;
|
|
1759
1764
|
}, []);
|
|
1760
|
-
return (React.createElement(ScrollBars, { cx: cx$1(css$
|
|
1765
|
+
return (React.createElement(ScrollBars, { cx: cx$1(css$N.scrollContainer, props.cx, {
|
|
1761
1766
|
[uuiMarkers.scrolledLeft]: scrollShadows.horizontalLeft,
|
|
1762
1767
|
[uuiMarkers.scrolledRight]: scrollShadows.horizontalRight,
|
|
1763
1768
|
[uuiMarkers.scrolledTop]: scrollShadows.verticalTop,
|
|
1764
1769
|
[uuiMarkers.scrolledBottom]: scrollShadows.verticalBottom,
|
|
1765
|
-
}), onScroll: handleScroll, renderView:
|
|
1770
|
+
}), onScroll: handleScroll, renderView: renderView, ref: scrollBarsRef }, renderRows()));
|
|
1766
1771
|
});
|
|
1767
1772
|
const VirtualListView = React.forwardRef((props, ref) => {
|
|
1768
1773
|
return (React.createElement(React.Fragment, null,
|
|
@@ -1771,11 +1776,11 @@ const VirtualListView = React.forwardRef((props, ref) => {
|
|
|
1771
1776
|
});
|
|
1772
1777
|
VirtualList.displayName = 'VirtualList';
|
|
1773
1778
|
|
|
1774
|
-
var css$
|
|
1779
|
+
var css$L = {"root":"azTY5J"};
|
|
1775
1780
|
|
|
1776
|
-
const CheckboxGroup = withMods(CheckboxGroup$1, () => [css$
|
|
1781
|
+
const CheckboxGroup = withMods(CheckboxGroup$1, () => [css$L.root], () => ({ CheckboxInput: Checkbox }));
|
|
1777
1782
|
|
|
1778
|
-
var css$
|
|
1783
|
+
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"};
|
|
1779
1784
|
|
|
1780
1785
|
class DataPickerBody extends PickerBodyBase {
|
|
1781
1786
|
constructor() {
|
|
@@ -1787,16 +1792,16 @@ class DataPickerBody extends PickerBodyBase {
|
|
|
1787
1792
|
if (this.props.renderNotFound) {
|
|
1788
1793
|
return this.props.renderNotFound();
|
|
1789
1794
|
}
|
|
1790
|
-
return (React__default.createElement(FlexCell$1, { cx: css$
|
|
1795
|
+
return (React__default.createElement(FlexCell$1, { cx: css$K[`no-found-size-${this.props.searchSize || 36}`], grow: 1, textAlign: "center" },
|
|
1791
1796
|
React__default.createElement(Text, { size: this.props.searchSize || '36' }, i18n.dataPickerBody.noRecordsMessage)));
|
|
1792
1797
|
}
|
|
1793
1798
|
render() {
|
|
1794
1799
|
const searchSize = isMobile() ? '48' : this.props.searchSize || '36';
|
|
1795
1800
|
return (React__default.createElement(React__default.Fragment, null,
|
|
1796
|
-
this.showSearch() && (React__default.createElement("div", { key: "search", className: css$
|
|
1801
|
+
this.showSearch() && (React__default.createElement("div", { key: "search", className: css$K.searchWrapper },
|
|
1797
1802
|
React__default.createElement(FlexCell$1, { grow: 1 },
|
|
1798
1803
|
React__default.createElement(SearchInput, Object.assign({ ref: this.searchRef, placeholder: i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize, debounceDelay: this.props.searchDebounceDelay }))))),
|
|
1799
|
-
React__default.createElement(FlexRow, { key: "body", cx: cx$1(css$
|
|
1804
|
+
React__default.createElement(FlexRow, { key: "body", cx: cx$1(css$K.body, css$K[this.props.editMode], css$K[this.props.selectionMode]), rawProps: { style: { maxHeight: this.props.maxHeight } } }, this.props.rowsCount > 0 ? (React__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()))));
|
|
1800
1805
|
}
|
|
1801
1806
|
}
|
|
1802
1807
|
|
|
@@ -1811,6 +1816,8 @@ function DataPickerFooterImpl(props) {
|
|
|
1811
1816
|
const size = isMobile() ? '48' : props.size || '36';
|
|
1812
1817
|
const switchSize = switchSizes[size];
|
|
1813
1818
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
1819
|
+
const rowsCount = view.getListProps().rowsCount;
|
|
1820
|
+
const isEmptyRowsAndHasNoSelection = (rowsCount === 0 && !hasSelection);
|
|
1814
1821
|
const isSinglePicker = selectionMode === 'single';
|
|
1815
1822
|
const clearAllText = i18n.pickerInput.clearSelectionButton;
|
|
1816
1823
|
const clearSingleText = i18n.pickerInput.clearSelectionButtonSingle;
|
|
@@ -1823,14 +1830,14 @@ function DataPickerFooterImpl(props) {
|
|
|
1823
1830
|
React__default.createElement(FlexCell, { width: "auto", alignSelf: "center" },
|
|
1824
1831
|
view.selectAll && (React__default.createElement(LinkButton, { size: size, caption: hasSelection ? clearAllText : selectAllText, onClick: hasSelection ? clearSelection : () => view.selectAll.onValueChange(true), rawProps: {
|
|
1825
1832
|
'aria-label': hasSelection ? clearAllText : selectAllText,
|
|
1826
|
-
} })),
|
|
1833
|
+
}, isDisabled: isEmptyRowsAndHasNoSelection })),
|
|
1827
1834
|
!view.selectAll && (React__default.createElement(LinkButton, { isDisabled: !hasSelection, size: size, caption: isSinglePicker ? clearSingleText : clearAllText, onClick: clearSelection, rawProps: {
|
|
1828
1835
|
'aria-label': isSinglePicker ? clearSingleText : clearAllText,
|
|
1829
1836
|
} })))));
|
|
1830
1837
|
}
|
|
1831
1838
|
const DataPickerFooter = React__default.memo(DataPickerFooterImpl);
|
|
1832
1839
|
|
|
1833
|
-
var css$
|
|
1840
|
+
var css$J = {"header":"y3pGT2","close":"_7h-wvy"};
|
|
1834
1841
|
|
|
1835
1842
|
var _path$z;
|
|
1836
1843
|
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); }
|
|
@@ -1851,9 +1858,9 @@ var ForwardRef$A = /*#__PURE__*/forwardRef(SvgNavigationClose24);
|
|
|
1851
1858
|
|
|
1852
1859
|
const DataPickerHeaderImpl = (props) => {
|
|
1853
1860
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
1854
|
-
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$
|
|
1855
|
-
React__default.createElement(Text, { size: "48",
|
|
1856
|
-
React__default.createElement(IconButton, { icon: ForwardRef$A, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$
|
|
1861
|
+
return (React__default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$J.header },
|
|
1862
|
+
React__default.createElement(Text, { size: "48", fontWeight: "600" }, title),
|
|
1863
|
+
React__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 })));
|
|
1857
1864
|
};
|
|
1858
1865
|
const DataPickerHeader = React__default.memo(DataPickerHeaderImpl);
|
|
1859
1866
|
|
|
@@ -1874,20 +1881,20 @@ var SvgNavigationChevronDown18 = function SvgNavigationChevronDown18(props, ref)
|
|
|
1874
1881
|
};
|
|
1875
1882
|
var ForwardRef$z = /*#__PURE__*/forwardRef(SvgNavigationChevronDown18);
|
|
1876
1883
|
|
|
1877
|
-
var css$
|
|
1884
|
+
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"};
|
|
1878
1885
|
|
|
1879
1886
|
function DataTableRowAddons(props) {
|
|
1880
1887
|
var _a, _b;
|
|
1881
1888
|
const row = props.rowProps;
|
|
1882
1889
|
const additionalItemSize = +props.size < 30 ? '12' : '18';
|
|
1883
1890
|
return (React.createElement(React.Fragment, null,
|
|
1884
|
-
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React.createElement(DragHandle, { key: "dh", cx: css$
|
|
1885
|
-
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React.createElement(Checkbox, { key: "cb", cx: css$
|
|
1886
|
-
row.indent > 0 && (React.createElement("div", { key: "fold", className: css$
|
|
1891
|
+
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React.createElement(DragHandle, { key: "dh", cx: css$I.dragHandle }),
|
|
1892
|
+
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React.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 })),
|
|
1893
|
+
row.indent > 0 && (React.createElement("div", { key: "fold", className: css$I.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable && (React.createElement(IconContainer, { rawProps: {
|
|
1887
1894
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1888
1895
|
role: 'button',
|
|
1889
1896
|
}, key: "icon", icon: ForwardRef$z, cx: [
|
|
1890
|
-
css$
|
|
1897
|
+
css$I.foldingArrow, css$I[`folding-arrow-${additionalItemSize}`], uuiMarkers.clickable, css$I.iconContainer,
|
|
1891
1898
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1892
1899
|
}
|
|
1893
1900
|
function DataTableCell(props) {
|
|
@@ -1898,7 +1905,7 @@ function DataTableCell(props) {
|
|
|
1898
1905
|
props.renderPlaceholder = props.renderPlaceholder
|
|
1899
1906
|
|| (() => (
|
|
1900
1907
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
1901
|
-
React.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48', cx: css$
|
|
1908
|
+
React.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48', cx: css$I.loadingCell },
|
|
1902
1909
|
React.createElement(TextPlaceholder, null))));
|
|
1903
1910
|
props.renderUnknown = props.renderUnknown
|
|
1904
1911
|
|| (() => (React.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48' }, "Unknown")));
|
|
@@ -1908,12 +1915,12 @@ function DataTableCell(props) {
|
|
|
1908
1915
|
'uui-dt-vars',
|
|
1909
1916
|
'data-table-cell',
|
|
1910
1917
|
props.cx,
|
|
1911
|
-
css$
|
|
1912
|
-
css$
|
|
1913
|
-
css$
|
|
1914
|
-
props.isFirstColumn && css$
|
|
1915
|
-
props.isLastColumn && css$
|
|
1916
|
-
css$
|
|
1918
|
+
css$I.cell,
|
|
1919
|
+
css$I['size-' + (props.size || '36')],
|
|
1920
|
+
css$I[`padding-${props.padding || (isEditable && !props.rowProps.isLoading && '0') || '12'}`],
|
|
1921
|
+
props.isFirstColumn && css$I[`padding-left-${props.padding || (isEditable && !props.rowProps.isLoading && '12') || '24'}`],
|
|
1922
|
+
props.isLastColumn && css$I['padding-right-24'],
|
|
1923
|
+
css$I[`align-widgets-${props.alignActions || 'top'}`],
|
|
1917
1924
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
1918
1925
|
];
|
|
1919
1926
|
return React.createElement(DataTableCell$1, Object.assign({}, props));
|
|
@@ -1968,7 +1975,7 @@ var SvgNotificationDone12 = function SvgNotificationDone12(props, ref) {
|
|
|
1968
1975
|
};
|
|
1969
1976
|
var ForwardRef$w = /*#__PURE__*/forwardRef(SvgNotificationDone12);
|
|
1970
1977
|
|
|
1971
|
-
var css$
|
|
1978
|
+
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"};
|
|
1972
1979
|
|
|
1973
1980
|
class DataPickerRow extends React.Component {
|
|
1974
1981
|
constructor() {
|
|
@@ -1991,11 +1998,11 @@ class DataPickerRow extends React.Component {
|
|
|
1991
1998
|
key: 'name',
|
|
1992
1999
|
grow: 1,
|
|
1993
2000
|
width: 0,
|
|
1994
|
-
render: (item, rowProps) => (React.createElement("div", { key: rowProps.id, className: css$
|
|
2001
|
+
render: (item, rowProps) => (React.createElement("div", { key: rowProps.id, className: css$H.renderItem },
|
|
1995
2002
|
this.props.renderItem(item, rowProps),
|
|
1996
2003
|
React.createElement(FlexSpacer, null),
|
|
1997
|
-
(rowProps.isChildrenSelected || rowProps.isSelected) && (React.createElement("div", { className: css$
|
|
1998
|
-
React.createElement(IconContainer, { icon: this.getIcon(this.props.size), cx: rowProps.isChildrenSelected ? css$
|
|
2004
|
+
(rowProps.isChildrenSelected || rowProps.isSelected) && (React.createElement("div", { className: css$H.iconWrapper },
|
|
2005
|
+
React.createElement(IconContainer, { icon: this.getIcon(this.props.size), cx: rowProps.isChildrenSelected ? css$H.iconDefault : css$H.iconPrimary, rawProps: { 'aria-label': rowProps.isChildrenSelected
|
|
1999
2006
|
? 'Child is selected'
|
|
2000
2007
|
: 'Selected' } }))))),
|
|
2001
2008
|
};
|
|
@@ -2004,18 +2011,18 @@ class DataPickerRow extends React.Component {
|
|
|
2004
2011
|
};
|
|
2005
2012
|
}
|
|
2006
2013
|
render() {
|
|
2007
|
-
return React.createElement(DataPickerRow$1, Object.assign({}, this.props, { cx: [css$
|
|
2014
|
+
return React.createElement(DataPickerRow$1, Object.assign({}, this.props, { cx: [css$H.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
2008
2015
|
}
|
|
2009
2016
|
}
|
|
2010
2017
|
|
|
2011
|
-
var css$
|
|
2018
|
+
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"};
|
|
2012
2019
|
|
|
2013
2020
|
const MobileDropdownWrapper = (props) => {
|
|
2014
2021
|
const isMobileView = isMobile();
|
|
2015
|
-
return (React__default.createElement(DropdownContainer, Object.assign({}, props, { cx: [css$
|
|
2022
|
+
return (React__default.createElement(DropdownContainer, Object.assign({}, props, { cx: [css$G.container, props.cx], rawProps: props.rawProps, onKeyDown: props.onKeyDown, focusLock: props.focusLock, width: props.width }),
|
|
2016
2023
|
isMobileView && React__default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
2017
2024
|
props.children,
|
|
2018
|
-
isMobileView && React__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$
|
|
2025
|
+
isMobileView && React__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" })));
|
|
2019
2026
|
};
|
|
2020
2027
|
|
|
2021
2028
|
var _path$u, _path2$1;
|
|
@@ -2040,7 +2047,7 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
2040
2047
|
};
|
|
2041
2048
|
var ForwardRef$v = /*#__PURE__*/forwardRef(SvgSearchWithBackground);
|
|
2042
2049
|
|
|
2043
|
-
var css$
|
|
2050
|
+
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"};
|
|
2044
2051
|
|
|
2045
2052
|
function PickerModal(props) {
|
|
2046
2053
|
const { view, selection, dataSourceStateLens, showSelectedLens, dataSourceState, getDataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = usePickerModal(props);
|
|
@@ -2049,24 +2056,26 @@ function PickerModal(props) {
|
|
|
2049
2056
|
};
|
|
2050
2057
|
const renderFooter = () => {
|
|
2051
2058
|
const hasSelection = view.getSelectedRowsCount() > 0;
|
|
2059
|
+
const rowsCount = view.getListProps().rowsCount;
|
|
2060
|
+
const isEmptyRowsAndHasNoSelection = (rowsCount === 0 && !hasSelection);
|
|
2052
2061
|
return (React__default.createElement(React__default.Fragment, null,
|
|
2053
|
-
view.selectAll && (React__default.createElement(LinkButton, { caption: hasSelection ? i18n.pickerModal.clearAllButton : i18n.pickerModal.selectAllButton, onClick: hasSelection ? () => clearSelection() : () => view.selectAll.onValueChange(true) })),
|
|
2062
|
+
view.selectAll && (React__default.createElement(LinkButton, { caption: hasSelection ? i18n.pickerModal.clearAllButton : i18n.pickerModal.selectAllButton, onClick: hasSelection ? () => clearSelection() : () => view.selectAll.onValueChange(true), isDisabled: isEmptyRowsAndHasNoSelection })),
|
|
2054
2063
|
React__default.createElement(FlexSpacer, null),
|
|
2055
2064
|
React__default.createElement(Button, { fill: "outline", color: "secondary", caption: i18n.pickerModal.cancelButton, onClick: () => props.abort() }),
|
|
2056
2065
|
React__default.createElement(Button, { color: "accent", caption: i18n.pickerModal.selectButton, onClick: () => props.success(selection) })));
|
|
2057
2066
|
};
|
|
2058
2067
|
const renderNotFound = () => {
|
|
2059
|
-
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__default.createElement("div", { className: css$
|
|
2060
|
-
React__default.createElement(IconContainer, { cx: css$
|
|
2061
|
-
React__default.createElement(Text, { cx: css$
|
|
2062
|
-
React__default.createElement(Text, { cx: css$
|
|
2068
|
+
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__default.createElement("div", { className: css$F.noFoundModalContainer },
|
|
2069
|
+
React__default.createElement(IconContainer, { cx: css$F.noFoundModalContainerIcon, icon: ForwardRef$v }),
|
|
2070
|
+
React__default.createElement(Text, { cx: css$F.noFoundModalContainerText, fontWeight: "600", fontSize: "16", lineHeight: "24", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsMessage),
|
|
2071
|
+
React__default.createElement(Text, { cx: css$F.noFoundModalContainerText, fontSize: "12", lineHeight: "18", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
2063
2072
|
};
|
|
2064
2073
|
const dataRows = getRows();
|
|
2065
2074
|
const rows = dataRows.map((row) => renderRow(row));
|
|
2066
2075
|
return (React__default.createElement(ModalBlocker, Object.assign({}, props),
|
|
2067
2076
|
React__default.createElement(ModalWindow, { width: 600, height: 700 },
|
|
2068
2077
|
React__default.createElement(ModalHeader, { title: props.caption || i18n.pickerModal.headerTitle, onClose: () => props.abort() }),
|
|
2069
|
-
React__default.createElement(FlexCell, { cx: css$
|
|
2078
|
+
React__default.createElement(FlexCell, { cx: css$F.subHeaderWrapper },
|
|
2070
2079
|
React__default.createElement(FlexRow, { vPadding: "24" },
|
|
2071
2080
|
React__default.createElement(SearchInput, Object.assign({}, dataSourceStateLens.prop('search').toProps(), { onKeyDown: (e) => handleDataSourceKeyboard({
|
|
2072
2081
|
value: getDataSourceState(),
|
|
@@ -2075,7 +2084,7 @@ function PickerModal(props) {
|
|
|
2075
2084
|
rows: dataRows,
|
|
2076
2085
|
searchPosition: 'body',
|
|
2077
2086
|
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder }))),
|
|
2078
|
-
!isSingleSelect() && (React__default.createElement(Switch, Object.assign({ cx: css$
|
|
2087
|
+
!isSingleSelect() && (React__default.createElement(Switch, Object.assign({ cx: css$F.switch, size: "18" }, showSelectedLens.toProps(), { isDisabled: view.getSelectedRowsCount() < 1, label: "Show only selected" }))),
|
|
2079
2088
|
props.renderFilter && React__default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
|
|
2080
2089
|
React__default.createElement(DataPickerBody, Object.assign({}, getListProps(), { value: getDataSourceState(), onValueChange: handleDataSourceValueChange, search: dataSourceStateLens.prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: renderNotFound, editMode: "modal" })),
|
|
2081
2090
|
React__default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
@@ -2084,15 +2093,15 @@ function PickerModal(props) {
|
|
|
2084
2093
|
const MAX_ITEMS = 100;
|
|
2085
2094
|
const getMaxItems = (maxItems) => maxItems || maxItems === 0 ? maxItems : MAX_ITEMS;
|
|
2086
2095
|
|
|
2087
|
-
var css$
|
|
2096
|
+
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"};
|
|
2088
2097
|
|
|
2089
2098
|
const defaultSize$2 = '36';
|
|
2090
2099
|
const defaultMode$1 = EditMode.FORM;
|
|
2091
2100
|
function applyPickerTogglerMods(mods) {
|
|
2092
2101
|
return [
|
|
2093
|
-
css$
|
|
2094
|
-
css$
|
|
2095
|
-
css$
|
|
2102
|
+
css$E.root,
|
|
2103
|
+
css$E['size-' + (mods.size || defaultSize$2)],
|
|
2104
|
+
css$E['mode-' + (mods.mode || defaultMode$1)],
|
|
2096
2105
|
];
|
|
2097
2106
|
}
|
|
2098
2107
|
function PickerTogglerComponent(props, ref) {
|
|
@@ -2134,9 +2143,7 @@ function PickerTogglerComponent(props, ref) {
|
|
|
2134
2143
|
}
|
|
2135
2144
|
const PickerToggler = React.forwardRef(PickerTogglerComponent);
|
|
2136
2145
|
|
|
2137
|
-
var css$
|
|
2138
|
-
|
|
2139
|
-
var css$E = {"highlighted-text":"O1m5aV","highlightedText":"O1m5aV"};
|
|
2146
|
+
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"};
|
|
2140
2147
|
|
|
2141
2148
|
const mergeHighlightRanges = (ranges) => {
|
|
2142
2149
|
const mergedRanges = [];
|
|
@@ -2190,7 +2197,7 @@ const getHighlightRanges = (str, search) => {
|
|
|
2190
2197
|
};
|
|
2191
2198
|
const getDecoratedText = (str, ranges) => ranges.map((range, index) => {
|
|
2192
2199
|
const rangeStr = str.substring(range.from, range.to);
|
|
2193
|
-
return (React__default.createElement("span", Object.assign({ key: `${rangeStr}-${index}` }, (range.isHighlighted ? { className:
|
|
2200
|
+
return (React__default.createElement("span", Object.assign({ key: `${rangeStr}-${index}` }, (range.isHighlighted ? { className: 'uui-highlight' } : {})), rangeStr));
|
|
2194
2201
|
});
|
|
2195
2202
|
const getHighlightedSearchMatches = (str, search) => {
|
|
2196
2203
|
if (!search || !str) {
|
|
@@ -2219,21 +2226,19 @@ class PickerItem extends React.Component {
|
|
|
2219
2226
|
const { search } = (_a = this.props.dataSourceState) !== null && _a !== void 0 ? _a : {};
|
|
2220
2227
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(this.props.title, search) : this.props.title;
|
|
2221
2228
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(this.props.subtitle, search) : this.props.subtitle;
|
|
2222
|
-
return (React.createElement(FlexCell, { width: "auto", cx: [css$
|
|
2223
|
-
React.createElement(FlexRow, { size: itemSize, cx: isMultiline && [css$
|
|
2229
|
+
return (React.createElement(FlexCell, { width: "auto", cx: [css$D.root, 'uui-typography', cx] },
|
|
2230
|
+
React.createElement(FlexRow, { size: itemSize, cx: isMultiline && [css$D.multiline, css$D[`vertical-padding-${itemSize}`]], spacing: "12" },
|
|
2224
2231
|
avatarUrl && React.createElement(Avatar, { isLoading: isLoading, img: avatarUrl, size: this.getAvatarSize(itemSize, isMultiline).toString() }),
|
|
2225
2232
|
icon && React.createElement(IconContainer, { icon: icon }),
|
|
2226
2233
|
React.createElement(FlexCell, { width: "auto" },
|
|
2227
|
-
title && (React.createElement(Text, { size: itemSize, cx: css$
|
|
2228
|
-
subtitle && (React.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$
|
|
2234
|
+
title && (React.createElement(Text, { size: itemSize, cx: css$D.text, color: isDisabled ? 'disabled' : 'primary' }, isLoading ? React.createElement(TextPlaceholder, { wordsCount: 2 }) : title)),
|
|
2235
|
+
subtitle && (React.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$D.text }, isLoading ? React.createElement(TextPlaceholder, { wordsCount: 2 }) : subtitle))))));
|
|
2229
2236
|
}
|
|
2230
2237
|
}
|
|
2231
2238
|
PickerItem.defaultProps = {
|
|
2232
2239
|
highlightSearchMatches: true,
|
|
2233
2240
|
};
|
|
2234
2241
|
|
|
2235
|
-
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"};
|
|
2236
|
-
|
|
2237
2242
|
const pickerHeight$1 = 300;
|
|
2238
2243
|
const pickerWidth = 360;
|
|
2239
2244
|
function PickerInput(_a) {
|
|
@@ -2278,7 +2283,7 @@ function PickerInput(_a) {
|
|
|
2278
2283
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
2279
2284
|
const bodyHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || pickerHeight$1;
|
|
2280
2285
|
const minBodyWidth = props.minBodyWidth || pickerWidth;
|
|
2281
|
-
return (React__default.createElement(MobileDropdownWrapper, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [
|
|
2286
|
+
return (React__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' },
|
|
2282
2287
|
React__default.createElement(DataPickerBody, Object.assign({}, bodyProps, { rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode, renderNotFound: props.renderNotFound
|
|
2283
2288
|
? () => props.renderNotFound({
|
|
2284
2289
|
search: dataSourceState.search,
|
|
@@ -2294,7 +2299,7 @@ function PickerInput(_a) {
|
|
|
2294
2299
|
}, 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: !isMobile(), portalTarget: props.portalTarget }));
|
|
2295
2300
|
}
|
|
2296
2301
|
|
|
2297
|
-
var css$C = {"row":"
|
|
2302
|
+
var css$C = {"row":"ai4KaI"};
|
|
2298
2303
|
|
|
2299
2304
|
function PickerListItem(props) {
|
|
2300
2305
|
var _a;
|
|
@@ -2348,7 +2353,12 @@ function PickerList(props) {
|
|
|
2348
2353
|
}, selectedRows)));
|
|
2349
2354
|
}
|
|
2350
2355
|
|
|
2351
|
-
|
|
2356
|
+
const UUI_FILTERS_PANEL_ADD_BUTTON = 'uui-filters-panel-add-button';
|
|
2357
|
+
const UUI_FILTERS_PANEL_ADD_BUTTON_BODY = 'uui-filters-panel-add-button-body';
|
|
2358
|
+
const UUI_FILTERS_PANEL_ITEM_BODY = 'uui-filters-panel-item-body';
|
|
2359
|
+
const UUI_FILTERS_PANEL_ITEM_TOGGLER = 'uui-filters-panel-item-toggler';
|
|
2360
|
+
|
|
2361
|
+
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"};
|
|
2352
2362
|
|
|
2353
2363
|
const defaultSize = '36';
|
|
2354
2364
|
const FilterPanelItemToggler = React.forwardRef((props, ref) => {
|
|
@@ -2380,7 +2390,7 @@ const FilterPanelItemToggler = React.forwardRef((props, ref) => {
|
|
|
2380
2390
|
role: 'button',
|
|
2381
2391
|
tabIndex: props.isDisabled ? -1 : 0,
|
|
2382
2392
|
onKeyDown: onKeyDownHandler,
|
|
2383
|
-
}, cx: cx(css$B.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened,
|
|
2393
|
+
}, cx: cx(UUI_FILTERS_PANEL_ITEM_TOGGLER, css$B.root, uuiElement.inputBox, uuiMarkers.clickable, props.isOpen && uuiMod.opened, `size-${props.size || defaultSize}`, props.cx), onClick: togglerPickerOpened, ref: ref }),
|
|
2384
2394
|
React.createElement(FlexRow$1, { cx: css$B.titleWrapper },
|
|
2385
2395
|
React.createElement(Text, { size: props.size, cx: css$B.title }, getTitle),
|
|
2386
2396
|
props.selection && (React.createElement("div", { className: css$B.textWrapper },
|
|
@@ -2391,6 +2401,7 @@ const FilterPanelItemToggler = React.forwardRef((props, ref) => {
|
|
|
2391
2401
|
|
|
2392
2402
|
const pickerHeight = 300;
|
|
2393
2403
|
function FilterPickerBody(props) {
|
|
2404
|
+
var _a;
|
|
2394
2405
|
const shouldShowBody = () => props.isOpen;
|
|
2395
2406
|
const { getName, isSingleSelect, getRows, dataSourceState, getFooterProps, getPickerBodyProps, getListProps, handleDataSourceValueChange, } = usePickerInput(Object.assign(Object.assign({}, props), { shouldShowBody }));
|
|
2396
2407
|
const renderItem = (item, rowProps) => {
|
|
@@ -2413,11 +2424,11 @@ function FilterPickerBody(props) {
|
|
|
2413
2424
|
const renderedDataRows = rows.map((props) => renderRow(props));
|
|
2414
2425
|
const maxHeight = isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || pickerHeight;
|
|
2415
2426
|
return (React.createElement(React.Fragment, null,
|
|
2416
|
-
React.createElement(DataPickerBody, Object.assign({}, bodyProps, { selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, searchSize: "36", editMode: "dropdown"
|
|
2427
|
+
React.createElement(DataPickerBody, Object.assign({}, bodyProps, { selectionMode: props.selectionMode, rows: renderedDataRows, maxHeight: maxHeight, searchSize: "36", editMode: "dropdown" })),
|
|
2417
2428
|
renderFooter()));
|
|
2418
2429
|
};
|
|
2419
2430
|
const rows = getRows();
|
|
2420
|
-
return renderBody(Object.assign(Object.assign({}, getPickerBodyProps(rows)), getListProps()), rows);
|
|
2431
|
+
return renderBody(Object.assign(Object.assign(Object.assign({}, getPickerBodyProps(rows)), getListProps()), { showSearch: (_a = props.showSearch) !== null && _a !== void 0 ? _a : true }), rows);
|
|
2421
2432
|
}
|
|
2422
2433
|
|
|
2423
2434
|
class FilterDatePickerBody extends BaseDatePicker {
|
|
@@ -2452,7 +2463,7 @@ class FilterDatePickerBody extends BaseDatePicker {
|
|
|
2452
2463
|
}
|
|
2453
2464
|
}
|
|
2454
2465
|
|
|
2455
|
-
var css$A = {"uui-typography":"
|
|
2466
|
+
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"};
|
|
2456
2467
|
|
|
2457
2468
|
class FilterRangeDatePickerBody extends BaseRangeDatePicker {
|
|
2458
2469
|
constructor() {
|
|
@@ -2484,7 +2495,7 @@ class FilterRangeDatePickerBody extends BaseRangeDatePicker {
|
|
|
2484
2495
|
}
|
|
2485
2496
|
}
|
|
2486
2497
|
|
|
2487
|
-
var css$z = {"container":"
|
|
2498
|
+
var css$z = {"container":"xXduhp"};
|
|
2488
2499
|
|
|
2489
2500
|
function FilterNumericBody(props) {
|
|
2490
2501
|
var _a, _b;
|
|
@@ -2575,7 +2586,7 @@ var SvgActionDeleteforever12 = function SvgActionDeleteforever12(props, ref) {
|
|
|
2575
2586
|
};
|
|
2576
2587
|
var ForwardRef$u = /*#__PURE__*/forwardRef(SvgActionDeleteforever12);
|
|
2577
2588
|
|
|
2578
|
-
var css$y = {"uui-typography":"
|
|
2589
|
+
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"};
|
|
2579
2590
|
|
|
2580
2591
|
function FiltersToolbarItemImpl(props) {
|
|
2581
2592
|
const { maxCount = 2 } = props;
|
|
@@ -2657,9 +2668,9 @@ function FiltersToolbarItemImpl(props) {
|
|
|
2657
2668
|
};
|
|
2658
2669
|
const renderBody = (dropdownProps) => {
|
|
2659
2670
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
2660
|
-
return isPickersType ? (React__default.createElement(MobileDropdownWrapper, Object.assign({}, dropdownProps, { cx:
|
|
2671
|
+
return isPickersType ? (React__default.createElement(MobileDropdownWrapper, Object.assign({}, dropdownProps, { cx: UUI_FILTERS_PANEL_ITEM_BODY, title: props.title, width: 360, onClose: () => isOpenChange(false) }),
|
|
2661
2672
|
renderHeader(hideHeaderTitle),
|
|
2662
|
-
React__default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))) : (React__default.createElement(DropdownContainer, Object.assign({}, dropdownProps),
|
|
2673
|
+
React__default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))) : (React__default.createElement(DropdownContainer, Object.assign({ cx: UUI_FILTERS_PANEL_ITEM_BODY }, dropdownProps),
|
|
2663
2674
|
renderHeader(hideHeaderTitle),
|
|
2664
2675
|
React__default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange }))));
|
|
2665
2676
|
};
|
|
@@ -2844,7 +2855,7 @@ function FiltersToolbarImpl(props) {
|
|
|
2844
2855
|
}, [filters, tableState.filtersConfig]);
|
|
2845
2856
|
const renderAddFilterToggler = useCallback((togglerProps) => {
|
|
2846
2857
|
var _a;
|
|
2847
|
-
return (React__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" }));
|
|
2858
|
+
return (React__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 }));
|
|
2848
2859
|
}, []);
|
|
2849
2860
|
const getRowOptions = useCallback((item) => ({
|
|
2850
2861
|
isDisabled: item.isAlwaysVisible,
|
|
@@ -2867,13 +2878,13 @@ function FiltersToolbarImpl(props) {
|
|
|
2867
2878
|
!isAllFiltersAlwaysVisible && (React__default.createElement(PickerInput, { dataSource: dataSource, value: selectedFilters, onValueChange: onFiltersChange, selectionMode: "multi", valueType: "entity", key: newFilterId, renderRow: (props) => (React__default.createElement(DataPickerRow, Object.assign({}, props, { padding: "12", key: props.key, onCheck: (row) => {
|
|
2868
2879
|
props.onCheck && props.onCheck(row);
|
|
2869
2880
|
!row.isChecked && setNewFilterId(row.value.field);
|
|
2870
|
-
}, renderItem: (item, rowProps) => React__default.createElement(PickerItem, Object.assign({}, rowProps, { title: item.title })) }))), getName: (i) => i.title, renderToggler: renderAddFilterToggler, emptyValue: [], getRowOptions: getRowOptions, fixedBodyPosition: true, size: props.size }))));
|
|
2881
|
+
}, renderItem: (item, rowProps) => React__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 }))));
|
|
2871
2882
|
}
|
|
2872
2883
|
const FiltersPanel = React__default.memo(FiltersToolbarImpl);
|
|
2873
2884
|
|
|
2874
|
-
var css$x = {"divider":"
|
|
2885
|
+
var css$x = {"divider":"qsznnt","dropdownDeleteIcon":"QPuu1k","presetsWrapper":"_0o5vwL","addPresetContainer":"_67SEvm","dropContainer":"_4JktuX"};
|
|
2875
2886
|
|
|
2876
|
-
var css$w = {"preset-dropdown-panel":"
|
|
2887
|
+
var css$w = {"preset-dropdown-panel":"u-L3oo","delete-row":"eymslu","delete-button":"oFXeRP","targetOpen":"Y8R0q3","presetDropdownPanel":"u-L3oo","deleteRow":"eymslu","deleteButton":"oFXeRP"};
|
|
2877
2888
|
|
|
2878
2889
|
var _path$r;
|
|
2879
2890
|
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); }
|
|
@@ -3025,7 +3036,7 @@ function PresetActionsDropdown(props) {
|
|
|
3025
3036
|
const successNotificationHandler = useCallback((text) => {
|
|
3026
3037
|
uuiNotifications
|
|
3027
3038
|
.show((props) => (React__default.createElement(SuccessNotification, Object.assign({}, props),
|
|
3028
|
-
React__default.createElement(Text, { size: "36",
|
|
3039
|
+
React__default.createElement(Text, { size: "36", fontSize: "14" }, text))), { duration: 3 })
|
|
3029
3040
|
.catch(() => null);
|
|
3030
3041
|
}, []);
|
|
3031
3042
|
const saveInCurrentHandler = useCallback(() => {
|
|
@@ -3067,7 +3078,12 @@ function PresetActionsDropdown(props) {
|
|
|
3067
3078
|
return (React__default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
3068
3079
|
}
|
|
3069
3080
|
|
|
3070
|
-
var css$v = {"preset-input-cell":"
|
|
3081
|
+
var css$v = {"preset-input-cell":"_9-iJHM","preset-input":"rWbbhi","presetInputCell":"_9-iJHM","presetInput":"rWbbhi"};
|
|
3082
|
+
|
|
3083
|
+
const UUI_PRESETS_PANEL_ADD_BUTTON = 'uui-presets-panel-add-button';
|
|
3084
|
+
const UUI_PRESETS_PANEL_MORE_BUTTON = 'uui-presets-panel-more-button';
|
|
3085
|
+
const UUI_PRESETS_PANEL_INPUT = 'uui-presets-panel-input';
|
|
3086
|
+
const UUI_PRESETS_PANEL_PRESET = 'uui-presets-panel-preset';
|
|
3071
3087
|
|
|
3072
3088
|
function PresetInput(props) {
|
|
3073
3089
|
var _a;
|
|
@@ -3088,11 +3104,11 @@ function PresetInput(props) {
|
|
|
3088
3104
|
}
|
|
3089
3105
|
props.onCancel();
|
|
3090
3106
|
}, [presetCaption.length, props.onCancel]);
|
|
3091
|
-
return (React__default.createElement(FlexCell, { cx: css$v.presetInputCell, minWidth: 180 },
|
|
3107
|
+
return (React__default.createElement(FlexCell, { cx: [css$v.presetInputCell, UUI_PRESETS_PANEL_INPUT], minWidth: 180 },
|
|
3092
3108
|
React__default.createElement(TextInput, { cx: css$v.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50 })));
|
|
3093
3109
|
}
|
|
3094
3110
|
|
|
3095
|
-
var css$u = {"preset":"
|
|
3111
|
+
var css$u = {"preset":"GvXqEI","activePreset":"xyQ-v-"};
|
|
3096
3112
|
|
|
3097
3113
|
function Preset(props) {
|
|
3098
3114
|
const [isRenamePreset, setIsRenamePreset] = useState(false);
|
|
@@ -3110,7 +3126,7 @@ function Preset(props) {
|
|
|
3110
3126
|
return props.updatePreset(newPreset);
|
|
3111
3127
|
}, [props.preset]);
|
|
3112
3128
|
const isPresetActive = props.activePresetId === props.preset.id;
|
|
3113
|
-
return (React__default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__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__default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
3129
|
+
return (React__default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__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__default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
3114
3130
|
}
|
|
3115
3131
|
|
|
3116
3132
|
var _path$j;
|
|
@@ -3141,7 +3157,7 @@ function PresetsPanel(props) {
|
|
|
3141
3157
|
return React__default.createElement(Preset, Object.assign({ key: preset.id, preset: preset, addPreset: setAddingPreset }, presetApi));
|
|
3142
3158
|
};
|
|
3143
3159
|
const renderAddPresetButton = useCallback(() => {
|
|
3144
|
-
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$x.addPresetContainer }, !isAddingPreset ? (React__default.createElement(Button, { size: "36", onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$k, iconPosition: "left", fill: "ghost", color: "primary" })) : (React__default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
3160
|
+
return (React__default.createElement("div", { key: "addingPresetBlock", className: css$x.addPresetContainer }, !isAddingPreset ? (React__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__default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
3145
3161
|
}, [isAddingPreset]);
|
|
3146
3162
|
const onPresetDropdownSelect = (preset) => {
|
|
3147
3163
|
props.choosePreset(preset.preset);
|
|
@@ -3149,7 +3165,7 @@ function PresetsPanel(props) {
|
|
|
3149
3165
|
const renderMoreButtonDropdown = (item, hiddenItems) => {
|
|
3150
3166
|
return (React__default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__default.createElement(FlexRow, null,
|
|
3151
3167
|
React__default.createElement("div", { className: css$x.divider }),
|
|
3152
|
-
React__default.createElement(Button, Object.assign({ fill: "ghost", color: "secondary", caption: `${(hiddenItems === null || hiddenItems === void 0 ? void 0 : hiddenItems.length) || ''} more` }, props)))), renderBody: (propsBody) => (React__default.createElement(DropdownContainer, Object.assign({ cx: cx$1(css$x.dropContainer), width: 230 }, propsBody),
|
|
3168
|
+
React__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__default.createElement(DropdownContainer, Object.assign({ cx: cx$1(css$x.dropContainer), width: 230 }, propsBody),
|
|
3153
3169
|
React__default.createElement(ScrollBars$1, null, hiddenItems.map((hiddenItem) => (React__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)) })))))) }));
|
|
3154
3170
|
};
|
|
3155
3171
|
const getPresetPriority = (preset, index) => {
|
|
@@ -3206,7 +3222,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
3206
3222
|
return columns;
|
|
3207
3223
|
};
|
|
3208
3224
|
|
|
3209
|
-
var css$t = {"line-height-12":"
|
|
3225
|
+
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"};
|
|
3210
3226
|
|
|
3211
3227
|
const defaultTextSettings = {
|
|
3212
3228
|
18: { lineHeight: 12, fontSize: 10 },
|
|
@@ -3232,9 +3248,9 @@ function getTextClasses(props, border) {
|
|
|
3232
3248
|
];
|
|
3233
3249
|
}
|
|
3234
3250
|
|
|
3235
|
-
var css$s = {"root":"
|
|
3251
|
+
var css$s = {"root":"TlFkIH"};
|
|
3236
3252
|
|
|
3237
|
-
const allTextColors = ['info', 'warning', 'error', 'success', 'brand', 'primary', 'secondary', 'disabled', '
|
|
3253
|
+
const allTextColors = ['info', 'warning', 'error', 'success', 'brand', 'primary', 'secondary', 'disabled', 'white'];
|
|
3238
3254
|
function applyTextMods(mods) {
|
|
3239
3255
|
const textClasses = getTextClasses({
|
|
3240
3256
|
size: mods.size || '36',
|
|
@@ -3244,14 +3260,15 @@ function applyTextMods(mods) {
|
|
|
3244
3260
|
return [
|
|
3245
3261
|
css$s.root,
|
|
3246
3262
|
'uui-text',
|
|
3247
|
-
`uui-font-${mods.font || 'regular'}`,
|
|
3248
3263
|
`uui-color-${mods.color || 'primary'}`,
|
|
3264
|
+
`uui-font-weight-${mods.fontWeight || '400'}`,
|
|
3265
|
+
`uui-font-style-${mods.fontStyle || 'normal'}`,
|
|
3249
3266
|
'uui-typography',
|
|
3250
3267
|
].concat(textClasses);
|
|
3251
3268
|
}
|
|
3252
3269
|
const Text = withMods(Text$1, applyTextMods);
|
|
3253
3270
|
|
|
3254
|
-
var css$r = {"root":"
|
|
3271
|
+
var css$r = {"root":"tQxh--","loading-word":"_1ekaCG","animated-loading":"zIFkq4","skeleton_loading":"KHHevs","loadingWord":"_1ekaCG","animatedLoading":"zIFkq4","skeletonLoading":"KHHevs"};
|
|
3255
3272
|
|
|
3256
3273
|
const TextPlaceholder = (props) => {
|
|
3257
3274
|
const pattern = ' ';
|
|
@@ -3263,14 +3280,14 @@ const TextPlaceholder = (props) => {
|
|
|
3263
3280
|
}
|
|
3264
3281
|
return words;
|
|
3265
3282
|
}, [props.wordsCount]);
|
|
3266
|
-
return (React.createElement("div", Object.assign({ "aria-busy": true, className: css$r.root }, props.rawProps), text.map((it, index) => (React.createElement("span", { key: index, className: cx([
|
|
3283
|
+
return (React.createElement("div", Object.assign({ "aria-busy": true, className: cx(css$r.root, 'uui-text-placeholder') }, props.rawProps), text.map((it, index) => (React.createElement("span", { key: index, className: cx([
|
|
3267
3284
|
props.cx, css$r.loadingWord, !props.isNotAnimated && css$r.animatedLoading,
|
|
3268
3285
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
3269
3286
|
};
|
|
3270
3287
|
|
|
3271
|
-
const RichTextView = withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-${mods.size || '14'}`]);
|
|
3288
|
+
const RichTextView = withMods(uuiComponents.RichTextView, (mods) => ['uui-typography', `uui-typography-size-${mods.size || '14'}`]);
|
|
3272
3289
|
|
|
3273
|
-
var css$q = {"uui-typography":"
|
|
3290
|
+
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"};
|
|
3274
3291
|
|
|
3275
3292
|
const ModalBlocker = withMods(ModalBlocker$1, () => [css$q.modalBlocker]);
|
|
3276
3293
|
const ModalWindow = withMods(ModalWindow$1, () => [css$q.root, css$q.modal], (props) => ({
|
|
@@ -3279,7 +3296,7 @@ const ModalWindow = withMods(ModalWindow$1, () => [css$q.root, css$q.modal], (pr
|
|
|
3279
3296
|
class ModalHeader extends React.Component {
|
|
3280
3297
|
render() {
|
|
3281
3298
|
return (React.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 },
|
|
3282
|
-
this.props.title && (React.createElement(Text, { size: "48", fontSize: "18",
|
|
3299
|
+
this.props.title && (React.createElement(Text, { size: "48", fontSize: "18", fontWeight: "600" }, this.props.title)),
|
|
3283
3300
|
this.props.children,
|
|
3284
3301
|
this.props.onClose && React.createElement(FlexSpacer, null),
|
|
3285
3302
|
this.props.onClose && (React.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
@@ -3313,7 +3330,7 @@ var SvgCross = function SvgCross(props, ref) {
|
|
|
3313
3330
|
};
|
|
3314
3331
|
var ForwardRef$j = /*#__PURE__*/forwardRef(SvgCross);
|
|
3315
3332
|
|
|
3316
|
-
var css$p = {"uui-typography":"
|
|
3333
|
+
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"};
|
|
3317
3334
|
|
|
3318
3335
|
const NotificationCard = React__default.forwardRef((props, ref) => {
|
|
3319
3336
|
const notificationCardNode = React__default.useRef(null);
|
|
@@ -3395,14 +3412,14 @@ class DatePicker extends BaseDatePicker {
|
|
|
3395
3412
|
}
|
|
3396
3413
|
}
|
|
3397
3414
|
|
|
3398
|
-
var css$o = {"uui-typography":"
|
|
3415
|
+
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"};
|
|
3399
3416
|
|
|
3400
3417
|
function applyCalendarPresetsMods() {
|
|
3401
3418
|
return [css$o.root];
|
|
3402
3419
|
}
|
|
3403
3420
|
const CalendarPresets = withMods(CalendarPresets$1, applyCalendarPresetsMods, () => ({}));
|
|
3404
3421
|
|
|
3405
|
-
var css$n = {"uui-typography":"
|
|
3422
|
+
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"};
|
|
3406
3423
|
|
|
3407
3424
|
dayjs.extend(isoWeek);
|
|
3408
3425
|
function weekCount(displayedDate) {
|
|
@@ -3563,7 +3580,7 @@ class RangeDatePickerBody extends React.Component {
|
|
|
3563
3580
|
}
|
|
3564
3581
|
}
|
|
3565
3582
|
|
|
3566
|
-
var css$m = {"uui-typography":"
|
|
3583
|
+
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"};
|
|
3567
3584
|
|
|
3568
3585
|
const defaultValue = { from: null, to: null };
|
|
3569
3586
|
class RangeDatePicker extends BaseRangeDatePicker {
|
|
@@ -3596,7 +3613,7 @@ class RangeDatePicker extends BaseRangeDatePicker {
|
|
|
3596
3613
|
}
|
|
3597
3614
|
}
|
|
3598
3615
|
|
|
3599
|
-
var css$l = {"root":"
|
|
3616
|
+
var css$l = {"root":"_8-M1pw","blocker":"_3JemPy","marker":"_6wXxCN","top":"PnXw9g","bottom":"eyASdY","left":"_7PghNc","right":"r47Ijp","inside":"SEEGHl"};
|
|
3600
3617
|
|
|
3601
3618
|
function DropMarker(props) {
|
|
3602
3619
|
return props.isDndInProgress
|
|
@@ -3611,7 +3628,7 @@ function DropMarker(props) {
|
|
|
3611
3628
|
: null;
|
|
3612
3629
|
}
|
|
3613
3630
|
|
|
3614
|
-
var css$k = {"uui-typography":"
|
|
3631
|
+
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"};
|
|
3615
3632
|
|
|
3616
3633
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3617
3634
|
// 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.
|
|
@@ -3627,7 +3644,7 @@ const DataTableRow = withMods(DataTableRow$1, ({ borderBottom = true, size }) =>
|
|
|
3627
3644
|
];
|
|
3628
3645
|
}, () => propsMods);
|
|
3629
3646
|
|
|
3630
|
-
var css$j = {"uui-typography":"
|
|
3647
|
+
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"};
|
|
3631
3648
|
|
|
3632
3649
|
var _path$h;
|
|
3633
3650
|
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); }
|
|
@@ -3686,7 +3703,7 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3686
3703
|
};
|
|
3687
3704
|
const ColumnHeaderDropdown = React__default.memo(ColumnHeaderDropdownImpl);
|
|
3688
3705
|
|
|
3689
|
-
var css$i = {"uui-typography":"
|
|
3706
|
+
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"};
|
|
3690
3707
|
|
|
3691
3708
|
var _path$f;
|
|
3692
3709
|
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); }
|
|
@@ -3751,12 +3768,12 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3751
3768
|
return css$i['font-size-14'];
|
|
3752
3769
|
};
|
|
3753
3770
|
this.getTooltipContent = () => (React.createElement("div", { className: css$i.cellTooltipWrapper },
|
|
3754
|
-
React.createElement(Text, { fontSize: "14",
|
|
3755
|
-
this.props.column.info && React.createElement(Text, { fontSize: "12",
|
|
3771
|
+
React.createElement(Text, { fontSize: "14", fontWeight: "600", cx: css$i.cellTooltipText }, this.props.column.caption),
|
|
3772
|
+
this.props.column.info && React.createElement(Text, { fontSize: "12", cx: css$i.cellTooltipText }, this.props.column.info)));
|
|
3756
3773
|
this.getColumnCaption = () => {
|
|
3757
3774
|
return (React.createElement("div", { className: css$i.tooltipWrapper },
|
|
3758
3775
|
React.createElement("div", { className: cx$1(css$i.iconCell, css$i['align-' + this.props.column.textAlign], uuiDataTableHeaderCell.uuiTableHeaderCaptionWrapper) },
|
|
3759
|
-
React.createElement(Tooltip, { placement: "top", color: "
|
|
3776
|
+
React.createElement(Tooltip, { placement: "top", color: "inverted", renderContent: this.getTooltipContent, cx: css$i.cellTooltip, openDelay: 600 },
|
|
3760
3777
|
React.createElement(Text, { key: "text", lineHeight: "30", fontSize: "14", size: "30", cx: cx$1(css$i.caption, this.getTextStyle(), uuiDataTableHeaderCell.uuiTableHeaderCaption) }, this.props.column.caption)),
|
|
3761
3778
|
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React.createElement(IconButton, { key: "sort", cx: cx$1(css$i.icon, css$i.sortIcon, this.props.sortDirection && css$i.sortIconActive, uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: this.props.sortDirection === 'desc' ? ForwardRef$h : this.props.sortDirection === 'asc' ? ForwardRef$i : ForwardRef$g })),
|
|
3762
3779
|
this.props.isFilterActive && (React.createElement(IconButton, { key: "filter", cx: cx$1(css$i.icon, !this.props.sortDirection && css$i.filterIcon, uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: ForwardRef$f })),
|
|
@@ -3769,18 +3786,18 @@ class DataTableHeaderCell extends React.Component {
|
|
|
3769
3786
|
var _a;
|
|
3770
3787
|
props.ref(ref);
|
|
3771
3788
|
(_a = dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.ref) === null || _a === void 0 ? void 0 : _a.call(dropdownProps, ref);
|
|
3772
|
-
}, cx: cx$1(uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && 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) }),
|
|
3789
|
+
}, cx: cx$1('uui-dt-vars', uuiDataTableHeaderCell.uuiTableHeaderCell, (this.props.column.isSortable || this.props.isDropdown) && 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) }),
|
|
3773
3790
|
this.renderHeaderCheckbox(),
|
|
3774
3791
|
this.getColumnCaption(),
|
|
3775
3792
|
this.props.allowColumnsResizing && this.renderResizeMark(props)));
|
|
3776
3793
|
this.renderCellWithFilter = (props) => (React.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 }));
|
|
3777
3794
|
}
|
|
3778
3795
|
render() {
|
|
3779
|
-
return React.createElement(DataTableHeaderCell$1, Object.assign({}, this.props, {
|
|
3796
|
+
return React.createElement(DataTableHeaderCell$1, Object.assign({}, this.props, { renderCellContent: this.props.column.renderFilter ? this.renderCellWithFilter : this.renderCellContent }));
|
|
3780
3797
|
}
|
|
3781
3798
|
}
|
|
3782
3799
|
|
|
3783
|
-
var css$h = {"uui-typography":"
|
|
3800
|
+
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"};
|
|
3784
3801
|
|
|
3785
3802
|
var _path$c;
|
|
3786
3803
|
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); }
|
|
@@ -3804,7 +3821,7 @@ const DataTableHeaderRow = withMods(DataTableHeaderRow$1, () => [css$h.root, 'uu
|
|
|
3804
3821
|
renderConfigButton: () => React.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: css$h.configIcon, color: "neutral", icon: ForwardRef$d }),
|
|
3805
3822
|
}));
|
|
3806
3823
|
|
|
3807
|
-
var styles$1 = {"uui-typography":"
|
|
3824
|
+
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"};
|
|
3808
3825
|
|
|
3809
3826
|
var _path$b;
|
|
3810
3827
|
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); }
|
|
@@ -3879,11 +3896,11 @@ function PinIconButton(props) {
|
|
|
3879
3896
|
]);
|
|
3880
3897
|
const pinClickHandler = isPinnedAlways ? undefined : () => onTogglePin(id);
|
|
3881
3898
|
return (React.createElement("span", { onMouseOver: () => setIsHovered(true), onMouseOut: () => setIsHovered(false) },
|
|
3882
|
-
React.createElement(Tooltip, { content: tooltipText, placement: "bottom", color: "
|
|
3899
|
+
React.createElement(Tooltip, { content: tooltipText, placement: "bottom", color: "inverted" },
|
|
3883
3900
|
React.createElement(IconButton, { icon: pinIcon, onClick: pinClickHandler, isDisabled: isPinnedAlways, color: isPinned ? 'info' : undefined }))));
|
|
3884
3901
|
}
|
|
3885
3902
|
|
|
3886
|
-
var styles = {"uui-typography":"
|
|
3903
|
+
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"};
|
|
3887
3904
|
|
|
3888
3905
|
const ColumnRow = React.memo(function ColumnRow(props) {
|
|
3889
3906
|
const { column } = props;
|
|
@@ -3908,7 +3925,7 @@ const ColumnRow = React.memo(function ColumnRow(props) {
|
|
|
3908
3925
|
});
|
|
3909
3926
|
|
|
3910
3927
|
const renderGroupTitle = (title, amount) => (React.createElement(FlexRow, { size: "24", padding: "24", spacing: "6", cx: styles$1.groupTitle },
|
|
3911
|
-
React.createElement(Text, { cx: styles$1.groupTitleText,
|
|
3928
|
+
React.createElement(Text, { cx: styles$1.groupTitleText, fontWeight: "600", lineHeight: "24", fontSize: "14" }, title),
|
|
3912
3929
|
React.createElement(Badge, { cx: styles$1.groupTitleBadge, caption: amount, color: "neutral", size: "18" })));
|
|
3913
3930
|
function ColumnsConfigurationModal(props) {
|
|
3914
3931
|
const i18n$1 = i18n.tables.columnsConfigurationModal;
|
|
@@ -3959,8 +3976,8 @@ function ColumnsConfigurationModal(props) {
|
|
|
3959
3976
|
renderVisible(),
|
|
3960
3977
|
renderHidden(),
|
|
3961
3978
|
isNoData && (React.createElement(FlexRow, { cx: styles$1.noData },
|
|
3962
|
-
React.createElement(Text, { fontSize: "24", lineHeight: "30", color: "primary",
|
|
3963
|
-
React.createElement(Text, { fontSize: "16", lineHeight: "24",
|
|
3979
|
+
React.createElement(Text, { fontSize: "24", lineHeight: "30", color: "primary", fontWeight: "600" }, i18n$1.noResultsFound.text),
|
|
3980
|
+
React.createElement(Text, { fontSize: "16", lineHeight: "24", color: "primary" }, i18n$1.noResultsFound.subText))))),
|
|
3964
3981
|
React.createElement(ModalFooter, { borderTop: true },
|
|
3965
3982
|
React.createElement(LinkButton, { icon: ForwardRef$r, caption: i18n$1.resetToDefaultButton, onClick: reset }),
|
|
3966
3983
|
React.createElement(FlexSpacer, null),
|
|
@@ -3968,7 +3985,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
3968
3985
|
noVisibleColumns ? (React.createElement(Tooltip, { content: i18n$1.enableAtLeastOneColumnMessage, placement: "top-end", color: "critical" }, applyButton)) : (applyButton)))));
|
|
3969
3986
|
}
|
|
3970
3987
|
|
|
3971
|
-
var css$g = {"listContainer":"
|
|
3988
|
+
var css$g = {"listContainer":"lBviNX","header":"A-UC5e","group":"_04gaf7","stickyHeader":"wtiKOZ"};
|
|
3972
3989
|
|
|
3973
3990
|
const getChildrenAndRest = (row, rows) => {
|
|
3974
3991
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -4034,7 +4051,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4034
4051
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4035
4052
|
ref: ref
|
|
4036
4053
|
}, props), /*#__PURE__*/React.createElement("g", {
|
|
4037
|
-
clipPath: "url(#
|
|
4054
|
+
clipPath: "url(#8lxtcfquaaz12anpl_a)"
|
|
4038
4055
|
}, _path$8 || (_path$8 = /*#__PURE__*/React.createElement("path", {
|
|
4039
4056
|
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",
|
|
4040
4057
|
fill: "#F5F6FA"
|
|
@@ -4055,7 +4072,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4055
4072
|
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",
|
|
4056
4073
|
fill: "#1D1E26"
|
|
4057
4074
|
})), /*#__PURE__*/React.createElement("mask", {
|
|
4058
|
-
id: "
|
|
4075
|
+
id: "8lxtcfedxlju0fbc6_b",
|
|
4059
4076
|
style: {
|
|
4060
4077
|
maskType: "alpha"
|
|
4061
4078
|
},
|
|
@@ -4068,7 +4085,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4068
4085
|
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",
|
|
4069
4086
|
fill: "#9BDEFF"
|
|
4070
4087
|
}))), _g$1 || (_g$1 = /*#__PURE__*/React.createElement("g", {
|
|
4071
|
-
mask: "url(#
|
|
4088
|
+
mask: "url(#8lxtcfedxlju0fbc6_b)",
|
|
4072
4089
|
fillRule: "evenodd",
|
|
4073
4090
|
clipRule: "evenodd"
|
|
4074
4091
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -4154,7 +4171,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4154
4171
|
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",
|
|
4155
4172
|
fill: "#fff"
|
|
4156
4173
|
}))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
4157
|
-
id: "
|
|
4174
|
+
id: "8lxtcfquaaz12anpl_a"
|
|
4158
4175
|
}, /*#__PURE__*/React.createElement("path", {
|
|
4159
4176
|
fill: "#fff",
|
|
4160
4177
|
transform: "translate(.552)",
|
|
@@ -4163,7 +4180,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4163
4180
|
};
|
|
4164
4181
|
var ForwardRef$9 = /*#__PURE__*/forwardRef(SvgEmptyTable);
|
|
4165
4182
|
|
|
4166
|
-
var css$f = {"sticky-header":"
|
|
4183
|
+
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"};
|
|
4167
4184
|
|
|
4168
4185
|
function DataTable(props) {
|
|
4169
4186
|
var _a;
|
|
@@ -4180,8 +4197,8 @@ function DataTable(props) {
|
|
|
4180
4197
|
var _a;
|
|
4181
4198
|
return (React.createElement("div", { className: css$f.noResults }, props.renderNoResultsBlock ? ((_a = props.renderNoResultsBlock) === null || _a === void 0 ? void 0 : _a.call(props)) : (React.createElement(React.Fragment, null,
|
|
4182
4199
|
React.createElement(IconContainer, { cx: css$f.noResultsIcon, icon: ForwardRef$9 }),
|
|
4183
|
-
React.createElement(Text, { cx: css$f.noResultsTitle, fontSize: "24", lineHeight: "30", color: "primary",
|
|
4184
|
-
React.createElement(Text, { fontSize: "16", lineHeight: "24",
|
|
4200
|
+
React.createElement(Text, { cx: css$f.noResultsTitle, fontSize: "24", lineHeight: "30", color: "primary", fontWeight: "600" }, i18n.tables.noResultsBlock.title),
|
|
4201
|
+
React.createElement(Text, { fontSize: "16", lineHeight: "24", color: "primary" }, i18n.tables.noResultsBlock.message)))));
|
|
4185
4202
|
}, [props.renderNoResultsBlock]);
|
|
4186
4203
|
const onConfigurationButtonClick = React.useCallback(() => {
|
|
4187
4204
|
const configProps = { columns: props.columns, columnsConfig: Object.assign({}, config), defaultConfig };
|
|
@@ -4213,9 +4230,9 @@ function DataTable(props) {
|
|
|
4213
4230
|
} })));
|
|
4214
4231
|
}
|
|
4215
4232
|
|
|
4216
|
-
var css$e = {"root":"
|
|
4233
|
+
var css$e = {"root":"mwLJhg"};
|
|
4217
4234
|
|
|
4218
|
-
var css$d = {"root":"
|
|
4235
|
+
var css$d = {"root":"pBuH7i","burger-content":"_34QDdq","burgerContent":"_34QDdq"};
|
|
4219
4236
|
|
|
4220
4237
|
var _path$7;
|
|
4221
4238
|
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); }
|
|
@@ -4282,7 +4299,7 @@ var SvgTriangle = function SvgTriangle(props, ref) {
|
|
|
4282
4299
|
};
|
|
4283
4300
|
var ForwardRef$6 = /*#__PURE__*/forwardRef(SvgTriangle);
|
|
4284
4301
|
|
|
4285
|
-
var css$c = {"uui-typography":"
|
|
4302
|
+
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"};
|
|
4286
4303
|
|
|
4287
4304
|
const BurgerButton = withMods(Button$1, (props) => [
|
|
4288
4305
|
css$c.root,
|
|
@@ -4339,13 +4356,13 @@ var SvgMenuInputCancel = function SvgMenuInputCancel(props, ref) {
|
|
|
4339
4356
|
};
|
|
4340
4357
|
var ForwardRef$5 = /*#__PURE__*/forwardRef(SvgMenuInputCancel);
|
|
4341
4358
|
|
|
4342
|
-
var css$b = {"search-input":"
|
|
4359
|
+
var css$b = {"search-input":"xzx8Ya","searchInput":"xzx8Ya"};
|
|
4343
4360
|
|
|
4344
4361
|
function BurgerSearch(props) {
|
|
4345
4362
|
return (React.createElement(TextInput$1, { cx: cx(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 }));
|
|
4346
4363
|
}
|
|
4347
4364
|
|
|
4348
|
-
var css$a = {"root":"
|
|
4365
|
+
var css$a = {"root":"p1ttkk","group-header":"_32purX","group-name":"HfP-22","line":"A8dMrp","groupHeader":"_32purX","groupName":"HfP-22"};
|
|
4349
4366
|
|
|
4350
4367
|
function BurgerGroupHeader(props) {
|
|
4351
4368
|
return (React.createElement("div", { className: cx(css$a.root, css$a.groupHeader, 'uui-burger-group-header') },
|
|
@@ -4353,7 +4370,7 @@ function BurgerGroupHeader(props) {
|
|
|
4353
4370
|
React.createElement("span", { className: css$a.groupName }, props.caption)));
|
|
4354
4371
|
}
|
|
4355
4372
|
|
|
4356
|
-
var css$9 = {"uui-typography":"
|
|
4373
|
+
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"};
|
|
4357
4374
|
|
|
4358
4375
|
var _path$4;
|
|
4359
4376
|
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); }
|
|
@@ -4373,7 +4390,7 @@ var ForwardRef$4 = /*#__PURE__*/forwardRef(SvgChevronDown24);
|
|
|
4373
4390
|
|
|
4374
4391
|
const MainMenuButton = withMods(Button$1, (mods) => [css$9.root, css$9['type-' + (mods.type || 'primary')]], () => ({ dropdownIcon: ForwardRef$4, role: 'menuitem' }));
|
|
4375
4392
|
|
|
4376
|
-
var css$8 = {"dropdown-body":"
|
|
4393
|
+
var css$8 = {"dropdown-body":"_7K-F-h","dropdownBody":"_7K-F-h"};
|
|
4377
4394
|
|
|
4378
4395
|
class MainMenuDropdown extends React.Component {
|
|
4379
4396
|
render() {
|
|
@@ -4427,12 +4444,12 @@ var SvgGlobalMenu = function SvgGlobalMenu(props, ref) {
|
|
|
4427
4444
|
};
|
|
4428
4445
|
var ForwardRef$3 = /*#__PURE__*/forwardRef(SvgGlobalMenu);
|
|
4429
4446
|
|
|
4430
|
-
var css$7 = {"global-menu-btn":"
|
|
4447
|
+
var css$7 = {"global-menu-btn":"_8DGwyV","globalMenuIcon":"yp2fzd","globalMenuBtn":"_8DGwyV"};
|
|
4431
4448
|
|
|
4432
4449
|
const GlobalMenu = React.forwardRef((props, ref) => (React.createElement("button", Object.assign({ ref: ref, id: "global_menu_toggle", className: cx(css$7.globalMenuBtn, props.cx) }, props.rawProps),
|
|
4433
4450
|
React.createElement(IconContainer, { icon: ForwardRef$3, cx: css$7.globalMenuIcon }))));
|
|
4434
4451
|
|
|
4435
|
-
var css$6 = {"container":"
|
|
4452
|
+
var css$6 = {"container":"iuDvmZ","open":"vxl4GE"};
|
|
4436
4453
|
|
|
4437
4454
|
const MainMenuAvatar = React.forwardRef((props, ref) => (React.createElement("button", { ref: ref, className: cx(css$6.container, props.isDropdown && css$6.dropdown, props.isOpen && css$6.open, props.onClick && uuiMarkers.clickable, props.cx), onClick: props.onClick },
|
|
4438
4455
|
React.createElement(Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -4440,18 +4457,18 @@ const MainMenuAvatar = React.forwardRef((props, ref) => (React.createElement("bu
|
|
|
4440
4457
|
props.isDropdown && (React.createElement("div", null,
|
|
4441
4458
|
React.createElement(IconContainer, { icon: ForwardRef$1b, flipY: props.isOpen }))))));
|
|
4442
4459
|
|
|
4443
|
-
var css$5 = {"search-input":"
|
|
4460
|
+
var css$5 = {"search-input":"K00elx","searchInput":"K00elx"};
|
|
4444
4461
|
|
|
4445
4462
|
const MainMenuSearch = React.forwardRef((props, ref) => (React.createElement(IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
4446
4463
|
var _a;
|
|
4447
4464
|
return (React.createElement(TextInput$1, 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: cx$1(css$5.searchInput, props.cx) }, props.rawProps)));
|
|
4448
4465
|
} }))));
|
|
4449
4466
|
|
|
4450
|
-
var css$4 = {"container":"
|
|
4467
|
+
var css$4 = {"container":"g04zUX"};
|
|
4451
4468
|
|
|
4452
4469
|
const MainMenuIcon = React.forwardRef((props, ref) => (React.createElement(IconButton, Object.assign({ ref: ref, icon: props.icon, cx: cx$1(props.cx, css$4.container) }, props))));
|
|
4453
4470
|
|
|
4454
|
-
var css$3 = {"root":"
|
|
4471
|
+
var css$3 = {"root":"IhbvoF"};
|
|
4455
4472
|
|
|
4456
4473
|
const Anchor = withMods(Anchor$1, () => [css$3.root]);
|
|
4457
4474
|
|
|
@@ -4508,7 +4525,7 @@ var SvgShape = function SvgShape(props, ref) {
|
|
|
4508
4525
|
};
|
|
4509
4526
|
var ForwardRef$2 = /*#__PURE__*/forwardRef(SvgShape);
|
|
4510
4527
|
|
|
4511
|
-
var css$2 = {"root":"
|
|
4528
|
+
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"};
|
|
4512
4529
|
|
|
4513
4530
|
class DropSpot extends React.Component {
|
|
4514
4531
|
constructor() {
|
|
@@ -4532,9 +4549,9 @@ class DropSpot extends React.Component {
|
|
|
4532
4549
|
}
|
|
4533
4550
|
}
|
|
4534
4551
|
|
|
4535
|
-
var css$1 = {"root":"
|
|
4552
|
+
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"};
|
|
4536
4553
|
|
|
4537
|
-
var css = {"root":"
|
|
4554
|
+
var css = {"root":"v9PcwT"};
|
|
4538
4555
|
|
|
4539
4556
|
const SvgCircleProgress = React.forwardRef((props, ref) => {
|
|
4540
4557
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -4653,5 +4670,5 @@ const FileCard = React.forwardRef((props, ref) => {
|
|
|
4653
4670
|
isCrossShow && React.createElement(IconButton, { icon: ForwardRef$1, onClick: removeHandler })))));
|
|
4654
4671
|
});
|
|
4655
4672
|
|
|
4656
|
-
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerFooter, DataPickerHeader, DataPickerRow, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, EditMode, ErrorAlert, ErrorNotification, FileCard, FilterItemBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, MobileDropdownWrapper, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerToggler, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RichTextView, ScrollBars, SearchInput, Slider, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, allButtonColors, allButtonFills, allEpamBadgeSemanticColors, allFillStyles, allFontStyles, allIconColors, allLinkButtonColors, allRowSizes, allSemanticColors, allSizes, allTextColors, allTextSizes, applyBadgeMods, applyButtonMods, applyCheckboxMods, applyDateSelectionMods, applyInputAddonMods, applyNumericInputMods, applyProgressBarMods, applySliderMods, applySpinnerMods, applySwitchMods, applyTagMods, applyTextAreaMods, applyTextInputMods, defaultPredicates, getHighlightRanges, getHighlightedSearchMatches, getTextClasses, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, useColumnsWithFilters, useForm, uuiDatePickerBody, weekCount };
|
|
4673
|
+
export { Accordion, Alert, Anchor, AvatarStack, Badge, Blocker, Burger, BurgerButton, BurgerGroupHeader, BurgerSearch, Button, Calendar, Checkbox, CheckboxGroup, ClearNotification, ColumnHeaderDropdown, ColumnsConfigurationModal, ConfirmationModal, ControlGroup, CountIndicator, DataPickerBody, DataPickerFooter, DataPickerHeader, DataPickerRow, DataRowsContainer, DataTable, DataTableCell, DataTableHeaderCell, DataTableHeaderRow, DataTableRow, DatePicker, DatePickerBody, DropMarker, DropSpot, Dropdown, DropdownContainer, DropdownMenuBody, DropdownMenuButton, DropdownMenuHeader, DropdownMenuSplitter, DropdownMenuSwitchButton, DropdownSubMenu, EditMode, ErrorAlert, ErrorNotification, FileCard, FilterItemBody, FiltersPanel, FlexCell, FlexRow, Form, GlobalMenu, HintAlert, HintNotification, IDropdownControlKeys, IconButton, IndeterminateBar, IndicatorBar, InputAddon, LabeledInput, LinkButton, MainMenu, MainMenuAvatar, MainMenuButton, MainMenuDropdown, MainMenuIcon, MainMenuSearch, MobileDropdownWrapper, ModalBlocker, ModalFooter, ModalHeader, ModalWindow, MultiSwitch, NotificationCard, NumericInput, Paginator, Panel, PickerInput, PickerItem, PickerList, PickerListItem, PickerModal, PickerToggler, PresetsPanel, ProgressBar, RadioGroup, RadioInput, RangeDatePicker, RangeDatePickerBody, RichTextView, ScrollBars, SearchInput, Slider, Spinner, StatusIndicator, SuccessAlert, SuccessNotification, SvgCircleProgress, Switch, TabButton, Tag, Text, TextArea, TextInput, TextPlaceholder, TimePicker, Tooltip, VerticalTabButton, VirtualList, WarningAlert, WarningNotification, allButtonColors, allButtonFills, allEpamBadgeSemanticColors, allFillStyles, allFontStyles, allFontWeights, allIconColors, allLinkButtonColors, allRowSizes, allSemanticColors, allSizes, allTextColors, allTextSizes, applyBadgeMods, applyButtonMods, applyCheckboxMods, applyDateSelectionMods, applyInputAddonMods, applyNumericInputMods, applyProgressBarMods, applySliderMods, applySpinnerMods, applySwitchMods, applyTagMods, applyTextAreaMods, applyTextInputMods, defaultPredicates, getHighlightRanges, getHighlightedSearchMatches, getTextClasses, i18n, propsMods, rangeDatePickerPresets, renderCell, renderDropMarkers, useColumnsWithFilters, useForm, uuiDatePickerBody, weekCount };
|
|
4657
4674
|
//# sourceMappingURL=index.esm.js.map
|