@epam/uui 5.2.0-rc.3 → 5.3.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/effects.scss +1 -1
- package/assets/styles/typography.scss +25 -29
- package/components/buttons/Button.d.ts +4 -3
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/TabButton.d.ts +2 -1
- package/components/buttons/TabButton.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/inputs/Checkbox.d.ts +4 -4
- package/components/inputs/Checkbox.d.ts.map +1 -1
- package/components/inputs/Slider.d.ts +6 -0
- package/components/inputs/Slider.d.ts.map +1 -0
- package/components/inputs/Switch.d.ts +4 -3
- package/components/inputs/Switch.d.ts.map +1 -1
- package/components/inputs/TextInput.d.ts +3 -1
- package/components/inputs/TextInput.d.ts.map +1 -1
- package/components/inputs/index.d.ts +1 -0
- package/components/inputs/index.d.ts.map +1 -1
- package/components/layout/Accordion.d.ts +3 -2
- package/components/layout/Accordion.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexCell.d.ts +3 -1
- package/components/layout/FlexItems/FlexCell.d.ts.map +1 -1
- package/components/layout/FlexItems/Panel.d.ts +2 -0
- package/components/layout/FlexItems/Panel.d.ts.map +1 -1
- package/components/layout/LabeledInput.d.ts +3 -2
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/layout/VirtualList.d.ts +32 -2
- package/components/layout/VirtualList.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenu.d.ts +3 -2
- package/components/navigation/MainMenu/MainMenu.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuIcon.d.ts +1 -1
- package/components/navigation/MainMenu/MainMenuIcon.d.ts.map +1 -1
- package/components/overlays/DropdownContainer.d.ts +3 -3
- package/components/overlays/DropdownContainer.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts +1 -2
- package/components/pickers/DataPickerBody.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +1 -2
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts +1 -1
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts.map +1 -1
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/types.d.ts +8 -1
- package/components/types.d.ts.map +1 -1
- package/components/typography/RichTextView.d.ts +3 -2
- package/components/typography/RichTextView.d.ts.map +1 -1
- package/components/typography/Text.d.ts.map +1 -1
- package/components/widgets/Badge.d.ts +4 -2
- package/components/widgets/Badge.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts +8 -0
- package/components/widgets/CountIndicator.d.ts.map +1 -0
- package/components/widgets/StatusIndicator.d.ts +15 -0
- package/components/widgets/StatusIndicator.d.ts.map +1 -0
- package/components/widgets/Tag.d.ts +2 -1
- package/components/widgets/Tag.d.ts.map +1 -1
- package/components/widgets/index.d.ts +2 -1
- package/components/widgets/index.d.ts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.esm.js +674 -590
- package/index.esm.js.map +1 -1
- package/index.js +676 -589
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/stats.html +1 -1
- package/styles.css +9243 -4149
- package/styles.css.map +1 -1
- package/components/widgets/Informer.d.ts +0 -8
- package/components/widgets/Informer.d.ts.map +0 -1
package/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var React = require('react');
|
|
3
4
|
var uuiComponents = require('@epam/uui-components');
|
|
4
5
|
var uuiCore = require('@epam/uui-core');
|
|
5
|
-
var
|
|
6
|
+
var cx = require('classnames');
|
|
6
7
|
var dayjs = require('dayjs');
|
|
7
8
|
var customParseFormat = require('dayjs/plugin/customParseFormat.js');
|
|
8
9
|
var updateLocale = require('dayjs/plugin/updateLocale.js');
|
|
9
|
-
var cx = require('classnames');
|
|
10
10
|
var localeData = require('dayjs/plugin/localeData');
|
|
11
11
|
var sortBy = require('lodash.sortby');
|
|
12
12
|
var isoWeek = require('dayjs/plugin/isoWeek.js');
|
|
@@ -33,10 +33,11 @@ function _interopNamespace(e) {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
36
|
+
var uuiComponents__namespace = /*#__PURE__*/_interopNamespace(uuiComponents);
|
|
37
|
+
var cx__default = /*#__PURE__*/_interopDefault(cx);
|
|
36
38
|
var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
37
39
|
var customParseFormat__default = /*#__PURE__*/_interopDefault(customParseFormat);
|
|
38
40
|
var updateLocale__default = /*#__PURE__*/_interopDefault(updateLocale);
|
|
39
|
-
var cx__default = /*#__PURE__*/_interopDefault(cx);
|
|
40
41
|
var localeData__default = /*#__PURE__*/_interopDefault(localeData);
|
|
41
42
|
var sortBy__default = /*#__PURE__*/_interopDefault(sortBy);
|
|
42
43
|
var isoWeek__default = /*#__PURE__*/_interopDefault(isoWeek);
|
|
@@ -601,37 +602,275 @@ const systemIcons = {
|
|
|
601
602
|
},
|
|
602
603
|
};
|
|
603
604
|
|
|
604
|
-
var css$
|
|
605
|
+
var css$1n = {"root":"OGJyAA"};
|
|
606
|
+
|
|
607
|
+
const AvatarStack = uuiCore.withMods(uuiComponents.AvatarStack, () => [css$1n.root]);
|
|
608
|
+
|
|
609
|
+
var css$1m = {"root":"_723x-7","size-24":"_3US0jP","size-18":"uJJpdb","size-12":"-Ym7r-","size24":"_3US0jP","size18":"uJJpdb","size12":"-Ym7r-"};
|
|
610
|
+
|
|
611
|
+
const CountIndicator = React.forwardRef((props, ref) => {
|
|
612
|
+
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
613
|
+
css$1m.root,
|
|
614
|
+
'uui-count_indicator',
|
|
615
|
+
css$1m[`size-${props.size || 24}`],
|
|
616
|
+
props.color && `uui-color-${props.color}`,
|
|
617
|
+
props.cx,
|
|
618
|
+
]) }, props.caption));
|
|
619
|
+
});
|
|
620
|
+
|
|
621
|
+
var css$1l = {"uui-typography":"eDMB8n","hero-header":"t3RZR2","promo-header":"id8tKi","uui-critical":"TCe3z-","uui-success":"a8l8aJ","uui-warning":"vxAGrs","uui-typography-size-12":"fLMuYa","uui-typography-size-14":"oLE3Jv","uui-typography-size-16":"P1Vk-O","root":"OcUAEf","size-18":"Y78XaG","size-24":"LgSgbx","size-30":"jLP7uR","size-36":"k7qIOW","size-42":"pNUIOI","size-48":"tNDmp4","uuiTypography":"eDMB8n","heroHeader":"t3RZR2","promoHeader":"id8tKi","uuiCritical":"TCe3z-","uuiSuccess":"a8l8aJ","uuiWarning":"vxAGrs","uuiTypographySize12":"fLMuYa","uuiTypographySize14":"oLE3Jv","uuiTypographySize16":"P1Vk-O","size18":"Y78XaG","size24":"LgSgbx","size30":"jLP7uR","size36":"k7qIOW","size42":"pNUIOI","size48":"tNDmp4"};
|
|
622
|
+
|
|
623
|
+
const defaultSize$b = '36';
|
|
624
|
+
const mapSize$1 = {
|
|
625
|
+
48: '48',
|
|
626
|
+
42: '48',
|
|
627
|
+
36: '36',
|
|
628
|
+
30: '30',
|
|
629
|
+
24: '30',
|
|
630
|
+
18: '18',
|
|
631
|
+
};
|
|
632
|
+
function applyBadgeMods(mods) {
|
|
633
|
+
return [
|
|
634
|
+
'uui-badge',
|
|
635
|
+
css$1l.root,
|
|
636
|
+
css$1l['size-' + (mods.size || defaultSize$b)],
|
|
637
|
+
`uui-fill-${mods.fill || 'solid'}`,
|
|
638
|
+
mods.color && `uui-color-${mods.color}`,
|
|
639
|
+
mods.indicator && 'uui-indicator',
|
|
640
|
+
];
|
|
641
|
+
}
|
|
642
|
+
const mapCountIndicatorSizes$1 = {
|
|
643
|
+
18: '12',
|
|
644
|
+
24: '18',
|
|
645
|
+
30: '18',
|
|
646
|
+
36: '18',
|
|
647
|
+
42: '24',
|
|
648
|
+
48: '24',
|
|
649
|
+
};
|
|
650
|
+
const Badge = uuiCore.withMods(uuiComponents.Button, applyBadgeMods, (props) => {
|
|
651
|
+
if (process.env.NODE_ENV !== "production") {
|
|
652
|
+
uuiCore.devLogger.warnAboutDeprecatedPropValue({
|
|
653
|
+
component: 'Badge',
|
|
654
|
+
propName: 'size',
|
|
655
|
+
propValue: props.size,
|
|
656
|
+
propValueUseInstead: '42',
|
|
657
|
+
condition: () => ['48'].indexOf(props.size) !== -1,
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
return {
|
|
661
|
+
dropdownIcon: systemIcons[(props.size && mapSize$1[props.size]) || defaultSize$b].foldingArrow,
|
|
662
|
+
clearIcon: systemIcons[(props.size && mapSize$1[props.size]) || defaultSize$b].clear,
|
|
663
|
+
countPosition: 'left',
|
|
664
|
+
countIndicator: (countIndicatorProps) => (React__namespace.default.createElement(CountIndicator, Object.assign({}, countIndicatorProps, { color: null, size: mapCountIndicatorSizes$1[props.size || defaultSize$b] }))),
|
|
665
|
+
indicator: props.indicator || false,
|
|
666
|
+
};
|
|
667
|
+
});
|
|
668
|
+
|
|
669
|
+
var css$1k = {"uui-typography":"o2R8qc","hero-header":"_5gKOsI","promo-header":"BH1xZG","uui-critical":"K4XPRN","uui-success":"CdJF-j","uui-warning":"bT-8-Z","uui-typography-size-12":"HwaQan","uui-typography-size-14":"wiZ1yj","uui-typography-size-16":"NzruFf","root":"-NfsH-","size-18":"US-fLR","size-24":"_632Uwl","size-30":"K-DFbQ","size-36":"Sm1C07","size-42":"iV8a5D","size-48":"CdarUL","uuiTypography":"o2R8qc","heroHeader":"_5gKOsI","promoHeader":"BH1xZG","uuiCritical":"K4XPRN","uuiSuccess":"CdJF-j","uuiWarning":"bT-8-Z","uuiTypographySize12":"HwaQan","uuiTypographySize14":"wiZ1yj","uuiTypographySize16":"NzruFf","size18":"US-fLR","size24":"_632Uwl","size30":"K-DFbQ","size36":"Sm1C07","size42":"iV8a5D","size48":"CdarUL"};
|
|
670
|
+
|
|
671
|
+
const defaultSize$a = '36';
|
|
672
|
+
const mapSize = {
|
|
673
|
+
48: '48',
|
|
674
|
+
42: '48',
|
|
675
|
+
36: '36',
|
|
676
|
+
30: '30',
|
|
677
|
+
24: '30',
|
|
678
|
+
18: '18',
|
|
679
|
+
};
|
|
680
|
+
const mapCountIndicatorSizes = {
|
|
681
|
+
18: '12',
|
|
682
|
+
24: '18',
|
|
683
|
+
30: '18',
|
|
684
|
+
36: '18',
|
|
685
|
+
42: '24',
|
|
686
|
+
48: '24',
|
|
687
|
+
};
|
|
688
|
+
function applyTagMods(mods) {
|
|
689
|
+
return [
|
|
690
|
+
css$1k['size-' + (mods.size || defaultSize$a)],
|
|
691
|
+
css$1k.root,
|
|
692
|
+
'uui-color-neutral',
|
|
693
|
+
'uui-tag',
|
|
694
|
+
];
|
|
695
|
+
}
|
|
696
|
+
const Tag = uuiCore.withMods(uuiComponents.Button, applyTagMods, (props) => ({
|
|
697
|
+
dropdownIcon: systemIcons[mapSize[props.size] || defaultSize$a].foldingArrow,
|
|
698
|
+
clearIcon: systemIcons[mapSize[props.size] || defaultSize$a].clear,
|
|
699
|
+
countIndicator: (countIndicatorProps) => (React__namespace.default.createElement(CountIndicator, Object.assign({}, countIndicatorProps, { color: "white", size: mapCountIndicatorSizes[props.size || defaultSize$a] }))),
|
|
700
|
+
}));
|
|
701
|
+
|
|
702
|
+
var css$1j = {"root":"IJ-Yci","uui-spinner":"XqvuBZ","uuiSpinner":"XqvuBZ"};
|
|
703
|
+
|
|
704
|
+
function applySpinnerMods() {
|
|
705
|
+
return [css$1j.root, 'uui-spinner'];
|
|
706
|
+
}
|
|
707
|
+
const Spinner = uuiCore.withMods(uuiComponents.Spinner, applySpinnerMods);
|
|
708
|
+
|
|
709
|
+
var css$1i = {"root":"MdAmE7","spacer":"pe2ubC","mode-ghost":"aihJFJ","size-24":"rZFJ5R","size-30":"_5565Jq","navigation-size-24":"_9xmLQ6","navigation-size-30":"K3BMHI","modeGhost":"aihJFJ","size24":"rZFJ5R","size30":"_5565Jq","navigationSize24":"_9xmLQ6","navigationSize30":"K3BMHI"};
|
|
710
|
+
|
|
711
|
+
var _path$M;
|
|
712
|
+
function _extends$O() { _extends$O = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$O.apply(this, arguments); }
|
|
713
|
+
var SvgNavigationChevronLeft12 = function SvgNavigationChevronLeft12(props, ref) {
|
|
714
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$O({
|
|
715
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
716
|
+
width: 12,
|
|
717
|
+
height: 12,
|
|
718
|
+
viewBox: "0 0 12 12",
|
|
719
|
+
ref: ref
|
|
720
|
+
}, props), _path$M || (_path$M = /*#__PURE__*/React__namespace.createElement("path", {
|
|
721
|
+
fillRule: "evenodd",
|
|
722
|
+
d: "M7.705 3.705 7 3 4 6l3 3 .705-.705L5.415 6l2.29-2.295z",
|
|
723
|
+
clipRule: "evenodd"
|
|
724
|
+
})));
|
|
725
|
+
};
|
|
726
|
+
var ForwardRef$O = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeft12);
|
|
727
|
+
|
|
728
|
+
var _path$L;
|
|
729
|
+
function _extends$N() { _extends$N = 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$N.apply(this, arguments); }
|
|
730
|
+
var SvgNavigationChevronRight12 = function SvgNavigationChevronRight12(props, ref) {
|
|
731
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$N({
|
|
732
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
733
|
+
width: 12,
|
|
734
|
+
height: 12,
|
|
735
|
+
viewBox: "0 0 12 12",
|
|
736
|
+
ref: ref
|
|
737
|
+
}, props), _path$L || (_path$L = /*#__PURE__*/React__namespace.createElement("path", {
|
|
738
|
+
fillRule: "evenodd",
|
|
739
|
+
d: "m5 3-.705.705L6.585 6l-2.29 2.295L5 9l3-3-3-3z",
|
|
740
|
+
clipRule: "evenodd"
|
|
741
|
+
})));
|
|
742
|
+
};
|
|
743
|
+
var ForwardRef$N = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRight12);
|
|
744
|
+
|
|
745
|
+
var _path$K;
|
|
746
|
+
function _extends$M() { _extends$M = 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$M.apply(this, arguments); }
|
|
747
|
+
var SvgNavigationChevronLeft18 = function SvgNavigationChevronLeft18(props, ref) {
|
|
748
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$M({
|
|
749
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
750
|
+
width: 18,
|
|
751
|
+
height: 18,
|
|
752
|
+
viewBox: "0 0 18 18",
|
|
753
|
+
ref: ref
|
|
754
|
+
}, props), _path$K || (_path$K = /*#__PURE__*/React__namespace.createElement("path", {
|
|
755
|
+
fillRule: "evenodd",
|
|
756
|
+
d: "M11.557 5.558 10.5 4.5 6 9l4.5 4.5 1.057-1.057L8.123 9l3.434-3.442z",
|
|
757
|
+
clipRule: "evenodd"
|
|
758
|
+
})));
|
|
759
|
+
};
|
|
760
|
+
var ForwardRef$M = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeft18);
|
|
761
|
+
|
|
762
|
+
var _path$J;
|
|
763
|
+
function _extends$L() { _extends$L = 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$L.apply(this, arguments); }
|
|
764
|
+
var SvgNavigationChevronRight18 = function SvgNavigationChevronRight18(props, ref) {
|
|
765
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$L({
|
|
766
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
767
|
+
width: 18,
|
|
768
|
+
height: 18,
|
|
769
|
+
viewBox: "0 0 18 18",
|
|
770
|
+
ref: ref
|
|
771
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React__namespace.createElement("path", {
|
|
772
|
+
fillRule: "evenodd",
|
|
773
|
+
d: "M7.5 4.5 6.442 5.558 9.877 9l-3.435 3.443L7.5 13.5 12 9 7.5 4.5z",
|
|
774
|
+
clipRule: "evenodd"
|
|
775
|
+
})));
|
|
776
|
+
};
|
|
777
|
+
var ForwardRef$L = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRight18);
|
|
778
|
+
|
|
779
|
+
function Paginator(props) {
|
|
780
|
+
const renderPaginator = (params) => {
|
|
781
|
+
var _a, _b;
|
|
782
|
+
return (React__namespace.default.createElement("nav", Object.assign({ role: "navigation", className: cx__default.default(css$1i.root, 'uui-paginator') }, params.rawProps),
|
|
783
|
+
React__namespace.default.createElement(Button, { cx: css$1i[`navigation-size-${(_a = params.size) !== null && _a !== void 0 ? _a : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$M : ForwardRef$O, onClick: params.goToPrev, isDisabled: params.isFirst, fill: "outline", color: "secondary" }),
|
|
784
|
+
params.pages.map((page, index) => {
|
|
785
|
+
var _a, _b;
|
|
786
|
+
if (page.type === 'spacer') {
|
|
787
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$1i[`size-${(_a = params.size) !== null && _a !== void 0 ? _a : '30'}`], css$1i.spacer), size: params.size, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1 }));
|
|
788
|
+
}
|
|
789
|
+
else {
|
|
790
|
+
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$1i[`size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], css$1i[`mode-${!page.isActive && 'ghost'}`]), size: params.size, key: page.pageNumber, caption: page.pageNumber, onClick: () => { var _a; return (_a = page.onClick) === null || _a === void 0 ? void 0 : _a.call(page); }, rawProps: { 'aria-current': page.isActive }, fill: (page.isActive && 'outline') || 'ghost', color: "primary" }));
|
|
791
|
+
}
|
|
792
|
+
}),
|
|
793
|
+
React__namespace.default.createElement(Button, { cx: css$1i[`navigation-size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$L : ForwardRef$N, onClick: params.goToNext, isDisabled: params.isLast, fill: "outline", color: "secondary" })));
|
|
794
|
+
};
|
|
795
|
+
return React__namespace.default.createElement(uuiComponents.Paginator, Object.assign({}, props, { render: renderPaginator }));
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
var css$1h = {"root":"MHvesC","bar":"Q0RjIc","progressBar-indeterminate":"xRCQUE","size-12":"SvtZSo","size-18":"x-4uJ0","size-24":"QYXUHo","progressBarIndeterminate":"xRCQUE","size12":"SvtZSo","size18":"x-4uJ0","size24":"QYXUHo"};
|
|
799
|
+
|
|
800
|
+
const IndeterminateBar = React__namespace.forwardRef((props, ref) => {
|
|
801
|
+
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$1h.root, css$1h[`size-${props.size || 12}`]) },
|
|
802
|
+
React__namespace.createElement("div", { className: cx__default.default(css$1h.bar) })));
|
|
803
|
+
});
|
|
804
|
+
|
|
805
|
+
var css$1g = {"root":"KE3rZG","striped":"LRp-Lw","animate-stripes":"d7BOBF","size-12":"c4EBQo","size-18":"mRaPHp","size-24":"WIFWK2","animateStripes":"d7BOBF","size12":"c4EBQo","size18":"mRaPHp","size24":"WIFWK2"};
|
|
806
|
+
|
|
807
|
+
const defaultSize$9 = '12';
|
|
808
|
+
function applyProgressBarMods(mods) {
|
|
809
|
+
const size = mods.size || defaultSize$9;
|
|
810
|
+
return [
|
|
811
|
+
css$1g.root,
|
|
812
|
+
css$1g[`size-${size}`],
|
|
813
|
+
mods.striped && css$1g.striped,
|
|
814
|
+
];
|
|
815
|
+
}
|
|
816
|
+
const ProgressBar = uuiCore.withMods(uuiComponents.ProgressBar, applyProgressBarMods, (props) => ({
|
|
817
|
+
hideLabel: props.hideLabel || props.striped,
|
|
818
|
+
}));
|
|
819
|
+
|
|
820
|
+
var css$1f = {"root":"ODMyao"};
|
|
821
|
+
|
|
822
|
+
const IndicatorBar = React__namespace.forwardRef((props, ref) => {
|
|
823
|
+
const { progress } = props;
|
|
824
|
+
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$1f.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$1f.root, props.cx) }));
|
|
825
|
+
});
|
|
826
|
+
|
|
827
|
+
var css$1e = {"root":"Ld4RCO","size-12":"_8G6ivf","size-18":"WzabQU","size-24":"mzlmOO","size12":"_8G6ivf","size18":"WzabQU","size24":"mzlmOO"};
|
|
828
|
+
|
|
829
|
+
const StatusIndicator = React.forwardRef((props, ref) => {
|
|
830
|
+
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
831
|
+
css$1e.root,
|
|
832
|
+
css$1e[`size-${props.size || 24}`],
|
|
833
|
+
'uui-status_indicator',
|
|
834
|
+
`uui-color-${props.color || 'neutral'}`,
|
|
835
|
+
`uui-fill-${props.fill || 'solid'}`,
|
|
836
|
+
props.cx,
|
|
837
|
+
]) },
|
|
838
|
+
React__namespace.default.createElement("div", { className: "uui-status_indicator_dot" }),
|
|
839
|
+
React__namespace.default.createElement("p", { className: "uui-status_indicator_caption" }, props.caption)));
|
|
840
|
+
});
|
|
841
|
+
|
|
842
|
+
var css$1d = {"uui-typography":"d-pCLI","hero-header":"DPXc1q","promo-header":"Wjjj7C","uui-critical":"KDwqFK","uui-success":"qGfSuu","uui-warning":"HNaYRT","uui-typography-size-12":"PYXGrH","uui-typography-size-14":"_62UZ1B","uui-typography-size-16":"_0AFtoC","root":"_1UkAXk","size-18":"Lo611v","size-24":"_6U3dKn","size-30":"_9XGvV7","size-36":"zGarwU","size-42":"uZ9exU","size-48":"xXvOdg","uuiTypography":"d-pCLI","heroHeader":"DPXc1q","promoHeader":"Wjjj7C","uuiCritical":"KDwqFK","uuiSuccess":"qGfSuu","uuiWarning":"HNaYRT","uuiTypographySize12":"PYXGrH","uuiTypographySize14":"_62UZ1B","uuiTypographySize16":"_0AFtoC","size18":"Lo611v","size24":"_6U3dKn","size30":"_9XGvV7","size36":"zGarwU","size42":"uZ9exU","size48":"xXvOdg"};
|
|
605
843
|
|
|
606
844
|
const allButtonColors = [
|
|
607
|
-
'accent', 'primary', 'secondary', '
|
|
845
|
+
'accent', 'primary', 'critical', 'secondary', 'neutral',
|
|
608
846
|
];
|
|
609
|
-
const defaultSize$
|
|
847
|
+
const defaultSize$8 = '36';
|
|
610
848
|
function applyButtonMods(mods) {
|
|
611
849
|
return [
|
|
612
|
-
css$
|
|
850
|
+
css$1d.root,
|
|
613
851
|
'uui-button',
|
|
614
852
|
`uui-fill-${mods.fill || 'solid'}`,
|
|
615
853
|
`uui-color-${mods.color || 'primary'}`,
|
|
616
|
-
css$
|
|
854
|
+
css$1d[`size-${mods.size || defaultSize$8}`],
|
|
617
855
|
];
|
|
618
856
|
}
|
|
619
857
|
const Button = uuiCore.withMods(uuiComponents.Button, applyButtonMods, (props) => ({
|
|
620
|
-
dropdownIcon: systemIcons[props.size || defaultSize$
|
|
621
|
-
clearIcon: systemIcons[props.size || defaultSize$
|
|
858
|
+
dropdownIcon: systemIcons[props.size || defaultSize$8].foldingArrow,
|
|
859
|
+
clearIcon: systemIcons[props.size || defaultSize$8].clear,
|
|
860
|
+
countIndicator: (countIndicatorProps) => React__namespace.default.createElement(CountIndicator, Object.assign({}, countIndicatorProps, { color: "white" })),
|
|
622
861
|
}));
|
|
623
862
|
|
|
624
|
-
var css$
|
|
863
|
+
var css$1c = {"root":"ZZ473Y"};
|
|
625
864
|
|
|
626
865
|
const allIconColors = [
|
|
627
866
|
'info', 'success', 'warning', 'error', 'secondary', 'neutral',
|
|
628
867
|
];
|
|
629
868
|
function applyIconButtonMods(mods) {
|
|
630
|
-
return ['uui-icon_button', `uui-color-${mods.color || 'neutral'}`, css$
|
|
869
|
+
return ['uui-icon_button', `uui-color-${mods.color || 'neutral'}`, css$1c.root];
|
|
631
870
|
}
|
|
632
871
|
const IconButton = uuiCore.withMods(uuiComponents.IconButton, applyIconButtonMods);
|
|
633
872
|
|
|
634
|
-
var css$
|
|
873
|
+
var css$1b = {"root":"iVpl7q","size-18":"l-1ZWb","size-24":"TthNTH","size-30":"iP1y0i","size-36":"rIoKlV","size-42":"X69uia","size-48":"nrNqM4","size18":"l-1ZWb","size24":"TthNTH","size30":"iP1y0i","size36":"rIoKlV","size42":"X69uia","size48":"nrNqM4"};
|
|
635
874
|
|
|
636
875
|
function getIconClass(props) {
|
|
637
876
|
const classList = {
|
|
@@ -650,39 +889,39 @@ function getIconClass(props) {
|
|
|
650
889
|
return [classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon', classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon'];
|
|
651
890
|
}
|
|
652
891
|
|
|
653
|
-
const defaultSize$
|
|
892
|
+
const defaultSize$7 = '36';
|
|
654
893
|
const allLinkButtonColors = ['primary', 'secondary', 'contrast'];
|
|
655
894
|
function applyLinkButtonMods(mods) {
|
|
656
895
|
return [
|
|
657
896
|
'uui-link_button',
|
|
658
|
-
css$
|
|
659
|
-
css$
|
|
897
|
+
css$1b.root,
|
|
898
|
+
css$1b['size-' + (mods.size || defaultSize$7)],
|
|
660
899
|
...getIconClass(mods),
|
|
661
900
|
`uui-color-${mods.color || 'primary'}`,
|
|
662
901
|
];
|
|
663
902
|
}
|
|
664
903
|
const LinkButton = uuiCore.withMods(uuiComponents.Button, applyLinkButtonMods, (props) => ({
|
|
665
|
-
dropdownIcon: systemIcons[props.size || defaultSize$
|
|
666
|
-
clearIcon: systemIcons[props.size || defaultSize$
|
|
904
|
+
dropdownIcon: systemIcons[props.size || defaultSize$7].foldingArrow,
|
|
905
|
+
clearIcon: systemIcons[props.size || defaultSize$7].clear,
|
|
667
906
|
}));
|
|
668
907
|
|
|
669
|
-
var css$
|
|
908
|
+
var css$1a = {"uui-typography":"y-VYv4","hero-header":"wTNqSp","promo-header":"NXzCXN","uui-critical":"VvGIuJ","uui-success":"TY710q","uui-warning":"_0n1YXt","uui-typography-size-12":"q7BBDm","uui-typography-size-14":"FHC-7C","uui-typography-size-16":"_7mGCfj","root":"Y-c-PR","withNotify":"snIH2z","size-36":"_1Bd6gR","size-48":"oBRI61","size-60":"TH8Cj2","uuiTypography":"y-VYv4","heroHeader":"wTNqSp","promoHeader":"NXzCXN","uuiCritical":"VvGIuJ","uuiSuccess":"TY710q","uuiWarning":"_0n1YXt","uuiTypographySize12":"q7BBDm","uuiTypographySize14":"FHC-7C","uuiTypographySize16":"_7mGCfj","size36":"_1Bd6gR","size48":"oBRI61","size60":"TH8Cj2"};
|
|
670
909
|
|
|
671
910
|
function applyTabButtonMods(mods) {
|
|
672
911
|
return [
|
|
673
|
-
css$
|
|
912
|
+
css$1a.root,
|
|
674
913
|
'uui-tab-button',
|
|
675
|
-
css$
|
|
676
|
-
mods.withNotify && css$
|
|
914
|
+
css$1a['size-' + (mods.size || '48')],
|
|
915
|
+
mods.withNotify && css$1a.withNotify,
|
|
677
916
|
...getIconClass(mods),
|
|
678
917
|
];
|
|
679
918
|
}
|
|
680
|
-
const TabButton = uuiCore.withMods(uuiComponents.Button, applyTabButtonMods, (props) => (Object.assign(Object.assign({ dropdownIcon: systemIcons['36'].foldingArrow, clearIcon: systemIcons['36'].clear
|
|
919
|
+
const TabButton = uuiCore.withMods(uuiComponents.Button, applyTabButtonMods, (props) => (Object.assign(Object.assign({ dropdownIcon: systemIcons['36'].foldingArrow, clearIcon: systemIcons['36'].clear }, props), { rawProps: Object.assign({ role: 'tab' }, props.rawProps), countIndicator: (countIndicatorProps) => (React__namespace.default.createElement(CountIndicator, Object.assign({}, countIndicatorProps, { color: props.isLinkActive ? 'info' : 'neutral', size: "18" }))) })));
|
|
681
920
|
|
|
682
|
-
var css$
|
|
921
|
+
var css$19 = {"uui-typography":"VPcP6T","hero-header":"gEHpxw","promo-header":"bgQAQR","uui-critical":"BAgmbv","uui-success":"_8ZXn-D","uui-warning":"U94iRT","uui-typography-size-12":"BvJwr0","uui-typography-size-14":"vrOu1P","uui-typography-size-16":"K--CkC","root":"cmRTpx","uuiTypography":"VPcP6T","heroHeader":"gEHpxw","promoHeader":"bgQAQR","uuiCritical":"BAgmbv","uuiSuccess":"_8ZXn-D","uuiWarning":"U94iRT","uuiTypographySize12":"BvJwr0","uuiTypographySize14":"vrOu1P","uuiTypographySize16":"K--CkC"};
|
|
683
922
|
|
|
684
923
|
function applyVerticalTabButtonMods() {
|
|
685
|
-
return [css$
|
|
924
|
+
return [css$19.root];
|
|
686
925
|
}
|
|
687
926
|
const VerticalTabButton = uuiCore.withMods(TabButton, applyVerticalTabButtonMods);
|
|
688
927
|
|
|
@@ -700,7 +939,7 @@ const allSemanticColors = [
|
|
|
700
939
|
'info', 'success', 'warning', 'error',
|
|
701
940
|
];
|
|
702
941
|
const allEpamBadgeSemanticColors = [
|
|
703
|
-
'info', 'success', 'warning', '
|
|
942
|
+
'info', 'success', 'warning', 'critical', 'neutral',
|
|
704
943
|
];
|
|
705
944
|
const allTextSizes = [
|
|
706
945
|
'18', '24', '30', '36', '48',
|
|
@@ -715,92 +954,92 @@ exports.EditMode = void 0;
|
|
|
715
954
|
EditMode["INLINE"] = "inline";
|
|
716
955
|
})(exports.EditMode || (exports.EditMode = {}));
|
|
717
956
|
|
|
718
|
-
var _path$
|
|
719
|
-
function _extends$
|
|
957
|
+
var _path$I;
|
|
958
|
+
function _extends$K() { _extends$K = 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$K.apply(this, arguments); }
|
|
720
959
|
var SvgCheck12 = function SvgCheck12(props, ref) {
|
|
721
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
960
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$K({
|
|
722
961
|
width: 12,
|
|
723
962
|
height: 12,
|
|
724
963
|
viewBox: "0 0 12 12",
|
|
725
964
|
xmlns: "http://www.w3.org/2000/svg",
|
|
726
965
|
ref: ref
|
|
727
|
-
}, props), _path$
|
|
966
|
+
}, props), _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
728
967
|
fillRule: "evenodd",
|
|
729
968
|
d: "M9.491 3.449 10.51 4.55 5.663 9.024 2.487 6.047l1.026-1.094L5.67 6.975z"
|
|
730
969
|
})));
|
|
731
970
|
};
|
|
732
|
-
var ForwardRef$
|
|
971
|
+
var ForwardRef$K = /*#__PURE__*/React.forwardRef(SvgCheck12);
|
|
733
972
|
|
|
734
|
-
var _path$
|
|
735
|
-
function _extends$
|
|
973
|
+
var _path$H;
|
|
974
|
+
function _extends$J() { _extends$J = 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$J.apply(this, arguments); }
|
|
736
975
|
var SvgCheck18 = function SvgCheck18(props, ref) {
|
|
737
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
976
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$J({
|
|
738
977
|
width: 18,
|
|
739
978
|
height: 18,
|
|
740
979
|
viewBox: "0 0 18 18",
|
|
741
980
|
xmlns: "http://www.w3.org/2000/svg",
|
|
742
981
|
ref: ref
|
|
743
|
-
}, props), _path$
|
|
982
|
+
}, props), _path$H || (_path$H = /*#__PURE__*/React__namespace.createElement("path", {
|
|
744
983
|
fillRule: "evenodd",
|
|
745
984
|
d: "m14.247 4.341 1.506 1.318-7.704 8.804-4.756-4.756 1.414-1.414 3.244 3.243z"
|
|
746
985
|
})));
|
|
747
986
|
};
|
|
748
|
-
var ForwardRef$
|
|
987
|
+
var ForwardRef$J = /*#__PURE__*/React.forwardRef(SvgCheck18);
|
|
749
988
|
|
|
750
|
-
var _path$
|
|
751
|
-
function _extends$
|
|
989
|
+
var _path$G;
|
|
990
|
+
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); }
|
|
752
991
|
var SvgPartlySelect12 = function SvgPartlySelect12(props, ref) {
|
|
753
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
992
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
|
|
754
993
|
width: 12,
|
|
755
994
|
height: 12,
|
|
756
995
|
viewBox: "0 0 12 12",
|
|
757
996
|
xmlns: "http://www.w3.org/2000/svg",
|
|
758
997
|
ref: ref
|
|
759
|
-
}, props), _path$
|
|
998
|
+
}, props), _path$G || (_path$G = /*#__PURE__*/React__namespace.createElement("path", {
|
|
760
999
|
fillRule: "evenodd",
|
|
761
1000
|
d: "M9 5v2H3V5z"
|
|
762
1001
|
})));
|
|
763
1002
|
};
|
|
764
|
-
var ForwardRef$
|
|
1003
|
+
var ForwardRef$I = /*#__PURE__*/React.forwardRef(SvgPartlySelect12);
|
|
765
1004
|
|
|
766
|
-
var _path$
|
|
767
|
-
function _extends$
|
|
1005
|
+
var _path$F;
|
|
1006
|
+
function _extends$H() { _extends$H = 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$H.apply(this, arguments); }
|
|
768
1007
|
var SvgPartlySelect18 = function SvgPartlySelect18(props, ref) {
|
|
769
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1008
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
|
|
770
1009
|
width: 18,
|
|
771
1010
|
height: 18,
|
|
772
1011
|
viewBox: "0 0 18 18",
|
|
773
1012
|
xmlns: "http://www.w3.org/2000/svg",
|
|
774
1013
|
ref: ref
|
|
775
|
-
}, props), _path$
|
|
1014
|
+
}, props), _path$F || (_path$F = /*#__PURE__*/React__namespace.createElement("path", {
|
|
776
1015
|
fillRule: "evenodd",
|
|
777
1016
|
d: "M14 8v2H4V8z"
|
|
778
1017
|
})));
|
|
779
1018
|
};
|
|
780
|
-
var ForwardRef$
|
|
1019
|
+
var ForwardRef$H = /*#__PURE__*/React.forwardRef(SvgPartlySelect18);
|
|
781
1020
|
|
|
782
|
-
var css$
|
|
1021
|
+
var css$18 = {"uui-typography":"PIBPnE","hero-header":"t-6hoI","promo-header":"nZSMXM","uui-critical":"_4aYZWv","uui-success":"E4kiYc","uui-warning":"UQEjxK","uui-typography-size-12":"qBjUr9","uui-typography-size-14":"dgsxDM","uui-typography-size-16":"_5uN-0S","root":"THQBC6","size-18":"Xp29lq","size-12":"KuDpjx","mode-cell":"VbuSuE","uuiTypography":"PIBPnE","heroHeader":"t-6hoI","promoHeader":"nZSMXM","uuiCritical":"_4aYZWv","uuiSuccess":"E4kiYc","uuiWarning":"UQEjxK","uuiTypographySize12":"qBjUr9","uuiTypographySize14":"dgsxDM","uuiTypographySize16":"_5uN-0S","size18":"Xp29lq","size12":"KuDpjx","modeCell":"VbuSuE"};
|
|
783
1022
|
|
|
784
1023
|
function applyCheckboxMods(mods) {
|
|
785
1024
|
return [
|
|
786
|
-
css$
|
|
787
|
-
css$
|
|
788
|
-
css$
|
|
1025
|
+
css$18.root,
|
|
1026
|
+
css$18['size-' + (mods.size || '18')],
|
|
1027
|
+
css$18['mode-' + (mods.mode || 'form')],
|
|
789
1028
|
'uui-color-primary',
|
|
790
1029
|
];
|
|
791
1030
|
}
|
|
792
1031
|
const applyUUICheckboxProps = (props) => ({
|
|
793
|
-
icon: props.size === '12' ? ForwardRef$
|
|
794
|
-
indeterminateIcon: props.size === '12' ? ForwardRef$
|
|
1032
|
+
icon: props.size === '12' ? ForwardRef$K : ForwardRef$J,
|
|
1033
|
+
indeterminateIcon: props.size === '12' ? ForwardRef$I : ForwardRef$H,
|
|
795
1034
|
});
|
|
796
|
-
const Checkbox = uuiCore.withMods(
|
|
1035
|
+
const Checkbox = uuiCore.withMods(uuiComponents__namespace.Checkbox, applyCheckboxMods, applyUUICheckboxProps);
|
|
797
1036
|
|
|
798
|
-
var css$
|
|
1037
|
+
var css$17 = {"uui-typography":"-iDKoQ","hero-header":"RhKRs7","promo-header":"h-UWRJ","uui-critical":"lIGFuF","uui-success":"XrS0R0","uui-warning":"gb3AO2","uui-typography-size-12":"_3e5L15","uui-typography-size-14":"_9isW1j","uui-typography-size-16":"zr-zCt","root":"lNjTUi","size-18":"iYB8qZ","size-12":"mhj7Ov","uuiTypography":"-iDKoQ","heroHeader":"RhKRs7","promoHeader":"h-UWRJ","uuiCritical":"lIGFuF","uuiSuccess":"XrS0R0","uuiWarning":"gb3AO2","uuiTypographySize12":"_3e5L15","uuiTypographySize14":"_9isW1j","uuiTypographySize16":"zr-zCt","size18":"iYB8qZ","size12":"mhj7Ov"};
|
|
799
1038
|
|
|
800
1039
|
var _circle;
|
|
801
|
-
function _extends$
|
|
1040
|
+
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); }
|
|
802
1041
|
var SvgRadioPoint = function SvgRadioPoint(props, ref) {
|
|
803
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1042
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
|
|
804
1043
|
width: 18,
|
|
805
1044
|
height: 18,
|
|
806
1045
|
viewBox: "0 0 18 18",
|
|
@@ -812,21 +1051,21 @@ var SvgRadioPoint = function SvgRadioPoint(props, ref) {
|
|
|
812
1051
|
r: 6
|
|
813
1052
|
})));
|
|
814
1053
|
};
|
|
815
|
-
var ForwardRef$
|
|
1054
|
+
var ForwardRef$G = /*#__PURE__*/React.forwardRef(SvgRadioPoint);
|
|
816
1055
|
|
|
817
1056
|
function applyRadioInputMods(mods) {
|
|
818
|
-
return [css$
|
|
1057
|
+
return [css$17.root, css$17['size-' + (mods.size || '18')], 'uui-color-primary'];
|
|
819
1058
|
}
|
|
820
|
-
const RadioInput = uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, () => ({ icon: ForwardRef$
|
|
1059
|
+
const RadioInput = uuiCore.withMods(uuiComponents.RadioInput, applyRadioInputMods, () => ({ icon: ForwardRef$G }));
|
|
821
1060
|
|
|
822
|
-
var css$
|
|
1061
|
+
var css$16 = {"root":"_5eGiNq","size-12":"dmGsw-","size-18":"dnZ83Z","size-24":"sQJGNJ","size12":"dmGsw-","size18":"dnZ83Z","size24":"sQJGNJ"};
|
|
823
1062
|
|
|
824
1063
|
function applySwitchMods(mods) {
|
|
825
1064
|
return [
|
|
826
|
-
css$
|
|
1065
|
+
css$16.root, css$16['size-' + (mods.size || '18')], 'uui-color-primary',
|
|
827
1066
|
];
|
|
828
1067
|
}
|
|
829
|
-
const Switch = uuiCore.withMods(
|
|
1068
|
+
const Switch = uuiCore.withMods(uuiComponents__namespace.Switch, applySwitchMods);
|
|
830
1069
|
|
|
831
1070
|
/******************************************************************************
|
|
832
1071
|
Copyright (c) Microsoft Corporation.
|
|
@@ -872,27 +1111,27 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
872
1111
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
873
1112
|
};
|
|
874
1113
|
|
|
875
|
-
var textInputCss = {"root":"
|
|
1114
|
+
var textInputCss = {"uui-typography":"Vqe9Hc","hero-header":"TwsQ7b","promo-header":"Zl6eXK","uui-critical":"kjmiE2","uui-success":"oqLwZt","uui-warning":"uy3Bmj","uui-typography-size-12":"nFtkWZ","uui-typography-size-14":"kv2pSu","uui-typography-size-16":"eESpCP","root":"vKsAnN","mode-form":"fxgMSF","mode-inline":"qBWKpx","mode-cell":"g0HKL4","size-24":"kTbPQM","size-30":"NZv94p","size-36":"_8JfSxy","size-42":"GextdL","size-48":"gSYmDT","uuiTypography":"Vqe9Hc","heroHeader":"TwsQ7b","promoHeader":"Zl6eXK","uuiCritical":"kjmiE2","uuiSuccess":"oqLwZt","uuiWarning":"uy3Bmj","uuiTypographySize12":"nFtkWZ","uuiTypographySize14":"kv2pSu","uuiTypographySize16":"eESpCP","modeForm":"fxgMSF","modeInline":"qBWKpx","modeCell":"g0HKL4","size24":"kTbPQM","size30":"NZv94p","size36":"_8JfSxy","size42":"GextdL","size48":"gSYmDT"};
|
|
876
1115
|
|
|
877
|
-
const defaultSize$
|
|
1116
|
+
const defaultSize$6 = '36';
|
|
878
1117
|
const defaultMode$5 = exports.EditMode.FORM;
|
|
879
1118
|
function applyTextInputMods(mods) {
|
|
880
1119
|
return [
|
|
881
1120
|
textInputCss.root,
|
|
882
|
-
textInputCss['size-' + (mods.size || defaultSize$
|
|
1121
|
+
textInputCss['size-' + (mods.size || defaultSize$6)],
|
|
883
1122
|
textInputCss['mode-' + (mods.mode || defaultMode$5)],
|
|
884
1123
|
];
|
|
885
1124
|
}
|
|
886
1125
|
const TextInput = uuiCore.withMods(uuiComponents.TextInput, applyTextInputMods, (props) => ({
|
|
887
|
-
acceptIcon: systemIcons[props.size || defaultSize$
|
|
888
|
-
cancelIcon: systemIcons[props.size || defaultSize$
|
|
889
|
-
dropdownIcon: systemIcons[props.size || defaultSize$
|
|
1126
|
+
acceptIcon: systemIcons[props.size || defaultSize$6].accept,
|
|
1127
|
+
cancelIcon: systemIcons[props.size || defaultSize$6].clear,
|
|
1128
|
+
dropdownIcon: systemIcons[props.size || defaultSize$6].foldingArrow,
|
|
890
1129
|
}));
|
|
891
1130
|
const SearchInput = React__namespace.default.forwardRef((props, ref) => {
|
|
892
1131
|
// analytics events are sending in IEditableDebouncer, so we need to avoid sending events in TextInput
|
|
893
1132
|
const textInputProps = __rest(props, []);
|
|
894
1133
|
delete textInputProps.getValueChangeAnalyticsEvent;
|
|
895
|
-
return (React__namespace.default.createElement(uuiCore.IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => (React__namespace.default.createElement(TextInput, Object.assign({ icon: systemIcons[props.size || defaultSize$
|
|
1134
|
+
return (React__namespace.default.createElement(uuiCore.IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => (React__namespace.default.createElement(TextInput, Object.assign({ icon: systemIcons[props.size || defaultSize$6].search, onCancel: !!props.value
|
|
896
1135
|
// In a lot of places, it is required to check if a clicked element is a part of some other element.
|
|
897
1136
|
// Usually, those are global click event handlers. To allow that logic to work correctly, it is necessary
|
|
898
1137
|
// to execute the `disappearing` of the cross (setState execution) after the event will pass through all the handlers.
|
|
@@ -901,41 +1140,41 @@ const SearchInput = React__namespace.default.forwardRef((props, ref) => {
|
|
|
901
1140
|
: undefined, type: "search", inputMode: "search", ref: ref }, textInputProps, iEditable))) })));
|
|
902
1141
|
});
|
|
903
1142
|
|
|
904
|
-
var css$
|
|
1143
|
+
var css$15 = {"root":"KA9WO-"};
|
|
905
1144
|
|
|
906
|
-
const ControlGroup = uuiCore.withMods(uuiComponents.ControlGroup, () => [css$
|
|
1145
|
+
const ControlGroup = uuiCore.withMods(uuiComponents.ControlGroup, () => [css$15.root]);
|
|
907
1146
|
|
|
908
1147
|
function MultiSwitchComponent(props, ref) {
|
|
909
1148
|
return (React__namespace.createElement(ControlGroup, { ref: ref, rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'tablist' }) }, props.items.map((item, index) => (React__namespace.createElement(Button, Object.assign({}, props, item, { isDisabled: props.isDisabled, key: index + '-' + item.id, onClick: () => props.onValueChange(item.id), fill: props.value === item.id ? 'solid' : 'outline', color: props.color === 'secondary' && props.value === item.id ? 'primary' : props.color || 'primary', size: props.size, rawProps: { 'aria-current': props.value === item.id, role: 'tab' } }))))));
|
|
910
1149
|
}
|
|
911
1150
|
const MultiSwitch = React__namespace.forwardRef(MultiSwitchComponent);
|
|
912
1151
|
|
|
913
|
-
var css$
|
|
1152
|
+
var css$14 = {"uui-typography":"-dUdcX","hero-header":"Z6gBx1","promo-header":"_72v0kR","uui-critical":"kjzvMi","uui-success":"XGW7ke","uui-warning":"unu2bz","uui-typography-size-12":"O2IM5q","uui-typography-size-14":"JU75LM","uui-typography-size-16":"amta3z","root":"K6OU3B","size-24":"DMQU-8","size-30":"kmSZ-K","size-36":"wDCUAW","size-42":"HQKayp","size-48":"_16Bkal","mode-form":"ph27ht","mode-cell":"eWk4CJ","uuiTypography":"-dUdcX","heroHeader":"Z6gBx1","promoHeader":"_72v0kR","uuiCritical":"kjzvMi","uuiSuccess":"XGW7ke","uuiWarning":"unu2bz","uuiTypographySize12":"O2IM5q","uuiTypographySize14":"JU75LM","uuiTypographySize16":"amta3z","size24":"DMQU-8","size30":"kmSZ-K","size36":"wDCUAW","size42":"HQKayp","size48":"_16Bkal","modeForm":"ph27ht","modeCell":"eWk4CJ"};
|
|
914
1153
|
|
|
915
|
-
const defaultSize$
|
|
1154
|
+
const defaultSize$5 = '36';
|
|
916
1155
|
const defaultMode$4 = exports.EditMode.FORM;
|
|
917
1156
|
function applyNumericInputMods(mods) {
|
|
918
1157
|
return [
|
|
919
|
-
textInputCss.root, css$
|
|
1158
|
+
textInputCss.root, css$14.root, css$14['size-' + (mods.size || defaultSize$5)], textInputCss['size-' + (mods.size || defaultSize$5)], textInputCss['mode-' + (mods.mode || defaultMode$4)],
|
|
920
1159
|
];
|
|
921
1160
|
}
|
|
922
1161
|
const NumericInput = uuiCore.withMods(uuiComponents.NumericInput, applyNumericInputMods, (props) => {
|
|
923
1162
|
var _a, _b;
|
|
924
1163
|
return ({
|
|
925
|
-
upIcon: systemIcons[props.size || defaultSize$
|
|
926
|
-
downIcon: systemIcons[props.size || defaultSize$
|
|
1164
|
+
upIcon: systemIcons[props.size || defaultSize$5].foldingArrow,
|
|
1165
|
+
downIcon: systemIcons[props.size || defaultSize$5].foldingArrow,
|
|
927
1166
|
align: (_a = props.align) !== null && _a !== void 0 ? _a : (props.mode === 'cell' ? 'right' : 'left'),
|
|
928
1167
|
disableArrows: (_b = props.disableArrows) !== null && _b !== void 0 ? _b : props.mode === 'cell',
|
|
929
1168
|
});
|
|
930
1169
|
});
|
|
931
1170
|
|
|
932
|
-
var css$
|
|
1171
|
+
var css$13 = {"uui-typography":"_715x-F","hero-header":"umk8VP","promo-header":"Wc3IgT","uui-critical":"_6aejJw","uui-success":"tdn-Eo","uui-warning":"ttPuHb","uui-typography-size-12":"_5PNCHe","uui-typography-size-14":"cOX4sg","uui-typography-size-16":"Vgi1Mx","root":"Ce4Vuu","mode-form":"iuj5Z6","mode-cell":"glsVfO","mode-inline":"E3QA2X","size-24":"h2Zco-","size-30":"K15-cm","size-36":"hL4JAw","size-42":"XZbGSO","size-48":"Ylt6-B","uuiTypography":"_715x-F","heroHeader":"umk8VP","promoHeader":"Wc3IgT","uuiCritical":"_6aejJw","uuiSuccess":"tdn-Eo","uuiWarning":"ttPuHb","uuiTypographySize12":"_5PNCHe","uuiTypographySize14":"cOX4sg","uuiTypographySize16":"Vgi1Mx","modeForm":"iuj5Z6","modeCell":"glsVfO","modeInline":"E3QA2X","size24":"h2Zco-","size30":"K15-cm","size36":"hL4JAw","size42":"XZbGSO","size48":"Ylt6-B"};
|
|
933
1172
|
|
|
934
|
-
const defaultSize$
|
|
1173
|
+
const defaultSize$4 = '36';
|
|
935
1174
|
const defaultMode$3 = exports.EditMode.FORM;
|
|
936
1175
|
function applyTextAreaMods(mods) {
|
|
937
1176
|
return [
|
|
938
|
-
css$
|
|
1177
|
+
css$13.root, css$13['size-' + (mods.size || defaultSize$4)], css$13['mode-' + (mods.mode || defaultMode$3)],
|
|
939
1178
|
];
|
|
940
1179
|
}
|
|
941
1180
|
const TextArea = uuiCore.withMods(uuiComponents.TextArea, applyTextAreaMods, (props) => ({
|
|
@@ -943,20 +1182,20 @@ const TextArea = uuiCore.withMods(uuiComponents.TextArea, applyTextAreaMods, (pr
|
|
|
943
1182
|
maxLength: props.mode === exports.EditMode.CELL ? undefined : props.maxLength,
|
|
944
1183
|
}));
|
|
945
1184
|
|
|
946
|
-
var css$
|
|
1185
|
+
var css$12 = {"root":"vjSXA6"};
|
|
947
1186
|
|
|
948
1187
|
function applyDropdownContainerMods(mods) {
|
|
949
1188
|
return [
|
|
950
|
-
css$
|
|
1189
|
+
css$12.root,
|
|
951
1190
|
mods.vPadding && `vPadding-${mods.vPadding}`,
|
|
952
1191
|
mods.padding && `padding-${mods.padding}`,
|
|
953
1192
|
];
|
|
954
1193
|
}
|
|
955
|
-
const DropdownContainer = uuiCore.withMods(
|
|
1194
|
+
const DropdownContainer = uuiCore.withMods(uuiComponents__namespace.DropdownContainer, applyDropdownContainerMods);
|
|
956
1195
|
|
|
957
|
-
var css$
|
|
1196
|
+
var css$11 = {"root":"_1z5901","icon":"_474N6m","date-input":"fSthI4","dateInput":"fSthI4"};
|
|
958
1197
|
|
|
959
|
-
const TimePickerBody = uuiCore.withMods(uuiComponents.TimePickerBody, () => [css$
|
|
1198
|
+
const TimePickerBody = uuiCore.withMods(uuiComponents.TimePickerBody, () => [css$11.root], () => ({ addIcon: ForwardRef$1b, subtractIcon: ForwardRef$1b }));
|
|
960
1199
|
|
|
961
1200
|
dayjs__default.default.extend(customParseFormat__default.default);
|
|
962
1201
|
const defaultMode$2 = exports.EditMode.FORM;
|
|
@@ -976,7 +1215,7 @@ class TimePicker extends uuiComponents.BaseTimePicker {
|
|
|
976
1215
|
});
|
|
977
1216
|
}
|
|
978
1217
|
}
|
|
979
|
-
return (React__namespace.default.createElement(TextInput, Object.assign({}, props, { onClick: null, size: this.props.size || '36', isDisabled: this.props.isDisabled, isReadonly: this.props.isReadonly, isInvalid: this.props.isInvalid, cx: [css$
|
|
1218
|
+
return (React__namespace.default.createElement(TextInput, Object.assign({}, props, { onClick: null, size: this.props.size || '36', isDisabled: this.props.isDisabled, isReadonly: this.props.isReadonly, isInvalid: this.props.isInvalid, cx: [css$11.root, css$11.dateInput, 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 })));
|
|
980
1219
|
};
|
|
981
1220
|
this.renderBody = (props) => {
|
|
982
1221
|
var _a;
|
|
@@ -986,50 +1225,23 @@ class TimePicker extends uuiComponents.BaseTimePicker {
|
|
|
986
1225
|
}
|
|
987
1226
|
}
|
|
988
1227
|
|
|
989
|
-
var css$
|
|
1228
|
+
var css$10 = {"root":"BIYkBh"};
|
|
990
1229
|
|
|
991
1230
|
function applyInputAddonMods() {
|
|
992
1231
|
return [
|
|
993
|
-
css$
|
|
1232
|
+
css$10.root,
|
|
994
1233
|
];
|
|
995
1234
|
}
|
|
996
1235
|
const InputAddon = uuiCore.withMods(uuiComponents.InputAddon, applyInputAddonMods);
|
|
997
1236
|
|
|
998
|
-
var css
|
|
1237
|
+
var css$$ = {"root":"_2FWoQd"};
|
|
999
1238
|
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1005
|
-
width: 18,
|
|
1006
|
-
height: 18,
|
|
1007
|
-
viewBox: "0 0 18 18",
|
|
1008
|
-
ref: ref
|
|
1009
|
-
}, props), _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1010
|
-
fillRule: "evenodd",
|
|
1011
|
-
d: "M11.557 5.558 10.5 4.5 6 9l4.5 4.5 1.057-1.057L8.123 9l3.434-3.442z",
|
|
1012
|
-
clipRule: "evenodd"
|
|
1013
|
-
})));
|
|
1014
|
-
};
|
|
1015
|
-
var ForwardRef$J = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeft18);
|
|
1239
|
+
function applySliderMods() {
|
|
1240
|
+
return [css$$.root];
|
|
1241
|
+
}
|
|
1242
|
+
const Slider = uuiCore.withMods(uuiComponents.Slider, applySliderMods);
|
|
1016
1243
|
|
|
1017
|
-
var
|
|
1018
|
-
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); }
|
|
1019
|
-
var SvgNavigationChevronRight18 = function SvgNavigationChevronRight18(props, ref) {
|
|
1020
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
|
|
1021
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1022
|
-
width: 18,
|
|
1023
|
-
height: 18,
|
|
1024
|
-
viewBox: "0 0 18 18",
|
|
1025
|
-
ref: ref
|
|
1026
|
-
}, props), _path$H || (_path$H = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1027
|
-
fillRule: "evenodd",
|
|
1028
|
-
d: "M7.5 4.5 6.442 5.558 9.877 9l-3.435 3.443L7.5 13.5 12 9 7.5 4.5z",
|
|
1029
|
-
clipRule: "evenodd"
|
|
1030
|
-
})));
|
|
1031
|
-
};
|
|
1032
|
-
var ForwardRef$I = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRight18);
|
|
1244
|
+
var css$_ = {"container":"vRT4Th"};
|
|
1033
1245
|
|
|
1034
1246
|
dayjs__default.default.extend(localeData__default.default);
|
|
1035
1247
|
const uuiHeader = {
|
|
@@ -1104,21 +1316,21 @@ function DatePickerHeader(props) {
|
|
|
1104
1316
|
var _a, _b, _c;
|
|
1105
1317
|
return `${((_a = props.value) === null || _a === void 0 ? void 0 : _a.view) !== 'MONTH_SELECTION' ? dayjs__default.default.months()[(_b = props.value) === null || _b === void 0 ? void 0 : _b.displayedDate.month()] : ''} ${(_c = props.value) === null || _c === void 0 ? void 0 : _c.displayedDate.year()}`;
|
|
1106
1318
|
}, [(_a = props.value) === null || _a === void 0 ? void 0 : _a.view, (_b = props.value) === null || _b === void 0 ? void 0 : _b.displayedDate]);
|
|
1107
|
-
return (React__namespace.createElement("div", { className: cx__default.default(css$
|
|
1319
|
+
return (React__namespace.createElement("div", { className: cx__default.default(css$_.container, uuiHeader.container, props.cx) },
|
|
1108
1320
|
React__namespace.createElement("header", { className: uuiHeader.header },
|
|
1109
|
-
React__namespace.createElement(Button, { icon: props.navIconLeft || ForwardRef$
|
|
1321
|
+
React__namespace.createElement(Button, { icon: props.navIconLeft || ForwardRef$M, color: "secondary", fill: "ghost", cx: uuiHeader.navIconLeft, onClick: () => onLeftNavigationArrow() }),
|
|
1110
1322
|
React__namespace.createElement(Button, { caption: title, fill: "ghost", cx: uuiHeader.navTitle, onClick: () => onCaptionClick(props.value.view) }),
|
|
1111
|
-
React__namespace.createElement(Button, { icon: props.navIconRight || ForwardRef$
|
|
1323
|
+
React__namespace.createElement(Button, { icon: props.navIconRight || ForwardRef$L, color: "secondary", fill: "ghost", cx: uuiHeader.navIconRight, onClick: () => onRightNavigationArrow() }))));
|
|
1112
1324
|
}
|
|
1113
1325
|
|
|
1114
|
-
var css$
|
|
1326
|
+
var css$Z = {"uui-typography":"_75FVgp","hero-header":"qzWIhI","promo-header":"_1KKrGN","uui-critical":"XJfyFK","uui-success":"ef-4cF","uui-warning":"Z30Sn-","uui-typography-size-12":"LgkOOE","uui-typography-size-14":"Ey3o6z","uui-typography-size-16":"_8PKcDr","root":"dB9AVm","uuiTypography":"_75FVgp","heroHeader":"qzWIhI","promoHeader":"_1KKrGN","uuiCritical":"XJfyFK","uuiSuccess":"ef-4cF","uuiWarning":"Z30Sn-","uuiTypographySize12":"LgkOOE","uuiTypographySize14":"Ey3o6z","uuiTypographySize16":"_8PKcDr"};
|
|
1115
1327
|
|
|
1116
1328
|
function applyDateSelectionMods() {
|
|
1117
|
-
return [css$
|
|
1329
|
+
return [css$Z.root];
|
|
1118
1330
|
}
|
|
1119
1331
|
const Calendar = uuiCore.withMods(uuiComponents.Calendar, applyDateSelectionMods);
|
|
1120
1332
|
|
|
1121
|
-
var css$
|
|
1333
|
+
var css$Y = {"uui-typography":"THyeDd","hero-header":"zwAx-r","promo-header":"ckbv64","uui-critical":"krOLsT","uui-success":"N9EzfC","uui-warning":"_4OudPu","uui-typography-size-12":"eSJUpW","uui-typography-size-14":"_7ZI8r3","uui-typography-size-16":"B2sB0-","root":"ou0EZq","uuiTypography":"THyeDd","heroHeader":"zwAx-r","promoHeader":"ckbv64","uuiCritical":"krOLsT","uuiSuccess":"N9EzfC","uuiWarning":"_4OudPu","uuiTypographySize12":"eSJUpW","uuiTypographySize14":"_7ZI8r3","uuiTypographySize16":"B2sB0-"};
|
|
1122
1334
|
|
|
1123
1335
|
dayjs__default.default.extend(updateLocale__default.default);
|
|
1124
1336
|
const uuiDatePickerBody = {
|
|
@@ -1146,7 +1358,7 @@ class DatePickerBody extends uuiComponents.DatePickerBodyBase {
|
|
|
1146
1358
|
}
|
|
1147
1359
|
};
|
|
1148
1360
|
this.renderBody = () => {
|
|
1149
|
-
return (React__namespace.createElement("div", { className: uuiCore.cx(css$
|
|
1361
|
+
return (React__namespace.createElement("div", { className: uuiCore.cx(css$Y.root, uuiDatePickerBody.wrapper, this.props.cx) },
|
|
1150
1362
|
React__namespace.createElement(DatePickerHeader, { value: this.props.value, onValueChange: (newValue) => this.props.setDisplayedDateAndView(newValue.displayedDate, newValue.view) }),
|
|
1151
1363
|
this.getView()));
|
|
1152
1364
|
};
|
|
@@ -1155,106 +1367,106 @@ class DatePickerBody extends uuiComponents.DatePickerBodyBase {
|
|
|
1155
1367
|
}
|
|
1156
1368
|
}
|
|
1157
1369
|
|
|
1158
|
-
var _path$
|
|
1159
|
-
function _extends$
|
|
1370
|
+
var _path$E;
|
|
1371
|
+
function _extends$F() { _extends$F = 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$F.apply(this, arguments); }
|
|
1160
1372
|
var SvgNotificationCheckCircleFill24 = function SvgNotificationCheckCircleFill24(props, ref) {
|
|
1161
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1373
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$F({
|
|
1162
1374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1163
1375
|
width: 24,
|
|
1164
1376
|
height: 24,
|
|
1165
1377
|
viewBox: "0 0 24 24",
|
|
1166
1378
|
ref: ref
|
|
1167
|
-
}, props), _path$
|
|
1379
|
+
}, props), _path$E || (_path$E = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1168
1380
|
fillRule: "evenodd",
|
|
1169
1381
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
1170
1382
|
})));
|
|
1171
1383
|
};
|
|
1172
|
-
var ForwardRef$
|
|
1384
|
+
var ForwardRef$F = /*#__PURE__*/React.forwardRef(SvgNotificationCheckCircleFill24);
|
|
1173
1385
|
|
|
1174
|
-
var _path$
|
|
1175
|
-
function _extends$
|
|
1386
|
+
var _path$D;
|
|
1387
|
+
function _extends$E() { _extends$E = 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$E.apply(this, arguments); }
|
|
1176
1388
|
var SvgNotificationWarningFill24 = function SvgNotificationWarningFill24(props, ref) {
|
|
1177
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1389
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
|
|
1178
1390
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1179
1391
|
width: 24,
|
|
1180
1392
|
height: 24,
|
|
1181
1393
|
viewBox: "0 0 24 24",
|
|
1182
1394
|
ref: ref
|
|
1183
|
-
}, props), _path$
|
|
1395
|
+
}, props), _path$D || (_path$D = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1184
1396
|
fillRule: "evenodd",
|
|
1185
1397
|
d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"
|
|
1186
1398
|
})));
|
|
1187
1399
|
};
|
|
1188
|
-
var ForwardRef$
|
|
1400
|
+
var ForwardRef$E = /*#__PURE__*/React.forwardRef(SvgNotificationWarningFill24);
|
|
1189
1401
|
|
|
1190
|
-
var _path$
|
|
1191
|
-
function _extends$
|
|
1402
|
+
var _path$C;
|
|
1403
|
+
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); }
|
|
1192
1404
|
var SvgNotificationErrorFill24 = function SvgNotificationErrorFill24(props, ref) {
|
|
1193
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1405
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
1194
1406
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1195
1407
|
width: 24,
|
|
1196
1408
|
height: 24,
|
|
1197
1409
|
viewBox: "0 0 24 24",
|
|
1198
1410
|
ref: ref
|
|
1199
|
-
}, props), _path$
|
|
1411
|
+
}, props), _path$C || (_path$C = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1200
1412
|
fillRule: "evenodd",
|
|
1201
1413
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"
|
|
1202
1414
|
})));
|
|
1203
1415
|
};
|
|
1204
|
-
var ForwardRef$
|
|
1416
|
+
var ForwardRef$D = /*#__PURE__*/React.forwardRef(SvgNotificationErrorFill24);
|
|
1205
1417
|
|
|
1206
|
-
var _path$
|
|
1207
|
-
function _extends$
|
|
1418
|
+
var _path$B;
|
|
1419
|
+
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); }
|
|
1208
1420
|
var SvgNotificationHelpFill24 = function SvgNotificationHelpFill24(props, ref) {
|
|
1209
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1421
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
1210
1422
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1211
1423
|
width: 24,
|
|
1212
1424
|
height: 24,
|
|
1213
1425
|
viewBox: "0 0 24 24",
|
|
1214
1426
|
ref: ref
|
|
1215
|
-
}, props), _path$
|
|
1427
|
+
}, props), _path$B || (_path$B = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1216
1428
|
fillRule: "evenodd",
|
|
1217
1429
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"
|
|
1218
1430
|
})));
|
|
1219
1431
|
};
|
|
1220
|
-
var ForwardRef$
|
|
1432
|
+
var ForwardRef$C = /*#__PURE__*/React.forwardRef(SvgNotificationHelpFill24);
|
|
1221
1433
|
|
|
1222
|
-
var _path$
|
|
1223
|
-
function _extends$
|
|
1434
|
+
var _path$A;
|
|
1435
|
+
function _extends$B() { _extends$B = 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$B.apply(this, arguments); }
|
|
1224
1436
|
var SvgNavigationClose24$1 = function SvgNavigationClose24(props, ref) {
|
|
1225
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1437
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
|
|
1226
1438
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1227
1439
|
width: 24,
|
|
1228
1440
|
height: 24,
|
|
1229
1441
|
viewBox: "0 0 24 24",
|
|
1230
1442
|
ref: ref
|
|
1231
|
-
}, props), _path$
|
|
1443
|
+
}, props), _path$A || (_path$A = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1232
1444
|
fillRule: "evenodd",
|
|
1233
1445
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
1234
1446
|
})));
|
|
1235
1447
|
};
|
|
1236
|
-
var ForwardRef$
|
|
1448
|
+
var ForwardRef$B = /*#__PURE__*/React.forwardRef(SvgNavigationClose24$1);
|
|
1237
1449
|
|
|
1238
|
-
var css$
|
|
1450
|
+
var css$X = {"root":"hH33Pj","icon-wrapper":"mavA8x","alert-wrapper":"n8pptZ","size-48":"_1tHAyk","size-36":"_2RfS3-","action-wrapper":"_7Ltx-K","action-icon":"MTrWZE","action-link":"ALDYSa","close-icon":"BjPoge","main-path":"_6o9Ay7","content":"AyIbIl","iconWrapper":"mavA8x","alertWrapper":"n8pptZ","size48":"_1tHAyk","size36":"_2RfS3-","actionWrapper":"_7Ltx-K","actionIcon":"MTrWZE","actionLink":"ALDYSa","closeIcon":"BjPoge","mainPath":"_6o9Ay7"};
|
|
1239
1451
|
|
|
1240
|
-
const Alert = React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx__default.default('uui-alert', css$
|
|
1241
|
-
React__namespace.createElement("div", { className: css$
|
|
1242
|
-
props.icon && (React__namespace.createElement("div", { className: css$
|
|
1243
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$
|
|
1244
|
-
React__namespace.createElement("div", { className: css$
|
|
1452
|
+
const Alert = React__namespace.forwardRef((props, ref) => (React__namespace.createElement("div", Object.assign({ role: "alert", ref: ref, className: cx__default.default('uui-alert', css$X.root, css$X.alertWrapper, props.color && `uui-color-${props.color}`, props.cx, (props.size === '36' ? css$X.size36 : css$X.size48)) }, props.rawProps),
|
|
1453
|
+
React__namespace.createElement("div", { className: css$X.mainPath },
|
|
1454
|
+
props.icon && (React__namespace.createElement("div", { className: css$X.iconWrapper },
|
|
1455
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$X.actionIcon }))),
|
|
1456
|
+
React__namespace.createElement("div", { className: css$X.content },
|
|
1245
1457
|
props.children,
|
|
1246
|
-
props.actions && (React__namespace.createElement("div", { className: css$
|
|
1247
|
-
props.onClose && React__namespace.createElement(IconButton, { icon: ForwardRef$
|
|
1248
|
-
const WarningAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
1249
|
-
const SuccessAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
1250
|
-
const HintAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
1251
|
-
const ErrorAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$
|
|
1458
|
+
props.actions && (React__namespace.createElement("div", { className: css$X.actionWrapper }, props.actions.map((action) => (React__namespace.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$X.actionLink, size: (props === null || props === void 0 ? void 0 : props.size) === '36' ? '24' : '30' })))))),
|
|
1459
|
+
props.onClose && React__namespace.createElement(IconButton, { icon: ForwardRef$B, color: "neutral", onClick: props.onClose, cx: css$X.closeIcon })))));
|
|
1460
|
+
const WarningAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$E, color: "warning", ref: ref }, props)));
|
|
1461
|
+
const SuccessAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$F, color: "success", ref: ref }, props)));
|
|
1462
|
+
const HintAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$C, color: "info", ref: ref }, props)));
|
|
1463
|
+
const ErrorAlert = React__namespace.forwardRef((props, ref) => React__namespace.createElement(Alert, Object.assign({ icon: ForwardRef$D, color: "error", ref: ref }, props)));
|
|
1252
1464
|
|
|
1253
1465
|
function Dropdown(props) {
|
|
1254
1466
|
return React__namespace.createElement(uuiComponents.Dropdown, Object.assign({}, props));
|
|
1255
1467
|
}
|
|
1256
1468
|
|
|
1257
|
-
var css$
|
|
1469
|
+
var css$W = {"uui-typography":"eBtsyJ","hero-header":"xfQ7lA","promo-header":"f0T4Ca","uui-critical":"I2ltwg","uui-success":"yGRBwt","uui-warning":"_55UiLR","uui-typography-size-12":"_0GRghR","uui-typography-size-14":"j0--Mr","uui-typography-size-16":"WrJ-7-","root":"at3Khw","bodyRoot":"kmqdMl","submenuRootItem":"_5xXKgl","iconAfter":"Y1bohr","iconCheck":"eraKq0","splitterRoot":"OT3qAg","splitter":"_4D1E3s","headerRoot":"_5MW-zq","itemRoot":"g0iI46","icon":"_02d-x-","link":"_2h8VmD","indent":"YHo-Ro","uuiTypography":"eBtsyJ","heroHeader":"xfQ7lA","promoHeader":"f0T4Ca","uuiCritical":"I2ltwg","uuiSuccess":"yGRBwt","uuiWarning":"_55UiLR","uuiTypographySize12":"_0GRghR","uuiTypographySize14":"j0--Mr","uuiTypographySize16":"WrJ-7-"};
|
|
1258
1470
|
|
|
1259
1471
|
const icons = systemIcons['36'];
|
|
1260
1472
|
exports.IDropdownControlKeys = void 0;
|
|
@@ -1289,9 +1501,9 @@ function DropdownMenuContainer(props) {
|
|
|
1289
1501
|
props.onClose();
|
|
1290
1502
|
}
|
|
1291
1503
|
};
|
|
1292
|
-
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'menu' }), ref: menuRef, lockProps: { onKeyDown: handleArrowKeys }, cx: css$
|
|
1504
|
+
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { rawProps: Object.assign(Object.assign({}, props.rawProps), { role: 'menu' }), ref: menuRef, lockProps: { onKeyDown: handleArrowKeys }, cx: css$W.root })));
|
|
1293
1505
|
}
|
|
1294
|
-
const DropdownMenuBody = uuiCore.withMods(DropdownMenuContainer, () => [css$
|
|
1506
|
+
const DropdownMenuBody = uuiCore.withMods(DropdownMenuContainer, () => [css$W.bodyRoot], (props) => {
|
|
1295
1507
|
const dropdownRawProps = props.minWidth ? Object.assign(Object.assign({}, props.rawProps), { style: { minWidth: `${props.minWidth}px` } }) : null;
|
|
1296
1508
|
return (Object.assign(Object.assign({ closeOnKey: exports.IDropdownControlKeys.ESCAPE }, props), { rawProps: dropdownRawProps || props.rawProps }));
|
|
1297
1509
|
});
|
|
@@ -1315,32 +1527,32 @@ const DropdownMenuButton = React__namespace.default.forwardRef((props, ref) => {
|
|
|
1315
1527
|
const getMenuButtonContent = () => {
|
|
1316
1528
|
const isIconBefore = Boolean(icon && iconPosition !== 'right');
|
|
1317
1529
|
const isIconAfter = Boolean(icon && iconPosition === 'right');
|
|
1318
|
-
const iconElement = (React__namespace.default.createElement(IconButton, { icon: icon, color: isActive ? 'info' : 'neutral', onClick: onIconClick, cx: uuiCore.cx(css$
|
|
1530
|
+
const iconElement = (React__namespace.default.createElement(IconButton, { icon: icon, color: isActive ? 'info' : 'neutral', onClick: onIconClick, isDisabled: isDisabled, cx: uuiCore.cx(css$W.root, css$W.icon, iconPosition === 'right' ? css$W.iconAfter : css$W.iconBefore) }));
|
|
1319
1531
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1320
1532
|
isIconBefore && iconElement,
|
|
1321
|
-
React__namespace.default.createElement(uuiComponents.Text, { cx: props.indent && css$
|
|
1533
|
+
React__namespace.default.createElement(uuiComponents.Text, { cx: props.indent && css$W.indent }, caption),
|
|
1322
1534
|
isIconAfter && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1323
1535
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1324
1536
|
iconElement))));
|
|
1325
1537
|
};
|
|
1326
1538
|
const isAnchor = Boolean(link || href);
|
|
1327
|
-
const itemClassNames = uuiCore.cx(css$
|
|
1328
|
-
return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(css$
|
|
1539
|
+
const itemClassNames = uuiCore.cx(css$W.root, props.cx, css$W.itemRoot, isDisabled && uuiCore.uuiMod.disabled, isActive && uuiCore.uuiMod.active, isOpen && uuiCore.uuiMod.opened);
|
|
1540
|
+
return isAnchor ? (React__namespace.default.createElement(uuiComponents.Anchor, { cx: uuiCore.cx(css$W.link, itemClassNames), link: link, href: href, rawProps: { role: 'menuitem', tabIndex: isDisabled ? -1 : 0 }, onClick: handleClick, isDisabled: isDisabled, forwardedRef: ref, target: target }, getMenuButtonContent())) : (React__namespace.default.createElement(uuiComponents.FlexRow, { rawProps: {
|
|
1329
1541
|
tabIndex: isDisabled ? -1 : 0,
|
|
1330
1542
|
role: 'menuitem',
|
|
1331
1543
|
onKeyDown: isDisabled ? null : handleOpenDropdown,
|
|
1332
1544
|
}, cx: itemClassNames, onClick: handleClick, ref: ref },
|
|
1333
1545
|
getMenuButtonContent(),
|
|
1334
|
-
isSelected && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icons.accept, cx: uuiCore.cx(css$
|
|
1546
|
+
isSelected && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icons.accept, cx: uuiCore.cx(css$W.root, css$W.selectedCheckmark) })));
|
|
1335
1547
|
});
|
|
1336
1548
|
DropdownMenuButton.displayName = 'DropdownMenuButton';
|
|
1337
1549
|
function DropdownMenuSplitter(props) {
|
|
1338
|
-
return (React__namespace.default.createElement("div", { className: uuiCore.cx(css$
|
|
1339
|
-
React__namespace.default.createElement("hr", { className: css$
|
|
1550
|
+
return (React__namespace.default.createElement("div", { className: uuiCore.cx(css$W.root, props.cx, css$W.splitterRoot) },
|
|
1551
|
+
React__namespace.default.createElement("hr", { className: css$W.splitter })));
|
|
1340
1552
|
}
|
|
1341
1553
|
function DropdownMenuHeader(props) {
|
|
1342
|
-
return (React__namespace.default.createElement("div", { className: uuiCore.cx('uui-dropdown-menu-header', css$
|
|
1343
|
-
React__namespace.default.createElement("span", { className: css$
|
|
1554
|
+
return (React__namespace.default.createElement("div", { className: uuiCore.cx('uui-dropdown-menu-header', css$W.root, props.cx, css$W.headerRoot) },
|
|
1555
|
+
React__namespace.default.createElement("span", { className: css$W.header }, props.caption)));
|
|
1344
1556
|
}
|
|
1345
1557
|
function DropdownSubMenu(props) {
|
|
1346
1558
|
const subMenuModifiers = [
|
|
@@ -1360,7 +1572,7 @@ function DropdownSubMenu(props) {
|
|
|
1360
1572
|
];
|
|
1361
1573
|
return (React__namespace.default.createElement(uuiComponents.Dropdown, { openOnHover: props.openOnHover || true, closeOnMouseLeave: "boundary", openDelay: 400, closeDelay: 400, placement: "right-start", modifiers: subMenuModifiers, renderBody: (dropdownProps) => React__namespace.default.createElement(DropdownMenuBody, Object.assign({ closeOnKey: exports.IDropdownControlKeys.LEFT_ARROW }, props, dropdownProps)), renderTarget: (_a) => {
|
|
1362
1574
|
var { toggleDropdownOpening } = _a, targetProps = __rest(_a, ["toggleDropdownOpening"]);
|
|
1363
|
-
return (React__namespace.default.createElement(DropdownMenuButton, Object.assign({ cx: uuiCore.cx(css$
|
|
1575
|
+
return (React__namespace.default.createElement(DropdownMenuButton, Object.assign({ cx: uuiCore.cx(css$W.root, css$W.submenuRootItem), icon: icons.foldingArrow, iconPosition: "right", isDropdown: true, toggleDropdownOpening: toggleDropdownOpening }, props, targetProps)));
|
|
1364
1576
|
} }));
|
|
1365
1577
|
}
|
|
1366
1578
|
function DropdownMenuSwitchButton(props) {
|
|
@@ -1377,38 +1589,38 @@ function DropdownMenuSwitchButton(props) {
|
|
|
1377
1589
|
onHandleValueChange(!isSelected);
|
|
1378
1590
|
}
|
|
1379
1591
|
};
|
|
1380
|
-
return (React__namespace.default.createElement(uuiComponents.FlexRow, { cx: uuiCore.cx(props.cx, css$
|
|
1381
|
-
icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$
|
|
1592
|
+
return (React__namespace.default.createElement(uuiComponents.FlexRow, { cx: uuiCore.cx(props.cx, css$W.itemRoot, isDisabled && uuiCore.uuiMod.disabled), onClick: () => onHandleValueChange(!isSelected), rawProps: { role: 'menuitem', onKeyDown: handleKeySelect, tabIndex: isDisabled ? -1 : 0 } },
|
|
1593
|
+
icon && React__namespace.default.createElement(uuiComponents.IconContainer, { icon: icon, cx: css$W.iconBefore }),
|
|
1382
1594
|
React__namespace.default.createElement(uuiComponents.Text, null, caption),
|
|
1383
1595
|
React__namespace.default.createElement(uuiComponents.FlexSpacer, null),
|
|
1384
1596
|
React__namespace.default.createElement(Switch, { value: isSelected, tabIndex: -1, onValueChange: onHandleValueChange })));
|
|
1385
1597
|
}
|
|
1386
1598
|
|
|
1387
|
-
var css$
|
|
1599
|
+
var css$V = {"uui-typography":"gukPI5","hero-header":"BS-Wyc","promo-header":"qTbTZv","uui-critical":"WzDJF2","uui-success":"SnQjUC","uui-warning":"xycbUG","uui-typography-size-12":"cxEel-","uui-typography-size-14":"rzlpeS","uui-typography-size-16":"_6rMGj-","root":"ETXhOY","border-bottom":"NL8VeU","top-shadow":"NhZeFB","size-24":"GUQsTD","size-30":"WPpbTz","size-36":"xXKtAe","size-42":"_6DqH5J","size-48":"_7AKUXM","padding-6":"uJfJsj","padding-12":"_8cASub","padding-18":"kHJhfx","padding-24":"_6BaAcc","margin-24":"-nCtma","margin-12":"cgsaKa","vPadding-12":"HiMKb3","vPadding-18":"x1fMzN","vPadding-24":"zLwcAJ","vPadding-36":"-T7r9k","vPadding-48":"WCarRH","spacing-6":"Q8iR1G","spacing-12":"_6jnx7q","spacing-18":"TQOfRE","uuiTypography":"gukPI5","heroHeader":"BS-Wyc","promoHeader":"qTbTZv","uuiCritical":"WzDJF2","uuiSuccess":"SnQjUC","uuiWarning":"xycbUG","uuiTypographySize12":"cxEel-","uuiTypographySize14":"rzlpeS","uuiTypographySize16":"_6rMGj-","borderBottom":"NL8VeU","topShadow":"NhZeFB","size24":"GUQsTD","size30":"WPpbTz","size36":"xXKtAe","size42":"_6DqH5J","size48":"_7AKUXM","padding6":"uJfJsj","padding12":"_8cASub","padding18":"kHJhfx","padding24":"_6BaAcc","margin24":"-nCtma","margin12":"cgsaKa","vPadding12":"HiMKb3","vPadding18":"x1fMzN","vPadding24":"zLwcAJ","vPadding36":"-T7r9k","vPadding48":"WCarRH","spacing6":"Q8iR1G","spacing12":"_6jnx7q","spacing18":"TQOfRE"};
|
|
1388
1600
|
|
|
1389
|
-
const FlexCell = uuiCore.withMods(uuiComponents.FlexCell, () => [css$
|
|
1601
|
+
const FlexCell = uuiCore.withMods(uuiComponents.FlexCell, () => [css$V.flexCell]);
|
|
1390
1602
|
|
|
1391
1603
|
const FlexRow = uuiCore.withMods(uuiComponents.FlexRow, (props) => {
|
|
1392
1604
|
return [
|
|
1393
|
-
css$
|
|
1394
|
-
props.size !== null && css$
|
|
1395
|
-
props.padding && css$
|
|
1396
|
-
props.vPadding && css$
|
|
1397
|
-
props.margin && css$
|
|
1398
|
-
props.topShadow && css$
|
|
1399
|
-
props.borderBottom && css$
|
|
1400
|
-
props.spacing && css$
|
|
1605
|
+
css$V.root,
|
|
1606
|
+
props.size !== null && css$V['size-' + (props.size || '36')],
|
|
1607
|
+
props.padding && css$V['padding-' + props.padding],
|
|
1608
|
+
props.vPadding && css$V['vPadding-' + props.vPadding],
|
|
1609
|
+
props.margin && css$V['margin-' + props.margin],
|
|
1610
|
+
props.topShadow && css$V.topShadow,
|
|
1611
|
+
props.borderBottom && css$V.borderBottom,
|
|
1612
|
+
props.spacing && css$V['spacing-' + props.spacing],
|
|
1401
1613
|
props.background && `uui-color-${props.background}`,
|
|
1402
1614
|
];
|
|
1403
1615
|
});
|
|
1404
1616
|
|
|
1405
|
-
var css$
|
|
1617
|
+
var css$U = {"root":"gAacU6","margin-24":"aZBTiV","padding-12":"ljZW-v","padding-24":"fq5PlF","shadow":"NAxBEY","margin24":"aZBTiV","padding12":"ljZW-v","padding24":"fq5PlF"};
|
|
1406
1618
|
|
|
1407
1619
|
const Panel = uuiCore.withMods(uuiComponents.VPanel, (props) => [
|
|
1408
1620
|
'uui-panel',
|
|
1409
|
-
css$
|
|
1410
|
-
props.shadow && css$
|
|
1411
|
-
props.margin && css$
|
|
1621
|
+
css$U.root,
|
|
1622
|
+
props.shadow && css$U.shadow,
|
|
1623
|
+
props.margin && css$U['margin-' + props.margin],
|
|
1412
1624
|
props.background && `uui-color-${props.background}`,
|
|
1413
1625
|
]);
|
|
1414
1626
|
|
|
@@ -1501,43 +1713,43 @@ const i18n = Object.assign(Object.assign({}, uuiCore.i18n), { dataPickerBody: {
|
|
|
1501
1713
|
fileSizeProgress: ' of ',
|
|
1502
1714
|
} });
|
|
1503
1715
|
|
|
1504
|
-
var css$
|
|
1716
|
+
var css$T = {"root":"RGpAzR","mode-block":"Yy-seD","mode-inline":"bCXVqO","padding-0":"R4XLj-","padding-6":"_5OIi4H","padding-12":"i7pBII","padding-18":"RzDCHj","modeBlock":"Yy-seD","modeInline":"bCXVqO","padding0":"R4XLj-","padding6":"_5OIi4H","padding12":"i7pBII","padding18":"RzDCHj"};
|
|
1505
1717
|
|
|
1506
1718
|
function applyAccordionMods(mods) {
|
|
1507
1719
|
return [
|
|
1508
|
-
css$
|
|
1509
|
-
css$
|
|
1510
|
-
mods.padding && css$
|
|
1720
|
+
css$T.root,
|
|
1721
|
+
css$T['mode-' + (mods.mode || 'block')],
|
|
1722
|
+
mods.padding && css$T['padding-' + mods.padding],
|
|
1511
1723
|
];
|
|
1512
1724
|
}
|
|
1513
|
-
const Accordion = uuiCore.withMods(
|
|
1725
|
+
const Accordion = uuiCore.withMods(uuiComponents__namespace.Accordion, applyAccordionMods, (mods) => ({
|
|
1514
1726
|
dropdownIcon: mods.dropdownIcon !== null && systemIcons[mods.mode === 'block' ? '60' : '30'].foldingArrow,
|
|
1515
1727
|
}));
|
|
1516
1728
|
|
|
1517
|
-
var css
|
|
1729
|
+
var css$S = {"root":"Ov808D"};
|
|
1518
1730
|
|
|
1519
1731
|
function applyTooltipMods(mods) {
|
|
1520
1732
|
return [
|
|
1521
|
-
css
|
|
1733
|
+
css$S.root,
|
|
1522
1734
|
`uui-color-${mods.color || 'contrast'}`,
|
|
1523
1735
|
];
|
|
1524
1736
|
}
|
|
1525
1737
|
const Tooltip = uuiCore.withMods(uuiComponents.Tooltip, applyTooltipMods);
|
|
1526
1738
|
|
|
1527
|
-
var css$
|
|
1739
|
+
var css$R = {"uui-typography":"-ZCZd-","hero-header":"FbJA7S","promo-header":"yBgN2t","uui-critical":"TOKj7X","uui-success":"PNLuuV","uui-warning":"uTQ5-u","uui-typography-size-12":"uBMO-v","uui-typography-size-14":"_76lwLc","uui-typography-size-16":"_01PmI3","root":"-qFU00","size-24":"dYxt-6","size-30":"haBt-5","size-36":"t6Sy-t","size-42":"aOSnFA","size-48":"nLYo7J","uuiTypography":"-ZCZd-","heroHeader":"FbJA7S","promoHeader":"yBgN2t","uuiCritical":"TOKj7X","uuiSuccess":"PNLuuV","uuiWarning":"uTQ5-u","uuiTypographySize12":"uBMO-v","uuiTypographySize14":"_76lwLc","uuiTypographySize16":"_01PmI3","size24":"dYxt-6","size30":"haBt-5","size36":"t6Sy-t","size42":"aOSnFA","size48":"nLYo7J"};
|
|
1528
1740
|
|
|
1529
|
-
const defaultSize$
|
|
1741
|
+
const defaultSize$3 = '36';
|
|
1530
1742
|
function applyLabeledInputMods(mods) {
|
|
1531
|
-
return [css$
|
|
1743
|
+
return [css$R.root, css$R['size-' + (mods.size || defaultSize$3)]];
|
|
1532
1744
|
}
|
|
1533
|
-
const LabeledInput = uuiCore.withMods(
|
|
1745
|
+
const LabeledInput = uuiCore.withMods(uuiComponents__namespace.LabeledInput, applyLabeledInputMods, (props) => ({
|
|
1534
1746
|
Tooltip,
|
|
1535
|
-
infoIcon: systemIcons[props.size || defaultSize$
|
|
1747
|
+
infoIcon: systemIcons[props.size || defaultSize$3].help,
|
|
1536
1748
|
}));
|
|
1537
1749
|
|
|
1538
|
-
var css$
|
|
1750
|
+
var css$Q = {"root":"lYA1x5"};
|
|
1539
1751
|
|
|
1540
|
-
const RadioGroup = uuiCore.withMods(uuiComponents.RadioGroup, () => [css$
|
|
1752
|
+
const RadioGroup = uuiCore.withMods(uuiComponents.RadioGroup, () => [css$Q.root], () => ({ RadioInput }));
|
|
1541
1753
|
|
|
1542
1754
|
function applyScrollBarsMods() {
|
|
1543
1755
|
return [
|
|
@@ -1546,51 +1758,75 @@ function applyScrollBarsMods() {
|
|
|
1546
1758
|
}
|
|
1547
1759
|
const ScrollBars = uuiCore.withMods(uuiComponents.ScrollBars, applyScrollBarsMods);
|
|
1548
1760
|
|
|
1549
|
-
|
|
1761
|
+
var css$P = {"scroll-container":"F5k5Hp","list-container":"CJK86n","scrollContainer":"F5k5Hp","listContainer":"CJK86n"};
|
|
1550
1762
|
|
|
1551
|
-
var css$
|
|
1763
|
+
var css$O = {"root":"QhmkGn"};
|
|
1552
1764
|
|
|
1553
|
-
|
|
1765
|
+
const Blocker = uuiCore.withMods(uuiComponents.Blocker, () => [css$O.root], (cmpProps) => ({ renderSpinner: cmpProps.renderSpinner || (() => React__namespace.default.createElement(Spinner, null)) }));
|
|
1554
1766
|
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1767
|
+
const VirtualList = React__namespace.forwardRef((props, ref) => {
|
|
1768
|
+
const { listContainerRef, offsetY, handleScroll, estimatedHeight, scrollContainerRef, } = uuiCore.useVirtualList({
|
|
1769
|
+
value: props.value,
|
|
1770
|
+
onValueChange: props.onValueChange,
|
|
1771
|
+
onScroll: props.onScroll,
|
|
1772
|
+
rowsCount: props.rowsCount,
|
|
1773
|
+
rowsSelector: props.rowsSelector,
|
|
1774
|
+
});
|
|
1775
|
+
React__namespace.useImperativeHandle(ref, () => scrollContainerRef.current, [scrollContainerRef.current]);
|
|
1776
|
+
const scrollShadows = uuiCore.useScrollShadows({ root: scrollContainerRef.current });
|
|
1777
|
+
const renderRows = () => {
|
|
1778
|
+
var _a;
|
|
1779
|
+
return ((_a = props.renderRows) === null || _a === void 0 ? void 0 : _a.call(props, {
|
|
1780
|
+
listContainerRef, estimatedHeight, offsetY, scrollShadows,
|
|
1781
|
+
})) || (React__namespace.createElement("div", { className: css$P.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
1782
|
+
React__namespace.createElement("div", { ref: listContainerRef, role: props.role, style: { marginTop: offsetY } }, props.rows)));
|
|
1783
|
+
};
|
|
1784
|
+
const scrollBarsRef = React__namespace.useCallback((scrollbars) => {
|
|
1785
|
+
var _a;
|
|
1786
|
+
if (!((_a = scrollbars === null || scrollbars === void 0 ? void 0 : scrollbars.container) === null || _a === void 0 ? void 0 : _a.firstChild))
|
|
1787
|
+
return;
|
|
1788
|
+
scrollContainerRef.current = scrollbars.container.firstChild;
|
|
1789
|
+
}, []);
|
|
1790
|
+
return (React__namespace.createElement(ScrollBars, { cx: uuiCore.cx(css$P.scrollContainer, props.cx, {
|
|
1791
|
+
[uuiCore.uuiMarkers.scrolledLeft]: scrollShadows.horizontalLeft,
|
|
1792
|
+
[uuiCore.uuiMarkers.scrolledRight]: scrollShadows.horizontalRight,
|
|
1793
|
+
[uuiCore.uuiMarkers.scrolledTop]: scrollShadows.verticalTop,
|
|
1794
|
+
[uuiCore.uuiMarkers.scrolledBottom]: scrollShadows.verticalBottom,
|
|
1795
|
+
}), onScroll: handleScroll, renderView: ({ style }) => React__namespace.createElement(VirtualListView, { isLoading: props.isLoading, style: style }), ref: scrollBarsRef }, renderRows()));
|
|
1796
|
+
});
|
|
1797
|
+
const VirtualListView = React__namespace.forwardRef((props, ref) => {
|
|
1798
|
+
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
1799
|
+
React__namespace.createElement("div", Object.assign({}, props.rawProps, { style: Object.assign(Object.assign({}, props.style), { position: 'relative', flex: '1 1 auto', display: 'flex', flexDirection: 'column', overflow: props.isLoading ? 'hidden' : 'scroll', marginRight: props.isLoading ? 0 : props.style.marginRight, marginBottom: props.isLoading ? 0 : props.style.marginBottom }), ref: ref }), props.children),
|
|
1800
|
+
React__namespace.createElement(Blocker, { isEnabled: props.isLoading })));
|
|
1801
|
+
});
|
|
1802
|
+
VirtualList.displayName = 'VirtualList';
|
|
1561
1803
|
|
|
1562
|
-
var css$
|
|
1804
|
+
var css$N = {"root":"PHGe32"};
|
|
1563
1805
|
|
|
1564
|
-
const CheckboxGroup = uuiCore.withMods(uuiComponents.CheckboxGroup, () => [css$
|
|
1806
|
+
const CheckboxGroup = uuiCore.withMods(uuiComponents.CheckboxGroup, () => [css$N.root], () => ({ CheckboxInput: Checkbox }));
|
|
1565
1807
|
|
|
1566
|
-
var css$
|
|
1808
|
+
var css$M = {"uui-typography":"CcJUEM","hero-header":"sW2C9A","promo-header":"K8BvX8","uui-critical":"CNgxgM","uui-success":"U5-zAZ","uui-warning":"LgL-f5","uui-typography-size-12":"N-tuF7","uui-typography-size-14":"DMxONi","uui-typography-size-16":"fqGVbF","body":"PaMsU9","modal":"rar-ps","search-wrapper":"CCuVGA","checkbox":"Yy4qtl","no-found-size-24":"yMc3EV","no-found-size-30":"qNoKon","no-found-size-36":"UYvZLA","no-found-size-42":"CfyGGE","uuiTypography":"CcJUEM","heroHeader":"sW2C9A","promoHeader":"K8BvX8","uuiCritical":"CNgxgM","uuiSuccess":"U5-zAZ","uuiWarning":"LgL-f5","uuiTypographySize12":"N-tuF7","uuiTypographySize14":"DMxONi","uuiTypographySize16":"fqGVbF","searchWrapper":"CCuVGA","noFoundSize24":"yMc3EV","noFoundSize30":"qNoKon","noFoundSize36":"UYvZLA","noFoundSize42":"CfyGGE"};
|
|
1567
1809
|
|
|
1568
1810
|
class DataPickerBody extends uuiComponents.PickerBodyBase {
|
|
1569
1811
|
constructor() {
|
|
1570
1812
|
super(...arguments);
|
|
1571
1813
|
this.lens = uuiCore.Lens.onEditableComponent(this);
|
|
1572
1814
|
this.searchLens = this.lens.prop('search');
|
|
1573
|
-
this.renderRowsContainer = ({ listContainerRef, estimatedHeight, offsetY }) => {
|
|
1574
|
-
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1575
|
-
React__namespace.default.createElement("div", { className: css$V.listContainer, style: { minHeight: `${estimatedHeight}px` } },
|
|
1576
|
-
React__namespace.default.createElement("div", { ref: listContainerRef, role: "listbox", style: { marginTop: offsetY } }, this.props.rows)),
|
|
1577
|
-
React__namespace.default.createElement(Blocker, { isEnabled: this.props.isReloading })));
|
|
1578
|
-
};
|
|
1579
1815
|
}
|
|
1580
1816
|
renderNotFound() {
|
|
1581
1817
|
if (this.props.renderNotFound) {
|
|
1582
1818
|
return this.props.renderNotFound();
|
|
1583
1819
|
}
|
|
1584
|
-
return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$
|
|
1820
|
+
return (React__namespace.default.createElement(uuiComponents.FlexCell, { cx: css$M[`no-found-size-${this.props.searchSize || 36}`], grow: 1, textAlign: "center" },
|
|
1585
1821
|
React__namespace.default.createElement(Text, { size: this.props.searchSize || '36' }, i18n.dataPickerBody.noRecordsMessage)));
|
|
1586
1822
|
}
|
|
1587
1823
|
render() {
|
|
1588
1824
|
const searchSize = uuiCore.isMobile() ? '48' : this.props.searchSize || '36';
|
|
1589
1825
|
return (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
1590
|
-
this.showSearch() && (React__namespace.default.createElement("div", { key: "search", className: css$
|
|
1826
|
+
this.showSearch() && (React__namespace.default.createElement("div", { key: "search", className: css$M.searchWrapper },
|
|
1591
1827
|
React__namespace.default.createElement(uuiComponents.FlexCell, { grow: 1 },
|
|
1592
1828
|
React__namespace.default.createElement(SearchInput, Object.assign({ ref: this.searchRef, placeholder: i18n.dataPickerBody.searchPlaceholder }, this.searchLens.toProps(), { onKeyDown: this.searchKeyDown, size: searchSize, debounceDelay: this.props.searchDebounceDelay }))))),
|
|
1593
|
-
React__namespace.default.createElement(FlexRow, { key: "body", cx: uuiCore.cx(css$
|
|
1829
|
+
React__namespace.default.createElement(FlexRow, { key: "body", cx: uuiCore.cx(css$M.body, css$M[this.props.editMode], css$M[this.props.selectionMode]), rawProps: { style: { maxHeight: this.props.maxHeight } } }, this.props.rowsCount > 0 ? (React__namespace.default.createElement(VirtualList, Object.assign({}, this.lens.toProps(), { rows: this.props.rows, rawProps: this.props.rawProps, rowsCount: this.props.rowsCount, isLoading: this.props.isReloading }))) : (this.renderNotFound()))));
|
|
1594
1830
|
}
|
|
1595
1831
|
}
|
|
1596
1832
|
|
|
@@ -1624,64 +1860,64 @@ function DataPickerFooterImpl(props) {
|
|
|
1624
1860
|
}
|
|
1625
1861
|
const DataPickerFooter = React__namespace.default.memo(DataPickerFooterImpl);
|
|
1626
1862
|
|
|
1627
|
-
var css$
|
|
1863
|
+
var css$L = {"header":"K9dJGL","close":"uPysLT"};
|
|
1628
1864
|
|
|
1629
|
-
var _path$
|
|
1630
|
-
function _extends$
|
|
1865
|
+
var _path$z;
|
|
1866
|
+
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); }
|
|
1631
1867
|
var SvgNavigationClose24 = function SvgNavigationClose24(props, ref) {
|
|
1632
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1868
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$A({
|
|
1633
1869
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1634
1870
|
width: 24,
|
|
1635
1871
|
height: 24,
|
|
1636
1872
|
viewBox: "0 0 24 24",
|
|
1637
1873
|
ref: ref
|
|
1638
|
-
}, props), _path$
|
|
1874
|
+
}, props), _path$z || (_path$z = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1639
1875
|
fillRule: "evenodd",
|
|
1640
1876
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z",
|
|
1641
1877
|
clipRule: "evenodd"
|
|
1642
1878
|
})));
|
|
1643
1879
|
};
|
|
1644
|
-
var ForwardRef$
|
|
1880
|
+
var ForwardRef$A = /*#__PURE__*/React.forwardRef(SvgNavigationClose24);
|
|
1645
1881
|
|
|
1646
1882
|
const DataPickerHeaderImpl = (props) => {
|
|
1647
1883
|
const title = props.title && typeof props.title === 'string' ? props.title.charAt(0).toUpperCase() + props.title.slice(1) : '';
|
|
1648
|
-
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$
|
|
1884
|
+
return (React__namespace.default.createElement(FlexRow, { alignItems: "center", borderBottom: true, cx: css$L.header },
|
|
1649
1885
|
React__namespace.default.createElement(Text, { size: "48", font: "semibold" }, title),
|
|
1650
|
-
React__namespace.default.createElement(IconButton, { icon: ForwardRef$
|
|
1886
|
+
React__namespace.default.createElement(IconButton, { icon: ForwardRef$A, onClick: () => { var _a; return (_a = props.close) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$L.close })));
|
|
1651
1887
|
};
|
|
1652
1888
|
const DataPickerHeader = React__namespace.default.memo(DataPickerHeaderImpl);
|
|
1653
1889
|
|
|
1654
|
-
var _path$
|
|
1655
|
-
function _extends$
|
|
1890
|
+
var _path$y;
|
|
1891
|
+
function _extends$z() { _extends$z = 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$z.apply(this, arguments); }
|
|
1656
1892
|
var SvgNavigationChevronDown18 = function SvgNavigationChevronDown18(props, ref) {
|
|
1657
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1893
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$z({
|
|
1658
1894
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1659
1895
|
width: 18,
|
|
1660
1896
|
height: 18,
|
|
1661
1897
|
viewBox: "0 0 18 18",
|
|
1662
1898
|
ref: ref
|
|
1663
|
-
}, props), _path$
|
|
1899
|
+
}, props), _path$y || (_path$y = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1664
1900
|
fillRule: "evenodd",
|
|
1665
1901
|
d: "M12.443 6.442 9 9.877 5.558 6.442 4.5 7.5 9 12l4.5-4.5-1.057-1.058z",
|
|
1666
1902
|
clipRule: "evenodd"
|
|
1667
1903
|
})));
|
|
1668
1904
|
};
|
|
1669
|
-
var ForwardRef$
|
|
1905
|
+
var ForwardRef$z = /*#__PURE__*/React.forwardRef(SvgNavigationChevronDown18);
|
|
1670
1906
|
|
|
1671
|
-
var css$
|
|
1907
|
+
var css$K = {"cell":"P4X6-0","wrapper":"FQCCcw","align-widgets-top":"LdbiF4","size-24":"QNbjhK","folding-arrow":"RbCwvA","size-30":"UI-1HN","size-36":"AbgWx8","size-42":"FRvmI7","size-48":"-V0-dR","size-60":"m8XPtP","align-widgets-center":"Trsw9-","padding-12":"wUwbTn","padding-24":"BbMKgU","padding-left-12":"soTF-9","padding-left-24":"kNijPu","padding-right-24":"pUGE7e","drag-handle":"yOoRDp","checkbox":"_83Q-W0","indent":"HtQwnk","folding-arrow-12":"YJD3FZ","folding-arrow-18":"ZrasWF","icon-container":"eIbDdJ","loading-cell":"_6-BCg3","alignWidgetsTop":"LdbiF4","size24":"QNbjhK","foldingArrow":"RbCwvA","size30":"UI-1HN","size36":"AbgWx8","size42":"FRvmI7","size48":"-V0-dR","size60":"m8XPtP","alignWidgetsCenter":"Trsw9-","padding12":"wUwbTn","padding24":"BbMKgU","paddingLeft12":"soTF-9","paddingLeft24":"kNijPu","paddingRight24":"pUGE7e","dragHandle":"yOoRDp","foldingArrow12":"YJD3FZ","foldingArrow18":"ZrasWF","iconContainer":"eIbDdJ","loadingCell":"_6-BCg3"};
|
|
1672
1908
|
|
|
1673
1909
|
function DataTableRowAddons(props) {
|
|
1674
1910
|
var _a, _b;
|
|
1675
1911
|
const row = props.rowProps;
|
|
1676
1912
|
const additionalItemSize = +props.size < 30 ? '12' : '18';
|
|
1677
1913
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
1678
|
-
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__namespace.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$
|
|
1679
|
-
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__namespace.createElement(Checkbox, { key: "cb", cx: css$
|
|
1680
|
-
row.indent > 0 && (React__namespace.createElement("div", { key: "fold", className: css$
|
|
1914
|
+
((_a = row.dnd) === null || _a === void 0 ? void 0 : _a.srcData) && React__namespace.createElement(uuiComponents.DragHandle, { key: "dh", cx: css$K.dragHandle }),
|
|
1915
|
+
((_b = row === null || row === void 0 ? void 0 : row.checkbox) === null || _b === void 0 ? void 0 : _b.isVisible) && (React__namespace.createElement(Checkbox, { key: "cb", cx: css$K.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 })),
|
|
1916
|
+
row.indent > 0 && (React__namespace.createElement("div", { key: "fold", className: css$K.indent, style: { marginLeft: (row.indent - 1) * 24 } }, row.isFoldable && (React__namespace.createElement(uuiComponents.IconContainer, { rawProps: {
|
|
1681
1917
|
'aria-label': row.isFolded ? 'Unfold' : 'Fold',
|
|
1682
1918
|
role: 'button',
|
|
1683
|
-
}, key: "icon", icon: ForwardRef$
|
|
1684
|
-
css$
|
|
1919
|
+
}, key: "icon", icon: ForwardRef$z, cx: [
|
|
1920
|
+
css$K.foldingArrow, css$K[`folding-arrow-${additionalItemSize}`], uuiCore.uuiMarkers.clickable, css$K.iconContainer,
|
|
1685
1921
|
], rotate: row.isFolded ? '90ccw' : '0', onClick: () => row.onFold(row) }))))));
|
|
1686
1922
|
}
|
|
1687
1923
|
function DataTableCell(props) {
|
|
@@ -1692,7 +1928,7 @@ function DataTableCell(props) {
|
|
|
1692
1928
|
props.renderPlaceholder = props.renderPlaceholder
|
|
1693
1929
|
|| (() => (
|
|
1694
1930
|
// remove `css.loadingCell` after` removing `margin: 0 3px 3px 0` from `TextPlaceholder` `loadingWord` class styles.
|
|
1695
|
-
React__namespace.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48', cx: css$
|
|
1931
|
+
React__namespace.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48', cx: css$K.loadingCell },
|
|
1696
1932
|
React__namespace.createElement(TextPlaceholder, null))));
|
|
1697
1933
|
props.renderUnknown = props.renderUnknown
|
|
1698
1934
|
|| (() => (React__namespace.createElement(Text, { key: "t", size: props.size !== '60' ? props.size : '48' }, "Unknown")));
|
|
@@ -1702,67 +1938,67 @@ function DataTableCell(props) {
|
|
|
1702
1938
|
'uui-dt-vars',
|
|
1703
1939
|
'data-table-cell',
|
|
1704
1940
|
props.cx,
|
|
1705
|
-
css$
|
|
1706
|
-
css$
|
|
1707
|
-
css$
|
|
1708
|
-
props.isFirstColumn && css$
|
|
1709
|
-
props.isLastColumn && css$
|
|
1710
|
-
css$
|
|
1941
|
+
css$K.cell,
|
|
1942
|
+
css$K['size-' + (props.size || '36')],
|
|
1943
|
+
css$K[`padding-${props.padding || (isEditable && !props.rowProps.isLoading && '0') || '12'}`],
|
|
1944
|
+
props.isFirstColumn && css$K[`padding-left-${props.padding || (isEditable && !props.rowProps.isLoading && '12') || '24'}`],
|
|
1945
|
+
props.isLastColumn && css$K['padding-right-24'],
|
|
1946
|
+
css$K[`align-widgets-${props.alignActions || 'top'}`],
|
|
1711
1947
|
(props.border || isEditable) && 'uui-dt-vertical-cell-border',
|
|
1712
1948
|
];
|
|
1713
1949
|
return React__namespace.createElement(uuiComponents.DataTableCell, Object.assign({}, props));
|
|
1714
1950
|
}
|
|
1715
1951
|
|
|
1716
|
-
var _path$
|
|
1717
|
-
function _extends$
|
|
1952
|
+
var _path$x;
|
|
1953
|
+
function _extends$y() { _extends$y = 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$y.apply(this, arguments); }
|
|
1718
1954
|
var SvgNotificationDone24 = function SvgNotificationDone24(props, ref) {
|
|
1719
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1955
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$y({
|
|
1720
1956
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1721
1957
|
width: 24,
|
|
1722
1958
|
height: 24,
|
|
1723
1959
|
viewBox: "0 0 24 24",
|
|
1724
1960
|
ref: ref
|
|
1725
|
-
}, props), _path$
|
|
1961
|
+
}, props), _path$x || (_path$x = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1726
1962
|
fillRule: "evenodd",
|
|
1727
1963
|
d: "m9.727 16.075-4.295-4.388L4 13.149 9.727 19 22 6.463 20.568 5 9.728 16.075z",
|
|
1728
1964
|
clipRule: "evenodd"
|
|
1729
1965
|
})));
|
|
1730
1966
|
};
|
|
1731
|
-
var ForwardRef$
|
|
1967
|
+
var ForwardRef$y = /*#__PURE__*/React.forwardRef(SvgNotificationDone24);
|
|
1732
1968
|
|
|
1733
|
-
var _path$
|
|
1734
|
-
function _extends$
|
|
1969
|
+
var _path$w;
|
|
1970
|
+
function _extends$x() { _extends$x = 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$x.apply(this, arguments); }
|
|
1735
1971
|
var SvgNotificationDone18 = function SvgNotificationDone18(props, ref) {
|
|
1736
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1972
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$x({
|
|
1737
1973
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1738
1974
|
width: 18,
|
|
1739
1975
|
height: 18,
|
|
1740
1976
|
viewBox: "0 0 18 18",
|
|
1741
1977
|
ref: ref
|
|
1742
|
-
}, props), _path$
|
|
1978
|
+
}, props), _path$w || (_path$w = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1743
1979
|
fillRule: "evenodd",
|
|
1744
1980
|
d: "M7.136 11.91 4.034 8.776 3 9.821 7.136 14 16 5.045 14.966 4l-7.83 7.91z",
|
|
1745
1981
|
clipRule: "evenodd"
|
|
1746
1982
|
})));
|
|
1747
1983
|
};
|
|
1748
|
-
var ForwardRef$
|
|
1984
|
+
var ForwardRef$x = /*#__PURE__*/React.forwardRef(SvgNotificationDone18);
|
|
1749
1985
|
|
|
1750
|
-
var _path$
|
|
1751
|
-
function _extends$
|
|
1986
|
+
var _path$v;
|
|
1987
|
+
function _extends$w() { _extends$w = 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$w.apply(this, arguments); }
|
|
1752
1988
|
var SvgNotificationDone12 = function SvgNotificationDone12(props, ref) {
|
|
1753
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
1989
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
1754
1990
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1755
1991
|
width: 12,
|
|
1756
1992
|
height: 12,
|
|
1757
1993
|
viewBox: "0 0 12 12",
|
|
1758
1994
|
ref: ref
|
|
1759
|
-
}, props), _path$
|
|
1995
|
+
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1760
1996
|
d: "M11 3.6 9.462 2 4.846 6.8 2.538 4.4 1 6l3.846 4L11 3.6z"
|
|
1761
1997
|
})));
|
|
1762
1998
|
};
|
|
1763
|
-
var ForwardRef$
|
|
1999
|
+
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgNotificationDone12);
|
|
1764
2000
|
|
|
1765
|
-
var css$
|
|
2001
|
+
var css$J = {"uui-typography":"rZJwh2","hero-header":"DBbf57","promo-header":"IKnvOY","uui-critical":"apQM8G","uui-success":"dHF5nl","uui-warning":"GlwlhS","uui-typography-size-12":"jfeql1","uui-typography-size-14":"ZNFM5w","uui-typography-size-16":"komUri","render-item":"XOVaaH","icon-wrapper":"lEw-ee","picker-row":"_63E29s","icon-default":"cf4ps3","icon-primary":"Ith4d5","uuiTypography":"rZJwh2","heroHeader":"DBbf57","promoHeader":"IKnvOY","uuiCritical":"apQM8G","uuiSuccess":"dHF5nl","uuiWarning":"GlwlhS","uuiTypographySize12":"jfeql1","uuiTypographySize14":"ZNFM5w","uuiTypographySize16":"komUri","renderItem":"XOVaaH","iconWrapper":"lEw-ee","pickerRow":"_63E29s","iconDefault":"cf4ps3","iconPrimary":"Ith4d5"};
|
|
1766
2002
|
|
|
1767
2003
|
class DataPickerRow extends React__namespace.Component {
|
|
1768
2004
|
constructor() {
|
|
@@ -1770,26 +2006,26 @@ class DataPickerRow extends React__namespace.Component {
|
|
|
1770
2006
|
this.getIcon = (size) => {
|
|
1771
2007
|
switch (size) {
|
|
1772
2008
|
case '24':
|
|
1773
|
-
return ForwardRef$
|
|
2009
|
+
return ForwardRef$w;
|
|
1774
2010
|
case '30':
|
|
1775
|
-
return ForwardRef$
|
|
2011
|
+
return ForwardRef$x;
|
|
1776
2012
|
case '36':
|
|
1777
|
-
return ForwardRef$
|
|
2013
|
+
return ForwardRef$x;
|
|
1778
2014
|
case '42':
|
|
1779
|
-
return ForwardRef$
|
|
2015
|
+
return ForwardRef$y;
|
|
1780
2016
|
default:
|
|
1781
|
-
return ForwardRef$
|
|
2017
|
+
return ForwardRef$x;
|
|
1782
2018
|
}
|
|
1783
2019
|
};
|
|
1784
2020
|
this.column = {
|
|
1785
2021
|
key: 'name',
|
|
1786
2022
|
grow: 1,
|
|
1787
2023
|
width: 0,
|
|
1788
|
-
render: (item, rowProps) => (React__namespace.createElement("div", { key: rowProps.id, className: css$
|
|
2024
|
+
render: (item, rowProps) => (React__namespace.createElement("div", { key: rowProps.id, className: css$J.renderItem },
|
|
1789
2025
|
this.props.renderItem(item, rowProps),
|
|
1790
2026
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
1791
|
-
(rowProps.isChildrenSelected || rowProps.isSelected) && (React__namespace.createElement("div", { className: css$
|
|
1792
|
-
React__namespace.createElement(uuiComponents.IconContainer, { icon: this.getIcon(this.props.size), cx: rowProps.isChildrenSelected ? css$
|
|
2027
|
+
(rowProps.isChildrenSelected || rowProps.isSelected) && (React__namespace.createElement("div", { className: css$J.iconWrapper },
|
|
2028
|
+
React__namespace.createElement(uuiComponents.IconContainer, { icon: this.getIcon(this.props.size), cx: rowProps.isChildrenSelected ? css$J.iconDefault : css$J.iconPrimary, rawProps: { 'aria-label': rowProps.isChildrenSelected
|
|
1793
2029
|
? 'Child is selected'
|
|
1794
2030
|
: 'Selected' } }))))),
|
|
1795
2031
|
};
|
|
@@ -1798,31 +2034,31 @@ class DataPickerRow extends React__namespace.Component {
|
|
|
1798
2034
|
};
|
|
1799
2035
|
}
|
|
1800
2036
|
render() {
|
|
1801
|
-
return React__namespace.createElement(uuiComponents.DataPickerRow, Object.assign({}, this.props, { cx: [css$
|
|
2037
|
+
return React__namespace.createElement(uuiComponents.DataPickerRow, Object.assign({}, this.props, { cx: [css$J.pickerRow, this.props.cx], renderContent: this.renderContent }));
|
|
1802
2038
|
}
|
|
1803
2039
|
}
|
|
1804
2040
|
|
|
1805
|
-
var css$
|
|
2041
|
+
var css$I = {"uui-typography":"_9qNf2Q","hero-header":"XKxME7","promo-header":"c7VCDM","uui-critical":"bU4FWu","uui-success":"-JUWAS","uui-warning":"LqvTxa","uui-typography-size-12":"wcRLHM","uui-typography-size-14":"PQRQoH","uui-typography-size-16":"_29wwWE","done":"E5WUzg","container":"vs-6iP","uuiTypography":"_9qNf2Q","heroHeader":"XKxME7","promoHeader":"c7VCDM","uuiCritical":"bU4FWu","uuiSuccess":"-JUWAS","uuiWarning":"LqvTxa","uuiTypographySize12":"wcRLHM","uuiTypographySize14":"PQRQoH","uuiTypographySize16":"_29wwWE"};
|
|
1806
2042
|
|
|
1807
2043
|
const MobileDropdownWrapper = (props) => {
|
|
1808
2044
|
const isMobileView = uuiCore.isMobile();
|
|
1809
|
-
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { cx: [css$
|
|
2045
|
+
return (React__namespace.default.createElement(DropdownContainer, Object.assign({}, props, { cx: [css$I.container, props.cx], rawProps: props.rawProps, onKeyDown: props.onKeyDown, focusLock: props.focusLock, width: props.width }),
|
|
1810
2046
|
isMobileView && React__namespace.default.createElement(DataPickerHeader, { title: props.title, close: props.onClose }),
|
|
1811
2047
|
props.children,
|
|
1812
|
-
isMobileView && React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => { var _a; return (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$
|
|
2048
|
+
isMobileView && React__namespace.default.createElement(LinkButton, { caption: i18n.pickerInput.doneButton, onClick: () => { var _a; return (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props); }, cx: css$I.done, size: "48" })));
|
|
1813
2049
|
};
|
|
1814
2050
|
|
|
1815
|
-
var _path$
|
|
1816
|
-
function _extends$
|
|
2051
|
+
var _path$u, _path2$1;
|
|
2052
|
+
function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
|
|
1817
2053
|
var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
1818
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
2054
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
1819
2055
|
width: 66,
|
|
1820
2056
|
height: 67,
|
|
1821
2057
|
viewBox: "0 0 66 67",
|
|
1822
2058
|
fill: "none",
|
|
1823
2059
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1824
2060
|
ref: ref
|
|
1825
|
-
}, props), _path$
|
|
2061
|
+
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1826
2062
|
d: "M0 33.5C0 15.275 14.775.5 33 .5s33 14.775 33 33-14.775 33-33 33-33-14.775-33-33Z",
|
|
1827
2063
|
fill: "#EBEDF5"
|
|
1828
2064
|
})), _path2$1 || (_path2$1 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -1832,9 +2068,9 @@ var SvgSearchWithBackground = function SvgSearchWithBackground(props, ref) {
|
|
|
1832
2068
|
fill: "#6C6F80"
|
|
1833
2069
|
})));
|
|
1834
2070
|
};
|
|
1835
|
-
var ForwardRef$
|
|
2071
|
+
var ForwardRef$v = /*#__PURE__*/React.forwardRef(SvgSearchWithBackground);
|
|
1836
2072
|
|
|
1837
|
-
var css$
|
|
2073
|
+
var css$H = {"uui-typography":"Ur5MiI","hero-header":"_0FoUFa","promo-header":"xR-BAk","uui-critical":"Wf0BDP","uui-success":"jNVRk1","uui-warning":"aDfBQZ","uui-typography-size-12":"_9bFNLb","uui-typography-size-14":"_0dfgBH","uui-typography-size-16":"yhaF4a","sub-header-wrapper":"xtIzf8","switch":"g22RGI","no-found-modal-container":"JtVJ9C","no-found-modal-container-icon":"wgf3tX","no-found-modal-container-text":"_8Kfh6N","uuiTypography":"Ur5MiI","heroHeader":"_0FoUFa","promoHeader":"xR-BAk","uuiCritical":"Wf0BDP","uuiSuccess":"jNVRk1","uuiWarning":"aDfBQZ","uuiTypographySize12":"_9bFNLb","uuiTypographySize14":"_0dfgBH","uuiTypographySize16":"yhaF4a","subHeaderWrapper":"xtIzf8","$switch$":"g22RGI","noFoundModalContainer":"JtVJ9C","noFoundModalContainerIcon":"wgf3tX","noFoundModalContainerText":"_8Kfh6N"};
|
|
1838
2074
|
|
|
1839
2075
|
function PickerModal(props) {
|
|
1840
2076
|
const { view, selection, dataSourceStateLens, showSelectedLens, dataSourceState, getDataSourceState, getName, clearSelection, getRows, getListProps, getFooterProps, isSingleSelect, handleDataSourceValueChange, } = uuiComponents.usePickerModal(props);
|
|
@@ -1850,17 +2086,17 @@ function PickerModal(props) {
|
|
|
1850
2086
|
React__namespace.default.createElement(Button, { color: "accent", caption: i18n.pickerModal.selectButton, onClick: () => props.success(selection) })));
|
|
1851
2087
|
};
|
|
1852
2088
|
const renderNotFound = () => {
|
|
1853
|
-
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__namespace.default.createElement("div", { className: css$
|
|
1854
|
-
React__namespace.default.createElement(uuiComponents.IconContainer, { cx: css$
|
|
1855
|
-
React__namespace.default.createElement(Text, { cx: css$
|
|
1856
|
-
React__namespace.default.createElement(Text, { cx: css$
|
|
2089
|
+
return props.renderNotFound ? (props.renderNotFound({ search: dataSourceState.search, onClose: () => props.success(null) })) : (React__namespace.default.createElement("div", { className: css$H.noFoundModalContainer },
|
|
2090
|
+
React__namespace.default.createElement(uuiComponents.IconContainer, { cx: css$H.noFoundModalContainerIcon, icon: ForwardRef$v }),
|
|
2091
|
+
React__namespace.default.createElement(Text, { cx: css$H.noFoundModalContainerText, font: "semibold", fontSize: "16", lineHeight: "24", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsMessage),
|
|
2092
|
+
React__namespace.default.createElement(Text, { cx: css$H.noFoundModalContainerText, fontSize: "12", lineHeight: "18", font: "regular", color: "primary", size: "36" }, i18n.dataPickerBody.noRecordsSubTitle)));
|
|
1857
2093
|
};
|
|
1858
2094
|
const dataRows = getRows();
|
|
1859
2095
|
const rows = dataRows.map((row) => renderRow(row));
|
|
1860
2096
|
return (React__namespace.default.createElement(ModalBlocker, Object.assign({}, props),
|
|
1861
2097
|
React__namespace.default.createElement(ModalWindow, { width: 600, height: 700 },
|
|
1862
2098
|
React__namespace.default.createElement(ModalHeader, { title: props.caption || i18n.pickerModal.headerTitle, onClose: () => props.abort() }),
|
|
1863
|
-
React__namespace.default.createElement(FlexCell, { cx: css$
|
|
2099
|
+
React__namespace.default.createElement(FlexCell, { cx: css$H.subHeaderWrapper },
|
|
1864
2100
|
React__namespace.default.createElement(FlexRow, { vPadding: "24" },
|
|
1865
2101
|
React__namespace.default.createElement(SearchInput, Object.assign({}, dataSourceStateLens.prop('search').toProps(), { onKeyDown: (e) => uuiComponents.handleDataSourceKeyboard({
|
|
1866
2102
|
value: getDataSourceState(),
|
|
@@ -1869,168 +2105,24 @@ function PickerModal(props) {
|
|
|
1869
2105
|
rows: dataRows,
|
|
1870
2106
|
searchPosition: 'body',
|
|
1871
2107
|
}, e), autoFocus: true, placeholder: i18n.pickerModal.searchPlaceholder }))),
|
|
1872
|
-
!isSingleSelect() && (React__namespace.default.createElement(Switch, Object.assign({ cx: css$
|
|
2108
|
+
!isSingleSelect() && (React__namespace.default.createElement(Switch, Object.assign({ cx: css$H.switch, size: "18" }, showSelectedLens.toProps(), { isDisabled: view.getSelectedRowsCount() < 1, label: "Show only selected" }))),
|
|
1873
2109
|
props.renderFilter && React__namespace.default.createElement(FlexCell, { grow: 2 }, props.renderFilter(dataSourceStateLens.prop('filter').toProps()))),
|
|
1874
2110
|
React__namespace.default.createElement(DataPickerBody, Object.assign({}, getListProps(), { value: getDataSourceState(), onValueChange: handleDataSourceValueChange, search: dataSourceStateLens.prop('search').toProps(), showSearch: false, rows: rows, renderNotFound: renderNotFound, editMode: "modal" })),
|
|
1875
2111
|
React__namespace.default.createElement(ModalFooter, { padding: "24", vPadding: "24" }, props.renderFooter ? props.renderFooter(getFooterProps()) : renderFooter()))));
|
|
1876
2112
|
}
|
|
1877
2113
|
|
|
1878
|
-
var css$P = {"root":"Cqz3Ry"};
|
|
1879
|
-
|
|
1880
|
-
const AvatarStack = uuiCore.withMods(uuiComponents.AvatarStack, () => [css$P.root]);
|
|
1881
|
-
|
|
1882
|
-
var css$O = {"root":"_8j2Pdp","size-18":"qMV7zC","size-24":"R2OFMy","size-30":"BgaLX3","size-36":"qLi8c3","size-42":"ydCAMA","size-48":"xn-v4s","size18":"qMV7zC","size24":"R2OFMy","size30":"BgaLX3","size36":"qLi8c3","size42":"ydCAMA","size48":"xn-v4s"};
|
|
1883
|
-
|
|
1884
|
-
const defaultSize$5 = '36';
|
|
1885
|
-
const mapSize$1 = {
|
|
1886
|
-
48: '48',
|
|
1887
|
-
42: '48',
|
|
1888
|
-
36: '36',
|
|
1889
|
-
30: '30',
|
|
1890
|
-
24: '30',
|
|
1891
|
-
18: '18',
|
|
1892
|
-
};
|
|
1893
|
-
function applyBadgeMods(mods) {
|
|
1894
|
-
return [
|
|
1895
|
-
'uui-badge',
|
|
1896
|
-
css$O.root,
|
|
1897
|
-
css$O['size-' + (mods.size || defaultSize$5)],
|
|
1898
|
-
`fill-${mods.fill || 'solid'}`,
|
|
1899
|
-
mods.color && `uui-color-${mods.color}`,
|
|
1900
|
-
];
|
|
1901
|
-
}
|
|
1902
|
-
const Badge = uuiCore.withMods(uuiComponents.Button, applyBadgeMods, (props) => ({
|
|
1903
|
-
dropdownIcon: systemIcons[(props.size && mapSize$1[props.size]) || defaultSize$5].foldingArrow,
|
|
1904
|
-
clearIcon: systemIcons[(props.size && mapSize$1[props.size]) || defaultSize$5].clear,
|
|
1905
|
-
countPosition: 'left',
|
|
1906
|
-
}));
|
|
1907
|
-
|
|
1908
|
-
var css$N = {"root":"MS24E-","size-18":"WT3Ivg","size-24":"gGgt8L","size-30":"gY40BV","size-36":"xcA7Nm","size-42":"-PGvxx","size-48":"cpmfsB","size18":"WT3Ivg","size24":"gGgt8L","size30":"gY40BV","size36":"xcA7Nm","size42":"-PGvxx","size48":"cpmfsB"};
|
|
1909
|
-
|
|
1910
|
-
const defaultSize$4 = '36';
|
|
1911
|
-
const mapSize = {
|
|
1912
|
-
48: '48',
|
|
1913
|
-
42: '48',
|
|
1914
|
-
36: '36',
|
|
1915
|
-
30: '30',
|
|
1916
|
-
24: '30',
|
|
1917
|
-
18: '18',
|
|
1918
|
-
};
|
|
1919
|
-
function applyTagMods(mods) {
|
|
1920
|
-
return [css$N['size-' + (mods.size || defaultSize$4)], css$N.root, 'uui-color-gray', 'uui-tag'];
|
|
1921
|
-
}
|
|
1922
|
-
const Tag = uuiCore.withMods(uuiComponents.Button, applyTagMods, (props) => ({
|
|
1923
|
-
dropdownIcon: systemIcons[mapSize[props.size] || defaultSize$4].foldingArrow,
|
|
1924
|
-
clearIcon: systemIcons[mapSize[props.size] || defaultSize$4].clear,
|
|
1925
|
-
}));
|
|
1926
|
-
|
|
1927
|
-
var css$M = {"root":"A1e7MR","spacer":"ioSBM8","mode-ghost":"NhTAvE","size-24":"QRazxp","size-30":"un047X","navigation-size-24":"LWOBKR","navigation-size-30":"k3cF4G","modeGhost":"NhTAvE","size24":"QRazxp","size30":"un047X","navigationSize24":"LWOBKR","navigationSize30":"k3cF4G"};
|
|
1928
|
-
|
|
1929
|
-
var _path$v;
|
|
1930
|
-
function _extends$w() { _extends$w = 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$w.apply(this, arguments); }
|
|
1931
|
-
var SvgNavigationChevronLeft12 = function SvgNavigationChevronLeft12(props, ref) {
|
|
1932
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$w({
|
|
1933
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1934
|
-
width: 12,
|
|
1935
|
-
height: 12,
|
|
1936
|
-
viewBox: "0 0 12 12",
|
|
1937
|
-
ref: ref
|
|
1938
|
-
}, props), _path$v || (_path$v = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1939
|
-
fillRule: "evenodd",
|
|
1940
|
-
d: "M7.705 3.705 7 3 4 6l3 3 .705-.705L5.415 6l2.29-2.295z",
|
|
1941
|
-
clipRule: "evenodd"
|
|
1942
|
-
})));
|
|
1943
|
-
};
|
|
1944
|
-
var ForwardRef$w = /*#__PURE__*/React.forwardRef(SvgNavigationChevronLeft12);
|
|
1945
|
-
|
|
1946
|
-
var _path$u;
|
|
1947
|
-
function _extends$v() { _extends$v = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$v.apply(this, arguments); }
|
|
1948
|
-
var SvgNavigationChevronRight12 = function SvgNavigationChevronRight12(props, ref) {
|
|
1949
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$v({
|
|
1950
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1951
|
-
width: 12,
|
|
1952
|
-
height: 12,
|
|
1953
|
-
viewBox: "0 0 12 12",
|
|
1954
|
-
ref: ref
|
|
1955
|
-
}, props), _path$u || (_path$u = /*#__PURE__*/React__namespace.createElement("path", {
|
|
1956
|
-
fillRule: "evenodd",
|
|
1957
|
-
d: "m5 3-.705.705L6.585 6l-2.29 2.295L5 9l3-3-3-3z",
|
|
1958
|
-
clipRule: "evenodd"
|
|
1959
|
-
})));
|
|
1960
|
-
};
|
|
1961
|
-
var ForwardRef$v = /*#__PURE__*/React.forwardRef(SvgNavigationChevronRight12);
|
|
1962
|
-
|
|
1963
|
-
function Paginator(props) {
|
|
1964
|
-
const renderPaginator = (params) => {
|
|
1965
|
-
var _a, _b;
|
|
1966
|
-
return (React__namespace.default.createElement("nav", Object.assign({ role: "navigation", className: cx__default.default(css$M.root, 'uui-paginator') }, params.rawProps),
|
|
1967
|
-
React__namespace.default.createElement(Button, { cx: css$M[`navigation-size-${(_a = params.size) !== null && _a !== void 0 ? _a : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$J : ForwardRef$w, onClick: params.goToPrev, isDisabled: params.isFirst, fill: "outline", color: "secondary" }),
|
|
1968
|
-
params.pages.map((page, index) => {
|
|
1969
|
-
var _a, _b;
|
|
1970
|
-
if (page.type === 'spacer') {
|
|
1971
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$M[`size-${(_a = params.size) !== null && _a !== void 0 ? _a : '30'}`], css$M.spacer), size: params.size, key: `${index}_spacer`, caption: "...", fill: "ghost", color: "secondary", tabIndex: -1 }));
|
|
1972
|
-
}
|
|
1973
|
-
else {
|
|
1974
|
-
return (React__namespace.default.createElement(Button, { cx: cx__default.default(css$M[`size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], css$M[`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" }));
|
|
1975
|
-
}
|
|
1976
|
-
}),
|
|
1977
|
-
React__namespace.default.createElement(Button, { cx: css$M[`navigation-size-${(_b = params.size) !== null && _b !== void 0 ? _b : '30'}`], size: params.size, icon: params.size === '30' ? ForwardRef$I : ForwardRef$v, onClick: params.goToNext, isDisabled: params.isLast, fill: "outline", color: "secondary" })));
|
|
1978
|
-
};
|
|
1979
|
-
return React__namespace.default.createElement(uuiComponents.Paginator, Object.assign({}, props, { render: renderPaginator }));
|
|
1980
|
-
}
|
|
1981
|
-
|
|
1982
|
-
var css$L = {"root":"ad-0f4","bar":"tnbgJt","progressBar-indeterminate":"_1hGUFm","size-12":"_0qMUN9","size-18":"Ri5BiU","size-24":"abPz-b","progressBarIndeterminate":"_1hGUFm","size12":"_0qMUN9","size18":"Ri5BiU","size24":"abPz-b"};
|
|
1983
|
-
|
|
1984
|
-
const IndeterminateBar = React__namespace.forwardRef((props, ref) => {
|
|
1985
|
-
return (React__namespace.createElement("div", { ref: ref, className: cx__default.default('uui-indeterminate_bar', props.cx, css$L.root, css$L[`size-${props.size || 12}`]) },
|
|
1986
|
-
React__namespace.createElement("div", { className: cx__default.default(css$L.bar) })));
|
|
1987
|
-
});
|
|
1988
|
-
|
|
1989
|
-
var css$K = {"root":"euBBqd","striped":"_6Fl2Mx","animate-stripes":"Ixlc0M","size-12":"p3DSUZ","size-18":"yf8gLh","size-24":"Zhpq7s","animateStripes":"Ixlc0M","size12":"p3DSUZ","size18":"yf8gLh","size24":"Zhpq7s"};
|
|
1990
|
-
|
|
1991
|
-
const defaultSize$3 = '12';
|
|
1992
|
-
function applyProgressBarMods(mods) {
|
|
1993
|
-
const size = mods.size || defaultSize$3;
|
|
1994
|
-
return [
|
|
1995
|
-
css$K.root,
|
|
1996
|
-
css$K[`size-${size}`],
|
|
1997
|
-
mods.striped && css$K.striped,
|
|
1998
|
-
];
|
|
1999
|
-
}
|
|
2000
|
-
const ProgressBar = uuiCore.withMods(uuiComponents.ProgressBar, applyProgressBarMods, (props) => ({
|
|
2001
|
-
hideLabel: props.hideLabel || props.striped,
|
|
2002
|
-
}));
|
|
2003
|
-
|
|
2004
|
-
var css$J = {"root":"-UOWB4"};
|
|
2005
|
-
|
|
2006
|
-
const IndicatorBar = React__namespace.forwardRef((props, ref) => {
|
|
2007
|
-
const { progress } = props;
|
|
2008
|
-
return progress || progress === 0 ? (React__namespace.createElement(ProgressBar, { ref: ref, progress: progress, cx: cx__default.default(css$J.root, props.cx), hideLabel: true })) : (React__namespace.createElement(IndeterminateBar, { ref: ref, cx: cx__default.default(css$J.root, props.cx) }));
|
|
2009
|
-
});
|
|
2010
|
-
|
|
2011
|
-
var css$I = {"root":"dxRv9o"};
|
|
2012
|
-
|
|
2013
|
-
const Informer = React.forwardRef((props, ref) => {
|
|
2014
|
-
return (React__namespace.default.createElement("div", { ref: ref, className: cx__default.default([
|
|
2015
|
-
css$I.root,
|
|
2016
|
-
'uui-informer',
|
|
2017
|
-
`size-${props.size || 24}`,
|
|
2018
|
-
props.color && `uui-color-${props.color}`,
|
|
2019
|
-
]) }, props.caption));
|
|
2020
|
-
});
|
|
2021
|
-
|
|
2022
2114
|
const MAX_ITEMS = 100;
|
|
2023
2115
|
const getMaxItems = (maxItems) => maxItems || maxItems === 0 ? maxItems : MAX_ITEMS;
|
|
2024
2116
|
|
|
2025
|
-
var css$
|
|
2117
|
+
var css$G = {"uui-typography":"-kMsnj","hero-header":"D6pxR7","promo-header":"_6j9uJd","uui-critical":"GeYQ8j","uui-success":"sVFh9E","uui-warning":"IpHU7t","uui-typography-size-12":"_-2hQwF","uui-typography-size-14":"kDcap9","uui-typography-size-16":"dXWelT","root":"-OJMCg","mode-form":"_9QuoKh","mode-cell":"ZGOQq6","mode-inline":"nFp9-k","size-24":"vnyssf","size-30":"tzYHLO","size-36":"_4k9Qp1","size-42":"MIsovA","size-48":"_0IwSQd","uuiTypography":"-kMsnj","heroHeader":"D6pxR7","promoHeader":"_6j9uJd","uuiCritical":"GeYQ8j","uuiSuccess":"sVFh9E","uuiWarning":"IpHU7t","uuiTypographySize12":"_-2hQwF","uuiTypographySize14":"kDcap9","uuiTypographySize16":"dXWelT","modeForm":"_9QuoKh","modeCell":"ZGOQq6","modeInline":"nFp9-k","size24":"vnyssf","size30":"tzYHLO","size36":"_4k9Qp1","size42":"MIsovA","size48":"_0IwSQd"};
|
|
2026
2118
|
|
|
2027
2119
|
const defaultSize$2 = '36';
|
|
2028
2120
|
const defaultMode$1 = exports.EditMode.FORM;
|
|
2029
2121
|
function applyPickerTogglerMods(mods) {
|
|
2030
2122
|
return [
|
|
2031
|
-
css$
|
|
2032
|
-
css$
|
|
2033
|
-
css$
|
|
2123
|
+
css$G.root,
|
|
2124
|
+
css$G['size-' + (mods.size || defaultSize$2)],
|
|
2125
|
+
css$G['mode-' + (mods.mode || defaultMode$1)],
|
|
2034
2126
|
];
|
|
2035
2127
|
}
|
|
2036
2128
|
function PickerTogglerComponent(props, ref) {
|
|
@@ -2072,9 +2164,9 @@ function PickerTogglerComponent(props, ref) {
|
|
|
2072
2164
|
}
|
|
2073
2165
|
const PickerToggler = React__namespace.forwardRef(PickerTogglerComponent);
|
|
2074
2166
|
|
|
2075
|
-
var css$
|
|
2167
|
+
var css$F = {"root":"rV7aJu","multiline":"ZKiU44","vertical-padding-24":"ADIADL","vertical-padding-30":"M2eN8h","vertical-padding-36":"fFeA9V","vertical-padding-42":"eVyZ03","vertical-padding-48":"_21L38I","text":"VvPOEH","verticalPadding24":"ADIADL","verticalPadding30":"M2eN8h","verticalPadding36":"fFeA9V","verticalPadding42":"eVyZ03","verticalPadding48":"_21L38I"};
|
|
2076
2168
|
|
|
2077
|
-
var css$
|
|
2169
|
+
var css$E = {"highlighted-text":"ALd6ve","highlightedText":"ALd6ve"};
|
|
2078
2170
|
|
|
2079
2171
|
const mergeHighlightRanges = (ranges) => {
|
|
2080
2172
|
const mergedRanges = [];
|
|
@@ -2128,7 +2220,7 @@ const getHighlightRanges = (str, search) => {
|
|
|
2128
2220
|
};
|
|
2129
2221
|
const getDecoratedText = (str, ranges) => ranges.map((range, index) => {
|
|
2130
2222
|
const rangeStr = str.substring(range.from, range.to);
|
|
2131
|
-
return (React__namespace.default.createElement("span", Object.assign({ key: `${rangeStr}-${index}` }, (range.isHighlighted ? { className: css$
|
|
2223
|
+
return (React__namespace.default.createElement("span", Object.assign({ key: `${rangeStr}-${index}` }, (range.isHighlighted ? { className: css$E.highlightedText } : {})), rangeStr));
|
|
2132
2224
|
});
|
|
2133
2225
|
const getHighlightedSearchMatches = (str, search) => {
|
|
2134
2226
|
if (!search || !str) {
|
|
@@ -2157,20 +2249,20 @@ class PickerItem extends React__namespace.Component {
|
|
|
2157
2249
|
const { search } = (_a = this.props.dataSourceState) !== null && _a !== void 0 ? _a : {};
|
|
2158
2250
|
const title = highlightSearchMatches ? getHighlightedSearchMatches(this.props.title, search) : this.props.title;
|
|
2159
2251
|
const subtitle = highlightSearchMatches ? getHighlightedSearchMatches(this.props.subtitle, search) : this.props.subtitle;
|
|
2160
|
-
return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$
|
|
2161
|
-
React__namespace.createElement(FlexRow, { size: itemSize, cx: isMultiline && [css$
|
|
2252
|
+
return (React__namespace.createElement(FlexCell, { width: "auto", cx: [css$F.root, cx] },
|
|
2253
|
+
React__namespace.createElement(FlexRow, { size: itemSize, cx: isMultiline && [css$F.multiline, css$F[`vertical-padding-${itemSize}`]], spacing: "12" },
|
|
2162
2254
|
avatarUrl && React__namespace.createElement(uuiComponents.Avatar, { isLoading: isLoading, img: avatarUrl, size: this.getAvatarSize(itemSize, isMultiline).toString() }),
|
|
2163
2255
|
icon && React__namespace.createElement(uuiComponents.IconContainer, { icon: icon }),
|
|
2164
2256
|
React__namespace.createElement(FlexCell, { width: "auto" },
|
|
2165
|
-
title && (React__namespace.createElement(Text, { size: itemSize, cx: css$
|
|
2166
|
-
subtitle && (React__namespace.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$
|
|
2257
|
+
title && (React__namespace.createElement(Text, { size: itemSize, cx: css$F.text, color: isDisabled ? 'disabled' : 'primary' }, isLoading ? React__namespace.createElement(TextPlaceholder, { wordsCount: 2 }) : title)),
|
|
2258
|
+
subtitle && (React__namespace.createElement(Text, { size: itemSize, color: isDisabled ? 'disabled' : 'secondary', cx: css$F.text }, isLoading ? React__namespace.createElement(TextPlaceholder, { wordsCount: 2 }) : subtitle))))));
|
|
2167
2259
|
}
|
|
2168
2260
|
}
|
|
2169
2261
|
PickerItem.defaultProps = {
|
|
2170
2262
|
highlightSearchMatches: true,
|
|
2171
2263
|
};
|
|
2172
2264
|
|
|
2173
|
-
var css$
|
|
2265
|
+
var css$D = {"uui-typography":"ngd97c","hero-header":"afsRhK","promo-header":"d3Kjey","uui-critical":"FmQEwz","uui-success":"GzwYqr","uui-warning":"_13DPu3","uui-typography-size-12":"Uy-fEu","uui-typography-size-14":"NufN7K","uui-typography-size-16":"nwKEAd","root":"fcBJnM","panel":"UCJmyg","footer-wrapper":"_4SZ1D3","footer-size-24":"eEx2vV","footer-size-30":"fqcVl-","footer-size-36":"pI6rDl","footer-size-42":"r7dAX7","footer-size-48":"okY9KF","uuiTypography":"ngd97c","heroHeader":"afsRhK","promoHeader":"d3Kjey","uuiCritical":"FmQEwz","uuiSuccess":"GzwYqr","uuiWarning":"_13DPu3","uuiTypographySize12":"Uy-fEu","uuiTypographySize14":"NufN7K","uuiTypographySize16":"nwKEAd","footerWrapper":"_4SZ1D3","footerSize24":"eEx2vV","footerSize30":"fqcVl-","footerSize36":"pI6rDl","footerSize42":"r7dAX7","footerSize48":"okY9KF"};
|
|
2174
2266
|
|
|
2175
2267
|
const pickerHeight$1 = 300;
|
|
2176
2268
|
const pickerWidth = 360;
|
|
@@ -2185,7 +2277,7 @@ function PickerInput(_a) {
|
|
|
2185
2277
|
})
|
|
2186
2278
|
.catch(() => { });
|
|
2187
2279
|
};
|
|
2188
|
-
const { context, popperModifiers, getName, getPlaceholder, handleSelectionValueChange, getTogglerProps, getRows, handleTogglerSearchChange, toggleBodyOpening, dataSourceState, getFooterProps, getPickerBodyProps, getListProps, shouldShowBody, getSearchPosition, } = uuiComponents.usePickerInput(Object.assign(Object.assign({}, props), { toggleModalOpening }));
|
|
2280
|
+
const { context, popperModifiers, getName, getPlaceholder, handleSelectionValueChange, getTogglerProps, getRows, handleTogglerSearchChange, toggleBodyOpening, dataSourceState, getFooterProps, getPickerBodyProps, getListProps, shouldShowBody, getSearchPosition, handlePickerInputKeyboard, } = uuiComponents.usePickerInput(Object.assign(Object.assign({}, props), { toggleModalOpening }));
|
|
2189
2281
|
const getTogglerMods = () => {
|
|
2190
2282
|
return {
|
|
2191
2283
|
size: props.size,
|
|
@@ -2194,7 +2286,7 @@ function PickerInput(_a) {
|
|
|
2194
2286
|
};
|
|
2195
2287
|
const renderTarget = (targetProps) => {
|
|
2196
2288
|
const renderTargetFn = props.renderToggler || ((props) => React__namespace.default.createElement(PickerToggler, Object.assign({}, props)));
|
|
2197
|
-
return (React__namespace.default.createElement(uuiCore.IEditableDebouncer, { value: targetProps.value, onValueChange: handleTogglerSearchChange, debounceDelay: props.searchDebounceDelay, render: (editableProps) => renderTargetFn(Object.assign(Object.assign(Object.assign({}, getTogglerMods()), targetProps), editableProps)) }));
|
|
2289
|
+
return (React__namespace.default.createElement(uuiCore.IEditableDebouncer, { value: targetProps.value, onValueChange: handleTogglerSearchChange, debounceDelay: props.searchDebounceDelay, render: (editableProps) => renderTargetFn(Object.assign(Object.assign(Object.assign(Object.assign({}, getTogglerMods()), targetProps), editableProps), { onKeyDown: (e) => handlePickerInputKeyboard(rows, e, editableProps.value) })) }));
|
|
2198
2290
|
};
|
|
2199
2291
|
const renderFooter = () => {
|
|
2200
2292
|
const footerProps = getFooterProps();
|
|
@@ -2216,7 +2308,7 @@ function PickerInput(_a) {
|
|
|
2216
2308
|
const renderedDataRows = rows.map((row) => renderRow(row, dataSourceState));
|
|
2217
2309
|
const bodyHeight = uuiCore.isMobile() ? document.documentElement.clientHeight : props.dropdownHeight || pickerHeight$1;
|
|
2218
2310
|
const minBodyWidth = props.minBodyWidth || pickerWidth;
|
|
2219
|
-
return (React__namespace.default.createElement(MobileDropdownWrapper, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [css$
|
|
2311
|
+
return (React__namespace.default.createElement(MobileDropdownWrapper, { title: props.entityName, onClose: () => toggleBodyOpening(false), cx: [css$D.panel, css$D.root, props.bodyCx], onKeyDown: bodyProps.onKeyDown, width: bodyProps.togglerWidth > minBodyWidth ? bodyProps.togglerWidth : minBodyWidth, focusLock: getSearchPosition() === 'body' },
|
|
2220
2312
|
React__namespace.default.createElement(DataPickerBody, Object.assign({}, bodyProps, { rows: renderedDataRows, maxHeight: bodyHeight, searchSize: props.size, editMode: "dropdown", selectionMode: props.selectionMode, renderNotFound: props.renderNotFound
|
|
2221
2313
|
? () => props.renderNotFound({
|
|
2222
2314
|
search: dataSourceState.search,
|
|
@@ -2227,12 +2319,12 @@ function PickerInput(_a) {
|
|
|
2227
2319
|
};
|
|
2228
2320
|
const rows = getRows();
|
|
2229
2321
|
return (React__namespace.default.createElement(Dropdown, { renderTarget: (dropdownProps) => {
|
|
2230
|
-
const targetProps = getTogglerProps(
|
|
2322
|
+
const targetProps = getTogglerProps();
|
|
2231
2323
|
return renderTarget(Object.assign(Object.assign({}, dropdownProps), targetProps));
|
|
2232
2324
|
}, renderBody: (bodyProps) => renderBody(Object.assign(Object.assign(Object.assign({}, bodyProps), getPickerBodyProps(rows)), getListProps()), rows), value: shouldShowBody(), onValueChange: !props.isDisabled && toggleBodyOpening, placement: props.dropdownPlacement, modifiers: popperModifiers, closeBodyOnTogglerHidden: !uuiCore.isMobile(), portalTarget: props.portalTarget }));
|
|
2233
2325
|
}
|
|
2234
2326
|
|
|
2235
|
-
var css$
|
|
2327
|
+
var css$C = {"row":"HyYMxC"};
|
|
2236
2328
|
|
|
2237
2329
|
function PickerListItem(props) {
|
|
2238
2330
|
var _a;
|
|
@@ -2250,7 +2342,7 @@ function PickerListItem(props) {
|
|
|
2250
2342
|
else {
|
|
2251
2343
|
component = (React__namespace.default.createElement(RadioInput, { label: label, value: props.isSelected, isDisabled: props.isLoading || !props.isSelectable || props.isDisabled, onValueChange: () => props.onSelect(props) }));
|
|
2252
2344
|
}
|
|
2253
|
-
return (React__namespace.default.createElement("div", Object.assign({ role: "option", "aria-selected": props.isSelectable ? props.isSelected : undefined, "aria-busy": props.isLoading, "aria-posinset": props.index + 1 }, (((_a = props.checkbox) === null || _a === void 0 ? void 0 : _a.isVisible) && { 'aria-checked': props.isChecked }), { className: css$
|
|
2345
|
+
return (React__namespace.default.createElement("div", Object.assign({ role: "option", "aria-selected": props.isSelectable ? props.isSelected : undefined, "aria-busy": props.isLoading, "aria-posinset": props.index + 1 }, (((_a = props.checkbox) === null || _a === void 0 ? void 0 : _a.isVisible) && { 'aria-checked': props.isChecked }), { className: css$C.row }), component));
|
|
2254
2346
|
}
|
|
2255
2347
|
|
|
2256
2348
|
function PickerList(props) {
|
|
@@ -2286,7 +2378,7 @@ function PickerList(props) {
|
|
|
2286
2378
|
}, selectedRows)));
|
|
2287
2379
|
}
|
|
2288
2380
|
|
|
2289
|
-
var css$
|
|
2381
|
+
var css$B = {"uui-typography":"ap4TZT","hero-header":"yzXr-B","promo-header":"MHI-nJ","uui-critical":"MHNLpK","uui-success":"aRhVsX","uui-warning":"bsLhZ1","uui-typography-size-12":"qCyqMB","uui-typography-size-14":"giHqBO","uui-typography-size-16":"XyxnbN","root":"daYT2z","title-wrapper":"RXPVOW","title":"Im21qa","text-wrapper":"SRaabv","selection":"_4BnvZc","postfix":"-sMc7R","selected":"NJzm8S","uuiTypography":"ap4TZT","heroHeader":"yzXr-B","promoHeader":"MHI-nJ","uuiCritical":"MHNLpK","uuiSuccess":"aRhVsX","uuiWarning":"bsLhZ1","uuiTypographySize12":"qCyqMB","uuiTypographySize14":"giHqBO","uuiTypographySize16":"XyxnbN","titleWrapper":"RXPVOW","textWrapper":"SRaabv"};
|
|
2290
2382
|
|
|
2291
2383
|
const defaultSize = '36';
|
|
2292
2384
|
const FilterPanelItemToggler = React__namespace.forwardRef((props, ref) => {
|
|
@@ -2311,19 +2403,19 @@ const FilterPanelItemToggler = React__namespace.forwardRef((props, ref) => {
|
|
|
2311
2403
|
};
|
|
2312
2404
|
const getTitle = props.predicateName ? `${props.title} ${props.predicateName}` : `${props.title}${props.selection ? ':' : ''}`;
|
|
2313
2405
|
const getSelectionText = () => props.selection.map((i, index) => (React__namespace.createElement(React__namespace.Fragment, { key: `${i}${index}` },
|
|
2314
|
-
React__namespace.createElement(Text, { color: "brand", size: props.size, cx: css$
|
|
2406
|
+
React__namespace.createElement(Text, { color: "brand", size: props.size, cx: css$B.selection }, i),
|
|
2315
2407
|
(props.postfix || index !== props.selection.length - 1) && React__namespace.createElement("span", null, ",\u00A0"))));
|
|
2316
2408
|
return (React__namespace.createElement(uuiComponents.FlexRow, Object.assign({}, props, { rawProps: {
|
|
2317
2409
|
style: { maxWidth: `${props.maxWidth ? props.maxWidth + 'px' : 'auto'}` },
|
|
2318
2410
|
role: 'button',
|
|
2319
2411
|
tabIndex: props.isDisabled ? -1 : 0,
|
|
2320
2412
|
onKeyDown: onKeyDownHandler,
|
|
2321
|
-
}, cx: cx__default.default(css$
|
|
2322
|
-
React__namespace.createElement(uuiComponents.FlexRow, { cx: css$
|
|
2323
|
-
React__namespace.createElement(Text, { size: props.size, cx: css$
|
|
2324
|
-
props.selection && (React__namespace.createElement("div", { className: css$
|
|
2413
|
+
}, cx: cx__default.default(css$B.root, uuiCore.uuiElement.inputBox, uuiCore.uuiMarkers.clickable, props.isOpen && uuiCore.uuiMod.opened, ['size-' + (props.size || defaultSize)], props.cx), onClick: togglerPickerOpened, ref: ref }),
|
|
2414
|
+
React__namespace.createElement(uuiComponents.FlexRow, { cx: css$B.titleWrapper },
|
|
2415
|
+
React__namespace.createElement(Text, { size: props.size, cx: css$B.title }, getTitle),
|
|
2416
|
+
props.selection && (React__namespace.createElement("div", { className: css$B.textWrapper },
|
|
2325
2417
|
getSelectionText(),
|
|
2326
|
-
props.postfix && (React__namespace.createElement(Text, { color: "brand", size: props.size, cx: css$
|
|
2418
|
+
props.postfix && (React__namespace.createElement(Text, { color: "brand", size: props.size, cx: css$B.postfix }, props.postfix))))),
|
|
2327
2419
|
!props.isDisabled && React__namespace.createElement(uuiComponents.IconContainer, { icon: systemIcons[props.size || defaultSize].foldingArrow, flipY: props.isOpen, cx: "uui-icon-dropdown" })));
|
|
2328
2420
|
});
|
|
2329
2421
|
|
|
@@ -2390,7 +2482,7 @@ class FilterDatePickerBody extends uuiComponents.BaseDatePicker {
|
|
|
2390
2482
|
}
|
|
2391
2483
|
}
|
|
2392
2484
|
|
|
2393
|
-
var css$
|
|
2485
|
+
var css$A = {"uui-typography":"_5jJXMg","hero-header":"miYEaS","promo-header":"c7vb7b","uui-critical":"ZYQXZ9","uui-success":"XAqC0H","uui-warning":"OEQOG9","uui-typography-size-12":"r4I1ne","uui-typography-size-14":"Qu3DOq","uui-typography-size-16":"wt0YIk","date-input":"Rhf-NY","size-24":"bePuD7","size-30":"Nr65L1","size-36":"n8JWZi","size-42":"eHlmPe","size-48":"WDErmE","date-input-group":"_1tCXUz","separator":"Wer6VQ","mode-form":"PMJeg4","mode-cell":"L7RNk6","uuiTypography":"_5jJXMg","heroHeader":"miYEaS","promoHeader":"c7vb7b","uuiCritical":"ZYQXZ9","uuiSuccess":"XAqC0H","uuiWarning":"OEQOG9","uuiTypographySize12":"r4I1ne","uuiTypographySize14":"Qu3DOq","uuiTypographySize16":"wt0YIk","dateInput":"Rhf-NY","size24":"bePuD7","size30":"Nr65L1","size36":"n8JWZi","size42":"eHlmPe","size48":"WDErmE","dateInputGroup":"_1tCXUz","modeForm":"PMJeg4","modeCell":"L7RNk6"};
|
|
2394
2486
|
|
|
2395
2487
|
class FilterRangeDatePickerBody extends uuiComponents.BaseRangeDatePicker {
|
|
2396
2488
|
constructor() {
|
|
@@ -2410,10 +2502,10 @@ class FilterRangeDatePickerBody extends uuiComponents.BaseRangeDatePicker {
|
|
|
2410
2502
|
React__namespace.createElement(RangeDatePickerBody, { value: this.getValue(), onValueChange: this.onRangeChange, filter: this.props.filter, focusPart: this.state.inFocus, changeIsOpen: this.changeIsOpen, presets: this.props.presets })),
|
|
2411
2503
|
React__namespace.createElement(FlexCell, { alignSelf: "stretch" },
|
|
2412
2504
|
React__namespace.createElement(FlexRow, { padding: "24", vPadding: "12" },
|
|
2413
|
-
React__namespace.createElement("div", { className: cx__default.default(css$
|
|
2414
|
-
React__namespace.createElement(TextInput, { icon: systemIcons['30'].calendar, cx: cx__default.default(css$
|
|
2415
|
-
React__namespace.createElement("div", { className: css$
|
|
2416
|
-
React__namespace.createElement(TextInput, { cx: cx__default.default(css$
|
|
2505
|
+
React__namespace.createElement("div", { className: cx__default.default(css$A.dateInputGroup, this.state.inFocus && uuiCore.uuiMod.focus) },
|
|
2506
|
+
React__namespace.createElement(TextInput, { icon: systemIcons['30'].calendar, cx: cx__default.default(css$A.dateInput, css$A['size-30'], this.state.inFocus === 'from' && uuiCore.uuiMod.focus), size: "30", placeholder: i18n.rangeDatePicker.pickerPlaceholderFrom, value: this.state.inputValue.from, onValueChange: this.getChangeHandler('from'), onFocus: (event) => this.handleFocus(event, 'from'), onBlur: (event) => this.handleBlur(event, 'from') }),
|
|
2507
|
+
React__namespace.createElement("div", { className: css$A.separator }),
|
|
2508
|
+
React__namespace.createElement(TextInput, { cx: cx__default.default(css$A.dateInput, css$A['size-30'], this.state.inFocus === 'to' && uuiCore.uuiMod.focus), placeholder: i18n.rangeDatePicker.pickerPlaceholderTo, size: "30", value: this.state.inputValue.to, onCancel: this.state.inputValue.from && this.state.inputValue.to && this.handleCancel, onValueChange: this.getChangeHandler('to'), onFocus: (event) => this.handleFocus(event, 'to'), onBlur: (event) => this.handleBlur(event, 'to') })),
|
|
2417
2509
|
React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
2418
2510
|
React__namespace.createElement(LinkButton, { isDisabled: !this.state.inputValue.from && !this.state.inputValue.to, caption: i18n.pickerModal.clearAllButton, onClick: this.handleCancel })))));
|
|
2419
2511
|
}
|
|
@@ -2422,7 +2514,7 @@ class FilterRangeDatePickerBody extends uuiComponents.BaseRangeDatePicker {
|
|
|
2422
2514
|
}
|
|
2423
2515
|
}
|
|
2424
2516
|
|
|
2425
|
-
var css$
|
|
2517
|
+
var css$z = {"container":"WTjS8E"};
|
|
2426
2518
|
|
|
2427
2519
|
function FilterNumericBody(props) {
|
|
2428
2520
|
var _a, _b;
|
|
@@ -2466,7 +2558,7 @@ function FilterNumericBody(props) {
|
|
|
2466
2558
|
if (isInRangePredicate) {
|
|
2467
2559
|
const value = props.value;
|
|
2468
2560
|
return (React__namespace.default.createElement("div", null,
|
|
2469
|
-
React__namespace.default.createElement(FlexRow, { padding: "12", alignItems: "center", spacing: "12", borderBottom: true, cx: css$
|
|
2561
|
+
React__namespace.default.createElement(FlexRow, { padding: "12", alignItems: "center", spacing: "12", borderBottom: true, cx: css$z.container },
|
|
2470
2562
|
React__namespace.default.createElement(FlexCell, { width: "100%" },
|
|
2471
2563
|
React__namespace.default.createElement(NumericInput, { value: (_a = value === null || value === void 0 ? void 0 : value.from) !== null && _a !== void 0 ? _a : null, onValueChange: rangeValueHandler('from'), size: "36", placeholder: "Min", formatOptions: { maximumFractionDigits: 2 } })),
|
|
2472
2564
|
React__namespace.default.createElement(FlexCell, { width: "100%" },
|
|
@@ -2474,7 +2566,7 @@ function FilterNumericBody(props) {
|
|
|
2474
2566
|
renderFooter()));
|
|
2475
2567
|
}
|
|
2476
2568
|
return (React__namespace.default.createElement("div", null,
|
|
2477
|
-
React__namespace.default.createElement(FlexRow, { padding: "12", alignItems: "center", borderBottom: true, cx: css$
|
|
2569
|
+
React__namespace.default.createElement(FlexRow, { padding: "12", alignItems: "center", borderBottom: true, cx: css$z.container },
|
|
2478
2570
|
React__namespace.default.createElement(FlexCell, { width: 130 },
|
|
2479
2571
|
React__namespace.default.createElement(NumericInput, { value: typeof props.value === 'number' ? props.value : null, onValueChange: props.onValueChange, size: "36", placeholder: "Enter a number", formatOptions: { maximumFractionDigits: 2 } }))),
|
|
2480
2572
|
renderFooter()));
|
|
@@ -2513,7 +2605,7 @@ var SvgActionDeleteforever12 = function SvgActionDeleteforever12(props, ref) {
|
|
|
2513
2605
|
};
|
|
2514
2606
|
var ForwardRef$u = /*#__PURE__*/React.forwardRef(SvgActionDeleteforever12);
|
|
2515
2607
|
|
|
2516
|
-
var css$
|
|
2608
|
+
var css$y = {"uui-typography":"Zk7WJo","hero-header":"UZnVFS","promo-header":"Wzv05a","uui-critical":"CY0Vrn","uui-success":"_18Xc94","uui-warning":"b9jr0l","uui-typography-size-12":"tdbLzj","uui-typography-size-14":"CDcNtq","uui-typography-size-16":"mQzog5","root":"RLboIe","header":"hhgQGi","removeButton":"lzxfsQ","with-search":"XGKB1N","uuiTypography":"Zk7WJo","heroHeader":"UZnVFS","promoHeader":"Wzv05a","uuiCritical":"CY0Vrn","uuiSuccess":"_18Xc94","uuiWarning":"b9jr0l","uuiTypographySize12":"tdbLzj","uuiTypographySize14":"CDcNtq","uuiTypographySize16":"mQzog5","withSearch":"XGKB1N"};
|
|
2517
2609
|
|
|
2518
2610
|
function FiltersToolbarItemImpl(props) {
|
|
2519
2611
|
const { maxCount = 2 } = props;
|
|
@@ -2589,13 +2681,13 @@ function FiltersToolbarItemImpl(props) {
|
|
|
2589
2681
|
};
|
|
2590
2682
|
const renderHeader = (hideTitle) => {
|
|
2591
2683
|
var _a;
|
|
2592
|
-
return (React__namespace.default.createElement("div", { className: cx__default.default(css$
|
|
2684
|
+
return (React__namespace.default.createElement("div", { className: cx__default.default(css$y.header, isPickersType && ((_a = props.showSearch) !== null && _a !== void 0 ? _a : css$y.withSearch)) },
|
|
2593
2685
|
props.predicates ? (React__namespace.default.createElement(MultiSwitch, { items: props.predicates.map((i) => ({ id: i.predicate, caption: i.name })), value: predicate, onValueChange: changePredicate, size: "24" })) : (!hideTitle && (React__namespace.default.createElement(Text, { color: "secondary", size: "24", fontSize: "14" }, props.title))),
|
|
2594
|
-
!(props === null || props === void 0 ? void 0 : props.isAlwaysVisible) && (React__namespace.default.createElement(LinkButton, { cx: css$
|
|
2686
|
+
!(props === null || props === void 0 ? void 0 : props.isAlwaysVisible) && (React__namespace.default.createElement(LinkButton, { cx: css$y.removeButton, caption: i18n.filterToolbar.datePicker.removeCaption, onClick: removeOnclickHandler, size: "24", icon: ForwardRef$u }))));
|
|
2595
2687
|
};
|
|
2596
2688
|
const renderBody = (dropdownProps) => {
|
|
2597
2689
|
const hideHeaderTitle = isPickersType && isMobileScreen;
|
|
2598
|
-
return isPickersType ? (React__namespace.default.createElement(MobileDropdownWrapper, Object.assign({}, dropdownProps, { cx: css$
|
|
2690
|
+
return isPickersType ? (React__namespace.default.createElement(MobileDropdownWrapper, Object.assign({}, dropdownProps, { cx: css$y.root, title: props.title, width: 360, onClose: () => isOpenChange(false) }),
|
|
2599
2691
|
renderHeader(hideHeaderTitle),
|
|
2600
2692
|
React__namespace.default.createElement(FilterItemBody, Object.assign({}, props, dropdownProps, { selectedPredicate: predicate, value: getValue(), onValueChange: onValueChange })))) : (React__namespace.default.createElement(DropdownContainer, Object.assign({}, dropdownProps),
|
|
2601
2693
|
renderHeader(hideHeaderTitle),
|
|
@@ -2809,9 +2901,9 @@ function FiltersToolbarImpl(props) {
|
|
|
2809
2901
|
}
|
|
2810
2902
|
const FiltersPanel = React__namespace.default.memo(FiltersToolbarImpl);
|
|
2811
2903
|
|
|
2812
|
-
var css$
|
|
2904
|
+
var css$x = {"divider":"DQnMf6","dropdownDeleteIcon":"qwj572","presetsWrapper":"dSs46P","addPresetContainer":"NtPIXt","dropContainer":"_7VJGe2"};
|
|
2813
2905
|
|
|
2814
|
-
var css$
|
|
2906
|
+
var css$w = {"preset-dropdown-panel":"A90xPX","delete-row":"spOE-B","delete-button":"kctO7l","targetOpen":"RjVggq","presetDropdownPanel":"A90xPX","deleteRow":"spOE-B","deleteButton":"kctO7l"};
|
|
2815
2907
|
|
|
2816
2908
|
var _path$r;
|
|
2817
2909
|
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); }
|
|
@@ -2982,7 +3074,7 @@ function PresetActionsDropdown(props) {
|
|
|
2982
3074
|
]);
|
|
2983
3075
|
const renderBody = () => {
|
|
2984
3076
|
const isReadonlyPreset = props.preset.isReadonly;
|
|
2985
|
-
return (React__namespace.default.createElement(Panel, { background: "surface", shadow: true, cx: css$
|
|
3077
|
+
return (React__namespace.default.createElement(Panel, { background: "surface", shadow: true, cx: css$w.presetDropdownPanel },
|
|
2986
3078
|
props.activePresetId === props.preset.id && props.hasPresetChanged(props.preset) && (React__namespace.default.createElement(React__namespace.default.Fragment, null,
|
|
2987
3079
|
!isReadonlyPreset && (React__namespace.default.createElement(FlexRow, { key: `${props.preset.id}-save-in-current` },
|
|
2988
3080
|
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$r, caption: "Save in current", onClick: saveInCurrentHandler }))),
|
|
@@ -2996,16 +3088,16 @@ function PresetActionsDropdown(props) {
|
|
|
2996
3088
|
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$o, caption: "Duplicate", onClick: duplicateHandler })),
|
|
2997
3089
|
React__namespace.default.createElement(FlexRow, { borderBottom: true, key: `${props.preset.id}-copyLink` },
|
|
2998
3090
|
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$m, caption: "Copy Link", onClick: copyUrlToClipboard })),
|
|
2999
|
-
!isReadonlyPreset && (React__namespace.default.createElement(FlexRow, { key: `${props.preset.id}-delete`, cx: css$
|
|
3000
|
-
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$l, caption: "Delete", cx: css$
|
|
3091
|
+
!isReadonlyPreset && (React__namespace.default.createElement(FlexRow, { key: `${props.preset.id}-delete`, cx: css$w.deleteRow },
|
|
3092
|
+
React__namespace.default.createElement(DropdownMenuButton, { icon: ForwardRef$l, caption: "Delete", cx: css$w.deleteButton, onClick: deleteHandler })))));
|
|
3001
3093
|
};
|
|
3002
3094
|
const renderTarget = React.useCallback((dropdownProps) => {
|
|
3003
|
-
return (React__namespace.default.createElement(IconButton, Object.assign({ cx: dropdownProps.isOpen && css$
|
|
3095
|
+
return (React__namespace.default.createElement(IconButton, Object.assign({ cx: dropdownProps.isOpen && css$w.targetOpen, color: props.preset.id === props.activePresetId ? 'info' : 'neutral' }, dropdownProps, { icon: ForwardRef$s })));
|
|
3004
3096
|
}, []);
|
|
3005
3097
|
return (React__namespace.default.createElement(Dropdown, { renderBody: renderBody, renderTarget: renderTarget, placement: "bottom-end", modifiers: [{ name: 'offset', options: { offset: [0, 22] } }] }));
|
|
3006
3098
|
}
|
|
3007
3099
|
|
|
3008
|
-
var css$
|
|
3100
|
+
var css$v = {"preset-input-cell":"vMf-kt","preset-input":"HPLexe","presetInputCell":"vMf-kt","presetInput":"HPLexe"};
|
|
3009
3101
|
|
|
3010
3102
|
function PresetInput(props) {
|
|
3011
3103
|
var _a;
|
|
@@ -3026,11 +3118,11 @@ function PresetInput(props) {
|
|
|
3026
3118
|
}
|
|
3027
3119
|
props.onCancel();
|
|
3028
3120
|
}, [presetCaption.length, props.onCancel]);
|
|
3029
|
-
return (React__namespace.default.createElement(FlexCell, { cx: css$
|
|
3030
|
-
React__namespace.default.createElement(TextInput, { cx: css$
|
|
3121
|
+
return (React__namespace.default.createElement(FlexCell, { cx: css$v.presetInputCell, minWidth: 180 },
|
|
3122
|
+
React__namespace.default.createElement(TextInput, { cx: css$v.presetInput, onValueChange: setPresetCaption, value: presetCaption, onCancel: cancelActionHandler, onAccept: acceptActionHandler, onBlur: newPresetOnBlurHandler, autoFocus: true, maxLength: 50 })));
|
|
3031
3123
|
}
|
|
3032
3124
|
|
|
3033
|
-
var css$
|
|
3125
|
+
var css$u = {"preset":"elilTR","activePreset":"J8qO16"};
|
|
3034
3126
|
|
|
3035
3127
|
function Preset(props) {
|
|
3036
3128
|
const [isRenamePreset, setIsRenamePreset] = React.useState(false);
|
|
@@ -3048,7 +3140,7 @@ function Preset(props) {
|
|
|
3048
3140
|
return props.updatePreset(newPreset);
|
|
3049
3141
|
}, [props.preset]);
|
|
3050
3142
|
const isPresetActive = props.activePresetId === props.preset.id;
|
|
3051
|
-
return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$
|
|
3143
|
+
return (React__namespace.default.createElement(FlexCell, { key: props.preset.id, alignSelf: "center", width: "auto" }, isRenamePreset ? (React__namespace.default.createElement(PresetInput, { onCancel: cancelRenamePreset, onSuccess: handlePresetRename, preset: props.preset })) : (React__namespace.default.createElement(TabButton, { caption: props.preset.name, onClick: !isPresetActive && choosePresetHandler, cx: [css$u.preset, isPresetActive && css$u.activePreset], size: "60", withNotify: isPresetActive && props.hasPresetChanged(props.preset), icon: () => React__namespace.default.createElement(PresetActionsDropdown, Object.assign({ renamePreset: setPresetForRename }, props)), iconPosition: "right", isLinkActive: isPresetActive }))));
|
|
3052
3144
|
}
|
|
3053
3145
|
|
|
3054
3146
|
var _path$j;
|
|
@@ -3079,16 +3171,16 @@ function PresetsPanel(props) {
|
|
|
3079
3171
|
return React__namespace.default.createElement(Preset, Object.assign({ key: preset.id, preset: preset, addPreset: setAddingPreset }, presetApi));
|
|
3080
3172
|
};
|
|
3081
3173
|
const renderAddPresetButton = React.useCallback(() => {
|
|
3082
|
-
return (React__namespace.default.createElement("div", { key: "addingPresetBlock", className: css$
|
|
3174
|
+
return (React__namespace.default.createElement("div", { key: "addingPresetBlock", className: css$x.addPresetContainer }, !isAddingPreset ? (React__namespace.default.createElement(Button, { size: "36", onClick: setAddingPreset, caption: i18n.presetPanel.addCaption, icon: ForwardRef$k, iconPosition: "left", fill: "ghost", color: "primary" })) : (React__namespace.default.createElement(PresetInput, { onCancel: cancelAddingPreset, onSuccess: props.createNewPreset }))));
|
|
3083
3175
|
}, [isAddingPreset]);
|
|
3084
3176
|
const onPresetDropdownSelect = (preset) => {
|
|
3085
3177
|
props.choosePreset(preset.preset);
|
|
3086
3178
|
};
|
|
3087
3179
|
const renderMoreButtonDropdown = (item, hiddenItems) => {
|
|
3088
3180
|
return (React__namespace.default.createElement(Dropdown, { key: "more", renderTarget: (props) => (React__namespace.default.createElement(FlexRow, null,
|
|
3089
|
-
React__namespace.default.createElement("div", { className: css$
|
|
3090
|
-
React__namespace.default.createElement(Button, Object.assign({ fill: "ghost", color: "secondary", caption: `${(hiddenItems === null || hiddenItems === void 0 ? void 0 : hiddenItems.length) || ''} more` }, props)))), renderBody: (propsBody) => (React__namespace.default.createElement(DropdownContainer, Object.assign({ cx: uuiCore.cx(css$
|
|
3091
|
-
React__namespace.default.createElement(uuiComponents.ScrollBars, null, hiddenItems.map((hiddenItem) => (React__namespace.default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$l, iconPosition: "right", cx: css$
|
|
3181
|
+
React__namespace.default.createElement("div", { className: css$x.divider }),
|
|
3182
|
+
React__namespace.default.createElement(Button, Object.assign({ fill: "ghost", color: "secondary", caption: `${(hiddenItems === null || hiddenItems === void 0 ? void 0 : hiddenItems.length) || ''} more` }, props)))), renderBody: (propsBody) => (React__namespace.default.createElement(DropdownContainer, Object.assign({ cx: uuiCore.cx(css$x.dropContainer), width: 230 }, propsBody),
|
|
3183
|
+
React__namespace.default.createElement(uuiComponents.ScrollBars, null, hiddenItems.map((hiddenItem) => (React__namespace.default.createElement(DropdownMenuButton, { key: hiddenItem.preset.id, onClick: () => onPresetDropdownSelect(hiddenItem), caption: hiddenItem.preset.name, icon: !hiddenItem.preset.isReadonly && ForwardRef$l, iconPosition: "right", cx: css$x.dropdownDeleteIcon, onIconClick: !hiddenItem.preset.isReadonly && (() => props.deletePreset(hiddenItem.preset)) })))))) }));
|
|
3092
3184
|
};
|
|
3093
3185
|
const getPresetPriority = (preset, index) => {
|
|
3094
3186
|
return preset.id === props.activePresetId ? 100499 : 1000 - index;
|
|
@@ -3106,7 +3198,7 @@ function PresetsPanel(props) {
|
|
|
3106
3198
|
];
|
|
3107
3199
|
};
|
|
3108
3200
|
return (React__namespace.default.createElement(FlexCell, { grow: 1, minWidth: 310, rawProps: props.rawProps },
|
|
3109
|
-
React__namespace.default.createElement(FlexRow, { size: null, spacing: "12", cx: css$
|
|
3201
|
+
React__namespace.default.createElement(FlexRow, { size: null, spacing: "12", cx: css$x.presetsWrapper },
|
|
3110
3202
|
React__namespace.default.createElement(uuiComponents.AdaptivePanel, { items: getPanelItems() }))));
|
|
3111
3203
|
}
|
|
3112
3204
|
|
|
@@ -3144,7 +3236,7 @@ const useColumnsWithFilters = (initialColumns, filters) => {
|
|
|
3144
3236
|
return columns;
|
|
3145
3237
|
};
|
|
3146
3238
|
|
|
3147
|
-
var css$
|
|
3239
|
+
var css$t = {"line-height-12":"aUZCjy","line-height-18":"-WV9kE","line-height-24":"FU018S","line-height-30":"S5txCm","font-size-10":"yrVTW7","font-size-12":"_8eziTJ","font-size-14":"_5zz2n0","font-size-16":"ZF1uV5","font-size-18":"_3K1Bk2","font-size-24":"zMaz8u","v-padding-2":"_0CgM6y","v-padding-3":"UfF4X7","v-padding-5":"PEIZFg","v-padding-6":"ruRp-S","v-padding-8":"a2j-4Q","v-padding-9":"CQ4hm7","v-padding-11":"_0--Xwc","v-padding-12":"yFVXCi","v-padding-14":"INP55i","v-padding-15":"_2ul1pb","v-padding-17":"Lh24ww","v-padding-18":"YXSaBf","v-padding-23":"qbsjT7","v-padding-24":"_63VWvS","lineHeight12":"aUZCjy","lineHeight18":"-WV9kE","lineHeight24":"FU018S","lineHeight30":"S5txCm","fontSize10":"yrVTW7","fontSize12":"_8eziTJ","fontSize14":"_5zz2n0","fontSize16":"ZF1uV5","fontSize18":"_3K1Bk2","fontSize24":"zMaz8u","vPadding2":"_0CgM6y","vPadding3":"UfF4X7","vPadding5":"PEIZFg","vPadding6":"ruRp-S","vPadding8":"a2j-4Q","vPadding9":"CQ4hm7","vPadding11":"_0--Xwc","vPadding12":"yFVXCi","vPadding14":"INP55i","vPadding15":"_2ul1pb","vPadding17":"Lh24ww","vPadding18":"YXSaBf","vPadding23":"qbsjT7","vPadding24":"_63VWvS"};
|
|
3148
3240
|
|
|
3149
3241
|
const defaultTextSettings = {
|
|
3150
3242
|
18: { lineHeight: 12, fontSize: 10 },
|
|
@@ -3157,7 +3249,7 @@ const defaultTextSettings = {
|
|
|
3157
3249
|
};
|
|
3158
3250
|
function getTextClasses(props, border) {
|
|
3159
3251
|
if (props.size === 'none') {
|
|
3160
|
-
return [css$
|
|
3252
|
+
return [css$t['line-height-' + props.lineHeight], css$t['font-size-' + props.fontSize]];
|
|
3161
3253
|
}
|
|
3162
3254
|
const setting = {
|
|
3163
3255
|
size: props.size,
|
|
@@ -3166,11 +3258,11 @@ function getTextClasses(props, border) {
|
|
|
3166
3258
|
};
|
|
3167
3259
|
const vPadding = (+setting.size - +setting.lineHeight - (border ? 2 : 0)) / 2;
|
|
3168
3260
|
return [
|
|
3169
|
-
css$
|
|
3261
|
+
css$t['line-height-' + setting.lineHeight], css$t['font-size-' + setting.fontSize], css$t['v-padding-' + vPadding],
|
|
3170
3262
|
];
|
|
3171
3263
|
}
|
|
3172
3264
|
|
|
3173
|
-
var css$
|
|
3265
|
+
var css$s = {"root":"Dni-ME"};
|
|
3174
3266
|
|
|
3175
3267
|
const allTextColors = ['info', 'warning', 'error', 'success', 'brand', 'primary', 'secondary', 'disabled', 'contrast', 'white'];
|
|
3176
3268
|
function applyTextMods(mods) {
|
|
@@ -3180,15 +3272,16 @@ function applyTextMods(mods) {
|
|
|
3180
3272
|
fontSize: mods.fontSize,
|
|
3181
3273
|
}, false);
|
|
3182
3274
|
return [
|
|
3183
|
-
css$
|
|
3275
|
+
css$s.root,
|
|
3184
3276
|
'uui-text',
|
|
3185
3277
|
`uui-font-${mods.font || 'regular'}`,
|
|
3186
3278
|
`uui-color-${mods.color || 'primary'}`,
|
|
3279
|
+
'uui-typography',
|
|
3187
3280
|
].concat(textClasses);
|
|
3188
3281
|
}
|
|
3189
3282
|
const Text = uuiCore.withMods(uuiComponents.Text, applyTextMods);
|
|
3190
3283
|
|
|
3191
|
-
var css$
|
|
3284
|
+
var css$r = {"root":"de--DO","loading-word":"qxTKrq","animated-loading":"tqXcVL","skeleton_loading":"GHL1hG","loadingWord":"qxTKrq","animatedLoading":"tqXcVL","skeletonLoading":"GHL1hG"};
|
|
3192
3285
|
|
|
3193
3286
|
const TextPlaceholder = (props) => {
|
|
3194
3287
|
const pattern = ' ';
|
|
@@ -3200,37 +3293,35 @@ const TextPlaceholder = (props) => {
|
|
|
3200
3293
|
}
|
|
3201
3294
|
return words;
|
|
3202
3295
|
}, [props.wordsCount]);
|
|
3203
|
-
return (React__namespace.createElement("div", Object.assign({ "aria-busy": true, className: css$
|
|
3204
|
-
props.cx, css$
|
|
3296
|
+
return (React__namespace.createElement("div", Object.assign({ "aria-busy": true, className: css$r.root }, props.rawProps), text.map((it, index) => (React__namespace.createElement("span", { key: index, className: cx__default.default([
|
|
3297
|
+
props.cx, css$r.loadingWord, !props.isNotAnimated && css$r.animatedLoading,
|
|
3205
3298
|
]), dangerouslySetInnerHTML: { __html: it } })))));
|
|
3206
3299
|
};
|
|
3207
3300
|
|
|
3208
|
-
|
|
3301
|
+
const RichTextView = uuiCore.withMods(uuiComponents__namespace.RichTextView, (mods) => ['uui-typography', `uui-typography-${mods.size || '14'}`]);
|
|
3209
3302
|
|
|
3210
|
-
|
|
3303
|
+
var css$q = {"uui-typography":"drvtD9","hero-header":"QxmnBG","promo-header":"V3FmWe","uui-critical":"_3ekauF","uui-success":"mAVhXk","uui-warning":"A8Fz0M","uui-typography-size-12":"Sv6fjZ","uui-typography-size-14":"tZP8sz","uui-typography-size-16":"_81jdyh","root":"TCWIOt","modal-blocker":"Dn-Ya0","animateModalBlocker":"eoF-Qh","modal":"kkO-ou","modal-footer":"ykk3NX","border-top":"qL6Q7m","modal-header":"fN8gha","uuiTypography":"drvtD9","heroHeader":"QxmnBG","promoHeader":"V3FmWe","uuiCritical":"_3ekauF","uuiSuccess":"mAVhXk","uuiWarning":"A8Fz0M","uuiTypographySize12":"Sv6fjZ","uuiTypographySize14":"tZP8sz","uuiTypographySize16":"_81jdyh","modalBlocker":"Dn-Ya0","modalFooter":"ykk3NX","borderTop":"qL6Q7m","modalHeader":"fN8gha"};
|
|
3211
3304
|
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
const ModalBlocker = uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$r.modalBlocker]);
|
|
3215
|
-
const ModalWindow = uuiCore.withMods(uuiComponents.ModalWindow, () => [css$r.root, css$r.modal], (props) => ({
|
|
3305
|
+
const ModalBlocker = uuiCore.withMods(uuiComponents.ModalBlocker, () => [css$q.modalBlocker]);
|
|
3306
|
+
const ModalWindow = uuiCore.withMods(uuiComponents.ModalWindow, () => [css$q.root, css$q.modal], (props) => ({
|
|
3216
3307
|
style: Object.assign(Object.assign({}, props.style), { width: `${props.width || 420}px`, height: props.height ? `${props.height}px` : 'auto' }),
|
|
3217
3308
|
}));
|
|
3218
3309
|
class ModalHeader extends React__namespace.Component {
|
|
3219
3310
|
render() {
|
|
3220
|
-
return (React__namespace.createElement(FlexRow, { padding: this.props.padding || '24', vPadding: "12", borderBottom: this.props.borderBottom, cx: [css$
|
|
3311
|
+
return (React__namespace.createElement(FlexRow, { padding: this.props.padding || '24', vPadding: "12", borderBottom: this.props.borderBottom, cx: [css$q.root, css$q.modalHeader, this.props.cx], spacing: "12", rawProps: this.props.rawProps },
|
|
3221
3312
|
this.props.title && (React__namespace.createElement(Text, { size: "48", fontSize: "18", font: "semibold" }, this.props.title)),
|
|
3222
3313
|
this.props.children,
|
|
3223
3314
|
this.props.onClose && React__namespace.createElement(uuiComponents.FlexSpacer, null),
|
|
3224
3315
|
this.props.onClose && (React__namespace.createElement(FlexCell, { shrink: 0, width: "auto" },
|
|
3225
|
-
React__namespace.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$
|
|
3316
|
+
React__namespace.createElement(IconButton, { rawProps: { 'aria-label': 'Close modal' }, icon: ForwardRef$B, onClick: this.props.onClose })))));
|
|
3226
3317
|
}
|
|
3227
3318
|
}
|
|
3228
3319
|
class ModalFooter extends React__namespace.Component {
|
|
3229
3320
|
render() {
|
|
3230
3321
|
return (React__namespace.createElement(FlexRow, { spacing: this.props.spacing || '12', cx: [
|
|
3231
|
-
css$
|
|
3232
|
-
css$
|
|
3233
|
-
this.props.borderTop && css$
|
|
3322
|
+
css$q.root,
|
|
3323
|
+
css$q.modalFooter,
|
|
3324
|
+
this.props.borderTop && css$q.borderTop,
|
|
3234
3325
|
this.props.cx,
|
|
3235
3326
|
], padding: this.props.padding || '24', vPadding: this.props.vPadding || '24', rawProps: this.props.rawProps }, this.props.children));
|
|
3236
3327
|
}
|
|
@@ -3252,7 +3343,7 @@ var SvgCross = function SvgCross(props, ref) {
|
|
|
3252
3343
|
};
|
|
3253
3344
|
var ForwardRef$j = /*#__PURE__*/React.forwardRef(SvgCross);
|
|
3254
3345
|
|
|
3255
|
-
var css$
|
|
3346
|
+
var css$p = {"uui-typography":"C7RWD7","hero-header":"o0EP9a","promo-header":"y2S-Il","uui-critical":"hlubEH","uui-success":"SdBl-0","uui-warning":"_1bukA-","uui-typography-size-12":"DMT-yK","uui-typography-size-14":"_9XByoT","uui-typography-size-16":"yo3e7T","root":"_7yW3Qn","icon-wrapper":"EKg7qw","action-wrapper":"_8X9sYB","action-link":"w3pp0M","close-icon":"_1n3GTb","main-path":"GejCTv","content":"_2X4juk","clear-button":"NLD9DT","close-wrapper":"pf2LwY","uuiTypography":"C7RWD7","heroHeader":"o0EP9a","promoHeader":"y2S-Il","uuiCritical":"hlubEH","uuiSuccess":"SdBl-0","uuiWarning":"_1bukA-","uuiTypographySize12":"DMT-yK","uuiTypographySize14":"_9XByoT","uuiTypographySize16":"yo3e7T","iconWrapper":"EKg7qw","actionWrapper":"_8X9sYB","actionLink":"w3pp0M","closeIcon":"_1n3GTb","mainPath":"GejCTv","clearButton":"NLD9DT","closeWrapper":"pf2LwY"};
|
|
3256
3347
|
|
|
3257
3348
|
const NotificationCard = React__namespace.default.forwardRef((props, ref) => {
|
|
3258
3349
|
const notificationCardNode = React__namespace.default.useRef(null);
|
|
@@ -3267,23 +3358,23 @@ const NotificationCard = React__namespace.default.forwardRef((props, ref) => {
|
|
|
3267
3358
|
(_b = notificationCardNode.current) === null || _b === void 0 ? void 0 : _b.removeEventListener('mouseleave', props.refreshTimer);
|
|
3268
3359
|
};
|
|
3269
3360
|
}, []);
|
|
3270
|
-
return (React__namespace.default.createElement("div", Object.assign({ role: "alert", className: cx__default.default('uui-notification_card', props.color && `uui-color-${props.color}`, css$
|
|
3271
|
-
React__namespace.default.createElement("div", { className: css$
|
|
3272
|
-
props.icon && (React__namespace.default.createElement("div", { className: css$
|
|
3273
|
-
React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$
|
|
3274
|
-
React__namespace.default.createElement("div", { className: css$
|
|
3361
|
+
return (React__namespace.default.createElement("div", Object.assign({ role: "alert", className: cx__default.default('uui-notification_card', props.color && `uui-color-${props.color}`, css$p.root, props.cx), ref: notificationCardNode }, props.rawProps),
|
|
3362
|
+
React__namespace.default.createElement("div", { className: css$p.mainPath },
|
|
3363
|
+
props.icon && (React__namespace.default.createElement("div", { className: css$p.iconWrapper },
|
|
3364
|
+
React__namespace.default.createElement(uuiComponents.IconContainer, { icon: props.icon, cx: css$p.actionIcon }))),
|
|
3365
|
+
React__namespace.default.createElement("div", { className: css$p.content },
|
|
3275
3366
|
props.children,
|
|
3276
|
-
props.actions && (React__namespace.default.createElement("div", { className: css$
|
|
3277
|
-
props.onClose && (React__namespace.default.createElement("div", { className: css$
|
|
3278
|
-
React__namespace.default.createElement(IconButton, { icon: ForwardRef$j, color: "neutral", onClick: props.onClose, cx: css$
|
|
3367
|
+
props.actions && (React__namespace.default.createElement("div", { className: css$p.actionWrapper }, props.actions.map((action) => (React__namespace.default.createElement(LinkButton, { caption: action.name, onClick: action.action, key: action.name, cx: css$p.actionLink, size: "36", rawProps: action.rawProps })))))),
|
|
3368
|
+
props.onClose && (React__namespace.default.createElement("div", { className: css$p.closeWrapper },
|
|
3369
|
+
React__namespace.default.createElement(IconButton, { icon: ForwardRef$j, color: "neutral", onClick: props.onClose, cx: css$p.closeIcon }))))));
|
|
3279
3370
|
});
|
|
3280
|
-
const WarningNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
3281
|
-
const SuccessNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
3282
|
-
const HintNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
3283
|
-
const ErrorNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$
|
|
3371
|
+
const WarningNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$E, color: "warning" }, props, { ref: ref, cx: props.cx }))));
|
|
3372
|
+
const SuccessNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$F, color: "success" }, props, { ref: ref, cx: props.cx }))));
|
|
3373
|
+
const HintNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$C, color: "info" }, props, { ref: ref, cx: props.cx }))));
|
|
3374
|
+
const ErrorNotification = React__namespace.default.forwardRef((props, ref) => (React__namespace.default.createElement(NotificationCard, Object.assign({ icon: ForwardRef$D, color: "error" }, props, { ref: ref, cx: props.cx }))));
|
|
3284
3375
|
class ClearNotification extends React__namespace.default.Component {
|
|
3285
3376
|
render() {
|
|
3286
|
-
return (React__namespace.default.createElement("div", { className: cx__default.default(css$
|
|
3377
|
+
return (React__namespace.default.createElement("div", { className: cx__default.default(css$p.notificationWrapper, css$p.clearButton) },
|
|
3287
3378
|
React__namespace.default.createElement(LinkButton, { caption: i18n.notificationCard.closeAllNotificationsButton, onClick: () => this.context.uuiNotifications.clearAll() })));
|
|
3288
3379
|
}
|
|
3289
3380
|
}
|
|
@@ -3334,14 +3425,14 @@ class DatePicker extends uuiComponents.BaseDatePicker {
|
|
|
3334
3425
|
}
|
|
3335
3426
|
}
|
|
3336
3427
|
|
|
3337
|
-
var css$
|
|
3428
|
+
var css$o = {"uui-typography":"RVerdp","hero-header":"ET1To2","promo-header":"wfeV-q","uui-critical":"hlpwQT","uui-success":"Jus5M1","uui-warning":"lHLxF8","uui-typography-size-12":"_5MAlQh","uui-typography-size-14":"PBSnKi","uui-typography-size-16":"Ps26MG","root":"CkuUAx","uuiTypography":"RVerdp","heroHeader":"ET1To2","promoHeader":"wfeV-q","uuiCritical":"hlpwQT","uuiSuccess":"Jus5M1","uuiWarning":"lHLxF8","uuiTypographySize12":"_5MAlQh","uuiTypographySize14":"PBSnKi","uuiTypographySize16":"Ps26MG"};
|
|
3338
3429
|
|
|
3339
3430
|
function applyCalendarPresetsMods() {
|
|
3340
|
-
return [css$
|
|
3431
|
+
return [css$o.root];
|
|
3341
3432
|
}
|
|
3342
3433
|
const CalendarPresets = uuiCore.withMods(uuiComponents.CalendarPresets, applyCalendarPresetsMods, () => ({}));
|
|
3343
3434
|
|
|
3344
|
-
var css$
|
|
3435
|
+
var css$n = {"uui-typography":"GHfMQm","hero-header":"WHskA-","promo-header":"zj6hkU","uui-critical":"JKs2MR","uui-success":"v0X8lb","uui-warning":"K1d-7C","uui-typography-size-12":"KPEGPA","uui-typography-size-14":"_5r-TeS","uui-typography-size-16":"eu7f8-","root":"ILu4gt","container":"sKhRL1","day-selection":"kFPB6w","from-picker":"MQMdPh","to-picker":"Jye9-n","bodes-wrapper":"R2zd5U","blocker":"fSE4q-","uuiTypography":"GHfMQm","heroHeader":"WHskA-","promoHeader":"zj6hkU","uuiCritical":"JKs2MR","uuiSuccess":"v0X8lb","uuiWarning":"K1d-7C","uuiTypographySize12":"KPEGPA","uuiTypographySize14":"_5r-TeS","uuiTypographySize16":"eu7f8-","daySelection":"kFPB6w","fromPicker":"MQMdPh","toPicker":"Jye9-n","bodesWrapper":"R2zd5U"};
|
|
3345
3436
|
|
|
3346
3437
|
dayjs__default.default.extend(isoWeek__default.default);
|
|
3347
3438
|
function weekCount(displayedDate) {
|
|
@@ -3438,16 +3529,16 @@ class RangeDatePickerBody extends React__namespace.Component {
|
|
|
3438
3529
|
};
|
|
3439
3530
|
this.renderDatePicker = () => {
|
|
3440
3531
|
var _a, _b;
|
|
3441
|
-
return (React__namespace.createElement(FlexRow, { cx: [((_a = this.props.value) === null || _a === void 0 ? void 0 : _a.view) === 'DAY_SELECTION' && css$
|
|
3532
|
+
return (React__namespace.createElement(FlexRow, { cx: [((_a = this.props.value) === null || _a === void 0 ? void 0 : _a.view) === 'DAY_SELECTION' && css$n.daySelection, css$n.container], alignItems: "top" },
|
|
3442
3533
|
React__namespace.createElement(FlexCell, { width: "auto" },
|
|
3443
3534
|
React__namespace.createElement(FlexRow, null,
|
|
3444
|
-
React__namespace.createElement(FlexRow, { cx: css$
|
|
3445
|
-
React__namespace.createElement(DatePickerBody, { cx: uuiCore.cx(css$
|
|
3446
|
-
React__namespace.createElement(DatePickerBody, { cx: uuiCore.cx(css$
|
|
3535
|
+
React__namespace.createElement(FlexRow, { cx: css$n.bodesWrapper, alignItems: "top" },
|
|
3536
|
+
React__namespace.createElement(DatePickerBody, { cx: uuiCore.cx(css$n.fromPicker), setSelectedDate: (nv) => this.setSelectedDate(nv), value: this.getFromValue(), setDisplayedDateAndView: (displayedDate, view) => this.setDisplayedDateAndView(displayedDate, view, 'from'), getDayCX: this.getDayCX, filter: this.props.filter, renderDay: this.props.renderDay, isHoliday: this.props.isHoliday }),
|
|
3537
|
+
React__namespace.createElement(DatePickerBody, { cx: uuiCore.cx(css$n.toPicker), setSelectedDate: (nv) => this.setSelectedDate(nv), value: this.getToValue(), setDisplayedDateAndView: (displayedDate, view) => this.setDisplayedDateAndView(displayedDate, view, 'to'), getDayCX: this.getDayCX, filter: this.props.filter, renderDay: this.props.renderDay, isHoliday: this.props.isHoliday }),
|
|
3447
3538
|
((_b = this.props.value) === null || _b === void 0 ? void 0 : _b.view) !== 'DAY_SELECTION' && (React__namespace.createElement("div", { style: {
|
|
3448
3539
|
left: this.state.activePart === 'from' && '50%',
|
|
3449
3540
|
right: this.state.activePart === 'to' && '50%',
|
|
3450
|
-
}, className: css$
|
|
3541
|
+
}, className: css$n.blocker }))),
|
|
3451
3542
|
this.props.presets && this.renderPresets()),
|
|
3452
3543
|
this.props.renderFooter && this.props.renderFooter())));
|
|
3453
3544
|
};
|
|
@@ -3498,11 +3589,11 @@ class RangeDatePickerBody extends React__namespace.Component {
|
|
|
3498
3589
|
});
|
|
3499
3590
|
}
|
|
3500
3591
|
render() {
|
|
3501
|
-
return (React__namespace.createElement("div", Object.assign({ className: uuiCore.cx(css$
|
|
3592
|
+
return (React__namespace.createElement("div", Object.assign({ className: uuiCore.cx(css$n.root, uuiComponents.uuiDatePickerBodyBase.container, this.props.cx) }, this.props.rawProps), this.renderDatePicker()));
|
|
3502
3593
|
}
|
|
3503
3594
|
}
|
|
3504
3595
|
|
|
3505
|
-
var css$
|
|
3596
|
+
var css$m = {"uui-typography":"kRFh0u","hero-header":"PuwmR-","promo-header":"_817QbA","uui-critical":"C4t-kM","uui-success":"ydfX2d","uui-warning":"mDQvoD","uui-typography-size-12":"HAxTMZ","uui-typography-size-14":"rjV3tq","uui-typography-size-16":"z0c-5q","dropdown-container":"xCiqFM","date-input":"_510nfe","size-24":"DSun5f","size-30":"_57dfyq","size-36":"fQGt5i","size-42":"kBgVek","size-48":"xpFTyF","date-input-group":"q3jDaK","separator":"_1WeMKp","mode-form":"v1H049","mode-cell":"E31Jml","uuiTypography":"kRFh0u","heroHeader":"PuwmR-","promoHeader":"_817QbA","uuiCritical":"C4t-kM","uuiSuccess":"ydfX2d","uuiWarning":"mDQvoD","uuiTypographySize12":"HAxTMZ","uuiTypographySize14":"rjV3tq","uuiTypographySize16":"z0c-5q","dropdownContainer":"xCiqFM","dateInput":"_510nfe","size24":"DSun5f","size30":"_57dfyq","size36":"fQGt5i","size42":"kBgVek","size48":"xpFTyF","dateInputGroup":"q3jDaK","modeForm":"v1H049","modeCell":"E31Jml"};
|
|
3506
3597
|
|
|
3507
3598
|
const defaultValue = { from: null, to: null };
|
|
3508
3599
|
class RangeDatePicker extends uuiComponents.BaseRangeDatePicker {
|
|
@@ -3521,36 +3612,36 @@ class RangeDatePicker extends uuiComponents.BaseRangeDatePicker {
|
|
|
3521
3612
|
});
|
|
3522
3613
|
}
|
|
3523
3614
|
}
|
|
3524
|
-
return (React__namespace.createElement("div", { className: cx__default.default(this.props.inputCx, css$
|
|
3525
|
-
React__namespace.createElement(TextInput, { icon: systemIcons[this.props.size || '36'].calendar, cx: cx__default.default(css$
|
|
3526
|
-
React__namespace.createElement("div", { className: css$
|
|
3527
|
-
React__namespace.createElement(TextInput, { cx: cx__default.default(css$
|
|
3615
|
+
return (React__namespace.createElement("div", { className: cx__default.default(this.props.inputCx, css$m.dateInputGroup, this.props.isDisabled && uuiCore.uuiMod.disabled, this.props.isReadonly && uuiCore.uuiMod.readonly, this.props.isInvalid && uuiCore.uuiMod.invalid, this.state.inFocus && uuiCore.uuiMod.focus), onClick: !this.props.isDisabled && props.onClick, onBlur: this.handleWrapperBlur, ref: props.ref },
|
|
3616
|
+
React__namespace.createElement(TextInput, { icon: systemIcons[this.props.size || '36'].calendar, cx: cx__default.default(css$m.dateInput, css$m['size-' + (this.props.size || 36)], this.state.inFocus === 'from' && uuiCore.uuiMod.focus), size: this.props.size || '36', placeholder: this.props.getPlaceholder ? this.props.getPlaceholder('from') : i18n.rangeDatePicker.pickerPlaceholderFrom, value: this.state.inputValue.from, onValueChange: this.getChangeHandler('from'), isInvalid: this.props.isInvalid, isDisabled: this.props.isDisabled, isReadonly: this.props.isReadonly, onFocus: (event) => this.handleFocus(event, 'from'), onBlur: (event) => this.handleBlur(event, 'from'), isDropdown: false, rawProps: (_a = this.props.rawProps) === null || _a === void 0 ? void 0 : _a.from }),
|
|
3617
|
+
React__namespace.createElement("div", { className: css$m.separator }),
|
|
3618
|
+
React__namespace.createElement(TextInput, { cx: cx__default.default(css$m.dateInput, css$m['size-' + (this.props.size || 36)], this.state.inFocus === 'to' && uuiCore.uuiMod.focus), placeholder: this.props.getPlaceholder ? this.props.getPlaceholder('to') : i18n.rangeDatePicker.pickerPlaceholderTo, size: this.props.size || '36', value: this.state.inputValue.to, onCancel: this.props.disableClear ? null : this.state.inputValue.from && this.state.inputValue.to && this.handleCancel, onValueChange: this.getChangeHandler('to'), isInvalid: this.props.isInvalid, isDisabled: this.props.isDisabled, isReadonly: this.props.isReadonly, onFocus: (e) => this.handleFocus(e, 'to'), onBlur: (e) => this.handleBlur(e, 'to'), isDropdown: false, rawProps: (_b = this.props.rawProps) === null || _b === void 0 ? void 0 : _b.to })));
|
|
3528
3619
|
};
|
|
3529
3620
|
}
|
|
3530
3621
|
renderBody(props) {
|
|
3531
3622
|
var _a;
|
|
3532
|
-
return (React__namespace.createElement(DropdownContainer, Object.assign({}, props, { cx: cx__default.default(css$
|
|
3623
|
+
return (React__namespace.createElement(DropdownContainer, Object.assign({}, props, { cx: cx__default.default(css$m.dropdownContainer), focusLock: false }),
|
|
3533
3624
|
React__namespace.createElement(FlexRow, null,
|
|
3534
3625
|
React__namespace.createElement(RangeDatePickerBody, { cx: cx__default.default(this.props.bodyCx), value: this.getValue(), onValueChange: this.onRangeChange, filter: this.props.filter, changeIsOpen: this.toggleOpening, presets: this.props.presets, focusPart: this.state.inFocus, renderDay: this.props.renderDay, renderFooter: this.props.renderFooter && (() => this.props.renderFooter(this.props.value || defaultValue)), isHoliday: this.props.isHoliday, rawProps: (_a = this.props.rawProps) === null || _a === void 0 ? void 0 : _a.body }))));
|
|
3535
3626
|
}
|
|
3536
3627
|
}
|
|
3537
3628
|
|
|
3538
|
-
var css$
|
|
3629
|
+
var css$l = {"root":"HKQ-ca","blocker":"b1ysHW","marker":"I6H6oI","top":"_4jGlgZ","bottom":"ZRbmau","left":"X3-qyg","right":"Do8NvI","inside":"DzRmPs"};
|
|
3539
3630
|
|
|
3540
3631
|
function DropMarker(props) {
|
|
3541
3632
|
return props.isDndInProgress
|
|
3542
3633
|
? (React__namespace.createElement(React__namespace.Fragment, null,
|
|
3543
|
-
props.enableBlocker && React__namespace.createElement("div", { className: css$
|
|
3634
|
+
props.enableBlocker && React__namespace.createElement("div", { className: css$l.blocker }),
|
|
3544
3635
|
React__namespace.createElement("div", { className: cx__default.default([
|
|
3545
|
-
css$
|
|
3546
|
-
css$
|
|
3547
|
-
css$
|
|
3636
|
+
css$l.root,
|
|
3637
|
+
css$l.marker,
|
|
3638
|
+
css$l[props.position],
|
|
3548
3639
|
props === null || props === void 0 ? void 0 : props.cx,
|
|
3549
3640
|
]) })))
|
|
3550
3641
|
: null;
|
|
3551
3642
|
}
|
|
3552
3643
|
|
|
3553
|
-
var css$
|
|
3644
|
+
var css$k = {"uui-typography":"bjdVPG","hero-header":"KkP5A2","promo-header":"NN70h3","uui-critical":"e2dk78","uui-success":"jNvV3Y","uui-warning":"_014-hX","uui-typography-size-12":"u7IPIz","uui-typography-size-14":"tiyL2t","uui-typography-size-16":"_9CF3Gn","root":"I9m3iS","size-24":"zo94vi","size-30":"hiXoyF","size-36":"gQI3Cj","size-48":"RLVhUl","size-60":"XAd88H","uuiTypography":"bjdVPG","heroHeader":"KkP5A2","promoHeader":"NN70h3","uuiCritical":"e2dk78","uuiSuccess":"jNvV3Y","uuiWarning":"_014-hX","uuiTypographySize12":"u7IPIz","uuiTypographySize14":"tiyL2t","uuiTypographySize16":"_9CF3Gn","size24":"zo94vi","size30":"hiXoyF","size36":"gQI3Cj","size48":"RLVhUl","size60":"XAd88H"};
|
|
3554
3645
|
|
|
3555
3646
|
// Here we define a single instance of the renderCell function to make DataTableRow#shouldComponentUpdate work.
|
|
3556
3647
|
// 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.
|
|
@@ -3562,13 +3653,11 @@ const renderDropMarkers = (props) => React__namespace.createElement(DropMarker,
|
|
|
3562
3653
|
const propsMods = { renderCell, renderDropMarkers };
|
|
3563
3654
|
const DataTableRow = uuiCore.withMods(uuiComponents.DataTableRow, ({ borderBottom = true, size }) => {
|
|
3564
3655
|
return [
|
|
3565
|
-
css$
|
|
3656
|
+
css$k.root, 'uui-dt-vars', borderBottom && 'uui-dt-row-border', css$k['size-' + (size || '36')],
|
|
3566
3657
|
];
|
|
3567
3658
|
}, () => propsMods);
|
|
3568
3659
|
|
|
3569
|
-
var css$
|
|
3570
|
-
|
|
3571
|
-
var css$j = {"sorting-panel-container":"g1Vwar","sort-active":"_1qQ-VD","sortingPanelContainer":"g1Vwar","sortActive":"_1qQ-VD"};
|
|
3660
|
+
var css$j = {"uui-typography":"xK-6uO","hero-header":"_1C22-M","promo-header":"A63DHb","uui-critical":"N-glf1","uui-success":"ZW0eZ6","uui-warning":"S3kR9m","uui-typography-size-12":"NMXreN","uui-typography-size-14":"TB-FHj","uui-typography-size-16":"b6c9fY","sorting-panel-container":"s-epnz","sort-active":"sMbyw-","uuiTypography":"xK-6uO","heroHeader":"_1C22-M","promoHeader":"A63DHb","uuiCritical":"N-glf1","uuiSuccess":"ZW0eZ6","uuiWarning":"S3kR9m","uuiTypographySize12":"NMXreN","uuiTypographySize14":"TB-FHj","uuiTypographySize16":"b6c9fY","sortingPanelContainer":"s-epnz","sortActive":"sMbyw-"};
|
|
3572
3661
|
|
|
3573
3662
|
var _path$h;
|
|
3574
3663
|
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); }
|
|
@@ -3620,18 +3709,14 @@ const ColumnHeaderDropdownImpl = (props) => {
|
|
|
3620
3709
|
options: { offset: [0, 1] },
|
|
3621
3710
|
}, uuiCore.mobilePopperModifier,
|
|
3622
3711
|
], []);
|
|
3623
|
-
const style = React.useMemo(() => ({
|
|
3624
|
-
width: uuiCore.isMobile() ? document.documentElement.clientWidth : undefined,
|
|
3625
|
-
}), []);
|
|
3626
3712
|
const closeDropdown = React.useCallback(() => props.onOpenChange(false), [props.onOpenChange]);
|
|
3627
|
-
return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: props.renderTarget, renderBody: (dropdownProps) => (React__namespace.default.createElement(
|
|
3628
|
-
React__namespace.default.createElement(
|
|
3629
|
-
|
|
3630
|
-
props.renderFilter(dropdownProps)))), modifiers: popperModifiers, value: props.isOpen, onValueChange: props.onOpenChange }));
|
|
3713
|
+
return (React__namespace.default.createElement(uuiComponents.Dropdown, { renderTarget: props.renderTarget, renderBody: (dropdownProps) => (React__namespace.default.createElement(MobileDropdownWrapper, { width: 280, title: props.title, onClose: closeDropdown },
|
|
3714
|
+
props.isSortable && React__namespace.default.createElement(SortingPanel, { sortDirection: props.sortDirection, onSort: props.onSort }),
|
|
3715
|
+
props.renderFilter(dropdownProps))), modifiers: popperModifiers, value: props.isOpen, onValueChange: props.onOpenChange }));
|
|
3631
3716
|
};
|
|
3632
3717
|
const ColumnHeaderDropdown = React__namespace.default.memo(ColumnHeaderDropdownImpl);
|
|
3633
3718
|
|
|
3634
|
-
var css$i = {"
|
|
3719
|
+
var css$i = {"uui-typography":"bkorBr","hero-header":"Vv8CnA","promo-header":"foQFJk","uui-critical":"cIN232","uui-success":"dLVF4d","uui-warning":"_8moeH7","uui-typography-size-12":"GmMZAC","uui-typography-size-14":"tUz-WI","uui-typography-size-16":"LCoOzD","cell":"e5S818","sort-icon":"re9iBD","dropdown-icon":"fqSP-T","infoIcon":"q299ha","resizable":"Ik3WaK","size-24":"S9O-D1","size-30":"xabzzM","size-36":"pb8gW2","size-42":"_1eTgM0","size-48":"tFYIUB","padding-left-24":"Kd-A-a","padding-right-24":"pnMVIj","caption":"eMUPCA","checkbox":"oWHOu0","icon":"_5NdHFH","icon-cell":"Q4mdEY","align-right":"wEjgxl","align-center":"RuCfrQ","tooltip-wrapper":"S11ckh","cell-tooltip":"_31GTNk","upper-case":"FAu8IX","font-size-14":"bywbNf","resize-mark":"SORtOZ","draggable":"VOVZ5t","ghost":"DxWfzP","is-dragged-out":"AQwcgk","dnd-marker-left":"P3eriw","dnd-marker-right":"_1cwJC5","cell-tooltip-wrapper":"_6n8uoh","cell-tooltip-text":"-JShWF","uuiTypography":"bkorBr","heroHeader":"Vv8CnA","promoHeader":"foQFJk","uuiCritical":"cIN232","uuiSuccess":"dLVF4d","uuiWarning":"_8moeH7","uuiTypographySize12":"GmMZAC","uuiTypographySize14":"tUz-WI","uuiTypographySize16":"LCoOzD","sortIcon":"re9iBD","dropdownIcon":"fqSP-T","size24":"S9O-D1","size30":"xabzzM","size36":"pb8gW2","size42":"_1eTgM0","size48":"tFYIUB","paddingLeft24":"Kd-A-a","paddingRight24":"pnMVIj","iconCell":"Q4mdEY","alignRight":"wEjgxl","alignCenter":"RuCfrQ","tooltipWrapper":"S11ckh","cellTooltip":"_31GTNk","upperCase":"FAu8IX","fontSize14":"bywbNf","resizeMark":"SORtOZ","isDraggedOut":"AQwcgk","dndMarkerLeft":"P3eriw","dndMarkerRight":"_1cwJC5","cellTooltipWrapper":"_6n8uoh","cellTooltipText":"-JShWF"};
|
|
3635
3720
|
|
|
3636
3721
|
var _path$f;
|
|
3637
3722
|
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); }
|
|
@@ -3705,7 +3790,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3705
3790
|
React__namespace.createElement(Text, { key: "text", lineHeight: "30", fontSize: "14", size: "30", cx: uuiCore.cx(css$i.caption, this.getTextStyle(), uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCaption) }, this.props.column.caption)),
|
|
3706
3791
|
this.props.column.isSortable && (!this.props.column.renderFilter || this.props.sortDirection) && (React__namespace.createElement(IconButton, { key: "sort", cx: uuiCore.cx(css$i.icon, css$i.sortIcon, this.props.sortDirection && css$i.sortIconActive, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderSortIcon), color: this.props.sortDirection ? 'neutral' : 'secondary', icon: this.props.sortDirection === 'desc' ? ForwardRef$h : this.props.sortDirection === 'asc' ? ForwardRef$i : ForwardRef$g })),
|
|
3707
3792
|
this.props.isFilterActive && (React__namespace.createElement(IconButton, { key: "filter", cx: uuiCore.cx(css$i.icon, !this.props.sortDirection && css$i.filterIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderFilterIcon), color: "neutral", icon: ForwardRef$f })),
|
|
3708
|
-
this.props.column.renderFilter && (React__namespace.createElement(IconButton, { key: "dropdown", cx: uuiCore.cx(css$i.icon, css$i.dropdownIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$e : ForwardRef$
|
|
3793
|
+
this.props.column.renderFilter && (React__namespace.createElement(IconButton, { key: "dropdown", cx: uuiCore.cx(css$i.icon, css$i.dropdownIcon, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderDropdownIcon), color: "secondary", icon: this.state.isDropdownOpen ? ForwardRef$e : ForwardRef$z })))));
|
|
3709
3794
|
};
|
|
3710
3795
|
this.renderHeaderCheckbox = () => this.props.selectAll
|
|
3711
3796
|
&& this.props.isFirstColumn && (React__namespace.createElement(Checkbox, Object.assign({ size: +this.props.size < 36 ? '12' : '18' }, this.props.selectAll, { cx: uuiCore.cx(css$i.checkbox, uuiCore.uuiDataTableHeaderCell.uuiTableHeaderCheckbox) })));
|
|
@@ -3725,7 +3810,7 @@ class DataTableHeaderCell extends React__namespace.Component {
|
|
|
3725
3810
|
}
|
|
3726
3811
|
}
|
|
3727
3812
|
|
|
3728
|
-
var css$h = {"header-cell":"
|
|
3813
|
+
var css$h = {"uui-typography":"_9MI91Y","hero-header":"_0Qi3-0","promo-header":"gXVGIS","uui-critical":"XfRA6H","uui-success":"p8iQSV","uui-warning":"hU8dUJ","uui-typography-size-12":"oCSbea","uui-typography-size-14":"aHJcb4","uui-typography-size-16":"lcFYqO","header-cell":"Mh1A8x","config-icon":"r42XUZ","uuiTypography":"_9MI91Y","heroHeader":"_0Qi3-0","promoHeader":"gXVGIS","uuiCritical":"XfRA6H","uuiSuccess":"p8iQSV","uuiWarning":"hU8dUJ","uuiTypographySize12":"oCSbea","uuiTypographySize14":"aHJcb4","uuiTypographySize16":"lcFYqO","headerCell":"Mh1A8x","configIcon":"r42XUZ"};
|
|
3729
3814
|
|
|
3730
3815
|
var _path$c;
|
|
3731
3816
|
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); }
|
|
@@ -3749,7 +3834,7 @@ const DataTableHeaderRow = uuiCore.withMods(uuiComponents.DataTableHeaderRow, ()
|
|
|
3749
3834
|
renderConfigButton: () => React__namespace.createElement(IconButton, { key: "configuration", onClick: mods.onConfigButtonClick, cx: css$h.configIcon, color: "neutral", icon: ForwardRef$d }),
|
|
3750
3835
|
}));
|
|
3751
3836
|
|
|
3752
|
-
var styles$1 = {"main-panel":"
|
|
3837
|
+
var styles$1 = {"uui-typography":"nh7WgS","hero-header":"vwBmvG","promo-header":"_6iJwJ-","uui-critical":"MHu7mi","uui-success":"HOmsTS","uui-warning":"hPfS47","uui-typography-size-12":"jgNevH","uui-typography-size-14":"zyNvyW","uui-typography-size-16":"KOPUMT","main-panel":"Gesp2K","group-title":"_7SMWYC","group-title-text":"iual1t","group-title-badge":"vHuAMk","group-items":"_2uhWT6","no-data":"MB-1WA","h-divider":"IcY6eT","search-area":"Wdbpxx","uuiTypography":"nh7WgS","heroHeader":"vwBmvG","promoHeader":"_6iJwJ-","uuiCritical":"MHu7mi","uuiSuccess":"HOmsTS","uuiWarning":"hPfS47","uuiTypographySize12":"jgNevH","uuiTypographySize14":"zyNvyW","uuiTypographySize16":"KOPUMT","mainPanel":"Gesp2K","groupTitle":"_7SMWYC","groupTitleText":"iual1t","groupTitleBadge":"vHuAMk","groupItems":"_2uhWT6","noData":"MB-1WA","hDivider":"IcY6eT","searchArea":"Wdbpxx"};
|
|
3753
3838
|
|
|
3754
3839
|
var _path$b;
|
|
3755
3840
|
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); }
|
|
@@ -3828,7 +3913,7 @@ function PinIconButton(props) {
|
|
|
3828
3913
|
React__namespace.createElement(IconButton, { icon: pinIcon, onClick: pinClickHandler, isDisabled: isPinnedAlways, color: isPinned ? 'info' : undefined }))));
|
|
3829
3914
|
}
|
|
3830
3915
|
|
|
3831
|
-
var styles = {"row-wrapper":"
|
|
3916
|
+
var styles = {"uui-typography":"cT2V4-","hero-header":"rh00xg","promo-header":"Z-XykY","uui-critical":"-rXc0C","uui-success":"tg1dr8","uui-warning":"XG3Asw","uui-typography-size-12":"_4mRK-h","uui-typography-size-14":"IryKgW","uui-typography-size-16":"BR55YW","row-wrapper":"AeJi93","not-pinned":"Zprhto","pin-icon-button":"wsYjR9","checkbox":"NJv8UH","drag-handle":"utizSR","dnd-disabled":"QQXiQz","uuiTypography":"cT2V4-","heroHeader":"rh00xg","promoHeader":"Z-XykY","uuiCritical":"-rXc0C","uuiSuccess":"tg1dr8","uuiWarning":"XG3Asw","uuiTypographySize12":"_4mRK-h","uuiTypographySize14":"IryKgW","uuiTypographySize16":"BR55YW","rowWrapper":"AeJi93","notPinned":"Zprhto","pinIconButton":"wsYjR9","dragHandle":"utizSR","dndDisabled":"QQXiQz"};
|
|
3832
3917
|
|
|
3833
3918
|
const ColumnRow = React__namespace.memo(function ColumnRow(props) {
|
|
3834
3919
|
const { column } = props;
|
|
@@ -3913,7 +3998,7 @@ function ColumnsConfigurationModal(props) {
|
|
|
3913
3998
|
noVisibleColumns ? (React__namespace.createElement(Tooltip, { content: i18n$1.enableAtLeastOneColumnMessage, placement: "top-end", color: "critical" }, applyButton)) : (applyButton)))));
|
|
3914
3999
|
}
|
|
3915
4000
|
|
|
3916
|
-
var css$g = {"listContainer":"
|
|
4001
|
+
var css$g = {"listContainer":"TKLWIu","header":"oQabbQ","group":"uYIJg-","stickyHeader":"_4WoN1g"};
|
|
3917
4002
|
|
|
3918
4003
|
const getChildrenAndRest = (row, rows) => {
|
|
3919
4004
|
const firstNotChildIndex = rows.findIndex((other) => other.depth < row.depth || (row.depth === other.depth && other.isPinned));
|
|
@@ -3979,7 +4064,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
3979
4064
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3980
4065
|
ref: ref
|
|
3981
4066
|
}, props), /*#__PURE__*/React__namespace.createElement("g", {
|
|
3982
|
-
clipPath: "url(#
|
|
4067
|
+
clipPath: "url(#odcvp14f5jigh3wnc_a)"
|
|
3983
4068
|
}, _path$8 || (_path$8 = /*#__PURE__*/React__namespace.createElement("path", {
|
|
3984
4069
|
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",
|
|
3985
4070
|
fill: "#F5F6FA"
|
|
@@ -4000,7 +4085,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4000
4085
|
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",
|
|
4001
4086
|
fill: "#1D1E26"
|
|
4002
4087
|
})), /*#__PURE__*/React__namespace.createElement("mask", {
|
|
4003
|
-
id: "
|
|
4088
|
+
id: "odcvp1h2yq1tv2m5c_b",
|
|
4004
4089
|
style: {
|
|
4005
4090
|
maskType: "alpha"
|
|
4006
4091
|
},
|
|
@@ -4013,7 +4098,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4013
4098
|
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",
|
|
4014
4099
|
fill: "#9BDEFF"
|
|
4015
4100
|
}))), _g$1 || (_g$1 = /*#__PURE__*/React__namespace.createElement("g", {
|
|
4016
|
-
mask: "url(#
|
|
4101
|
+
mask: "url(#odcvp1h2yq1tv2m5c_b)",
|
|
4017
4102
|
fillRule: "evenodd",
|
|
4018
4103
|
clipRule: "evenodd"
|
|
4019
4104
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -4099,7 +4184,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4099
4184
|
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",
|
|
4100
4185
|
fill: "#fff"
|
|
4101
4186
|
}))), _defs || (_defs = /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("clipPath", {
|
|
4102
|
-
id: "
|
|
4187
|
+
id: "odcvp14f5jigh3wnc_a"
|
|
4103
4188
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
4104
4189
|
fill: "#fff",
|
|
4105
4190
|
transform: "translate(.552)",
|
|
@@ -4108,7 +4193,7 @@ var SvgEmptyTable = function SvgEmptyTable(props, ref) {
|
|
|
4108
4193
|
};
|
|
4109
4194
|
var ForwardRef$9 = /*#__PURE__*/React.forwardRef(SvgEmptyTable);
|
|
4110
4195
|
|
|
4111
|
-
var css$f = {"sticky-header":"
|
|
4196
|
+
var css$f = {"sticky-header":"Yr1gKJ","table":"x6cmhN","no-results":"OEhAL9","no-results-icon":"_3qURi8","no-results-title":"RkhM12","stickyHeader":"Yr1gKJ","noResults":"OEhAL9","noResultsIcon":"_3qURi8","noResultsTitle":"RkhM12"};
|
|
4112
4197
|
|
|
4113
4198
|
function DataTable(props) {
|
|
4114
4199
|
var _a;
|
|
@@ -4147,21 +4232,20 @@ function DataTable(props) {
|
|
|
4147
4232
|
React__namespace.createElement("div", { className: uuiCore.cx(uuiCore.uuiScrollShadows.top, {
|
|
4148
4233
|
[uuiCore.uuiScrollShadows.topVisible]: scrollShadows.verticalTop,
|
|
4149
4234
|
}) })),
|
|
4150
|
-
props.exactRowsCount !== 0 ? (React__namespace.createElement(DataRowsContainer, { headerRef: headerRef, listContainerRef: listContainerRef, estimatedHeight: estimatedHeight, offsetY: offsetY, scrollShadows: scrollShadows, renderRow: renderRow, rows: rows })) : (renderNoResultsBlock === null || renderNoResultsBlock === void 0 ? void 0 : renderNoResultsBlock()),
|
|
4151
|
-
React__namespace.createElement(Blocker, { isEnabled: props.isReloading }))), [
|
|
4235
|
+
props.exactRowsCount !== 0 ? (React__namespace.createElement(DataRowsContainer, { headerRef: headerRef, listContainerRef: listContainerRef, estimatedHeight: estimatedHeight, offsetY: offsetY, scrollShadows: scrollShadows, renderRow: renderRow, rows: rows })) : (renderNoResultsBlock === null || renderNoResultsBlock === void 0 ? void 0 : renderNoResultsBlock()))), [
|
|
4152
4236
|
props, columns, rows, renderNoResultsBlock, onConfigurationButtonClick,
|
|
4153
4237
|
]);
|
|
4154
4238
|
return (React__namespace.createElement(uuiComponents.DataTableSelectionProvider, { onCopy: props.onCopy, rows: rows, columns: columns },
|
|
4155
|
-
React__namespace.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: uuiCore.cx(css$f.table, 'uui-dt-vars'),
|
|
4239
|
+
React__namespace.createElement(VirtualList, { value: props.value, onValueChange: props.onValueChange, onScroll: props.onScroll, rowsCount: props.rowsCount, renderRows: renderRowsContainer, cx: uuiCore.cx(css$f.table, 'uui-dt-vars'), isLoading: props.isReloading, rowsSelector: "[role=row]", rawProps: {
|
|
4156
4240
|
role: 'table',
|
|
4157
4241
|
'aria-colcount': columns.length,
|
|
4158
4242
|
'aria-rowcount': props.rowsCount,
|
|
4159
4243
|
} })));
|
|
4160
4244
|
}
|
|
4161
4245
|
|
|
4162
|
-
var css$e = {"root":"
|
|
4246
|
+
var css$e = {"root":"nUu4v6"};
|
|
4163
4247
|
|
|
4164
|
-
var css$d = {"root":"
|
|
4248
|
+
var css$d = {"root":"YgJxo0","burger-content":"NVCq2B","burgerContent":"NVCq2B"};
|
|
4165
4249
|
|
|
4166
4250
|
var _path$7;
|
|
4167
4251
|
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); }
|
|
@@ -4228,7 +4312,7 @@ var SvgTriangle = function SvgTriangle(props, ref) {
|
|
|
4228
4312
|
};
|
|
4229
4313
|
var ForwardRef$6 = /*#__PURE__*/React.forwardRef(SvgTriangle);
|
|
4230
4314
|
|
|
4231
|
-
var css$c = {"root":"
|
|
4315
|
+
var css$c = {"uui-typography":"uRDD-m","hero-header":"_7ZRcTr","promo-header":"_9YioH4","uui-critical":"WMI4cG","uui-success":"_8b7ece","uui-warning":"i3RDqG","uui-typography-size-12":"aGHOA6","uui-typography-size-14":"e4FJ9a","uui-typography-size-16":"abgIlP","root":"JdVEUQ","button-primary":"LijBED","button-secondary":"IQMsTt","hasIcon":"-NN9-5","dropdown":"ELLUye","uuiTypography":"uRDD-m","heroHeader":"_7ZRcTr","promoHeader":"_9YioH4","uuiCritical":"WMI4cG","uuiSuccess":"_8b7ece","uuiWarning":"i3RDqG","uuiTypographySize12":"aGHOA6","uuiTypographySize14":"e4FJ9a","uuiTypographySize16":"abgIlP","buttonPrimary":"LijBED","buttonSecondary":"IQMsTt"};
|
|
4232
4316
|
|
|
4233
4317
|
const BurgerButton = uuiCore.withMods(uuiComponents.Button, (props) => [
|
|
4234
4318
|
css$c.root,
|
|
@@ -4285,13 +4369,13 @@ var SvgMenuInputCancel = function SvgMenuInputCancel(props, ref) {
|
|
|
4285
4369
|
};
|
|
4286
4370
|
var ForwardRef$5 = /*#__PURE__*/React.forwardRef(SvgMenuInputCancel);
|
|
4287
4371
|
|
|
4288
|
-
var css$b = {"search-input":"
|
|
4372
|
+
var css$b = {"search-input":"tGROR5","searchInput":"tGROR5"};
|
|
4289
4373
|
|
|
4290
4374
|
function BurgerSearch(props) {
|
|
4291
4375
|
return (React__namespace.createElement(uuiComponents.TextInput, { cx: cx__default.default(css$b.searchInput, 'uui-main_menu-burger-search'), iconPosition: "left", icon: ForwardRef$15, placeholder: props.placeholder, value: props.value, onValueChange: props.onValueChange, onCancel: props.onCancel, cancelIcon: props.value && ForwardRef$5 }));
|
|
4292
4376
|
}
|
|
4293
4377
|
|
|
4294
|
-
var css$a = {"root":"
|
|
4378
|
+
var css$a = {"root":"k2ZCD9","group-header":"bTDk44","group-name":"BI-PeX","line":"pVl6Qh","groupHeader":"bTDk44","groupName":"BI-PeX"};
|
|
4295
4379
|
|
|
4296
4380
|
function BurgerGroupHeader(props) {
|
|
4297
4381
|
return (React__namespace.createElement("div", { className: cx__default.default(css$a.root, css$a.groupHeader, 'uui-burger-group-header') },
|
|
@@ -4299,7 +4383,7 @@ function BurgerGroupHeader(props) {
|
|
|
4299
4383
|
React__namespace.createElement("span", { className: css$a.groupName }, props.caption)));
|
|
4300
4384
|
}
|
|
4301
4385
|
|
|
4302
|
-
var css$9 = {"root":"
|
|
4386
|
+
var css$9 = {"uui-typography":"GVaIuA","hero-header":"CorQar","promo-header":"sGwxGY","uui-critical":"xTp4Xc","uui-success":"cjfefQ","uui-warning":"NiAu13","uui-typography-size-12":"_5zDq6v","uui-typography-size-14":"uWCTKx","uui-typography-size-16":"SSenM-","root":"QxsGk0","type-primary":"zRNtmE","type-secondary":"ximnJC","uuiTypography":"GVaIuA","heroHeader":"CorQar","promoHeader":"sGwxGY","uuiCritical":"xTp4Xc","uuiSuccess":"cjfefQ","uuiWarning":"NiAu13","uuiTypographySize12":"_5zDq6v","uuiTypographySize14":"uWCTKx","uuiTypographySize16":"SSenM-","typePrimary":"zRNtmE","typeSecondary":"ximnJC"};
|
|
4303
4387
|
|
|
4304
4388
|
var _path$4;
|
|
4305
4389
|
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); }
|
|
@@ -4319,7 +4403,7 @@ var ForwardRef$4 = /*#__PURE__*/React.forwardRef(SvgChevronDown24);
|
|
|
4319
4403
|
|
|
4320
4404
|
const MainMenuButton = uuiCore.withMods(uuiComponents.Button, (mods) => [css$9.root, css$9['type-' + (mods.type || 'primary')]], () => ({ dropdownIcon: ForwardRef$4, role: 'menuitem' }));
|
|
4321
4405
|
|
|
4322
|
-
var css$8 = {"dropdown-body":"
|
|
4406
|
+
var css$8 = {"dropdown-body":"mgSK0p","dropdownBody":"mgSK0p"};
|
|
4323
4407
|
|
|
4324
4408
|
class MainMenuDropdown extends React__namespace.Component {
|
|
4325
4409
|
render() {
|
|
@@ -4352,7 +4436,7 @@ function applyMainMenuMods() {
|
|
|
4352
4436
|
'uui-main_menu',
|
|
4353
4437
|
];
|
|
4354
4438
|
}
|
|
4355
|
-
const MainMenu = uuiCore.withMods(
|
|
4439
|
+
const MainMenu = uuiCore.withMods(uuiComponents__namespace.MainMenu, applyMainMenuMods, () => ({
|
|
4356
4440
|
Burger,
|
|
4357
4441
|
MainMenuDropdown,
|
|
4358
4442
|
}));
|
|
@@ -4373,12 +4457,12 @@ var SvgGlobalMenu = function SvgGlobalMenu(props, ref) {
|
|
|
4373
4457
|
};
|
|
4374
4458
|
var ForwardRef$3 = /*#__PURE__*/React.forwardRef(SvgGlobalMenu);
|
|
4375
4459
|
|
|
4376
|
-
var css$7 = {"global-menu-btn":"
|
|
4460
|
+
var css$7 = {"global-menu-btn":"dDPxEL","globalMenuIcon":"_2b33-m","globalMenuBtn":"dDPxEL"};
|
|
4377
4461
|
|
|
4378
4462
|
const GlobalMenu = React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", Object.assign({ ref: ref, id: "global_menu_toggle", className: cx__default.default(css$7.globalMenuBtn, props.cx) }, props.rawProps),
|
|
4379
4463
|
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$3, cx: css$7.globalMenuIcon }))));
|
|
4380
4464
|
|
|
4381
|
-
var css$6 = {"container":"
|
|
4465
|
+
var css$6 = {"container":"-wZrLg","open":"EXNBJy"};
|
|
4382
4466
|
|
|
4383
4467
|
const MainMenuAvatar = React__namespace.forwardRef((props, ref) => (React__namespace.createElement("button", { ref: ref, className: cx__default.default(css$6.container, props.isDropdown && css$6.dropdown, props.isOpen && css$6.open, props.onClick && uuiCore.uuiMarkers.clickable, props.cx), onClick: props.onClick },
|
|
4384
4468
|
React__namespace.createElement(uuiComponents.Avatar, { size: "36", img: props.avatarUrl }),
|
|
@@ -4386,18 +4470,18 @@ const MainMenuAvatar = React__namespace.forwardRef((props, ref) => (React__names
|
|
|
4386
4470
|
props.isDropdown && (React__namespace.createElement("div", null,
|
|
4387
4471
|
React__namespace.createElement(uuiComponents.IconContainer, { icon: ForwardRef$1b, flipY: props.isOpen }))))));
|
|
4388
4472
|
|
|
4389
|
-
var css$5 = {"search-input":"
|
|
4473
|
+
var css$5 = {"search-input":"_7PPGLK","searchInput":"_7PPGLK"};
|
|
4390
4474
|
|
|
4391
4475
|
const MainMenuSearch = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(uuiCore.IEditableDebouncer, Object.assign({}, props, { render: (iEditable) => {
|
|
4392
4476
|
var _a;
|
|
4393
4477
|
return (React__namespace.createElement(uuiComponents.TextInput, Object.assign({ iconPosition: "left", icon: ForwardRef$15, cancelIcon: ((_a = props.value) === null || _a === void 0 ? void 0 : _a.length) > 0 && ForwardRef$5 }, props, iEditable, { ref: ref, cx: uuiCore.cx(css$5.searchInput, props.cx) }, props.rawProps)));
|
|
4394
4478
|
} }))));
|
|
4395
4479
|
|
|
4396
|
-
var css$4 = {"container":"
|
|
4480
|
+
var css$4 = {"container":"atjytZ"};
|
|
4397
4481
|
|
|
4398
4482
|
const MainMenuIcon = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(IconButton, Object.assign({ ref: ref, icon: props.icon, cx: uuiCore.cx(props.cx, css$4.container) }, props))));
|
|
4399
4483
|
|
|
4400
|
-
var css$3 = {"root":"
|
|
4484
|
+
var css$3 = {"root":"_6oLV6I"};
|
|
4401
4485
|
|
|
4402
4486
|
const Anchor = uuiCore.withMods(uuiComponents.Anchor, () => [css$3.root]);
|
|
4403
4487
|
|
|
@@ -4454,7 +4538,7 @@ var SvgShape = function SvgShape(props, ref) {
|
|
|
4454
4538
|
};
|
|
4455
4539
|
var ForwardRef$2 = /*#__PURE__*/React.forwardRef(SvgShape);
|
|
4456
4540
|
|
|
4457
|
-
var css$2 = {"root":"
|
|
4541
|
+
var css$2 = {"root":"GYZECa","drop-start":"AIhmOf","drop-over":"NvN90A","link":"cL95WF","drop-area":"E9-ozb","icon-blue":"EiTHWZ","dropStart":"AIhmOf","dropOver":"NvN90A","dropArea":"E9-ozb","iconBlue":"EiTHWZ"};
|
|
4458
4542
|
|
|
4459
4543
|
class DropSpot extends React__namespace.Component {
|
|
4460
4544
|
constructor() {
|
|
@@ -4478,9 +4562,9 @@ class DropSpot extends React__namespace.Component {
|
|
|
4478
4562
|
}
|
|
4479
4563
|
}
|
|
4480
4564
|
|
|
4481
|
-
var css$1 = {"root":"
|
|
4565
|
+
var css$1 = {"root":"_9Y-z2O","file-name":"L-LfnB","default-color":"zaZeIU","doc-color":"sBpP7I","xls-color":"_6c0Ve4","pdf-color":"liEOmG","movie-color":"aIy8ez","img-color":"_78cDpF","mov-color":"DKhayr","error-block":"xln0jE","icons-block":"oHcpts","fileName":"L-LfnB","defaultColor":"zaZeIU","docColor":"sBpP7I","xlsColor":"_6c0Ve4","pdfColor":"liEOmG","movieColor":"aIy8ez","imgColor":"_78cDpF","movColor":"DKhayr","errorBlock":"xln0jE","iconsBlock":"oHcpts"};
|
|
4482
4566
|
|
|
4483
|
-
var css = {"root":"
|
|
4567
|
+
var css = {"root":"XjgmVj"};
|
|
4484
4568
|
|
|
4485
4569
|
const SvgCircleProgress = React__namespace.forwardRef((props, ref) => {
|
|
4486
4570
|
const outsetRadius = props.size / 2 - 1;
|
|
@@ -4588,8 +4672,8 @@ const FileCard = React__namespace.forwardRef((props, ref) => {
|
|
|
4588
4672
|
progress && progress < 100 && abortXHR();
|
|
4589
4673
|
onClick();
|
|
4590
4674
|
};
|
|
4591
|
-
return (React__namespace.createElement(FlexCell, { ref: ref, cx: uuiCore.cx(css$1.root,
|
|
4592
|
-
React__namespace.createElement(FlexRow, {
|
|
4675
|
+
return (React__namespace.createElement(FlexCell, { ref: ref, cx: uuiCore.cx(css$1.root, 'uui-file_card', (isLoading || (error === null || error === void 0 ? void 0 : error.isError)) && uuiCore.uuiMod.loading, componentCx, (error === null || error === void 0 ? void 0 : error.isError) && uuiCore.uuiMod.error), minWidth: width, width: !width ? '100%' : undefined },
|
|
4676
|
+
React__namespace.createElement(FlexRow, { size: "36", alignItems: "top", spacing: "6" },
|
|
4593
4677
|
fileExtension && getIcon(fileExtension),
|
|
4594
4678
|
React__namespace.createElement(FlexCell, { width: "100%" },
|
|
4595
4679
|
React__namespace.createElement(Text, { size: "18", fontSize: "14", lineHeight: "18", color: progress < 100 ? 'secondary' : 'primary', cx: css$1.fileName }, fileName),
|
|
@@ -4630,6 +4714,7 @@ exports.ColumnHeaderDropdown = ColumnHeaderDropdown;
|
|
|
4630
4714
|
exports.ColumnsConfigurationModal = ColumnsConfigurationModal;
|
|
4631
4715
|
exports.ConfirmationModal = ConfirmationModal;
|
|
4632
4716
|
exports.ControlGroup = ControlGroup;
|
|
4717
|
+
exports.CountIndicator = CountIndicator;
|
|
4633
4718
|
exports.DataPickerBody = DataPickerBody;
|
|
4634
4719
|
exports.DataPickerFooter = DataPickerFooter;
|
|
4635
4720
|
exports.DataPickerHeader = DataPickerHeader;
|
|
@@ -4666,7 +4751,6 @@ exports.HintNotification = HintNotification;
|
|
|
4666
4751
|
exports.IconButton = IconButton;
|
|
4667
4752
|
exports.IndeterminateBar = IndeterminateBar;
|
|
4668
4753
|
exports.IndicatorBar = IndicatorBar;
|
|
4669
|
-
exports.Informer = Informer;
|
|
4670
4754
|
exports.InputAddon = InputAddon;
|
|
4671
4755
|
exports.LabeledInput = LabeledInput;
|
|
4672
4756
|
exports.LinkButton = LinkButton;
|
|
@@ -4701,7 +4785,9 @@ exports.RangeDatePickerBody = RangeDatePickerBody;
|
|
|
4701
4785
|
exports.RichTextView = RichTextView;
|
|
4702
4786
|
exports.ScrollBars = ScrollBars;
|
|
4703
4787
|
exports.SearchInput = SearchInput;
|
|
4788
|
+
exports.Slider = Slider;
|
|
4704
4789
|
exports.Spinner = Spinner;
|
|
4790
|
+
exports.StatusIndicator = StatusIndicator;
|
|
4705
4791
|
exports.SuccessAlert = SuccessAlert;
|
|
4706
4792
|
exports.SuccessNotification = SuccessNotification;
|
|
4707
4793
|
exports.SvgCircleProgress = SvgCircleProgress;
|
|
@@ -4737,6 +4823,7 @@ exports.applyDateSelectionMods = applyDateSelectionMods;
|
|
|
4737
4823
|
exports.applyInputAddonMods = applyInputAddonMods;
|
|
4738
4824
|
exports.applyNumericInputMods = applyNumericInputMods;
|
|
4739
4825
|
exports.applyProgressBarMods = applyProgressBarMods;
|
|
4826
|
+
exports.applySliderMods = applySliderMods;
|
|
4740
4827
|
exports.applySpinnerMods = applySpinnerMods;
|
|
4741
4828
|
exports.applySwitchMods = applySwitchMods;
|
|
4742
4829
|
exports.applyTagMods = applyTagMods;
|