magneto365.ui 2.75.0 → 2.75.2
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/dist/cjs/css/magneto.ui.lib.min.css +1 -1
- package/dist/cjs/index.js +362 -343
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/molecules/SimilarCard/SimilarCard.component.d.ts +1 -1
- package/dist/cjs/types/components/UI/molecules/SimilarCard/SimilarCard.interface.d.ts +19 -2
- package/dist/cjs/types/components/UI/molecules/SimilarCard/children/SimilarCardText/SimilarCardText.component.d.ts +3 -0
- package/dist/cjs/types/constants/stories/select2.constants.d.ts +17 -0
- package/dist/cjs/types/utils/string/normalizeString.util.d.ts +1 -0
- package/dist/esm/css/magneto.ui.lib.min.css +1 -1
- package/dist/esm/index.js +362 -343
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/molecules/SimilarCard/SimilarCard.component.d.ts +1 -1
- package/dist/esm/types/components/UI/molecules/SimilarCard/SimilarCard.interface.d.ts +19 -2
- package/dist/esm/types/components/UI/molecules/SimilarCard/children/SimilarCardText/SimilarCardText.component.d.ts +3 -0
- package/dist/esm/types/constants/stories/select2.constants.d.ts +17 -0
- package/dist/esm/types/utils/string/normalizeString.util.d.ts +1 -0
- package/dist/index.d.ts +20 -2
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -307,24 +307,24 @@ var classNames = {
|
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
|
|
310
|
-
var cx$
|
|
311
|
-
var Component$
|
|
310
|
+
var cx$1m = classNames.bind(styles$33);
|
|
311
|
+
var Component$3e = function (_a) {
|
|
312
312
|
var fallbackIcon = _a.fallbackIcon, _b = _a.showDefaultFallback, showDefaultFallback = _b === void 0 ? true : _b, icon = _a.icon, _c = _a.hover, hover = _c === void 0 ? false : _c, size = _a.size, className = _a.className, alt = _a.alt, isRotate = _a.isRotate;
|
|
313
313
|
var _d = useState(false), imageError = _d[0], setImageError = _d[1];
|
|
314
314
|
var handleError = function () {
|
|
315
315
|
setImageError(true);
|
|
316
316
|
};
|
|
317
317
|
var iconSrc = useMemo(function () { return (!imageError ? icon !== null && icon !== void 0 ? icon : undefined : fallbackIcon); }, [fallbackIcon, imageError, icon]);
|
|
318
|
-
var isHover = hover ? cx$
|
|
318
|
+
var isHover = hover ? cx$1m('magneto-ui-hover') : '';
|
|
319
319
|
var customStyle = size ? { width: size + 'px' } : {};
|
|
320
320
|
if (!iconSrc && !showDefaultFallback)
|
|
321
321
|
return null;
|
|
322
|
-
return (React.createElement(Fragment, null, icon && (React.createElement("img", { "data-name": "icon", style: customStyle, className: cx$
|
|
322
|
+
return (React.createElement(Fragment, null, icon && (React.createElement("img", { "data-name": "icon", style: customStyle, className: cx$1m('magneto-ui-icon', { 'magneto-ui-rotate': isRotate }, isHover, className), src: iconSrc, alt: alt !== null && alt !== void 0 ? alt : "".concat(icon, " icon item"), loading: "lazy", width: '25px', onError: handleError }))));
|
|
323
323
|
};
|
|
324
324
|
/**
|
|
325
325
|
* Atom UI component of Icon for general purpose
|
|
326
326
|
*/
|
|
327
|
-
var IconItem = Component$
|
|
327
|
+
var IconItem = Component$3e;
|
|
328
328
|
|
|
329
329
|
var styles$32 = {"avatarComponent":"mg_avatar_avatarComponent_1upgt","magneto-ui-default-avatar":"mg_avatar_magneto-ui-default-avatar_1upgt"};
|
|
330
330
|
|
|
@@ -652,7 +652,7 @@ var Youtube = "https://static.magneto365.com/lib/assets/f78dbede1bdf3dd0.svg";
|
|
|
652
652
|
|
|
653
653
|
var YoutubeSolid = "https://static.magneto365.com/lib/assets/cdcc07646d43bd9d.svg";
|
|
654
654
|
|
|
655
|
-
var Component$
|
|
655
|
+
var Component$3d = function (_a) {
|
|
656
656
|
var userImage = _a.userImage, fallbackImage = _a.fallbackImage, onClick = _a.onClick;
|
|
657
657
|
var _b = useState(false), imageError = _b[0], setImageError = _b[1];
|
|
658
658
|
var handleError = function () {
|
|
@@ -666,17 +666,17 @@ var Component$3c = function (_a) {
|
|
|
666
666
|
/**
|
|
667
667
|
* UI Atom component of Avatar
|
|
668
668
|
*/
|
|
669
|
-
var Avatar = Component$
|
|
669
|
+
var Avatar = Component$3d;
|
|
670
670
|
|
|
671
671
|
var styles$31 = {"badge-count":"mg_badge_badge-count_15t5z","badge-count__animation":"mg_badge_badge-count_animation_15t5z","pulse":"mg_badge_pulse_15t5z"};
|
|
672
672
|
|
|
673
|
-
var Component$
|
|
673
|
+
var Component$3c = function (_a) {
|
|
674
674
|
var _b = _a.number, number = _b === void 0 ? undefined : _b, className = _a.className;
|
|
675
675
|
return (React.createElement("p", { className: "".concat(styles$31['badge-count'], " ").concat(className) },
|
|
676
676
|
React.createElement("span", { className: styles$31['badge-count__animation'] }),
|
|
677
677
|
number && number));
|
|
678
678
|
};
|
|
679
|
-
var Badge = Component$
|
|
679
|
+
var Badge = Component$3c;
|
|
680
680
|
|
|
681
681
|
var styles$30 = {"magneto-ui-chart-bar":"mg_bar_chart_magneto-ui-chart-bar_1jzzq","magneto-ui-chart-bar__point":"mg_bar_chart_magneto-ui-chart-bar_point_1jzzq","magneto-ui-chart-bar__popover":"mg_bar_chart_magneto-ui-chart-bar_popover_1jzzq","popover-left":"mg_bar_chart_popover-left_1jzzq","popover-right":"mg_bar_chart_popover-right_1jzzq"};
|
|
682
682
|
|
|
@@ -694,7 +694,7 @@ var EPositions;
|
|
|
694
694
|
EPositions["center"] = "center";
|
|
695
695
|
})(EPositions || (EPositions = {}));
|
|
696
696
|
|
|
697
|
-
var Component$
|
|
697
|
+
var Component$3b = function (_a) {
|
|
698
698
|
var range = _a.bin, percentage = _a.heightPercentage, jobText = _a.jobText, point = _a.point, _b = _a.maxHeight, maxHeight = _b === void 0 ? 400 : _b, _c = _a.maxPercentage, maxPercentage = _c === void 0 ? 1 : _c;
|
|
699
699
|
var barRef = useRef(null);
|
|
700
700
|
var _d = useState(false), isHover = _d[0], setIsHover = _d[1];
|
|
@@ -726,7 +726,7 @@ var Component$3a = function (_a) {
|
|
|
726
726
|
React.createElement("div", { className: styles$30['magneto-ui-chart-bar__point'], style: { backgroundColor: point } }),
|
|
727
727
|
popoverContent));
|
|
728
728
|
};
|
|
729
|
-
var BarChart = Component$
|
|
729
|
+
var BarChart = Component$3b;
|
|
730
730
|
|
|
731
731
|
var BAR_LOADER_PREFIX = '--bar-loader';
|
|
732
732
|
|
|
@@ -1561,7 +1561,7 @@ var CNM = /** @class */ (function () {
|
|
|
1561
1561
|
|
|
1562
1562
|
var styles$2$ = {"magneto-ui-bar-loader":"mg_bar_loader_magneto-ui-bar-loader_1f3jh","magneto-ui-bar-loader__bar":"mg_bar_loader_magneto-ui-bar-loader_bar_1f3jh","magneto-ui-bar-loader__bar--animated":"mg_bar_loader_magneto-ui-bar-loader_bar--animated_1f3jh","progress":"mg_bar_loader_progress_1f3jh","magneto-ui-bar-loader__bar--completed":"mg_bar_loader_magneto-ui-bar-loader_bar--completed_1f3jh"};
|
|
1563
1563
|
|
|
1564
|
-
var Component$
|
|
1564
|
+
var Component$3a = function (_a) {
|
|
1565
1565
|
var className = _a.className, color = _a.color, percent = _a.percent;
|
|
1566
1566
|
var validateCompleted = useCallback(function (value) {
|
|
1567
1567
|
if (!value)
|
|
@@ -1591,11 +1591,11 @@ var Component$39 = function (_a) {
|
|
|
1591
1591
|
/**
|
|
1592
1592
|
* UI Atom component of Bar Loader
|
|
1593
1593
|
*/
|
|
1594
|
-
var BarLoader = Component$
|
|
1594
|
+
var BarLoader = Component$3a;
|
|
1595
1595
|
|
|
1596
1596
|
var styles$2_ = {"breadcrumbComponent":"mg_breadcrumb_breadcrumbComponent_vlbg8","magneto-ui-bc":"mg_breadcrumb_magneto-ui-bc_vlbg8","magneto-ui-bc-active":"mg_breadcrumb_magneto-ui-bc-active_vlbg8","no-transform":"mg_breadcrumb_no-transform_vlbg8"};
|
|
1597
1597
|
|
|
1598
|
-
var Component$
|
|
1598
|
+
var Component$39 = function (_a) {
|
|
1599
1599
|
var breadcrumbText = _a.breadcrumbText, breadcrumbCustomText = _a.breadcrumbCustomText, queryParams = _a.queryParams, _b = _a.haveRedirect, haveRedirect = _b === void 0 ? true : _b, _c = _a.detailTitle, detailTitle = _c === void 0 ? '' : _c, breadCrumbFromServer = _a.breadCrumbFromServer, urlFromServer = _a.urlFromServer;
|
|
1600
1600
|
var breadcrumbs = breadcrumbCustomText ? breadcrumbCustomText : breadcrumbText || '';
|
|
1601
1601
|
var breadcrumbSplitText = breadcrumbs === null || breadcrumbs === void 0 ? void 0 : breadcrumbs.split('/');
|
|
@@ -1636,11 +1636,11 @@ var Component$38 = function (_a) {
|
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Atom UI of breadcrumb
|
|
1638
1638
|
*/
|
|
1639
|
-
var Breadcrumb = Component$
|
|
1639
|
+
var Breadcrumb = Component$39;
|
|
1640
1640
|
|
|
1641
1641
|
var styles$2Z = {"magneto-ui-button":"mg_button_magneto-ui-button_2zrcl","magneto-ui-button__mobile-text":"mg_button_magneto-ui-button_mobile-text_2zrcl","magneto-ui-button__icon":"mg_button_magneto-ui-button_icon_2zrcl","hover-effect":"mg_button_hover-effect_2zrcl"};
|
|
1642
1642
|
|
|
1643
|
-
var Component$
|
|
1643
|
+
var Component$38 = function (_a) {
|
|
1644
1644
|
var buttonText = _a.buttonText, buttonTitle = _a.buttonTitle, addHover = _a.addHover, onClick = _a.onClick, suffixIcon = _a.suffixIcon, prefixIcon = _a.prefixIcon, className = _a.className, _b = _a.iconSize, iconSize = _b === void 0 ? 20 : _b;
|
|
1645
1645
|
return (React.createElement("button", { className: "".concat(className, " ").concat(styles$2Z['magneto-ui-button'], " ").concat(addHover ? styles$2Z['hover-effect'] : '', " "), type: "button", onClick: onClick, title: buttonTitle },
|
|
1646
1646
|
typeof suffixIcon === 'string' ? (React.createElement(IconItem, { size: iconSize, icon: suffixIcon, hover: addHover, className: styles$2Z['magneto-ui-button__icon'] })) : (suffixIcon),
|
|
@@ -1650,11 +1650,11 @@ var Component$37 = function (_a) {
|
|
|
1650
1650
|
/**
|
|
1651
1651
|
* UI Atom Component of Save Button
|
|
1652
1652
|
*/
|
|
1653
|
-
var Button = Component$
|
|
1653
|
+
var Button = Component$38;
|
|
1654
1654
|
|
|
1655
1655
|
var styles$2Y = {"button-link":"mg_button_link_button-link_1iyy1","button-link__text":"mg_button_link_button-link_text_1iyy1"};
|
|
1656
1656
|
|
|
1657
|
-
var Component$
|
|
1657
|
+
var Component$37 = function (_a) {
|
|
1658
1658
|
var buttonText = _a.buttonText, onClick = _a.onClick, suffixIcon = _a.suffixIcon, prefixIcon = _a.prefixIcon, className = _a.className, _b = _a.iconSize, iconSize = _b === void 0 ? 20 : _b, href = _a.href, rel = _a.rel, target = _a.target;
|
|
1659
1659
|
var handleClick = useCallback(function (event) {
|
|
1660
1660
|
if (onClick) {
|
|
@@ -1670,20 +1670,20 @@ var Component$36 = function (_a) {
|
|
|
1670
1670
|
/**
|
|
1671
1671
|
* UI Atom Component of Save Button
|
|
1672
1672
|
*/
|
|
1673
|
-
var ButtonLink = Component$
|
|
1673
|
+
var ButtonLink = Component$37;
|
|
1674
1674
|
|
|
1675
1675
|
var styles$2X = {"checkbox":"mg_checkbox_checkbox_1w9e7","checkbox--inline":"mg_checkbox_checkbox--inline_1w9e7","checkbox--block":"mg_checkbox_checkbox--block_1w9e7","checkbox--background":"mg_checkbox_checkbox--background_1w9e7","checkbox--checked":"mg_checkbox_checkbox--checked_1w9e7","custom-checked":"mg_checkbox_custom-checked_1w9e7","checkbox__box":"mg_checkbox_checkbox_box_1w9e7","checkbox__box--checked":"mg_checkbox_checkbox_box--checked_1w9e7"};
|
|
1676
1676
|
|
|
1677
|
-
var cx$
|
|
1677
|
+
var cx$1l = classNames.bind(styles$2X);
|
|
1678
1678
|
var defaultCheck = function (_a) {
|
|
1679
1679
|
var type = _a.type, checked = _a.checked;
|
|
1680
1680
|
if (type === 'background')
|
|
1681
1681
|
return;
|
|
1682
|
-
return (React.createElement("div", { "aria-checked": checked, role: "checkbox", className: cx$
|
|
1682
|
+
return (React.createElement("div", { "aria-checked": checked, role: "checkbox", className: cx$1l('checkbox__box', { 'checkbox__box--checked': checked }) }, checked ? React.createElement(React.Fragment, null, "\u2713") : null));
|
|
1683
1683
|
};
|
|
1684
|
-
var Component$
|
|
1684
|
+
var Component$36 = function (_a) {
|
|
1685
1685
|
var id = _a.id, checked = _a.checked, _b = _a.onChange, onChange = _b === void 0 ? stubTrue : _b, children = _a.children, _c = _a.type, type = _c === void 0 ? 'box' : _c, className = _a.className, _d = _a.display, display = _d === void 0 ? 'inline' : _d, _e = _a.renderCheck, renderCheck = _e === void 0 ? defaultCheck : _e, rest = __rest(_a, ["id", "checked", "onChange", "children", "type", "className", "display", "renderCheck"]);
|
|
1686
|
-
return (React.createElement("label", { className: cx$
|
|
1686
|
+
return (React.createElement("label", { className: cx$1l('checkbox', "checkbox--".concat(display), className, {
|
|
1687
1687
|
'checkbox--checked': checked,
|
|
1688
1688
|
'checkbox--background': type === 'background'
|
|
1689
1689
|
}), "data-name": "checkbox-container", htmlFor: id },
|
|
@@ -1694,7 +1694,7 @@ var Component$35 = function (_a) {
|
|
|
1694
1694
|
}, type: "checkbox", id: id }, rest)),
|
|
1695
1695
|
children));
|
|
1696
1696
|
};
|
|
1697
|
-
var Checkbox = Component$
|
|
1697
|
+
var Checkbox = Component$36;
|
|
1698
1698
|
|
|
1699
1699
|
var CollapseContext = createContext(undefined);
|
|
1700
1700
|
var Provider$2 = function (_a) {
|
|
@@ -1728,41 +1728,41 @@ var context$2 = /*#__PURE__*/Object.freeze({
|
|
|
1728
1728
|
|
|
1729
1729
|
var styles$2W = {"magneto-ui-collapse-body":"mg_collapse_body_magneto-ui-collapse-body_1sj1m","magneto-ui-collapse-body--visible":"mg_collapse_body_magneto-ui-collapse-body--visible_1sj1m","magneto-ui-collapse-body__container":"mg_collapse_body_magneto-ui-collapse-body_container_1sj1m","magneto-ui-collapse-body__container--visible":"mg_collapse_body_magneto-ui-collapse-body_container--visible_1sj1m","magneto-ui-collapse-body__content":"mg_collapse_body_magneto-ui-collapse-body_content_1sj1m","magneto-ui-collapse-body__content--visible":"mg_collapse_body_magneto-ui-collapse-body_content--visible_1sj1m"};
|
|
1730
1730
|
|
|
1731
|
-
var cx$
|
|
1732
|
-
var Component$
|
|
1731
|
+
var cx$1k = classNames.bind(styles$2W);
|
|
1732
|
+
var Component$35 = function (_a) {
|
|
1733
1733
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
|
1734
1734
|
var open = useCollapse().open;
|
|
1735
|
-
return (React.createElement("div", __assign({}, props, { className: cx$
|
|
1735
|
+
return (React.createElement("div", __assign({}, props, { className: cx$1k('magneto-ui-collapse-body', {
|
|
1736
1736
|
'magneto-ui-collapse-body--visible': open
|
|
1737
1737
|
}) }),
|
|
1738
|
-
React.createElement("div", { className: cx$
|
|
1738
|
+
React.createElement("div", { className: cx$1k('magneto-ui-collapse-body__container', {
|
|
1739
1739
|
'magneto-ui-collapse-body__container--visible': open
|
|
1740
1740
|
}) },
|
|
1741
|
-
React.createElement("div", { className: cx$
|
|
1741
|
+
React.createElement("div", { className: cx$1k('magneto-ui-collapse-body__content', {
|
|
1742
1742
|
'magneto-ui-collapse-body__content--visible': open
|
|
1743
1743
|
}, className) }, children))));
|
|
1744
1744
|
};
|
|
1745
1745
|
/**
|
|
1746
1746
|
* Atom UI component child of Collapse
|
|
1747
1747
|
*/
|
|
1748
|
-
var CollapseBody = Component$
|
|
1748
|
+
var CollapseBody = Component$35;
|
|
1749
1749
|
|
|
1750
1750
|
var styles$2V = {"magneto-ui-collapse-header":"mg_collapse_header_magneto-ui-collapse-header_1wc3x"};
|
|
1751
1751
|
|
|
1752
|
-
var cx$
|
|
1753
|
-
var Component$
|
|
1752
|
+
var cx$1j = classNames.bind(styles$2V);
|
|
1753
|
+
var Component$34 = function (_a) {
|
|
1754
1754
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
|
1755
|
-
return (React.createElement("header", __assign({ className: cx$
|
|
1755
|
+
return (React.createElement("header", __assign({ className: cx$1j('magneto-ui-collapse-header', className) }, props), children));
|
|
1756
1756
|
};
|
|
1757
1757
|
/**
|
|
1758
1758
|
* Atom UI component child of Collapse
|
|
1759
1759
|
*/
|
|
1760
|
-
var CollapseHeader = Component$
|
|
1760
|
+
var CollapseHeader = Component$34;
|
|
1761
1761
|
|
|
1762
1762
|
var styles$2U = {"magneto-ui-collapse-toggler":"mg_collapse_toggler_magneto-ui-collapse-toggler_1ngmx"};
|
|
1763
1763
|
|
|
1764
|
-
var cx$
|
|
1765
|
-
var Component$
|
|
1764
|
+
var cx$1i = classNames.bind(styles$2U);
|
|
1765
|
+
var Component$33 = function (_a) {
|
|
1766
1766
|
var children = _a.children, className = _a.className, onClick = _a.onClick, props = __rest(_a, ["children", "className", "onClick"]);
|
|
1767
1767
|
var _b = useCollapse(), open = _b.open, onChangeOpen = _b.onChangeOpen;
|
|
1768
1768
|
var handleOnClick = useCallback(function (evt) {
|
|
@@ -1770,14 +1770,14 @@ var Component$32 = function (_a) {
|
|
|
1770
1770
|
onClick(evt);
|
|
1771
1771
|
onChangeOpen(!open);
|
|
1772
1772
|
}, [open, onChangeOpen, onClick]);
|
|
1773
|
-
return (React.createElement("button", __assign({}, props, { onClick: handleOnClick, className: cx$
|
|
1773
|
+
return (React.createElement("button", __assign({}, props, { onClick: handleOnClick, className: cx$1i('magneto-ui-collapse-toggler', className) }), children));
|
|
1774
1774
|
};
|
|
1775
1775
|
/**
|
|
1776
1776
|
* Atom UI component child of Collapse
|
|
1777
1777
|
*/
|
|
1778
|
-
var CollapseToggler = Component$
|
|
1778
|
+
var CollapseToggler = Component$33;
|
|
1779
1779
|
|
|
1780
|
-
var Component$
|
|
1780
|
+
var Component$32 = function (_a) {
|
|
1781
1781
|
var children = _a.children, defaultOpen = _a.defaultOpen, open = _a.open, onChangeOpen = _a.onChangeOpen, props = __rest(_a, ["children", "defaultOpen", "open", "onChangeOpen"]);
|
|
1782
1782
|
return (React.createElement(Provider$2, { defaultOpen: defaultOpen, open: open, onChangeOpen: onChangeOpen },
|
|
1783
1783
|
React.createElement("div", __assign({}, props), children)));
|
|
@@ -1785,12 +1785,12 @@ var Component$31 = function (_a) {
|
|
|
1785
1785
|
/**
|
|
1786
1786
|
* Atom UI component of Collapse
|
|
1787
1787
|
*/
|
|
1788
|
-
var Collapse = Object.assign(Component$
|
|
1788
|
+
var Collapse = Object.assign(Component$32, __assign({ Body: CollapseBody, Header: CollapseHeader, Toggler: CollapseToggler }, context$2));
|
|
1789
1789
|
|
|
1790
1790
|
var styles$2T = {"magneto-ui-comparative-counter":"mg_comparative_counter_magneto-ui-comparative-counter_1ue4r","error-label":"mg_comparative_counter_error-label_1ue4r"};
|
|
1791
1791
|
|
|
1792
1792
|
var nf = new Intl.NumberFormat('de-DE');
|
|
1793
|
-
var Component$
|
|
1793
|
+
var Component$31 = function (_a) {
|
|
1794
1794
|
var _b = _a.current, current = _b === void 0 ? 0 : _b, _c = _a.max, max = _c === void 0 ? 0 : _c, _d = _a.position, position = _d === void 0 ? 'left' : _d;
|
|
1795
1795
|
var currentHigherMax = useMemo(function () {
|
|
1796
1796
|
return current > max;
|
|
@@ -1801,11 +1801,11 @@ var Component$30 = function (_a) {
|
|
|
1801
1801
|
" / ",
|
|
1802
1802
|
nf.format(max))));
|
|
1803
1803
|
};
|
|
1804
|
-
var ComparativeCounter = Component$
|
|
1804
|
+
var ComparativeCounter = Component$31;
|
|
1805
1805
|
|
|
1806
1806
|
var styles$2S = {"magneto-ui--date-dropdown__icon":"mg_date_dropdown_magneto-ui--date-dropdown_icon_1xs1p","magneto-ui--date-dropdown__wrapper":"mg_date_dropdown_magneto-ui--date-dropdown_wrapper_1xs1p","magneto-ui--date-dropdown__select":"mg_date_dropdown_magneto-ui--date-dropdown_select_1xs1p","magneto-ui--date-dropdown__option":"mg_date_dropdown_magneto-ui--date-dropdown_option_1xs1p"};
|
|
1807
1807
|
|
|
1808
|
-
var Component$
|
|
1808
|
+
var Component$30 = function (_a) {
|
|
1809
1809
|
var placeholderLabel = _a.placeholderLabel, dateOptions = _a.dateOptions, _b = _a.selectedOption, selectedOption = _b === void 0 ? '' : _b, onOptionChanged = _a.onOptionChanged, _c = _a.disabled, disabled = _c === void 0 ? false : _c;
|
|
1810
1810
|
var disabledArrow = useMemo(function () {
|
|
1811
1811
|
if (disabled)
|
|
@@ -1821,7 +1821,7 @@ var Component$2$ = function (_a) {
|
|
|
1821
1821
|
})),
|
|
1822
1822
|
React.createElement("span", { className: styles$2S['magneto-ui--date-dropdown__icon'] }, disabledArrow)));
|
|
1823
1823
|
};
|
|
1824
|
-
var DateDropdown = Component$
|
|
1824
|
+
var DateDropdown = Component$30;
|
|
1825
1825
|
|
|
1826
1826
|
var DateArray = /** @class */ (function () {
|
|
1827
1827
|
function DateArray(array) {
|
|
@@ -1884,7 +1884,7 @@ var stringArraytoDate = function (array) {
|
|
|
1884
1884
|
var d1 = array[0], d2 = array[1], m1 = array[2], m2 = array[3], year = array.slice(4);
|
|
1885
1885
|
return new Date(Number(year.join('')), Number("".concat(m1).concat(m2)) - 1, Number("".concat(d1).concat(d2)));
|
|
1886
1886
|
};
|
|
1887
|
-
var Component$
|
|
1887
|
+
var Component$2$ = function (_a) {
|
|
1888
1888
|
var _b = _a.className, className = _b === void 0 ? '' : _b, value = _a.value, _c = _a.onChange, onChange = _c === void 0 ? function () { return null; } : _c, _d = _a.fit, fit = _d === void 0 ? false : _d, _e = _a.hasError, hasError = _e === void 0 ? false : _e;
|
|
1889
1889
|
// Represent the value of every input field (there are 8 in total).
|
|
1890
1890
|
var _f = useState(Array(8).fill('')), internalValues = _f[0], setInternalValues = _f[1];
|
|
@@ -2006,11 +2006,11 @@ var Component$2_ = function (_a) {
|
|
|
2006
2006
|
(_a = inputsRef.current[inputsRef.current.length - 1]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
2007
2007
|
} })));
|
|
2008
2008
|
};
|
|
2009
|
-
var DateInput = Component$
|
|
2009
|
+
var DateInput = Component$2$;
|
|
2010
2010
|
|
|
2011
2011
|
var style$15 = {"divider":"mg_divider_divider_1vn87"};
|
|
2012
2012
|
|
|
2013
|
-
var Component$
|
|
2013
|
+
var Component$2_ = function (_a) {
|
|
2014
2014
|
var _b = _a.direction, direction = _b === void 0 ? 'HORIZONTAL' : _b, _c = _a.spacing, spacing = _c === void 0 ? 0 : _c;
|
|
2015
2015
|
var inlineStyle = direction == 'HORIZONTAL'
|
|
2016
2016
|
? { width: 'calc(100% - 10px)', height: 1, margin: "".concat(spacing, "px 0px") }
|
|
@@ -2020,19 +2020,19 @@ var Component$2Z = function (_a) {
|
|
|
2020
2020
|
/**
|
|
2021
2021
|
* Atom UI Divider Component
|
|
2022
2022
|
*/
|
|
2023
|
-
var Divider = Component$
|
|
2023
|
+
var Divider = Component$2_;
|
|
2024
2024
|
|
|
2025
2025
|
var styles$2Q = {"dots-loader":"mg_dots_loader_dots-loader_zwly0","dots-loader__dot":"mg_dots_loader_dots-loader_dot_zwly0","bounce":"mg_dots_loader_bounce_zwly0"};
|
|
2026
2026
|
|
|
2027
|
-
var Component$
|
|
2027
|
+
var Component$2Z = function (_a) {
|
|
2028
2028
|
var _b = _a.count, count = _b === void 0 ? 3 : _b, _c = _a.color, color = _c === void 0 ? '#000' : _c;
|
|
2029
2029
|
return (React.createElement("div", { className: styles$2Q['dots-loader'] }, Array.from({ length: count }).map(function (_, index) { return (React.createElement("span", { key: index, className: styles$2Q['dots-loader__dot'], style: { animationDelay: "".concat(index * 0.2, "s"), backgroundColor: color } })); })));
|
|
2030
2030
|
};
|
|
2031
|
-
var DotsLoader = Component$
|
|
2031
|
+
var DotsLoader = Component$2Z;
|
|
2032
2032
|
|
|
2033
2033
|
var styles$2P = {"magneto-ui-flat-loader":"mg_flat_loader_magneto-ui-flat-loader_q96bq","rotation":"mg_flat_loader_rotation_q96bq"};
|
|
2034
2034
|
|
|
2035
|
-
var Component$
|
|
2035
|
+
var Component$2Y = function (_a) {
|
|
2036
2036
|
var color = _a.color, size = _a.size, secondColor = _a.secondColor;
|
|
2037
2037
|
var loadingSize = useMemo(function () {
|
|
2038
2038
|
if (size) {
|
|
@@ -2048,11 +2048,11 @@ var Component$2X = function (_a) {
|
|
|
2048
2048
|
}, [size]);
|
|
2049
2049
|
return (React.createElement("div", { style: __assign(__assign({}, loadingSize), { border: "2px solid ".concat(color || '#090467'), borderBottomColor: secondColor || 'white' }), className: styles$2P["".concat(classMUI, "-flat-loader")] }));
|
|
2050
2050
|
};
|
|
2051
|
-
var FlatLoader = Component$
|
|
2051
|
+
var FlatLoader = Component$2Y;
|
|
2052
2052
|
|
|
2053
2053
|
var styles$2O = {"headerTabComponent":"mg_header_tab_headerTabComponent_1mp3q","headerTabComponent__count":"mg_header_tab_headerTabComponent_count_1mp3q","headerTabComponent__text":"mg_header_tab_headerTabComponent_text_1mp3q"};
|
|
2054
2054
|
|
|
2055
|
-
var Component$
|
|
2055
|
+
var Component$2X = function (_a) {
|
|
2056
2056
|
var tabType = _a.tabType, tabText = _a.tabText, url = _a.url, isActive = _a.isActive, _b = _a.count, count = _b === void 0 ? 0 : _b;
|
|
2057
2057
|
var TabLink = tabType === 'tabOption' ? url : '';
|
|
2058
2058
|
return (React.createElement(React.Fragment, null, tabType === 'tabTitle' ? (React.createElement("div", { className: styles$2O.headerTabComponent, "data-tab-type": "tabTitle" },
|
|
@@ -2064,7 +2064,7 @@ var Component$2W = function (_a) {
|
|
|
2064
2064
|
/**
|
|
2065
2065
|
* UI Atom component for HeaderTab
|
|
2066
2066
|
*/
|
|
2067
|
-
var HeaderTab = Component$
|
|
2067
|
+
var HeaderTab = Component$2X;
|
|
2068
2068
|
|
|
2069
2069
|
var styles$2N = {"magneto-ui-play-button":"mg_image_magneto-ui-play-button_7q9yc"};
|
|
2070
2070
|
|
|
@@ -2077,32 +2077,32 @@ var Image = function (_a) {
|
|
|
2077
2077
|
|
|
2078
2078
|
var style$14 = {"magneto-ui-input-file-button":"mg_input_file_button_magneto-ui-input-file-button_18zx0"};
|
|
2079
2079
|
|
|
2080
|
-
var cx$
|
|
2081
|
-
var Component$
|
|
2080
|
+
var cx$1h = classNames.bind(style$14);
|
|
2081
|
+
var Component$2W = function (_a) {
|
|
2082
2082
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
|
2083
|
-
return (React.createElement("button", __assign({ className: cx$
|
|
2083
|
+
return (React.createElement("button", __assign({ className: cx$1h('magneto-ui-input-file-button', className) }, props), children));
|
|
2084
2084
|
};
|
|
2085
2085
|
/**
|
|
2086
2086
|
* Atom UI child component of Input File
|
|
2087
2087
|
*/
|
|
2088
|
-
var InputFileButton = Component$
|
|
2088
|
+
var InputFileButton = Component$2W;
|
|
2089
2089
|
|
|
2090
2090
|
var style$13 = {"magneto-ui-input-file-container":"mg_input_file_container_magneto-ui-input-file-container_1b7ef"};
|
|
2091
2091
|
|
|
2092
|
-
var cx$
|
|
2093
|
-
var Component$
|
|
2092
|
+
var cx$1g = classNames.bind(style$13);
|
|
2093
|
+
var Component$2V = function (_a) {
|
|
2094
2094
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
|
2095
|
-
return (React.createElement("div", __assign({ className: cx$
|
|
2095
|
+
return (React.createElement("div", __assign({ className: cx$1g('magneto-ui-input-file-container', className) }, props), children));
|
|
2096
2096
|
};
|
|
2097
2097
|
/**
|
|
2098
2098
|
* Atom UI component of Input File
|
|
2099
2099
|
*/
|
|
2100
|
-
var InputFileContainer = Component$
|
|
2100
|
+
var InputFileContainer = Component$2V;
|
|
2101
2101
|
|
|
2102
2102
|
var style$12 = {"magneto-ui-input-file":"mg_input_file_magneto-ui-input-file_18kpr"};
|
|
2103
2103
|
|
|
2104
|
-
var cx$
|
|
2105
|
-
var Component$
|
|
2104
|
+
var cx$1f = classNames.bind(style$12);
|
|
2105
|
+
var Component$2U = function (_a) {
|
|
2106
2106
|
var children = _a.children, className = _a.className, onChange = _a.onChange, props = __rest(_a, ["children", "className", "onChange"]);
|
|
2107
2107
|
var inputFileRef = useRef(null);
|
|
2108
2108
|
var handleFileClick = function () {
|
|
@@ -2125,14 +2125,14 @@ var Component$2T = function (_a) {
|
|
|
2125
2125
|
var handleDragOver = function (event) {
|
|
2126
2126
|
event.preventDefault();
|
|
2127
2127
|
};
|
|
2128
|
-
return (React.createElement("div", { className: cx$
|
|
2128
|
+
return (React.createElement("div", { className: cx$1f(className), onClick: handleFileClick, onDrop: handleFileDrop, onDragOver: handleDragOver },
|
|
2129
2129
|
children,
|
|
2130
|
-
React.createElement("input", __assign({ className: cx$
|
|
2130
|
+
React.createElement("input", __assign({ className: cx$1f('magneto-ui-input-file'), onChange: handleFileChange, ref: inputFileRef, type: "file" }, props))));
|
|
2131
2131
|
};
|
|
2132
2132
|
/**
|
|
2133
2133
|
* Atom UI component of Input File
|
|
2134
2134
|
*/
|
|
2135
|
-
var InputFile = Object.assign(Component$
|
|
2135
|
+
var InputFile = Object.assign(Component$2U, {
|
|
2136
2136
|
Button: InputFileButton,
|
|
2137
2137
|
Container: InputFileContainer
|
|
2138
2138
|
});
|
|
@@ -2156,7 +2156,7 @@ var InputSearch = function (_a) {
|
|
|
2156
2156
|
|
|
2157
2157
|
var styles$2M = {"magneto-ui-job-company-logo":"mg_job_company_logo_magneto-ui-job-company-logo_roy42"};
|
|
2158
2158
|
|
|
2159
|
-
var Component$
|
|
2159
|
+
var Component$2T = function (_a) {
|
|
2160
2160
|
var offerCompanyLogo = _a.offerCompanyLogo, alt = _a.alt;
|
|
2161
2161
|
if (typeof offerCompanyLogo === 'string' || !offerCompanyLogo) {
|
|
2162
2162
|
return (React.createElement("div", { className: styles$2M['magneto-ui-job-company-logo'] },
|
|
@@ -2167,29 +2167,29 @@ var Component$2S = function (_a) {
|
|
|
2167
2167
|
/**
|
|
2168
2168
|
* UI Atom component of Company Logo
|
|
2169
2169
|
*/
|
|
2170
|
-
var JobCompanyLogo = Component$
|
|
2170
|
+
var JobCompanyLogo = Component$2T;
|
|
2171
2171
|
|
|
2172
2172
|
var styles$2L = {"magneto-ui-job-header":"mg_job_header_magneto-ui-job-header_vn7ok","magneto-ui-job-header__title":"mg_job_header_magneto-ui-job-header_title_vn7ok","magneto-ui-job-header__subtitle":"mg_job_header_magneto-ui-job-header_subtitle_vn7ok","magneto-ui-job-header__link":"mg_job_header_magneto-ui-job-header_link_vn7ok"};
|
|
2173
2173
|
|
|
2174
|
-
var Component$
|
|
2174
|
+
var Component$2S = function (_a) {
|
|
2175
2175
|
var title = _a.title, styles = _a.styles;
|
|
2176
2176
|
return React.createElement("h1", { className: styles }, title && title);
|
|
2177
2177
|
};
|
|
2178
2178
|
/**
|
|
2179
2179
|
* UI Children H1 Component for JobDetailsDrawer
|
|
2180
2180
|
*/
|
|
2181
|
-
var MainTitleJobDetails = Component$
|
|
2181
|
+
var MainTitleJobDetails = Component$2S;
|
|
2182
2182
|
|
|
2183
|
-
var Component$
|
|
2183
|
+
var Component$2R = function (_a) {
|
|
2184
2184
|
var title = _a.title, styles = _a.styles;
|
|
2185
2185
|
return React.createElement("p", { className: styles }, title && title);
|
|
2186
2186
|
};
|
|
2187
2187
|
/**
|
|
2188
2188
|
* UI Children P Component for JobDetailsDrawer
|
|
2189
2189
|
*/
|
|
2190
|
-
var SubTitleJobDetails = Component$
|
|
2190
|
+
var SubTitleJobDetails = Component$2R;
|
|
2191
2191
|
|
|
2192
|
-
var Component$
|
|
2192
|
+
var Component$2Q = function (_a) {
|
|
2193
2193
|
var offerTitle = _a.offerTitle, offerCompanyName = _a.offerCompanyName, offerCompanyLink = _a.offerCompanyLink, isHidden = _a.isHidden, typeTitle = _a.typeTitle;
|
|
2194
2194
|
var showCompanyName = useMemo(function () {
|
|
2195
2195
|
if (isHidden || !offerCompanyName)
|
|
@@ -2211,7 +2211,7 @@ var Component$2P = function (_a) {
|
|
|
2211
2211
|
/**
|
|
2212
2212
|
* UI Atom component of Job Header
|
|
2213
2213
|
*/
|
|
2214
|
-
var JobHeader = Component$
|
|
2214
|
+
var JobHeader = Component$2Q;
|
|
2215
2215
|
|
|
2216
2216
|
var styles$2K = {"linkComponent":"mg_link_linkComponent_1sftl"};
|
|
2217
2217
|
|
|
@@ -2229,7 +2229,7 @@ var toCSSVariables = function (input) {
|
|
|
2229
2229
|
return output;
|
|
2230
2230
|
};
|
|
2231
2231
|
|
|
2232
|
-
var Component$
|
|
2232
|
+
var Component$2P = function (_a) {
|
|
2233
2233
|
var type = _a.type, href = _a.href, text = _a.text, title = _a.title, iconProps = _a.iconProps, linkStyles = _a.linkStyles, isMobile = _a.isMobile, rel = _a.rel, target = _a.target;
|
|
2234
2234
|
var stylesValue = useMemo(function () { return toCSSVariables(linkStyles); }, [linkStyles]);
|
|
2235
2235
|
return (React.createElement("a", { className: styles$2K.linkComponent, style: stylesValue, href: href, title: title ? title : text, "data-link-type": type, "data-is-mobile": isMobile, rel: rel, target: target },
|
|
@@ -2239,11 +2239,11 @@ var Component$2O = function (_a) {
|
|
|
2239
2239
|
/**
|
|
2240
2240
|
* Atomic UI component for Link
|
|
2241
2241
|
*/
|
|
2242
|
-
var Link = Component$
|
|
2242
|
+
var Link = Component$2P;
|
|
2243
2243
|
|
|
2244
2244
|
var styles$2J = {"loadingComponent":"mg_loading_loadingComponent_qi83n","animate":"mg_loading_animate_qi83n"};
|
|
2245
2245
|
|
|
2246
|
-
var Component$
|
|
2246
|
+
var Component$2O = function (_a) {
|
|
2247
2247
|
var loadingIcon = _a.loadingIcon;
|
|
2248
2248
|
return (React.createElement("div", { className: styles$2J.loadingComponent },
|
|
2249
2249
|
React.createElement(IconItem, __assign({}, loadingIcon))));
|
|
@@ -2251,11 +2251,11 @@ var Component$2N = function (_a) {
|
|
|
2251
2251
|
/**
|
|
2252
2252
|
* Atom UI component of loading icon for general purpose
|
|
2253
2253
|
*/
|
|
2254
|
-
var Loading = Component$
|
|
2254
|
+
var Loading = Component$2O;
|
|
2255
2255
|
|
|
2256
2256
|
var style$10 = {"magneto-ui-logo":"mg_logo_magneto-ui-logo_e7jog","magneto-ui-isologo":"mg_logo_magneto-ui-isologo_e7jog"};
|
|
2257
2257
|
|
|
2258
|
-
var Component$
|
|
2258
|
+
var Component$2N = function (_a) {
|
|
2259
2259
|
var fallbackImage = _a.fallbackImage, _b = _a.showDefaultFallback, showDefaultFallback = _b === void 0 ? true : _b, _c = _a.isoView, isoView = _c === void 0 ? false : _c, logo = _a.logo, isoType = _a.isoType, alt = _a.alt;
|
|
2260
2260
|
var _d = useState(false), imageError = _d[0], setImageError = _d[1];
|
|
2261
2261
|
var handleError = function () {
|
|
@@ -2267,11 +2267,11 @@ var Component$2M = function (_a) {
|
|
|
2267
2267
|
return null;
|
|
2268
2268
|
return (React.createElement("img", { className: style$10[logoWidth], src: logoSrc, alt: alt, width: isoView ? '25px' : '110px', height: "auto", loading: "lazy", onError: handleError }));
|
|
2269
2269
|
};
|
|
2270
|
-
var LogoComponent = Component$
|
|
2270
|
+
var LogoComponent = Component$2N;
|
|
2271
2271
|
|
|
2272
2272
|
var styles$2I = {"MainButtonComponent":"mg_main_button_MainButtonComponent_lh5z0","disabled":"mg_main_button_disabled_lh5z0"};
|
|
2273
2273
|
|
|
2274
|
-
var Component$
|
|
2274
|
+
var Component$2M = function (_a) {
|
|
2275
2275
|
var buttonType = _a.buttonType, buttonSize = _a.buttonSize, buttonText = _a.buttonText, buttonStyles = _a.buttonStyles, loadingState = _a.loadingState, iconProps = _a.iconProps, isMobile = _a.isMobile, className = _a.className, _b = _a.title, title = _b === void 0 ? '' : _b, disabled = _a.disabled, onClick = _a.onClick;
|
|
2276
2276
|
var stylesValue = useMemo(function () { return toCSSVariables(buttonStyles); }, [buttonStyles]);
|
|
2277
2277
|
var renderContent = function () {
|
|
@@ -2289,13 +2289,13 @@ var Component$2L = function (_a) {
|
|
|
2289
2289
|
/**
|
|
2290
2290
|
* Atom UI component of button for general purpose
|
|
2291
2291
|
*/
|
|
2292
|
-
var MainButton = Component$
|
|
2292
|
+
var MainButton = Component$2M;
|
|
2293
2293
|
|
|
2294
2294
|
var styles$2H = {"magneto-ui-mega-menu-tab":"mg_mega_menu_tab_magneto-ui-mega-menu-tab_f61nm","magneto-ui-mega-menu-tab__icon":"mg_mega_menu_tab_magneto-ui-mega-menu-tab_icon_f61nm","magneto-ui-mega-menu-tab__selected":"mg_mega_menu_tab_magneto-ui-mega-menu-tab_selected_f61nm","magneto-ui-mega-menu-tab__label":"mg_mega_menu_tab_magneto-ui-mega-menu-tab_label_f61nm","magneto-ui-mega-menu-tab__label-selected":"mg_mega_menu_tab_magneto-ui-mega-menu-tab_label-selected_f61nm"};
|
|
2295
2295
|
|
|
2296
2296
|
var styles$2G = {"magneto-ui--search-item":"mg_search_item_magneto-ui--search-item_15w47","magneto-ui--search-item__text":"mg_search_item_magneto-ui--search-item_text_15w47"};
|
|
2297
2297
|
|
|
2298
|
-
var Component$
|
|
2298
|
+
var Component$2L = function (_a) {
|
|
2299
2299
|
var tag = _a.tag, url = _a.url, className = _a.className, _b = _a.icon, icon = _b === void 0 ? ArrowRight2 : _b;
|
|
2300
2300
|
return (React.createElement("a", { title: tag, className: "".concat(className ? className : styles$2G['magneto-ui--search-item']), href: url },
|
|
2301
2301
|
React.createElement("p", { className: styles$2G['magneto-ui--search-item__text'] }, tag),
|
|
@@ -2304,7 +2304,7 @@ var Component$2K = function (_a) {
|
|
|
2304
2304
|
/**
|
|
2305
2305
|
* UI Atom component of Search Item
|
|
2306
2306
|
*/
|
|
2307
|
-
var SearchItem = Component$
|
|
2307
|
+
var SearchItem = Component$2L;
|
|
2308
2308
|
|
|
2309
2309
|
var MegaMenuTab = function (_a) {
|
|
2310
2310
|
var label = _a.label, selected = _a.selected, url = _a.url, _b = _a.showArrow, showArrow = _b === void 0 ? true : _b;
|
|
@@ -2319,7 +2319,7 @@ var MegaMenuTab = function (_a) {
|
|
|
2319
2319
|
|
|
2320
2320
|
var styles$2F = {"magneto-ui-menu-dropdown-list":"mg_menu_dropdown_list_magneto-ui-menu-dropdown-list_18usg","magneto-ui-menu-dropdown-list--visible":"mg_menu_dropdown_list_magneto-ui-menu-dropdown-list--visible_18usg","magneto-ui-menu-dropdown-list__container":"mg_menu_dropdown_list_magneto-ui-menu-dropdown-list_container_18usg","magneto-ui-menu-dropdown-list__container--visible":"mg_menu_dropdown_list_magneto-ui-menu-dropdown-list_container--visible_18usg","magneto-ui-menu-dropdown-list__children":"mg_menu_dropdown_list_magneto-ui-menu-dropdown-list_children_18usg","magneto-ui-menu-dropdown-list__children--visible":"mg_menu_dropdown_list_magneto-ui-menu-dropdown-list_children--visible_18usg"};
|
|
2321
2321
|
|
|
2322
|
-
var Component$
|
|
2322
|
+
var Component$2K = function (_a) {
|
|
2323
2323
|
var children = _a.children, listClassName = _a.listClassName, opened = _a.opened;
|
|
2324
2324
|
return (React.createElement("div", { className: CNM.get({ styles: styles$2F, cls: ['menu-dropdown-list', opened && 'menu-dropdown-list--visible'] }) },
|
|
2325
2325
|
React.createElement("div", { className: CNM.get({
|
|
@@ -2334,11 +2334,11 @@ var Component$2J = function (_a) {
|
|
|
2334
2334
|
/**
|
|
2335
2335
|
* Atom UI child component of menu dropdown
|
|
2336
2336
|
*/
|
|
2337
|
-
var MenuDropdownList = Component$
|
|
2337
|
+
var MenuDropdownList = Component$2K;
|
|
2338
2338
|
|
|
2339
2339
|
var styles$2E = {"magneto-ui-menu-dropdown__content":"mg_menu_dropdown_magneto-ui-menu-dropdown_content_v03jf","magneto-ui-menu-dropdown__container":"mg_menu_dropdown_magneto-ui-menu-dropdown_container_v03jf","magneto-ui-menu-dropdown__title":"mg_menu_dropdown_magneto-ui-menu-dropdown_title_v03jf","magneto-ui-menu-dropdown__suffix":"mg_menu_dropdown_magneto-ui-menu-dropdown_suffix_v03jf","magneto-ui-menu-dropdown__suffix--visible":"mg_menu_dropdown_magneto-ui-menu-dropdown_suffix--visible_v03jf"};
|
|
2340
2340
|
|
|
2341
|
-
var Component$
|
|
2341
|
+
var Component$2J = function (_a) {
|
|
2342
2342
|
var children = _a.children, _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.listClassName, listClassName = _c === void 0 ? '' : _c, onClick = _a.onClick, opened = _a.opened, prefixIcon = _a.prefixIcon, _d = _a.suffixIcon, suffixIcon = _d === void 0 ? { icon: ArrowDownWhite } : _d, title = _a.title;
|
|
2343
2343
|
var _e = useState(opened), localOpened = _e[0], setLocalOpened = _e[1];
|
|
2344
2344
|
var toggleOptions = useCallback(function () {
|
|
@@ -2369,7 +2369,7 @@ var Component$2I = function (_a) {
|
|
|
2369
2369
|
/**
|
|
2370
2370
|
* Atom UI component of menu dropdown
|
|
2371
2371
|
*/
|
|
2372
|
-
var MenuDropdown = Component$
|
|
2372
|
+
var MenuDropdown = Component$2J;
|
|
2373
2373
|
|
|
2374
2374
|
var style$$ = {"magneto-ui-menu-item":"mg_menu_items_magneto-ui-menu-item_1dxy3","is-active":"mg_menu_items_is-active_1dxy3"};
|
|
2375
2375
|
|
|
@@ -2461,15 +2461,15 @@ var MultiRangeSlider = function (_a) {
|
|
|
2461
2461
|
|
|
2462
2462
|
var styles$2C = {"content":"mg_paragraph_content_1mtnz"};
|
|
2463
2463
|
|
|
2464
|
-
var Component$
|
|
2464
|
+
var Component$2I = function (_a) {
|
|
2465
2465
|
var paragraph = _a.paragraph;
|
|
2466
2466
|
return React.createElement("p", { className: styles$2C.content }, paragraph);
|
|
2467
2467
|
};
|
|
2468
|
-
var Paragraph = memo(Component$
|
|
2468
|
+
var Paragraph = memo(Component$2I);
|
|
2469
2469
|
|
|
2470
2470
|
var style$_ = {"magneto-ui-popover-container":"mg_popover_magneto-ui-popover-container_h7qn6","magneto-ui-popover":"mg_popover_magneto-ui-popover_h7qn6","magneto-ui-popover-children":"mg_popover_magneto-ui-popover-children_h7qn6","left":"mg_popover_left_h7qn6","right":"mg_popover_right_h7qn6","center":"mg_popover_center_h7qn6","top":"mg_popover_top_h7qn6","bottom":"mg_popover_bottom_h7qn6","show":"mg_popover_show_h7qn6","static-content":"mg_popover_static-content_h7qn6","hidden":"mg_popover_hidden_h7qn6"};
|
|
2471
2471
|
|
|
2472
|
-
var Component$
|
|
2472
|
+
var Component$2H = function (_a) {
|
|
2473
2473
|
var children = _a.children, content = _a.content, positionX = _a.positionX, positionY = _a.positionY, show = _a.show, widthBase = _a.widthBase, staticContent = _a.staticContent, _b = _a.className, className = _b === void 0 ? '' : _b;
|
|
2474
2474
|
var showMenu = show ? 'show' : 'hidden';
|
|
2475
2475
|
var staticContentClass = staticContent ? style$_['static-content'] : '';
|
|
@@ -2492,7 +2492,7 @@ var Component$2G = function (_a) {
|
|
|
2492
2492
|
* Atom Ui component of popover
|
|
2493
2493
|
*
|
|
2494
2494
|
*/
|
|
2495
|
-
var Popover = Component$
|
|
2495
|
+
var Popover = Component$2H;
|
|
2496
2496
|
|
|
2497
2497
|
var ERadioType;
|
|
2498
2498
|
(function (ERadioType) {
|
|
@@ -2502,7 +2502,7 @@ var ERadioType;
|
|
|
2502
2502
|
|
|
2503
2503
|
var styles$2B = {"magneto-ui-radio-button":"mg_radio_button_magneto-ui-radio-button_1ekre","magneto-ui-radio-button--checked":"mg_radio_button_magneto-ui-radio-button--checked_1ekre","magneto-ui-radio-button--disabled":"mg_radio_button_magneto-ui-radio-button--disabled_1ekre","magneto-ui-radio-button__children":"mg_radio_button_magneto-ui-radio-button_children_1ekre"};
|
|
2504
2504
|
|
|
2505
|
-
var Component$
|
|
2505
|
+
var Component$2G = function (_a) {
|
|
2506
2506
|
var checked = _a.checked, children = _a.children, childrenClassName = _a.childrenClassName, className = _a.className, defaultChecked = _a.defaultChecked, disabled = _a.disabled, id = _a.id, onChange = _a.onChange, prefixIcon = _a.prefixIcon, suffixIcon = _a.suffixIcon;
|
|
2507
2507
|
return (React.createElement("label", { className: CNM.get({
|
|
2508
2508
|
styles: styles$2B,
|
|
@@ -2521,11 +2521,11 @@ var Component$2F = function (_a) {
|
|
|
2521
2521
|
/**
|
|
2522
2522
|
* Atom UI component of radio button
|
|
2523
2523
|
*/
|
|
2524
|
-
var RadioButton = Component$
|
|
2524
|
+
var RadioButton = Component$2G;
|
|
2525
2525
|
|
|
2526
2526
|
var styles$2A = {"magneto-ui-radio-default":"mg_radio_default_magneto-ui-radio-default_1csy4","magneto-ui-radio-default--disabled":"mg_radio_default_magneto-ui-radio-default--disabled_1csy4","magneto-ui-radio-default__indicator":"mg_radio_default_magneto-ui-radio-default_indicator_1csy4","magneto-ui-radio-default__indicator--checked":"mg_radio_default_magneto-ui-radio-default_indicator--checked_1csy4","magneto-ui-radio-default__label":"mg_radio_default_magneto-ui-radio-default_label_1csy4"};
|
|
2527
2527
|
|
|
2528
|
-
var Component$
|
|
2528
|
+
var Component$2F = function (_a) {
|
|
2529
2529
|
var checked = _a.checked, children = _a.children, childrenClassName = _a.childrenClassName, className = _a.className, defaultChecked = _a.defaultChecked, disabled = _a.disabled, id = _a.id, indicatorClassName = _a.indicatorClassName, onChange = _a.onChange;
|
|
2530
2530
|
return (React.createElement("label", { className: CNM.get({ styles: styles$2A, cls: ['radio-default', disabled && 'radio-default--disabled', className] }), htmlFor: id },
|
|
2531
2531
|
React.createElement("input", { type: "radio", id: id, disabled: disabled, checked: checked || defaultChecked, onChange: onChange }),
|
|
@@ -2542,7 +2542,7 @@ var Component$2E = function (_a) {
|
|
|
2542
2542
|
/**
|
|
2543
2543
|
* Molecule UI component for radio default
|
|
2544
2544
|
*/
|
|
2545
|
-
var RadioDefault = Component$
|
|
2545
|
+
var RadioDefault = Component$2F;
|
|
2546
2546
|
|
|
2547
2547
|
var _a$4;
|
|
2548
2548
|
var radioTypes = (_a$4 = {},
|
|
@@ -2551,7 +2551,7 @@ var radioTypes = (_a$4 = {},
|
|
|
2551
2551
|
_a$4);
|
|
2552
2552
|
var getRadioComponent = function (type) { return radioTypes[type]; };
|
|
2553
2553
|
|
|
2554
|
-
var Component$
|
|
2554
|
+
var Component$2E = function (_a) {
|
|
2555
2555
|
var type = _a.type, props = __rest(_a, ["type"]);
|
|
2556
2556
|
var RadioType = useMemo(function () { return getRadioComponent(ERadioType[type !== null && type !== void 0 ? type : 'radio']); }, [type]);
|
|
2557
2557
|
if (!RadioType)
|
|
@@ -2561,26 +2561,26 @@ var Component$2D = function (_a) {
|
|
|
2561
2561
|
/**
|
|
2562
2562
|
* Atom UI component of radio
|
|
2563
2563
|
*/
|
|
2564
|
-
var Radio = Component$
|
|
2564
|
+
var Radio = Component$2E;
|
|
2565
2565
|
|
|
2566
2566
|
var styles$2z = {"magneto-ui-rating-badge__container":"mg_rating_badge_magneto-ui-rating-badge_container_1b19u","magneto-ui-rating-badge__icon":"mg_rating_badge_magneto-ui-rating-badge_icon_1b19u","magneto-ui-rating-badge__score":"mg_rating_badge_magneto-ui-rating-badge_score_1b19u"};
|
|
2567
2567
|
|
|
2568
|
-
var cx$
|
|
2569
|
-
var Component$
|
|
2568
|
+
var cx$1e = classNames.bind(styles$2z);
|
|
2569
|
+
var Component$2D = function (_a) {
|
|
2570
2570
|
var score = _a.score;
|
|
2571
|
-
return (React.createElement("div", { className: cx$
|
|
2572
|
-
React.createElement("div", { className: cx$
|
|
2573
|
-
React.createElement("img", { src: StarBoldYellow, alt: StarBoldYellow, className: cx$
|
|
2574
|
-
React.createElement("span", { className: cx$
|
|
2571
|
+
return (React.createElement("div", { className: cx$1e('magneto-ui-rating-badge') },
|
|
2572
|
+
React.createElement("div", { className: cx$1e('magneto-ui-rating-badge__container') },
|
|
2573
|
+
React.createElement("img", { src: StarBoldYellow, alt: StarBoldYellow, className: cx$1e('magneto-ui-rating-badge__icon') }),
|
|
2574
|
+
React.createElement("span", { className: cx$1e('magneto-ui-rating-badge__score') }, score))));
|
|
2575
2575
|
};
|
|
2576
2576
|
/**
|
|
2577
2577
|
* Atom UI component of Rating Badge
|
|
2578
2578
|
*/
|
|
2579
|
-
var RatingBadge = Component$
|
|
2579
|
+
var RatingBadge = Component$2D;
|
|
2580
2580
|
|
|
2581
2581
|
var styles$2y = {"magneto-ui-save-button":"mg_save_button_magneto-ui-save-button_1d7nc","magneto-ui-save-button__mobile-text":"mg_save_button_magneto-ui-save-button_mobile-text_1d7nc","button-content":"mg_save_button_button-content_1d7nc","hover-effect":"mg_save_button_hover-effect_1d7nc"};
|
|
2582
2582
|
|
|
2583
|
-
var Component$
|
|
2583
|
+
var Component$2C = function (_a) {
|
|
2584
2584
|
var isAuthenticated = _a.isAuthenticated, isSaved = _a.isSaved, buttonText = _a.buttonText, buttonTitle = _a.buttonTitle, addHover = _a.addHover, onClick = _a.onClick;
|
|
2585
2585
|
return isAuthenticated ? (React.createElement("button", { className: "".concat(styles$2y['magneto-ui-save-button'], " ").concat(addHover && styles$2y['hover-effect']), type: "button", onClick: onClick, "aria-label": buttonTitle },
|
|
2586
2586
|
React.createElement("div", { className: styles$2y['button-content'] },
|
|
@@ -2590,11 +2590,11 @@ var Component$2B = function (_a) {
|
|
|
2590
2590
|
/**
|
|
2591
2591
|
* UI Atom Component of Save Button
|
|
2592
2592
|
*/
|
|
2593
|
-
var SaveButton = Component$
|
|
2593
|
+
var SaveButton = Component$2C;
|
|
2594
2594
|
|
|
2595
2595
|
var styles$2x = {"magneto-ui-share-button":"mg_share_button_magneto-ui-share-button_15yvi","magneto-ui-share-button__mobile-text":"mg_share_button_magneto-ui-share-button_mobile-text_15yvi","button-content":"mg_share_button_button-content_15yvi","hover-effect":"mg_share_button_hover-effect_15yvi"};
|
|
2596
2596
|
|
|
2597
|
-
var Component$
|
|
2597
|
+
var Component$2B = function (_a) {
|
|
2598
2598
|
var _b = _a.className, className = _b === void 0 ? '' : _b, buttonTitle = _a.buttonTitle, buttonText = _a.buttonText, detailUrl = _a.detailUrl, addHover = _a.addHover, onCopySuccess = _a.onCopySuccess;
|
|
2599
2599
|
var handleCopyClick = function () {
|
|
2600
2600
|
if (detailUrl) {
|
|
@@ -2606,11 +2606,11 @@ var Component$2A = function (_a) {
|
|
|
2606
2606
|
React.createElement(IconItem, { size: 20, icon: Link1, hover: addHover }),
|
|
2607
2607
|
buttonText && React.createElement("p", { className: styles$2x['magneto-ui-share-button__mobile-text'] }, buttonText))));
|
|
2608
2608
|
};
|
|
2609
|
-
var ShareButton = Component$
|
|
2609
|
+
var ShareButton = Component$2B;
|
|
2610
2610
|
|
|
2611
2611
|
var styles$2w = {"magneto-ui-skill":"mg_skill_magneto-ui-skill_1nwsu","magneto-ui-skill__wrapper":"mg_skill_magneto-ui-skill_wrapper_1nwsu","magneto-ui-skill__bar":"mg_skill_magneto-ui-skill_bar_1nwsu","one":"mg_skill_one_1nwsu","two":"mg_skill_two_1nwsu","three":"mg_skill_three_1nwsu","four":"mg_skill_four_1nwsu"};
|
|
2612
2612
|
|
|
2613
|
-
var Component$
|
|
2613
|
+
var Component$2A = function (_a) {
|
|
2614
2614
|
var name = _a.name, score = _a.score;
|
|
2615
2615
|
var _b = useState(false), animationApplied = _b[0], setAnimationApplied = _b[1];
|
|
2616
2616
|
var skillRef = useRef(null);
|
|
@@ -2652,7 +2652,7 @@ var Component$2z = function (_a) {
|
|
|
2652
2652
|
React.createElement("p", null, name),
|
|
2653
2653
|
React.createElement("div", { className: "".concat(styles$2w['magneto-ui-skill__bar'], " ").concat(fillAnimation || styles$2w['magneto-ui-skill--no-animation']) }))));
|
|
2654
2654
|
};
|
|
2655
|
-
var Skill = Component$
|
|
2655
|
+
var Skill = Component$2A;
|
|
2656
2656
|
|
|
2657
2657
|
var styles$2v = {"magneto-ui-switch_container":"mg_switch_magneto-ui-switch_container_1g2ul","magneto-ui-switch":"mg_switch_magneto-ui-switch_1g2ul","magneto-ui-slider":"mg_switch_magneto-ui-slider_1g2ul","magneto-ui-round":"mg_switch_magneto-ui-round_1g2ul"};
|
|
2658
2658
|
|
|
@@ -2701,7 +2701,7 @@ var TextCustom = function (_a) {
|
|
|
2701
2701
|
|
|
2702
2702
|
var styles$2u = {"magneto-ui-toggle-button":"mg_toggle_button_magneto-ui-toggle-button_1g06c","magneto-ui-toggle-button__img":"mg_toggle_button_magneto-ui-toggle-button_img_1g06c","toggle-button-selected":"mg_toggle_button_toggle-button-selected_1g06c","toggle-image-selected":"mg_toggle_button_toggle-image-selected_1g06c"};
|
|
2703
2703
|
|
|
2704
|
-
var Component$
|
|
2704
|
+
var Component$2z = function (_a) {
|
|
2705
2705
|
var className = _a.className, _b = _a.color, color = _b === void 0 ? '#001B38' : _b, _c = _a.onChange, onChange = _c === void 0 ? function () { return ({}); } : _c, id = _a.id, name = _a.name, currentSelect = _a.currentSelect, _d = _a.baseColor, baseColor = _d === void 0 ? 'transparent' : _d, _e = _a.customIcon, customIcon = _e === void 0 ? '' : _e;
|
|
2706
2706
|
var isColorDark = function (color) {
|
|
2707
2707
|
var hex = color.replace('#', '');
|
|
@@ -2736,11 +2736,11 @@ var Component$2y = function (_a) {
|
|
|
2736
2736
|
customIcon && (React.createElement("img", { className: "".concat(styles$2u["".concat(classMUI, "-toggle-button__img")], " ").concat(currentSelect ? styles$2u['toggle-image-selected'] : ''), src: customIcon, alt: "toogle-btn" })),
|
|
2737
2737
|
name));
|
|
2738
2738
|
};
|
|
2739
|
-
var ToggleButton = Component$
|
|
2739
|
+
var ToggleButton = Component$2z;
|
|
2740
2740
|
|
|
2741
2741
|
var styles$2t = {"w-inherit":"mg_typography_w-inherit_1a0lg","w-none":"mg_typography_w-none_1a0lg","w-auto":"mg_typography_w-auto_1a0lg","w-full":"mg_typography_w-full_1a0lg","w-min":"mg_typography_w-min_1a0lg","w-xxs":"mg_typography_w-xxs_1a0lg","w-xs":"mg_typography_w-xs_1a0lg","w-sm":"mg_typography_w-sm_1a0lg","w-sm-2":"mg_typography_w-sm-2_1a0lg","w-md":"mg_typography_w-md_1a0lg","w-md-2":"mg_typography_w-md-2_1a0lg","w-lg":"mg_typography_w-lg_1a0lg","w-xl":"mg_typography_w-xl_1a0lg","w-2xl":"mg_typography_w-2xl_1a0lg","w-3xl":"mg_typography_w-3xl_1a0lg","w-4xl":"mg_typography_w-4xl_1a0lg","w-container-xxs":"mg_typography_w-container-xxs_1a0lg","w-container-xs":"mg_typography_w-container-xs_1a0lg","w-container-sm":"mg_typography_w-container-sm_1a0lg","w-container-md":"mg_typography_w-container-md_1a0lg","w-container-lg":"mg_typography_w-container-lg_1a0lg","w-container-xl":"mg_typography_w-container-xl_1a0lg","w-container-2xl":"mg_typography_w-container-2xl_1a0lg","w-container-3xl":"mg_typography_w-container-3xl_1a0lg","min-w-inherit":"mg_typography_min-w-inherit_1a0lg","min-w-none":"mg_typography_min-w-none_1a0lg","min-w-auto":"mg_typography_min-w-auto_1a0lg","min-w-full":"mg_typography_min-w-full_1a0lg","min-w-min":"mg_typography_min-w-min_1a0lg","min-w-xxs":"mg_typography_min-w-xxs_1a0lg","min-w-xs":"mg_typography_min-w-xs_1a0lg","min-w-sm":"mg_typography_min-w-sm_1a0lg","min-w-sm-2":"mg_typography_min-w-sm-2_1a0lg","min-w-md":"mg_typography_min-w-md_1a0lg","min-w-md-2":"mg_typography_min-w-md-2_1a0lg","min-w-lg":"mg_typography_min-w-lg_1a0lg","min-w-xl":"mg_typography_min-w-xl_1a0lg","min-w-2xl":"mg_typography_min-w-2xl_1a0lg","min-w-3xl":"mg_typography_min-w-3xl_1a0lg","min-w-4xl":"mg_typography_min-w-4xl_1a0lg","min-w-container-xxs":"mg_typography_min-w-container-xxs_1a0lg","min-w-container-xs":"mg_typography_min-w-container-xs_1a0lg","min-w-container-sm":"mg_typography_min-w-container-sm_1a0lg","min-w-container-md":"mg_typography_min-w-container-md_1a0lg","min-w-container-lg":"mg_typography_min-w-container-lg_1a0lg","min-w-container-xl":"mg_typography_min-w-container-xl_1a0lg","min-w-container-2xl":"mg_typography_min-w-container-2xl_1a0lg","min-w-container-3xl":"mg_typography_min-w-container-3xl_1a0lg","h-inherit":"mg_typography_h-inherit_1a0lg","h-none":"mg_typography_h-none_1a0lg","h-auto":"mg_typography_h-auto_1a0lg","h-full":"mg_typography_h-full_1a0lg","h-min":"mg_typography_h-min_1a0lg","h-xxs":"mg_typography_h-xxs_1a0lg","h-xs":"mg_typography_h-xs_1a0lg","h-sm":"mg_typography_h-sm_1a0lg","h-sm-2":"mg_typography_h-sm-2_1a0lg","h-md":"mg_typography_h-md_1a0lg","h-md-2":"mg_typography_h-md-2_1a0lg","h-lg":"mg_typography_h-lg_1a0lg","h-xl":"mg_typography_h-xl_1a0lg","h-2xl":"mg_typography_h-2xl_1a0lg","h-3xl":"mg_typography_h-3xl_1a0lg","h-4xl":"mg_typography_h-4xl_1a0lg","h-container-xxs":"mg_typography_h-container-xxs_1a0lg","h-container-xs":"mg_typography_h-container-xs_1a0lg","h-container-sm":"mg_typography_h-container-sm_1a0lg","h-container-md":"mg_typography_h-container-md_1a0lg","h-container-lg":"mg_typography_h-container-lg_1a0lg","h-container-xl":"mg_typography_h-container-xl_1a0lg","h-container-2xl":"mg_typography_h-container-2xl_1a0lg","h-container-3xl":"mg_typography_h-container-3xl_1a0lg","min-h-inherit":"mg_typography_min-h-inherit_1a0lg","min-h-none":"mg_typography_min-h-none_1a0lg","min-h-auto":"mg_typography_min-h-auto_1a0lg","min-h-full":"mg_typography_min-h-full_1a0lg","min-h-min":"mg_typography_min-h-min_1a0lg","min-h-xxs":"mg_typography_min-h-xxs_1a0lg","min-h-xs":"mg_typography_min-h-xs_1a0lg","min-h-sm":"mg_typography_min-h-sm_1a0lg","min-h-sm-2":"mg_typography_min-h-sm-2_1a0lg","min-h-md":"mg_typography_min-h-md_1a0lg","min-h-md-2":"mg_typography_min-h-md-2_1a0lg","min-h-lg":"mg_typography_min-h-lg_1a0lg","min-h-xl":"mg_typography_min-h-xl_1a0lg","min-h-2xl":"mg_typography_min-h-2xl_1a0lg","min-h-3xl":"mg_typography_min-h-3xl_1a0lg","min-h-4xl":"mg_typography_min-h-4xl_1a0lg","min-h-container-xxs":"mg_typography_min-h-container-xxs_1a0lg","min-h-container-xs":"mg_typography_min-h-container-xs_1a0lg","min-h-container-sm":"mg_typography_min-h-container-sm_1a0lg","min-h-container-md":"mg_typography_min-h-container-md_1a0lg","min-h-container-lg":"mg_typography_min-h-container-lg_1a0lg","min-h-container-xl":"mg_typography_min-h-container-xl_1a0lg","min-h-container-2xl":"mg_typography_min-h-container-2xl_1a0lg","min-h-container-3xl":"mg_typography_min-h-container-3xl_1a0lg","sq-inherit":"mg_typography_sq-inherit_1a0lg","sq-none":"mg_typography_sq-none_1a0lg","sq-auto":"mg_typography_sq-auto_1a0lg","sq-full":"mg_typography_sq-full_1a0lg","sq-min":"mg_typography_sq-min_1a0lg","sq-xxs":"mg_typography_sq-xxs_1a0lg","sq-xs":"mg_typography_sq-xs_1a0lg","sq-sm":"mg_typography_sq-sm_1a0lg","sq-sm-2":"mg_typography_sq-sm-2_1a0lg","sq-md":"mg_typography_sq-md_1a0lg","sq-md-2":"mg_typography_sq-md-2_1a0lg","sq-lg":"mg_typography_sq-lg_1a0lg","sq-xl":"mg_typography_sq-xl_1a0lg","sq-2xl":"mg_typography_sq-2xl_1a0lg","sq-3xl":"mg_typography_sq-3xl_1a0lg","sq-4xl":"mg_typography_sq-4xl_1a0lg","min-sq-inherit":"mg_typography_min-sq-inherit_1a0lg","min-sq-none":"mg_typography_min-sq-none_1a0lg","min-sq-auto":"mg_typography_min-sq-auto_1a0lg","min-sq-full":"mg_typography_min-sq-full_1a0lg","min-sq-min":"mg_typography_min-sq-min_1a0lg","min-sq-xxs":"mg_typography_min-sq-xxs_1a0lg","min-sq-xs":"mg_typography_min-sq-xs_1a0lg","min-sq-sm":"mg_typography_min-sq-sm_1a0lg","min-sq-sm-2":"mg_typography_min-sq-sm-2_1a0lg","min-sq-md":"mg_typography_min-sq-md_1a0lg","min-sq-md-2":"mg_typography_min-sq-md-2_1a0lg","min-sq-lg":"mg_typography_min-sq-lg_1a0lg","min-sq-xl":"mg_typography_min-sq-xl_1a0lg","min-sq-2xl":"mg_typography_min-sq-2xl_1a0lg","min-sq-3xl":"mg_typography_min-sq-3xl_1a0lg","min-sq-4xl":"mg_typography_min-sq-4xl_1a0lg","stroke-transparent":"mg_typography_stroke-transparent_1a0lg","stroke-inherit":"mg_typography_stroke-inherit_1a0lg","stroke-current":"mg_typography_stroke-current_1a0lg","stroke-blue-dark-50":"mg_typography_stroke-blue-dark-50_1a0lg","stroke-blue-dark-100":"mg_typography_stroke-blue-dark-100_1a0lg","stroke-blue-dark-200":"mg_typography_stroke-blue-dark-200_1a0lg","stroke-blue-dark-300":"mg_typography_stroke-blue-dark-300_1a0lg","stroke-blue-dark-400":"mg_typography_stroke-blue-dark-400_1a0lg","stroke-blue-dark-500":"mg_typography_stroke-blue-dark-500_1a0lg","stroke-blue-light-50":"mg_typography_stroke-blue-light-50_1a0lg","stroke-blue-light-100":"mg_typography_stroke-blue-light-100_1a0lg","stroke-blue-light-200":"mg_typography_stroke-blue-light-200_1a0lg","stroke-blue-light-300":"mg_typography_stroke-blue-light-300_1a0lg","stroke-blue-light-400":"mg_typography_stroke-blue-light-400_1a0lg","stroke-blue-light-500":"mg_typography_stroke-blue-light-500_1a0lg","stroke-green-50":"mg_typography_stroke-green-50_1a0lg","stroke-green-100":"mg_typography_stroke-green-100_1a0lg","stroke-green-200":"mg_typography_stroke-green-200_1a0lg","stroke-green-300":"mg_typography_stroke-green-300_1a0lg","stroke-green-400":"mg_typography_stroke-green-400_1a0lg","stroke-green-500":"mg_typography_stroke-green-500_1a0lg","stroke-green-600":"mg_typography_stroke-green-600_1a0lg","stroke-grey-50":"mg_typography_stroke-grey-50_1a0lg","stroke-grey-100":"mg_typography_stroke-grey-100_1a0lg","stroke-grey-200":"mg_typography_stroke-grey-200_1a0lg","stroke-grey-300":"mg_typography_stroke-grey-300_1a0lg","stroke-grey-400":"mg_typography_stroke-grey-400_1a0lg","stroke-grey-500":"mg_typography_stroke-grey-500_1a0lg","stroke-grey-600":"mg_typography_stroke-grey-600_1a0lg","stroke-grey-700":"mg_typography_stroke-grey-700_1a0lg","stroke-grey-800":"mg_typography_stroke-grey-800_1a0lg","stroke-grey-900":"mg_typography_stroke-grey-900_1a0lg","stroke-red-50":"mg_typography_stroke-red-50_1a0lg","stroke-red-100":"mg_typography_stroke-red-100_1a0lg","stroke-red-200":"mg_typography_stroke-red-200_1a0lg","stroke-red-300":"mg_typography_stroke-red-300_1a0lg","stroke-yellow-50":"mg_typography_stroke-yellow-50_1a0lg","stroke-yellow-100":"mg_typography_stroke-yellow-100_1a0lg","stroke-yellow-200":"mg_typography_stroke-yellow-200_1a0lg","stroke-yellow-300":"mg_typography_stroke-yellow-300_1a0lg","fill-transparent":"mg_typography_fill-transparent_1a0lg","fill-inherit":"mg_typography_fill-inherit_1a0lg","fill-current":"mg_typography_fill-current_1a0lg","fill-blue-dark-50":"mg_typography_fill-blue-dark-50_1a0lg","fill-blue-dark-100":"mg_typography_fill-blue-dark-100_1a0lg","fill-blue-dark-200":"mg_typography_fill-blue-dark-200_1a0lg","fill-blue-dark-300":"mg_typography_fill-blue-dark-300_1a0lg","fill-blue-dark-400":"mg_typography_fill-blue-dark-400_1a0lg","fill-blue-dark-500":"mg_typography_fill-blue-dark-500_1a0lg","fill-blue-light-50":"mg_typography_fill-blue-light-50_1a0lg","fill-blue-light-100":"mg_typography_fill-blue-light-100_1a0lg","fill-blue-light-200":"mg_typography_fill-blue-light-200_1a0lg","fill-blue-light-300":"mg_typography_fill-blue-light-300_1a0lg","fill-blue-light-400":"mg_typography_fill-blue-light-400_1a0lg","fill-blue-light-500":"mg_typography_fill-blue-light-500_1a0lg","fill-green-50":"mg_typography_fill-green-50_1a0lg","fill-green-100":"mg_typography_fill-green-100_1a0lg","fill-green-200":"mg_typography_fill-green-200_1a0lg","fill-green-300":"mg_typography_fill-green-300_1a0lg","fill-green-400":"mg_typography_fill-green-400_1a0lg","fill-green-500":"mg_typography_fill-green-500_1a0lg","fill-green-600":"mg_typography_fill-green-600_1a0lg","fill-grey-50":"mg_typography_fill-grey-50_1a0lg","fill-grey-100":"mg_typography_fill-grey-100_1a0lg","fill-grey-200":"mg_typography_fill-grey-200_1a0lg","fill-grey-300":"mg_typography_fill-grey-300_1a0lg","fill-grey-400":"mg_typography_fill-grey-400_1a0lg","fill-grey-500":"mg_typography_fill-grey-500_1a0lg","fill-grey-600":"mg_typography_fill-grey-600_1a0lg","fill-grey-700":"mg_typography_fill-grey-700_1a0lg","fill-grey-800":"mg_typography_fill-grey-800_1a0lg","fill-grey-900":"mg_typography_fill-grey-900_1a0lg","fill-red-50":"mg_typography_fill-red-50_1a0lg","fill-red-100":"mg_typography_fill-red-100_1a0lg","fill-red-200":"mg_typography_fill-red-200_1a0lg","fill-red-300":"mg_typography_fill-red-300_1a0lg","fill-yellow-50":"mg_typography_fill-yellow-50_1a0lg","fill-yellow-100":"mg_typography_fill-yellow-100_1a0lg","fill-yellow-200":"mg_typography_fill-yellow-200_1a0lg","fill-yellow-300":"mg_typography_fill-yellow-300_1a0lg","bg-transparent":"mg_typography_bg-transparent_1a0lg","bg-inherit":"mg_typography_bg-inherit_1a0lg","bg-current":"mg_typography_bg-current_1a0lg","bg-blue-dark-50":"mg_typography_bg-blue-dark-50_1a0lg","bg-blue-dark-100":"mg_typography_bg-blue-dark-100_1a0lg","bg-blue-dark-200":"mg_typography_bg-blue-dark-200_1a0lg","bg-blue-dark-300":"mg_typography_bg-blue-dark-300_1a0lg","bg-blue-dark-400":"mg_typography_bg-blue-dark-400_1a0lg","bg-blue-dark-500":"mg_typography_bg-blue-dark-500_1a0lg","bg-blue-light-50":"mg_typography_bg-blue-light-50_1a0lg","bg-blue-light-100":"mg_typography_bg-blue-light-100_1a0lg","bg-blue-light-200":"mg_typography_bg-blue-light-200_1a0lg","bg-blue-light-300":"mg_typography_bg-blue-light-300_1a0lg","bg-blue-light-400":"mg_typography_bg-blue-light-400_1a0lg","bg-blue-light-500":"mg_typography_bg-blue-light-500_1a0lg","bg-green-50":"mg_typography_bg-green-50_1a0lg","bg-green-100":"mg_typography_bg-green-100_1a0lg","bg-green-200":"mg_typography_bg-green-200_1a0lg","bg-green-300":"mg_typography_bg-green-300_1a0lg","bg-green-400":"mg_typography_bg-green-400_1a0lg","bg-green-500":"mg_typography_bg-green-500_1a0lg","bg-green-600":"mg_typography_bg-green-600_1a0lg","bg-grey-50":"mg_typography_bg-grey-50_1a0lg","bg-grey-100":"mg_typography_bg-grey-100_1a0lg","bg-grey-200":"mg_typography_bg-grey-200_1a0lg","bg-grey-300":"mg_typography_bg-grey-300_1a0lg","bg-grey-400":"mg_typography_bg-grey-400_1a0lg","bg-grey-500":"mg_typography_bg-grey-500_1a0lg","bg-grey-600":"mg_typography_bg-grey-600_1a0lg","bg-grey-700":"mg_typography_bg-grey-700_1a0lg","bg-grey-800":"mg_typography_bg-grey-800_1a0lg","bg-grey-900":"mg_typography_bg-grey-900_1a0lg","bg-red-50":"mg_typography_bg-red-50_1a0lg","bg-red-100":"mg_typography_bg-red-100_1a0lg","bg-red-200":"mg_typography_bg-red-200_1a0lg","bg-red-300":"mg_typography_bg-red-300_1a0lg","bg-yellow-50":"mg_typography_bg-yellow-50_1a0lg","bg-yellow-100":"mg_typography_bg-yellow-100_1a0lg","bg-yellow-200":"mg_typography_bg-yellow-200_1a0lg","bg-yellow-300":"mg_typography_bg-yellow-300_1a0lg","color-transparent":"mg_typography_color-transparent_1a0lg","color-inherit":"mg_typography_color-inherit_1a0lg","color-current":"mg_typography_color-current_1a0lg","color-blue-dark-50":"mg_typography_color-blue-dark-50_1a0lg","color-blue-dark-100":"mg_typography_color-blue-dark-100_1a0lg","color-blue-dark-200":"mg_typography_color-blue-dark-200_1a0lg","color-blue-dark-300":"mg_typography_color-blue-dark-300_1a0lg","color-blue-dark-400":"mg_typography_color-blue-dark-400_1a0lg","color-blue-dark-500":"mg_typography_color-blue-dark-500_1a0lg","color-blue-light-50":"mg_typography_color-blue-light-50_1a0lg","color-blue-light-100":"mg_typography_color-blue-light-100_1a0lg","color-blue-light-200":"mg_typography_color-blue-light-200_1a0lg","color-blue-light-300":"mg_typography_color-blue-light-300_1a0lg","color-blue-light-400":"mg_typography_color-blue-light-400_1a0lg","color-blue-light-500":"mg_typography_color-blue-light-500_1a0lg","color-green-50":"mg_typography_color-green-50_1a0lg","color-green-100":"mg_typography_color-green-100_1a0lg","color-green-200":"mg_typography_color-green-200_1a0lg","color-green-300":"mg_typography_color-green-300_1a0lg","color-green-400":"mg_typography_color-green-400_1a0lg","color-green-500":"mg_typography_color-green-500_1a0lg","color-green-600":"mg_typography_color-green-600_1a0lg","color-grey-50":"mg_typography_color-grey-50_1a0lg","color-grey-100":"mg_typography_color-grey-100_1a0lg","color-grey-200":"mg_typography_color-grey-200_1a0lg","color-grey-300":"mg_typography_color-grey-300_1a0lg","color-grey-400":"mg_typography_color-grey-400_1a0lg","color-grey-500":"mg_typography_color-grey-500_1a0lg","color-grey-600":"mg_typography_color-grey-600_1a0lg","color-grey-700":"mg_typography_color-grey-700_1a0lg","color-grey-800":"mg_typography_color-grey-800_1a0lg","color-grey-900":"mg_typography_color-grey-900_1a0lg","color-red-50":"mg_typography_color-red-50_1a0lg","color-red-100":"mg_typography_color-red-100_1a0lg","color-red-200":"mg_typography_color-red-200_1a0lg","color-red-300":"mg_typography_color-red-300_1a0lg","color-yellow-50":"mg_typography_color-yellow-50_1a0lg","color-yellow-100":"mg_typography_color-yellow-100_1a0lg","color-yellow-200":"mg_typography_color-yellow-200_1a0lg","color-yellow-300":"mg_typography_color-yellow-300_1a0lg","magneto-ui-typography":"mg_typography_magneto-ui-typography_1a0lg","magneto-ui-typography--size-sm-2":"mg_typography_magneto-ui-typography--size-sm-2_1a0lg","magneto-ui-typography--size-md":"mg_typography_magneto-ui-typography--size-md_1a0lg","magneto-ui-typography--size-md-2":"mg_typography_magneto-ui-typography--size-md-2_1a0lg","magneto-ui-typography--size-lg":"mg_typography_magneto-ui-typography--size-lg_1a0lg","magneto-ui-typography--size-xl":"mg_typography_magneto-ui-typography--size-xl_1a0lg","magneto-ui-typography--size-2xl":"mg_typography_magneto-ui-typography--size-2xl_1a0lg","magneto-ui-typography--size-3xl":"mg_typography_magneto-ui-typography--size-3xl_1a0lg","magneto-ui-typography--size-4xl":"mg_typography_magneto-ui-typography--size-4xl_1a0lg","magneto-ui-typography--color-transparent":"mg_typography_magneto-ui-typography--color-transparent_1a0lg","magneto-ui-typography--color-inherit":"mg_typography_magneto-ui-typography--color-inherit_1a0lg","magneto-ui-typography--color-current":"mg_typography_magneto-ui-typography--color-current_1a0lg","magneto-ui-typography--color-blue-dark-50":"mg_typography_magneto-ui-typography--color-blue-dark-50_1a0lg","magneto-ui-typography--color-blue-dark-100":"mg_typography_magneto-ui-typography--color-blue-dark-100_1a0lg","magneto-ui-typography--color-blue-dark-200":"mg_typography_magneto-ui-typography--color-blue-dark-200_1a0lg","magneto-ui-typography--color-blue-dark-300":"mg_typography_magneto-ui-typography--color-blue-dark-300_1a0lg","magneto-ui-typography--color-blue-dark-400":"mg_typography_magneto-ui-typography--color-blue-dark-400_1a0lg","magneto-ui-typography--color-blue-dark-500":"mg_typography_magneto-ui-typography--color-blue-dark-500_1a0lg","magneto-ui-typography--color-blue-light-50":"mg_typography_magneto-ui-typography--color-blue-light-50_1a0lg","magneto-ui-typography--color-blue-light-100":"mg_typography_magneto-ui-typography--color-blue-light-100_1a0lg","magneto-ui-typography--color-blue-light-200":"mg_typography_magneto-ui-typography--color-blue-light-200_1a0lg","magneto-ui-typography--color-blue-light-300":"mg_typography_magneto-ui-typography--color-blue-light-300_1a0lg","magneto-ui-typography--color-blue-light-400":"mg_typography_magneto-ui-typography--color-blue-light-400_1a0lg","magneto-ui-typography--color-blue-light-500":"mg_typography_magneto-ui-typography--color-blue-light-500_1a0lg","magneto-ui-typography--color-green-50":"mg_typography_magneto-ui-typography--color-green-50_1a0lg","magneto-ui-typography--color-green-100":"mg_typography_magneto-ui-typography--color-green-100_1a0lg","magneto-ui-typography--color-green-200":"mg_typography_magneto-ui-typography--color-green-200_1a0lg","magneto-ui-typography--color-green-300":"mg_typography_magneto-ui-typography--color-green-300_1a0lg","magneto-ui-typography--color-green-400":"mg_typography_magneto-ui-typography--color-green-400_1a0lg","magneto-ui-typography--color-green-500":"mg_typography_magneto-ui-typography--color-green-500_1a0lg","magneto-ui-typography--color-green-600":"mg_typography_magneto-ui-typography--color-green-600_1a0lg","magneto-ui-typography--color-grey-50":"mg_typography_magneto-ui-typography--color-grey-50_1a0lg","magneto-ui-typography--color-grey-100":"mg_typography_magneto-ui-typography--color-grey-100_1a0lg","magneto-ui-typography--color-grey-200":"mg_typography_magneto-ui-typography--color-grey-200_1a0lg","magneto-ui-typography--color-grey-300":"mg_typography_magneto-ui-typography--color-grey-300_1a0lg","magneto-ui-typography--color-grey-400":"mg_typography_magneto-ui-typography--color-grey-400_1a0lg","magneto-ui-typography--color-grey-500":"mg_typography_magneto-ui-typography--color-grey-500_1a0lg","magneto-ui-typography--color-grey-600":"mg_typography_magneto-ui-typography--color-grey-600_1a0lg","magneto-ui-typography--color-grey-700":"mg_typography_magneto-ui-typography--color-grey-700_1a0lg","magneto-ui-typography--color-grey-800":"mg_typography_magneto-ui-typography--color-grey-800_1a0lg","magneto-ui-typography--color-grey-900":"mg_typography_magneto-ui-typography--color-grey-900_1a0lg","magneto-ui-typography--color-red-50":"mg_typography_magneto-ui-typography--color-red-50_1a0lg","magneto-ui-typography--color-red-100":"mg_typography_magneto-ui-typography--color-red-100_1a0lg","magneto-ui-typography--color-red-200":"mg_typography_magneto-ui-typography--color-red-200_1a0lg","magneto-ui-typography--color-red-300":"mg_typography_magneto-ui-typography--color-red-300_1a0lg","magneto-ui-typography--color-yellow-50":"mg_typography_magneto-ui-typography--color-yellow-50_1a0lg","magneto-ui-typography--color-yellow-100":"mg_typography_magneto-ui-typography--color-yellow-100_1a0lg","magneto-ui-typography--color-yellow-200":"mg_typography_magneto-ui-typography--color-yellow-200_1a0lg","magneto-ui-typography--color-yellow-300":"mg_typography_magneto-ui-typography--color-yellow-300_1a0lg","magneto-ui-typography--weight-thin":"mg_typography_magneto-ui-typography--weight-thin_1a0lg","magneto-ui-typography--weight-extra-light":"mg_typography_magneto-ui-typography--weight-extra-light_1a0lg","magneto-ui-typography--weight-light":"mg_typography_magneto-ui-typography--weight-light_1a0lg","magneto-ui-typography--weight-normal":"mg_typography_magneto-ui-typography--weight-normal_1a0lg","magneto-ui-typography--weight-medium":"mg_typography_magneto-ui-typography--weight-medium_1a0lg","magneto-ui-typography--weight-semi-bold":"mg_typography_magneto-ui-typography--weight-semi-bold_1a0lg","magneto-ui-typography--weight-bold":"mg_typography_magneto-ui-typography--weight-bold_1a0lg","magneto-ui-typography--weight-extra-bold":"mg_typography_magneto-ui-typography--weight-extra-bold_1a0lg","magneto-ui-typography--weight-black":"mg_typography_magneto-ui-typography--weight-black_1a0lg","magneto-ui-typography--code":"mg_typography_magneto-ui-typography--code_1a0lg","magneto-ui-typography--delete":"mg_typography_magneto-ui-typography--delete_1a0lg","magneto-ui-typography--italic":"mg_typography_magneto-ui-typography--italic_1a0lg","magneto-ui-typography--keyboard":"mg_typography_magneto-ui-typography--keyboard_1a0lg","magneto-ui-typography--mark":"mg_typography_magneto-ui-typography--mark_1a0lg","magneto-ui-typography--strong":"mg_typography_magneto-ui-typography--strong_1a0lg","magneto-ui-typography--underline":"mg_typography_magneto-ui-typography--underline_1a0lg","magneto-ui-typography--ellipsis":"mg_typography_magneto-ui-typography--ellipsis_1a0lg","magneto-ui-typography--ellipsis-multiline":"mg_typography_magneto-ui-typography--ellipsis-multiline_1a0lg"};
|
|
2742
2742
|
|
|
2743
|
-
var cx$
|
|
2743
|
+
var cx$1d = classNames.bind(styles$2t);
|
|
2744
2744
|
var typographyStyles = function (_a) {
|
|
2745
2745
|
var _b;
|
|
2746
2746
|
var className = _a.className, color = _a.color, ellipsis = _a.ellipsis, size = _a.size, style = _a.style, weight = _a.weight;
|
|
@@ -2751,7 +2751,7 @@ var typographyStyles = function (_a) {
|
|
|
2751
2751
|
_b['magneto-ui-typography--ellipsis'] = ellipsis === true,
|
|
2752
2752
|
_b['magneto-ui-typography--ellipsis-multiline'] = typeof ellipsis === 'object' && typeof ellipsis.rows === 'number',
|
|
2753
2753
|
_b);
|
|
2754
|
-
var finalClassName = cx$
|
|
2754
|
+
var finalClassName = cx$1d('magneto-ui-typography', customizedClassName, className);
|
|
2755
2755
|
var finalStyle = __assign(__assign(__assign({}, (typeof size === 'number' && { '--size': "".concat(size, "px") })), (typeof weight === 'number' && { '--weight': weight })), (typeof ellipsis === 'object' && ellipsis.rows && { '--ellipsis-lines': ellipsis.rows }));
|
|
2756
2756
|
return {
|
|
2757
2757
|
className: finalClassName,
|
|
@@ -2769,11 +2769,11 @@ var applyWrappers = function (children, props) {
|
|
|
2769
2769
|
props.underline ? { tag: 'u', className: 'magneto-ui-typography--underline' } : null
|
|
2770
2770
|
].filter(Boolean);
|
|
2771
2771
|
if (wrappers.length === 1) {
|
|
2772
|
-
return createElement(wrappers[0].tag, { className: cx$
|
|
2772
|
+
return createElement(wrappers[0].tag, { className: cx$1d(wrappers[0].className) }, children);
|
|
2773
2773
|
}
|
|
2774
2774
|
return wrappers.reduce(function (acc, _a) {
|
|
2775
2775
|
var tag = _a.tag, className = _a.className;
|
|
2776
|
-
return createElement(tag, { className: cx$
|
|
2776
|
+
return createElement(tag, { className: cx$1d(className) }, acc);
|
|
2777
2777
|
}, children);
|
|
2778
2778
|
};
|
|
2779
2779
|
var OMITTED_PROPS = [
|
|
@@ -2803,33 +2803,33 @@ var BaseComponent$3 = function (_a, ref) {
|
|
|
2803
2803
|
var _b = typographyStyles(__assign({}, props)), className = _b.className, style = _b.style;
|
|
2804
2804
|
return (React.createElement("a", __assign({}, omitTypographyProps(props), { className: className, style: style, ref: ref }), applyWrappers(children, props)));
|
|
2805
2805
|
};
|
|
2806
|
-
var Component$
|
|
2806
|
+
var Component$2y = forwardRef(BaseComponent$3);
|
|
2807
2807
|
/**
|
|
2808
2808
|
* Atom UI child component of Typography
|
|
2809
2809
|
*/
|
|
2810
|
-
var TypographyLink = Component$
|
|
2810
|
+
var TypographyLink = Component$2y;
|
|
2811
2811
|
|
|
2812
2812
|
var BaseComponent$2 = function (_a, ref) {
|
|
2813
2813
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
2814
2814
|
var _b = typographyStyles(__assign({}, props)), className = _b.className, style = _b.style;
|
|
2815
2815
|
return (React.createElement("p", __assign({}, omitTypographyProps(props), { className: className, style: style, ref: ref }), applyWrappers(children, props)));
|
|
2816
2816
|
};
|
|
2817
|
-
var Component$
|
|
2817
|
+
var Component$2x = forwardRef(BaseComponent$2);
|
|
2818
2818
|
/**
|
|
2819
2819
|
* Atom UI child component of Typography
|
|
2820
2820
|
*/
|
|
2821
|
-
var TypographyParagraph = Component$
|
|
2821
|
+
var TypographyParagraph = Component$2x;
|
|
2822
2822
|
|
|
2823
2823
|
var BaseComponent$1 = function (_a, ref) {
|
|
2824
2824
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
2825
2825
|
var _b = typographyStyles(__assign({}, props)), className = _b.className, style = _b.style;
|
|
2826
2826
|
return (React.createElement("span", __assign({}, omitTypographyProps(props), { className: className, style: style, ref: ref }), applyWrappers(children, props)));
|
|
2827
2827
|
};
|
|
2828
|
-
var Component$
|
|
2828
|
+
var Component$2w = forwardRef(BaseComponent$1);
|
|
2829
2829
|
/**
|
|
2830
2830
|
* Atom UI child component of Typography
|
|
2831
2831
|
*/
|
|
2832
|
-
var TypographyText = Component$
|
|
2832
|
+
var TypographyText = Component$2w;
|
|
2833
2833
|
|
|
2834
2834
|
var BaseComponent = function (_a, ref) {
|
|
2835
2835
|
var children = _a.children, _b = _a.level, level = _b === void 0 ? 2 : _b, props = __rest(_a, ["children", "level"]);
|
|
@@ -2840,11 +2840,11 @@ var BaseComponent = function (_a, ref) {
|
|
|
2840
2840
|
}, [level]);
|
|
2841
2841
|
return React.createElement(Wrapper, __assign(__assign({}, omitTypographyProps(props)), { className: className, style: style }), applyWrappers(children, props), ref);
|
|
2842
2842
|
};
|
|
2843
|
-
var Component$
|
|
2843
|
+
var Component$2v = forwardRef(BaseComponent);
|
|
2844
2844
|
/**
|
|
2845
2845
|
* Atom UI child component of Typography
|
|
2846
2846
|
*/
|
|
2847
|
-
var TypographyTitle = Component$
|
|
2847
|
+
var TypographyTitle = Component$2v;
|
|
2848
2848
|
|
|
2849
2849
|
/**
|
|
2850
2850
|
* Atom UI of typography. It includes titles, paragraphs, texts and links.
|
|
@@ -2871,7 +2871,7 @@ var ETypographyFontWeight;
|
|
|
2871
2871
|
|
|
2872
2872
|
var styles$2s = {"magneto-ui-user-menu-button-analyst":"mg_user_menu_button_analyst_magneto-ui-user-menu-button-analyst_1crg0"};
|
|
2873
2873
|
|
|
2874
|
-
var Component$
|
|
2874
|
+
var Component$2u = function (_a) {
|
|
2875
2875
|
var className = _a.className, title = _a.title, onClick = _a.onClick, user = _a.user;
|
|
2876
2876
|
var userInfo = useMediaQuery(React.createElement("span", null, "".concat(user, " | ").concat(title)), {
|
|
2877
2877
|
sm: null
|
|
@@ -2884,7 +2884,7 @@ var Component$2t = function (_a) {
|
|
|
2884
2884
|
/**
|
|
2885
2885
|
* Atom UI component of user menu button analyst
|
|
2886
2886
|
*/
|
|
2887
|
-
var UserMenuButtonAnalyst = Component$
|
|
2887
|
+
var UserMenuButtonAnalyst = Component$2u;
|
|
2888
2888
|
|
|
2889
2889
|
function InlineDetails(_a) {
|
|
2890
2890
|
var details = _a.details, className = _a.className;
|
|
@@ -2931,7 +2931,7 @@ var ShareIcons = {
|
|
|
2931
2931
|
}
|
|
2932
2932
|
};
|
|
2933
2933
|
|
|
2934
|
-
var Component$
|
|
2934
|
+
var Component$2t = function (_a) {
|
|
2935
2935
|
var ActionsAnchorIcons = _a.ActionsAnchorIcons, ActionsAnchorLinks = _a.ActionsAnchorLinks, ActionAnchorText = _a.ActionAnchorText, ActionsHeader = _a.ActionsHeader, externalButtonChild = _a.externalButtonChild, saveButtonProps = _a.saveButtonProps, shareButtonProps = _a.shareButtonProps, copyButtonProps = _a.copyButtonProps, offerCompanyName = _a.offerCompanyName, backText = _a.backText, isApplied = _a.isApplied;
|
|
2936
2936
|
var _b = useState(), component = _b[0], setComponent = _b[1];
|
|
2937
2937
|
var actionsLinkList = ActionsAnchorIcons === null || ActionsAnchorIcons === void 0 ? void 0 : ActionsAnchorIcons.map(function (_, index) { return ({
|
|
@@ -2983,7 +2983,7 @@ var ShareLinksAction = function (_a) {
|
|
|
2983
2983
|
/**
|
|
2984
2984
|
* UI Molecule componet of Actions
|
|
2985
2985
|
*/
|
|
2986
|
-
var Actions = Object.assign(Component$
|
|
2986
|
+
var Actions = Object.assign(Component$2t, { ShareLinks: ShareLinksAction });
|
|
2987
2987
|
|
|
2988
2988
|
var style$X = {"magneto-ui-alert":"mg_alert_magneto-ui-alert_1v3n3","magneto-ui-warning":"mg_alert_magneto-ui-warning_1v3n3","magneto-ui-warning--with-border":"mg_alert_magneto-ui-warning--with-border_1v3n3","magneto-ui-success":"mg_alert_magneto-ui-success_1v3n3","magneto-ui-success--with-border":"mg_alert_magneto-ui-success--with-border_1v3n3","magneto-ui-error":"mg_alert_magneto-ui-error_1v3n3","magneto-ui-error--with-border":"mg_alert_magneto-ui-error--with-border_1v3n3","magneto-ui-info":"mg_alert_magneto-ui-info_1v3n3","magneto-ui-info--with-border":"mg_alert_magneto-ui-info--with-border_1v3n3","magneto-ui-close-action":"mg_alert_magneto-ui-close-action_1v3n3"};
|
|
2989
2989
|
|
|
@@ -2993,7 +2993,7 @@ var alertIcons$1 = {
|
|
|
2993
2993
|
warning: Warning,
|
|
2994
2994
|
error: Error$1
|
|
2995
2995
|
};
|
|
2996
|
-
var Component$
|
|
2996
|
+
var Component$2s = function (_a) {
|
|
2997
2997
|
var _b = _a.text, text = _b === void 0 ? '' : _b, type = _a.type, customText = _a.customText, _c = _a.border, border = _c === void 0 ? false : _c, size = _a.size, onClose = _a.onClose, _d = _a.className, className = _d === void 0 ? '' : _d, extraButton = _a.extraButton;
|
|
2998
2998
|
var borderStyle = border ? style$X["".concat(classMUI, "-").concat(type, "--with-border")] : '';
|
|
2999
2999
|
var typeStyle = style$X["".concat(classMUI, "-").concat(type)];
|
|
@@ -3005,48 +3005,48 @@ var Component$2r = function (_a) {
|
|
|
3005
3005
|
React.createElement(IconItem, { icon: Close, alt: type }))),
|
|
3006
3006
|
extraButton));
|
|
3007
3007
|
};
|
|
3008
|
-
var Alert = Component$
|
|
3008
|
+
var Alert = Component$2s;
|
|
3009
3009
|
|
|
3010
3010
|
var styles$2q = {"alert-modal":"mg_alert_job_modal_alert-modal_oyuqf","alert-modal__mobile":"mg_alert_job_modal_alert-modal_mobile_oyuqf","alert-modal__header":"mg_alert_job_modal_alert-modal_header_oyuqf","alert-modal__body":"mg_alert_job_modal_alert-modal_body_oyuqf","alert-modal__footer":"mg_alert_job_modal_alert-modal_footer_oyuqf","alert-modal__icon":"mg_alert_job_modal_alert-modal_icon_oyuqf","alert-modal__title":"mg_alert_job_modal_alert-modal_title_oyuqf","alert-modal__checkbox":"mg_alert_job_modal_alert-modal_checkbox_oyuqf","alert-modal__button":"mg_alert_job_modal_alert-modal_button_oyuqf"};
|
|
3011
3011
|
|
|
3012
|
-
var cx$
|
|
3012
|
+
var cx$1c = classNames.bind(styles$2q);
|
|
3013
3013
|
var AlertJobModalIcon = function (_a) {
|
|
3014
3014
|
var src = _a.src, _b = _a.size, size = _b === void 0 ? 50 : _b, alt = _a.alt, className = _a.className;
|
|
3015
3015
|
var customWidth = size ? { width: size + 'px' } : {};
|
|
3016
|
-
return (React.createElement("img", { style: customWidth, className: cx$
|
|
3016
|
+
return (React.createElement("img", { style: customWidth, className: cx$1c('alert-job__icon', className), src: src !== null && src !== void 0 ? src : Urgent, alt: alt !== null && alt !== void 0 ? alt : "icon-item", loading: "lazy" }));
|
|
3017
3017
|
};
|
|
3018
3018
|
|
|
3019
|
-
var cx$
|
|
3019
|
+
var cx$1b = classNames.bind(styles$2q);
|
|
3020
3020
|
var AlertJobModalHeader = function (_a) {
|
|
3021
3021
|
var className = _a.className, children = _a.children;
|
|
3022
|
-
return React.createElement("div", { className: cx$
|
|
3022
|
+
return React.createElement("div", { className: cx$1b('alert-modal__header', className) }, children);
|
|
3023
3023
|
};
|
|
3024
3024
|
|
|
3025
|
-
var cx$
|
|
3025
|
+
var cx$1a = classNames.bind(styles$2q);
|
|
3026
3026
|
var AlertJobModalTitle = function (_a) {
|
|
3027
3027
|
var title = _a.title, subtitle = _a.subtitle, className = _a.className, children = _a.children;
|
|
3028
|
-
return (React.createElement("div", { className: cx$
|
|
3028
|
+
return (React.createElement("div", { className: cx$1a('alert-modal__title', className) },
|
|
3029
3029
|
React.createElement("p", null, subtitle),
|
|
3030
3030
|
React.createElement("p", null, "\u201C".concat(title, "\u201D")),
|
|
3031
3031
|
children));
|
|
3032
3032
|
};
|
|
3033
3033
|
|
|
3034
|
-
var cx$
|
|
3034
|
+
var cx$19 = classNames.bind(styles$2q);
|
|
3035
3035
|
var AlertJobModalBody = function (_a) {
|
|
3036
3036
|
var className = _a.className, children = _a.children;
|
|
3037
|
-
return React.createElement("div", { className: cx$
|
|
3037
|
+
return React.createElement("div", { className: cx$19('alert-modal__body', className) }, children);
|
|
3038
3038
|
};
|
|
3039
3039
|
|
|
3040
|
-
var cx$
|
|
3040
|
+
var cx$18 = classNames.bind(styles$2q);
|
|
3041
3041
|
var AlertJobModalFooter = function (_a) {
|
|
3042
3042
|
var className = _a.className, children = _a.children;
|
|
3043
|
-
return React.createElement("div", { className: cx$
|
|
3043
|
+
return React.createElement("div", { className: cx$18('alert-modal__footer', className) }, children);
|
|
3044
3044
|
};
|
|
3045
3045
|
|
|
3046
|
-
var cx$
|
|
3046
|
+
var cx$17 = classNames.bind(styles$2q);
|
|
3047
3047
|
var AlertJobModalButton = function (_a) {
|
|
3048
3048
|
var className = _a.className, children = _a.children, _b = _a.icon, icon = _b === void 0 ? ArrowRightWhite : _b, _c = _a.sizeIcon, sizeIcon = _c === void 0 ? 14 : _c, buttonProps = __rest(_a, ["className", "children", "icon", "sizeIcon"]);
|
|
3049
|
-
return (React.createElement("button", __assign({ className: cx$
|
|
3049
|
+
return (React.createElement("button", __assign({ className: cx$17('alert-modal__button', className) }, buttonProps),
|
|
3050
3050
|
React.createElement("p", null, children),
|
|
3051
3051
|
React.createElement(IconItem, { alt: "arrow-icon", hover: false, icon: icon, size: sizeIcon })));
|
|
3052
3052
|
};
|
|
@@ -3073,8 +3073,8 @@ var DrawerPortal = function (_a) {
|
|
|
3073
3073
|
|
|
3074
3074
|
var style$W = {"magneto-ui-mobile-drawer":"mg_mobile_drawer_magneto-ui-mobile-drawer_1e2s0","magneto-ui-close-button":"mg_mobile_drawer_magneto-ui-close-button_1e2s0","magneto-ui-container":"mg_mobile_drawer_magneto-ui-container_1e2s0","background-drawer":"mg_mobile_drawer_background-drawer_1e2s0","fadeIn":"mg_mobile_drawer_fadeIn_1e2s0","show":"mg_mobile_drawer_show_1e2s0","hidden":"mg_mobile_drawer_hidden_1e2s0"};
|
|
3075
3075
|
|
|
3076
|
-
var cx$
|
|
3077
|
-
var Component$
|
|
3076
|
+
var cx$16 = classNames.bind(style$W);
|
|
3077
|
+
var Component$2r = function (_a) {
|
|
3078
3078
|
var onClose = _a.onClose, isOpen = _a.isOpen, children = _a.children, _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.blockBackgroundClose, blockBackgroundClose = _c === void 0 ? false : _c, _d = _a.backgroundClassName, backgroundClassName = _d === void 0 ? '' : _d;
|
|
3079
3079
|
var _e = useState(false), showContent = _e[0], setShowContent = _e[1];
|
|
3080
3080
|
var _f = useState(isOpen), renderPortal = _f[0], setRenderPortal = _f[1];
|
|
@@ -3100,17 +3100,17 @@ var Component$2q = function (_a) {
|
|
|
3100
3100
|
};
|
|
3101
3101
|
}, [isOpen]);
|
|
3102
3102
|
return (React.createElement(React.Fragment, null, renderPortal && (React.createElement(DrawerPortal, null,
|
|
3103
|
-
React.createElement("div", { className: cx$
|
|
3104
|
-
React.createElement("aside", { className: cx$
|
|
3105
|
-
React.createElement("button", { "data-name": "close-drawer", title: "close-modal", className: cx$
|
|
3103
|
+
React.createElement("div", { className: cx$16('magneto-ui-mobile-drawer') },
|
|
3104
|
+
React.createElement("aside", { className: cx$16(showMenu, className) },
|
|
3105
|
+
React.createElement("button", { "data-name": "close-drawer", title: "close-modal", className: cx$16('magneto-ui-close-button'), onClick: onClose },
|
|
3106
3106
|
React.createElement(IconItem, { icon: Add, hover: false })),
|
|
3107
|
-
React.createElement("div", { className: cx$
|
|
3108
|
-
isOpen && (React.createElement("span", { className: cx$
|
|
3107
|
+
React.createElement("div", { className: cx$16('magneto-ui-container') }, children)),
|
|
3108
|
+
isOpen && (React.createElement("span", { className: cx$16('background-drawer', backgroundClassName), onClick: blockBackgroundClose ? function () { return null; } : onClose })))))));
|
|
3109
3109
|
};
|
|
3110
3110
|
/**
|
|
3111
3111
|
* Molecule UI component for Mobile Drawer
|
|
3112
3112
|
*/
|
|
3113
|
-
var MobileDrawer = Component$
|
|
3113
|
+
var MobileDrawer = Component$2r;
|
|
3114
3114
|
|
|
3115
3115
|
var styles$2p = {"magneto-ui-modal":"mg_modal_magneto-ui-modal_1ffsw","magneto-ui-modal__close-btn":"mg_modal_magneto-ui-modal_close-btn_1ffsw","magneto-ui-modal__title":"mg_modal_magneto-ui-modal_title_1ffsw","magneto-ui-modal__description":"mg_modal_magneto-ui-modal_description_1ffsw","magneto-ui-modal__children-container":"mg_modal_magneto-ui-modal_children-container_1ffsw","magneto-ui-background-modal":"mg_modal_magneto-ui-background-modal_1ffsw","fadeIn":"mg_modal_fadeIn_1ffsw"};
|
|
3116
3116
|
|
|
@@ -3164,21 +3164,21 @@ var Description = function (_a) {
|
|
|
3164
3164
|
};
|
|
3165
3165
|
var Modal$1 = Object.assign(Modal, { Title: Title, Description: Description });
|
|
3166
3166
|
|
|
3167
|
-
var Component$
|
|
3167
|
+
var Component$2q = function (_a) {
|
|
3168
3168
|
var children = _a.children, open = _a.open, onClose = _a.onClose, _b = _a.modalClassName, modalClassName = _b === void 0 ? '' : _b, _c = _a.mobileDrawerClassName, mobileDrawerClassName = _c === void 0 ? '' : _c, _d = _a.backgroundClassNameDesktop, backgroundClassNameDesktop = _d === void 0 ? '' : _d, _e = _a.backgroundClassNameMobile, backgroundClassNameMobile = _e === void 0 ? '' : _e;
|
|
3169
3169
|
var container = useMediaQuery(React.createElement(Modal$1, { className: modalClassName, backgroundClassName: backgroundClassNameDesktop, isOpen: open, onClose: onClose }, children), {
|
|
3170
3170
|
md: (React.createElement(MobileDrawer, { backgroundClassName: backgroundClassNameMobile, className: mobileDrawerClassName, isOpen: open, onClose: onClose }, children))
|
|
3171
3171
|
});
|
|
3172
3172
|
return container;
|
|
3173
3173
|
};
|
|
3174
|
-
var ModalResponsive = Component$
|
|
3174
|
+
var ModalResponsive = Component$2q;
|
|
3175
3175
|
|
|
3176
|
-
var cx$
|
|
3177
|
-
var Component$
|
|
3176
|
+
var cx$15 = classNames.bind(styles$2q);
|
|
3177
|
+
var Component$2p = function (_a) {
|
|
3178
3178
|
var children = _a.children, className = _a.className, mobileClassName = _a.mobileClassName, open = _a.open, onClose = _a.onClose;
|
|
3179
|
-
return (React.createElement(ModalResponsive, { open: open, onClose: onClose, modalClassName: cx$
|
|
3179
|
+
return (React.createElement(ModalResponsive, { open: open, onClose: onClose, modalClassName: cx$15('alert-modal', className), mobileDrawerClassName: cx$15('alert-modal__mobile', mobileClassName) }, children));
|
|
3180
3180
|
};
|
|
3181
|
-
var AlertJobModal = Object.assign(Component$
|
|
3181
|
+
var AlertJobModal = Object.assign(Component$2p, {
|
|
3182
3182
|
Header: AlertJobModalHeader,
|
|
3183
3183
|
Body: AlertJobModalBody,
|
|
3184
3184
|
Footer: AlertJobModalFooter,
|
|
@@ -3191,15 +3191,15 @@ var styles$2o = {"alert-job":"mg_alert_job_status_alert-job_1qnyy","normal":"mg_
|
|
|
3191
3191
|
|
|
3192
3192
|
var styles$2n = {"alert-job__content":"mg_alert_job_status_container_alert-job_content_g6vk0"};
|
|
3193
3193
|
|
|
3194
|
-
var cx$
|
|
3194
|
+
var cx$14 = classNames.bind(styles$2n);
|
|
3195
3195
|
var AlertJobStatusContainer = function (_a) {
|
|
3196
3196
|
var className = _a.className, children = _a.children;
|
|
3197
|
-
return React.createElement("div", { className: cx$
|
|
3197
|
+
return React.createElement("div", { className: cx$14('alert-job__content', className) }, children);
|
|
3198
3198
|
};
|
|
3199
3199
|
|
|
3200
3200
|
var styles$2m = {"alert-job__icon":"mg_alert_job_status_icon_alert-job_icon_1d1sg"};
|
|
3201
3201
|
|
|
3202
|
-
var cx$
|
|
3202
|
+
var cx$13 = classNames.bind(styles$2m);
|
|
3203
3203
|
var alertIcons = {
|
|
3204
3204
|
success: Checked2,
|
|
3205
3205
|
warning: Warning3D
|
|
@@ -3208,25 +3208,25 @@ var AlertJobStatusIcon = function (_a) {
|
|
|
3208
3208
|
var src = _a.src, _b = _a.size, size = _b === void 0 ? 34 : _b, alt = _a.alt, className = _a.className, _c = _a.type, type = _c === void 0 ? 'warning' : _c;
|
|
3209
3209
|
var customWidth = size ? { width: size + 'px' } : {};
|
|
3210
3210
|
var iconByType = useMemo(function () { return alertIcons[type]; }, [type]);
|
|
3211
|
-
return (React.createElement("img", { style: customWidth, className: cx$
|
|
3211
|
+
return (React.createElement("img", { style: customWidth, className: cx$13('alert-job__icon', className), src: src !== null && src !== void 0 ? src : iconByType, alt: alt !== null && alt !== void 0 ? alt : "icon-item", loading: "lazy" }));
|
|
3212
3212
|
};
|
|
3213
3213
|
|
|
3214
3214
|
var styles$2l = {"alert-modal__button":"mg_alert_job_status_button_alert-modal_button_d8bsk"};
|
|
3215
3215
|
|
|
3216
|
-
var cx$
|
|
3216
|
+
var cx$12 = classNames.bind(styles$2l);
|
|
3217
3217
|
var AlertJobStatusButton = function (_a) {
|
|
3218
3218
|
var className = _a.className, children = _a.children, _b = _a.icon, icon = _b === void 0 ? ArrowRightWhite : _b, _c = _a.sizeIcon, sizeIcon = _c === void 0 ? 14 : _c, buttonProps = __rest(_a, ["className", "children", "icon", "sizeIcon"]);
|
|
3219
|
-
return (React.createElement("button", __assign({ className: cx$
|
|
3219
|
+
return (React.createElement("button", __assign({ className: cx$12('alert-modal__button', className) }, buttonProps),
|
|
3220
3220
|
React.createElement("p", null, children),
|
|
3221
3221
|
React.createElement(IconItem, { alt: "arrow-icon", hover: false, icon: icon, size: sizeIcon })));
|
|
3222
3222
|
};
|
|
3223
3223
|
|
|
3224
|
-
var cx$
|
|
3225
|
-
var Component$
|
|
3224
|
+
var cx$11 = classNames.bind(styles$2o);
|
|
3225
|
+
var Component$2o = function (_a) {
|
|
3226
3226
|
var children = _a.children, className = _a.className, type = _a.type;
|
|
3227
|
-
return React.createElement("div", { className: cx$
|
|
3227
|
+
return React.createElement("div", { className: cx$11('alert-job', className, type) }, children);
|
|
3228
3228
|
};
|
|
3229
|
-
var AlertJobStatus = Object.assign(Component$
|
|
3229
|
+
var AlertJobStatus = Object.assign(Component$2o, {
|
|
3230
3230
|
Container: AlertJobStatusContainer,
|
|
3231
3231
|
Icon: AlertJobStatusIcon,
|
|
3232
3232
|
Button: AlertJobStatusButton,
|
|
@@ -3235,7 +3235,7 @@ var AlertJobStatus = Object.assign(Component$2n, {
|
|
|
3235
3235
|
|
|
3236
3236
|
var styles$2k = {"magneto-ui-chart-bars":"mg_bars_chart_magneto-ui-chart-bars_17if2","magneto-ui-chart-bars__chart":"mg_bars_chart_magneto-ui-chart-bars_chart_17if2","magneto-ui-chart-bars__minmax":"mg_bars_chart_magneto-ui-chart-bars_minmax_17if2","magneto-ui-chart-bars__mean":"mg_bars_chart_magneto-ui-chart-bars_mean_17if2"};
|
|
3237
3237
|
|
|
3238
|
-
var Component$
|
|
3238
|
+
var Component$2n = function (_a) {
|
|
3239
3239
|
var maxHeight = _a.maxHeight, data = _a.data, mean = _a.mean, texts = _a.texts;
|
|
3240
3240
|
var minValue = useMemo(function () { return data[0].bin[0]; }, [data]);
|
|
3241
3241
|
var maxValue = useMemo(function () { return data[data.length - 1].bin[1]; }, [data]);
|
|
@@ -3265,7 +3265,7 @@ var Component$2m = function (_a) {
|
|
|
3265
3265
|
" ",
|
|
3266
3266
|
numberToCurrency(mean) + ' / ' + texts.month))));
|
|
3267
3267
|
};
|
|
3268
|
-
var BarsChart = Component$
|
|
3268
|
+
var BarsChart = Component$2n;
|
|
3269
3269
|
|
|
3270
3270
|
var style$V = {"magneto-ui-brands__header--row":"mg_brands_container_magneto-ui-brands_header--row_1pjqh","magneto-ui-brands-container":"mg_brands_container_magneto-ui-brands-container_1pjqh","magneto-ui-brands-container__brands":"mg_brands_container_magneto-ui-brands-container_brands_1pjqh","magneto-ui-brands-container__brands--brand":"mg_brands_container_magneto-ui-brands-container_brands--brand_1pjqh"};
|
|
3271
3271
|
|
|
@@ -3344,7 +3344,7 @@ var BrandsMenuPopover$1 = withClickOut(BrandsMenuPopover);
|
|
|
3344
3344
|
|
|
3345
3345
|
var styles$2j = {"BreadcrumbsComponent":"mg_breadcrumbs_BreadcrumbsComponent_13csm"};
|
|
3346
3346
|
|
|
3347
|
-
var Component$
|
|
3347
|
+
var Component$2m = function (_a) {
|
|
3348
3348
|
var homeUrl = _a.homeUrl, breadcrumbProps = _a.breadcrumbProps, _b = _a.iconProps, iconProps = _b === void 0 ? iconPropsBreadCrumb : _b;
|
|
3349
3349
|
return (React.createElement("div", { className: styles$2j.BreadcrumbsComponent },
|
|
3350
3350
|
React.createElement("a", { href: homeUrl },
|
|
@@ -3354,7 +3354,7 @@ var Component$2l = function (_a) {
|
|
|
3354
3354
|
/**
|
|
3355
3355
|
* Molecule UI component for breadcrums information
|
|
3356
3356
|
*/
|
|
3357
|
-
var Breadcrumbs = Component$
|
|
3357
|
+
var Breadcrumbs = Component$2m;
|
|
3358
3358
|
|
|
3359
3359
|
var CandidateNavContext = createContext(undefined);
|
|
3360
3360
|
var Provider$1 = function (_a) {
|
|
@@ -3381,7 +3381,7 @@ var context$1 = /*#__PURE__*/Object.freeze({
|
|
|
3381
3381
|
var styles$2i = {"magneto-ui-candidate-nav-button":"mg_candidate_nav_button_magneto-ui-candidate-nav-button_s4lu3","magneto-ui-candidate-nav-button--red":"mg_candidate_nav_button_magneto-ui-candidate-nav-button--red_s4lu3","magneto-ui-candidate-nav-button--dark-blue":"mg_candidate_nav_button_magneto-ui-candidate-nav-button--dark-blue_s4lu3","magneto-ui-candidate-nav-button--gray":"mg_candidate_nav_button_magneto-ui-candidate-nav-button--gray_s4lu3","magneto-ui-candidate-nav-button--arrow":"mg_candidate_nav_button_magneto-ui-candidate-nav-button--arrow_s4lu3"};
|
|
3382
3382
|
|
|
3383
3383
|
var cs$4 = classNames.bind(styles$2i);
|
|
3384
|
-
var Component$
|
|
3384
|
+
var Component$2l = function (_a) {
|
|
3385
3385
|
var _b;
|
|
3386
3386
|
var children = _a.children, className = _a.className, toggler = _a.toggler, onClick = _a.onClick, variant = _a.variant, props = __rest(_a, ["children", "className", "toggler", "onClick", "variant"]);
|
|
3387
3387
|
var onChangeOpen = useCandidateNav().onChangeOpen;
|
|
@@ -3399,7 +3399,7 @@ var Component$2k = function (_a) {
|
|
|
3399
3399
|
/**
|
|
3400
3400
|
* Molecule UI component child of Candidate Nav
|
|
3401
3401
|
*/
|
|
3402
|
-
var CandidateNavButton = Component$
|
|
3402
|
+
var CandidateNavButton = Component$2l;
|
|
3403
3403
|
|
|
3404
3404
|
var ECandidateNavButtonVariant;
|
|
3405
3405
|
(function (ECandidateNavButtonVariant) {
|
|
@@ -3413,7 +3413,7 @@ var ECandidateNavButtonVariant;
|
|
|
3413
3413
|
var styles$2h = {"magneto-ui-candidate-nav-option":"mg_candidate_nav_option_magneto-ui-candidate-nav-option_1o9op"};
|
|
3414
3414
|
|
|
3415
3415
|
var cs$3 = classNames.bind(styles$2h);
|
|
3416
|
-
var Component$
|
|
3416
|
+
var Component$2k = function (_a) {
|
|
3417
3417
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
|
3418
3418
|
var onChangeOpen = useCandidateNav().onChangeOpen;
|
|
3419
3419
|
return (React.createElement("li", __assign({}, props, { className: cs$3('magneto-ui-candidate-nav-option', className) }), React.Children.map(children, function (child) {
|
|
@@ -3423,7 +3423,7 @@ var Component$2j = function (_a) {
|
|
|
3423
3423
|
/**
|
|
3424
3424
|
* Molecule UI component child of Candidate Nav
|
|
3425
3425
|
*/
|
|
3426
|
-
var CandidateNavOption = Component$
|
|
3426
|
+
var CandidateNavOption = Component$2k;
|
|
3427
3427
|
|
|
3428
3428
|
var styles$2g = {"magneto-ui-candidate-nav-options":"mg_candidate_nav_options_magneto-ui-candidate-nav-options_1iyit","magneto-ui-candidate-nav-options--visible":"mg_candidate_nav_options_magneto-ui-candidate-nav-options--visible_1iyit","magneto-ui-candidate-nav-options__container":"mg_candidate_nav_options_magneto-ui-candidate-nav-options_container_1iyit","magneto-ui-candidate-nav-options__container--visible":"mg_candidate_nav_options_magneto-ui-candidate-nav-options_container--visible_1iyit","magneto-ui-candidate-nav-options__content":"mg_candidate_nav_options_magneto-ui-candidate-nav-options_content_1iyit","magneto-ui-candidate-nav-options__content--visible":"mg_candidate_nav_options_magneto-ui-candidate-nav-options_content--visible_1iyit","magneto-ui-candidate-nav-options__list":"mg_candidate_nav_options_magneto-ui-candidate-nav-options_list_1iyit","magneto-ui-candidate-nav-options__closable-area":"mg_candidate_nav_options_magneto-ui-candidate-nav-options_closable-area_1iyit","magneto-ui-candidate-nav-options__line":"mg_candidate_nav_options_magneto-ui-candidate-nav-options_line_1iyit"};
|
|
3429
3429
|
|
|
@@ -3432,7 +3432,7 @@ var customScrollbarButtonsStyle$1 = {
|
|
|
3432
3432
|
'--custom-scrollbar-thumb-down-background': "url(".concat(MiniArrowGrayDown, ")"),
|
|
3433
3433
|
'--custom-scrollbar-thumb-up-background': "url(".concat(MiniArrowGrayUp, ")")
|
|
3434
3434
|
};
|
|
3435
|
-
var Component$
|
|
3435
|
+
var Component$2j = function (_a) {
|
|
3436
3436
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
|
3437
3437
|
var _b = useCandidateNav(), showOptions = _b.showOptions, onChangeOpen = _b.onChangeOpen;
|
|
3438
3438
|
var wrapperRef = useRef(null);
|
|
@@ -3474,24 +3474,24 @@ var Component$2i = function (_a) {
|
|
|
3474
3474
|
/**
|
|
3475
3475
|
* Molecule UI component child of Candidate Nav
|
|
3476
3476
|
*/
|
|
3477
|
-
var CandidateNavOptions = Component$
|
|
3477
|
+
var CandidateNavOptions = Component$2j;
|
|
3478
3478
|
|
|
3479
3479
|
var styles$2f = {"magneto-ui-candidate-nav-step":"mg_candidate_nav_step_magneto-ui-candidate-nav-step_3a00i"};
|
|
3480
3480
|
|
|
3481
3481
|
var cs$1 = classNames.bind(styles$2f);
|
|
3482
|
-
var Component$
|
|
3482
|
+
var Component$2i = function (_a) {
|
|
3483
3483
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
|
3484
3484
|
return (React.createElement("div", __assign({}, props, { className: cs$1('magneto-ui-candidate-nav-step', className) }), children));
|
|
3485
3485
|
};
|
|
3486
3486
|
/**
|
|
3487
3487
|
* Molecule UI component child of Candidate Nav
|
|
3488
3488
|
*/
|
|
3489
|
-
var CandidateNavStep = Component$
|
|
3489
|
+
var CandidateNavStep = Component$2i;
|
|
3490
3490
|
|
|
3491
3491
|
var styles$2e = {"magneto-ui-candidate-nav":"mg_candidate_nav_magneto-ui-candidate-nav_1on5i"};
|
|
3492
3492
|
|
|
3493
3493
|
var cs = classNames.bind(styles$2e);
|
|
3494
|
-
var Component$
|
|
3494
|
+
var Component$2h = function (_a) {
|
|
3495
3495
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
|
3496
3496
|
return (React.createElement(Provider$1, null,
|
|
3497
3497
|
React.createElement("div", __assign({ className: cs('magneto-ui-candidate-nav', className) }, props), children)));
|
|
@@ -3499,67 +3499,67 @@ var Component$2g = function (_a) {
|
|
|
3499
3499
|
/**
|
|
3500
3500
|
* Molecule UI component of Candidate Nav
|
|
3501
3501
|
*/
|
|
3502
|
-
var CandidateNav = Object.assign(Component$
|
|
3502
|
+
var CandidateNav = Object.assign(Component$2h, __assign({ Button: CandidateNavButton, Option: CandidateNavOption, Options: CandidateNavOptions, Step: CandidateNavStep }, context$1));
|
|
3503
3503
|
|
|
3504
3504
|
var styles$2d = {"magneto-ui-candidate-profile":"mg_candidate_profile_magneto-ui-candidate-profile_1vwhb"};
|
|
3505
3505
|
|
|
3506
3506
|
var styles$2c = {"magneto-ui-candidate-profile-avatar":"mg_candidate_profile_avatar_magneto-ui-candidate-profile-avatar_sa8bj","magneto-ui-candidate-profile-avatar__picture":"mg_candidate_profile_avatar_magneto-ui-candidate-profile-avatar_picture_sa8bj","magneto-ui-candidate-profile-avatar__score":"mg_candidate_profile_avatar_magneto-ui-candidate-profile-avatar_score_sa8bj"};
|
|
3507
3507
|
|
|
3508
|
-
var cx
|
|
3509
|
-
var Component$
|
|
3508
|
+
var cx$10 = classNames.bind(styles$2c);
|
|
3509
|
+
var Component$2g = function (_a) {
|
|
3510
3510
|
var fallbackImage = _a.fallbackImage, onClick = _a.onClick, score = _a.score, userImage = _a.userImage, props = __rest(_a, ["fallbackImage", "onClick", "score", "userImage"]);
|
|
3511
|
-
return (React.createElement("div", __assign({ className: cx
|
|
3512
|
-
React.createElement("picture", { className: cx
|
|
3511
|
+
return (React.createElement("div", __assign({ className: cx$10('magneto-ui-candidate-profile-avatar') }, props),
|
|
3512
|
+
React.createElement("picture", { className: cx$10('magneto-ui-candidate-profile-avatar__picture') },
|
|
3513
3513
|
React.createElement(Avatar, { userImage: userImage, fallbackImage: fallbackImage, onClick: onClick })),
|
|
3514
|
-
score && (React.createElement("div", { className: cx
|
|
3514
|
+
score && (React.createElement("div", { className: cx$10('magneto-ui-candidate-profile-avatar__score') },
|
|
3515
3515
|
React.createElement(RatingBadge, { score: score })))));
|
|
3516
3516
|
};
|
|
3517
3517
|
/**
|
|
3518
3518
|
* Molecule UI component child of candidate profile
|
|
3519
3519
|
*/
|
|
3520
|
-
var CandidateProfileAvatar = Component$
|
|
3520
|
+
var CandidateProfileAvatar = Component$2g;
|
|
3521
3521
|
|
|
3522
3522
|
var styles$2b = {"magneto-ui-candidate-profile-body":"mg_candidate_profile_body_magneto-ui-candidate-profile-body_z5hdu","magneto-ui-candidate-profile-body--open":"mg_candidate_profile_body_magneto-ui-candidate-profile-body--open_z5hdu"};
|
|
3523
3523
|
|
|
3524
|
-
var cx
|
|
3525
|
-
var Component$
|
|
3524
|
+
var cx$$ = classNames.bind(styles$2b);
|
|
3525
|
+
var Component$2f = function (_a) {
|
|
3526
3526
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
3527
3527
|
var open = Collapse.useCollapse().open;
|
|
3528
|
-
return (React.createElement(Collapse.Body, __assign({ className: cx
|
|
3528
|
+
return (React.createElement(Collapse.Body, __assign({ className: cx$$('magneto-ui-candidate-profile-body', {
|
|
3529
3529
|
'magneto-ui-candidate-profile-body--open': open
|
|
3530
3530
|
}) }, props), children));
|
|
3531
3531
|
};
|
|
3532
3532
|
/**
|
|
3533
3533
|
* Molecule UI component child of candidate profile
|
|
3534
3534
|
*/
|
|
3535
|
-
var CandidateProfileBody = Component$
|
|
3535
|
+
var CandidateProfileBody = Component$2f;
|
|
3536
3536
|
|
|
3537
3537
|
var styles$2a = {"magneto-ui-candidate-profile-header":"mg_candidate_profile_header_magneto-ui-candidate-profile-header_1x5m8","magneto-ui-candidate-profile-header--open":"mg_candidate_profile_header_magneto-ui-candidate-profile-header--open_1x5m8"};
|
|
3538
3538
|
|
|
3539
|
-
var cx$
|
|
3540
|
-
var Component$
|
|
3539
|
+
var cx$_ = classNames.bind(styles$2a);
|
|
3540
|
+
var Component$2e = function (_a) {
|
|
3541
3541
|
var children = _a.children, className = _a.className, props = __rest(_a, ["children", "className"]);
|
|
3542
3542
|
var open = Collapse.useCollapse().open;
|
|
3543
|
-
return (React.createElement(Collapse.Header, __assign({ className: cx$
|
|
3543
|
+
return (React.createElement(Collapse.Header, __assign({ className: cx$_('magneto-ui-candidate-profile-header', className, {
|
|
3544
3544
|
'magneto-ui-candidate-profile-header--open': open
|
|
3545
3545
|
}) }, props), children));
|
|
3546
3546
|
};
|
|
3547
3547
|
/**
|
|
3548
3548
|
* Molecule UI component child of candidate profile
|
|
3549
3549
|
*/
|
|
3550
|
-
var CandidateProfileHeader = Component$
|
|
3550
|
+
var CandidateProfileHeader = Component$2e;
|
|
3551
3551
|
|
|
3552
3552
|
var styles$29 = {"magneto-ui-candidate-profile-toggler":"mg_candidate_profile_toggler_magneto-ui-candidate-profile-toggler_r3x9t","magneto-ui-candidate-profile-toggler--open":"mg_candidate_profile_toggler_magneto-ui-candidate-profile-toggler--open_r3x9t"};
|
|
3553
3553
|
|
|
3554
|
-
var cx$
|
|
3555
|
-
var Component$
|
|
3554
|
+
var cx$Z = classNames.bind(styles$29);
|
|
3555
|
+
var Component$2d = function (_a) {
|
|
3556
3556
|
var className = _a.className, onClick = _a.onClick, props = __rest(_a, ["className", "onClick"]);
|
|
3557
3557
|
var _b = Collapse.useCollapse(), open = _b.open, onChangeOpen = _b.onChangeOpen;
|
|
3558
3558
|
var handleOnClick = useCallback(function (evt) {
|
|
3559
3559
|
onClick === null || onClick === void 0 ? void 0 : onClick(evt);
|
|
3560
3560
|
onChangeOpen(!open);
|
|
3561
3561
|
}, [open, onChangeOpen, onClick]);
|
|
3562
|
-
return (React.createElement(Collapse.Toggler, __assign({}, props, { className: cx$
|
|
3562
|
+
return (React.createElement(Collapse.Toggler, __assign({}, props, { className: cx$Z('magneto-ui-candidate-profile-toggler', className, {
|
|
3563
3563
|
'magneto-ui-candidate-profile-toggler--open': open
|
|
3564
3564
|
}), onClick: handleOnClick }),
|
|
3565
3565
|
React.createElement(IconItem, { icon: ArrowDownGreen, hover: false })));
|
|
@@ -3567,7 +3567,7 @@ var Component$2c = function (_a) {
|
|
|
3567
3567
|
/**
|
|
3568
3568
|
* Molecule UI component child of candidate profile
|
|
3569
3569
|
*/
|
|
3570
|
-
var CandidateProfileToggler = Component$
|
|
3570
|
+
var CandidateProfileToggler = Component$2d;
|
|
3571
3571
|
|
|
3572
3572
|
var children = /*#__PURE__*/Object.freeze({
|
|
3573
3573
|
__proto__: null,
|
|
@@ -3577,16 +3577,16 @@ var children = /*#__PURE__*/Object.freeze({
|
|
|
3577
3577
|
Toggler: CandidateProfileToggler
|
|
3578
3578
|
});
|
|
3579
3579
|
|
|
3580
|
-
var cx$
|
|
3581
|
-
var Component$
|
|
3580
|
+
var cx$Y = classNames.bind(styles$2d);
|
|
3581
|
+
var Component$2c = function (_a) {
|
|
3582
3582
|
var children = _a.children, className = _a.className, _b = _a.defaultOpen, defaultOpen = _b === void 0 ? true : _b, onChangeOpen = _a.onChangeOpen, open = _a.open, props = __rest(_a, ["children", "className", "defaultOpen", "onChangeOpen", "open"]);
|
|
3583
3583
|
return (React.createElement(Collapse.Provider, { defaultOpen: defaultOpen, open: open, onChangeOpen: onChangeOpen },
|
|
3584
|
-
React.createElement("article", __assign({ className: cx$
|
|
3584
|
+
React.createElement("article", __assign({ className: cx$Y('magneto-ui-candidate-profile', className) }, props), children)));
|
|
3585
3585
|
};
|
|
3586
3586
|
/**
|
|
3587
3587
|
* Molecule UI component of candidate profile
|
|
3588
3588
|
*/
|
|
3589
|
-
var CandidateProfile = Object.assign(Component$
|
|
3589
|
+
var CandidateProfile = Object.assign(Component$2c, children);
|
|
3590
3590
|
|
|
3591
3591
|
var styles$28 = {"magneto-ui-cities-detail-drawer":"mg_cities_detail_drawer_magneto-ui-cities-detail-drawer_16b6c","magneto-ui-cities-detail-drawer__item-detail-icon":"mg_cities_detail_drawer_magneto-ui-cities-detail-drawer_item-detail-icon_16b6c","magneto-ui-cities-detail-drawer__item-detail-text":"mg_cities_detail_drawer_magneto-ui-cities-detail-drawer_item-detail-text_16b6c","magneto-ui-cities-detail-drawer__item-detail-text-remote":"mg_cities_detail_drawer_magneto-ui-cities-detail-drawer_item-detail-text-remote_16b6c","magneto-ui-cities-detail-drawer__item-detail-text-link":"mg_cities_detail_drawer_magneto-ui-cities-detail-drawer_item-detail-text-link_16b6c"};
|
|
3592
3592
|
|
|
@@ -3608,7 +3608,7 @@ var CitiesDetailDrawer = function (_a) {
|
|
|
3608
3608
|
|
|
3609
3609
|
var styles$27 = {"create-account-cta":"mg_create_account_c_t_a_create-account-cta_kugln","create-account-cta__loader":"mg_create_account_c_t_a_create-account-cta_loader_kugln","create-account-cta__avatar":"mg_create_account_c_t_a_create-account-cta_avatar_kugln","create-account-cta__summary":"mg_create_account_c_t_a_create-account-cta_summary_kugln","create-account-cta__arrow":"mg_create_account_c_t_a_create-account-cta_arrow_kugln"};
|
|
3610
3610
|
|
|
3611
|
-
var Component$
|
|
3611
|
+
var Component$2b = function (_a) {
|
|
3612
3612
|
var ctaClick = _a.ctaClick, description = _a.description, title = _a.title, isLoading = _a.isLoading;
|
|
3613
3613
|
return (React.createElement("button", { disabled: isLoading, onClick: ctaClick, className: styles$27['create-account-cta'] }, isLoading ? (React.createElement("div", { className: styles$27['create-account-cta__loader'] },
|
|
3614
3614
|
React.createElement(DotsLoader, { color: "#1a324c", count: 3 }))) : (React.createElement(React.Fragment, null,
|
|
@@ -3618,14 +3618,14 @@ var Component$2a = function (_a) {
|
|
|
3618
3618
|
React.createElement("p", null, description)),
|
|
3619
3619
|
React.createElement("img", { className: styles$27['create-account-cta__arrow'], src: ArrowRight2, alt: "arrow" })))));
|
|
3620
3620
|
};
|
|
3621
|
-
var CreateAccountCTA = Component$
|
|
3621
|
+
var CreateAccountCTA = Component$2b;
|
|
3622
3622
|
|
|
3623
3623
|
var styles$26 = {"magneto-ui--date-picker__wrapper":"mg_date_picker_magneto-ui--date-picker_wrapper_12pj2"};
|
|
3624
3624
|
|
|
3625
3625
|
var defaultValue$1 = function (value) {
|
|
3626
3626
|
return value ? parseDate(value) : { initialMonth: '', initialYear: '' };
|
|
3627
3627
|
};
|
|
3628
|
-
var Component$
|
|
3628
|
+
var Component$2a = function (_a) {
|
|
3629
3629
|
var monthOptionsLabels = _a.monthOptionsLabels, monthPlaceholder = _a.monthPlaceholder, yearPlaceholder = _a.yearPlaceholder, value = _a.value, disabled = _a.disabled, onChange = _a.onChange, futureYears = _a.futureYears, pastYears = _a.pastYears;
|
|
3630
3630
|
var _b = useState(defaultValue$1(value).initialMonth), selectedMonth = _b[0], setSelectedMonth = _b[1];
|
|
3631
3631
|
var _c = useState(defaultValue$1(value).initialYear), selectedYear = _c[0], setSelectedYear = _c[1];
|
|
@@ -3663,12 +3663,12 @@ var Component$29 = function (_a) {
|
|
|
3663
3663
|
React.createElement(DateDropdown, { placeholderLabel: monthPlaceholder, dateOptions: monthOptionsList, selectedOption: selectedMonth, onOptionChanged: handleMonthChange, disabled: disabled }),
|
|
3664
3664
|
React.createElement(DateDropdown, { placeholderLabel: yearPlaceholder, dateOptions: yearOptionsList, selectedOption: selectedYear, onOptionChanged: handleYearChange, disabled: disabled })));
|
|
3665
3665
|
};
|
|
3666
|
-
var DatePicker = Component$
|
|
3666
|
+
var DatePicker = Component$2a;
|
|
3667
3667
|
|
|
3668
3668
|
var style$T = {"magneto-ui-drawer":"mg_drawer_magneto-ui-drawer_1hxen","magneto-ui-close-button":"mg_drawer_magneto-ui-close-button_1hxen","background-drawer":"mg_drawer_background-drawer_1hxen","fadeIn":"mg_drawer_fadeIn_1hxen","show-left":"mg_drawer_show-left_1hxen","hidden-left":"mg_drawer_hidden-left_1hxen","show-right":"mg_drawer_show-right_1hxen","hidden-right":"mg_drawer_hidden-right_1hxen","full-drawer":"mg_drawer_full-drawer_1hxen"};
|
|
3669
3669
|
|
|
3670
3670
|
var DEFAULT_PADDING = 20;
|
|
3671
|
-
var Component$
|
|
3671
|
+
var Component$29 = function (_a) {
|
|
3672
3672
|
var _b = _a.className, className = _b === void 0 ? '' : _b, isOpen = _a.isOpen, _c = _a.direction, direction = _c === void 0 ? 'left' : _c, isFull = _a.isFull, customPadding = _a.customPadding, drawerWidth = _a.drawerWidth, isMobile = _a.isMobile, hideButton = _a.hideButton, children = _a.children, onClose = _a.onClose, _d = _a.blockBackgroundClose, blockBackgroundClose = _d === void 0 ? false : _d, customContainer = _a.customContainer, _e = _a.backGroundClassName, backGroundClassName = _e === void 0 ? '' : _e;
|
|
3673
3673
|
var fullDrawer = isFull ? "full-drawer" : '';
|
|
3674
3674
|
var paddingValue = customPadding !== undefined ? "".concat(customPadding, "px") : "".concat(DEFAULT_PADDING, "px");
|
|
@@ -3714,7 +3714,7 @@ var Component$28 = function (_a) {
|
|
|
3714
3714
|
/**
|
|
3715
3715
|
* Molecule UI component for Drawer
|
|
3716
3716
|
*/
|
|
3717
|
-
var Drawer$1 = Component$
|
|
3717
|
+
var Drawer$1 = Component$29;
|
|
3718
3718
|
|
|
3719
3719
|
var style$S = {"magneto-ui-empty-result":"mg_empty_results_magneto-ui-empty-result_1g4q8","fadeIn":"mg_empty_results_fadeIn_1g4q8","magneto-ui-empty-result__img-container":"mg_empty_results_magneto-ui-empty-result_img-container_1g4q8","magneto-ui-empty-result__img-container--img":"mg_empty_results_magneto-ui-empty-result_img-container--img_1g4q8","magneto-ui-empty-result__info":"mg_empty_results_magneto-ui-empty-result_info_1g4q8","magneto-ui-empty-result__info--search":"mg_empty_results_magneto-ui-empty-result_info--search_1g4q8","magneto-ui-empty-result__tags":"mg_empty_results_magneto-ui-empty-result_tags_1g4q8"};
|
|
3720
3720
|
|
|
@@ -3779,7 +3779,7 @@ var EXPANDABLE_INFO_ACTION_ICONS = {
|
|
|
3779
3779
|
|
|
3780
3780
|
var styles$25 = {"magneto-ui-expandable-info-action__button":"mg_expandable_info_action_magneto-ui-expandable-info-action_button_1ajzq","magneto-ui-expandable-info-action__button--dark-blue":"mg_expandable_info_action_magneto-ui-expandable-info-action_button--dark-blue_1ajzq","magneto-ui-expandable-info-action__button--light-blue":"mg_expandable_info_action_magneto-ui-expandable-info-action_button--light-blue_1ajzq","magneto-ui-expandable-info-action__button--white":"mg_expandable_info_action_magneto-ui-expandable-info-action_button--white_1ajzq","magneto-ui-expandable-info-action__button--green":"mg_expandable_info_action_magneto-ui-expandable-info-action_button--green_1ajzq","magneto-ui-expandable-info-action__title":"mg_expandable_info_action_magneto-ui-expandable-info-action_title_1ajzq"};
|
|
3781
3781
|
|
|
3782
|
-
var Component$
|
|
3782
|
+
var Component$28 = function (_a) {
|
|
3783
3783
|
var className = _a.className, loading = _a.loading, onAction = _a.onAction, prefixIcon = _a.prefixIcon, suffixIcon = _a.suffixIcon, title = _a.title, _b = _a.variant, variant = _b === void 0 ? 'blue' : _b;
|
|
3784
3784
|
var isUrl = useMemo(function () { return onAction && typeof onAction === 'string'; }, [onAction]);
|
|
3785
3785
|
var Component = useMemo(function () { return (isUrl ? 'a' : 'button'); }, [isUrl]);
|
|
@@ -3817,11 +3817,11 @@ var Component$27 = function (_a) {
|
|
|
3817
3817
|
/**
|
|
3818
3818
|
* Molecule UI child component of expandable info
|
|
3819
3819
|
*/
|
|
3820
|
-
var ExpandableInfoAction = Component$
|
|
3820
|
+
var ExpandableInfoAction = Component$28;
|
|
3821
3821
|
|
|
3822
3822
|
var styles$24 = {"magneto-ui-expandable-info-details__container":"mg_expandable_info_details_magneto-ui-expandable-info-details_container_1o8tr","magneto-ui-expandable-info-details__section":"mg_expandable_info_details_magneto-ui-expandable-info-details_section_1o8tr","magneto-ui-expandable-info-details__section--multiple":"mg_expandable_info_details_magneto-ui-expandable-info-details_section--multiple_1o8tr","magneto-ui-expandable-info-details__sub-section":"mg_expandable_info_details_magneto-ui-expandable-info-details_sub-section_1o8tr","magneto-ui-expandable-info-details__sub-section--initial":"mg_expandable_info_details_magneto-ui-expandable-info-details_sub-section--initial_1o8tr","magneto-ui-expandable-info-details__item":"mg_expandable_info_details_magneto-ui-expandable-info-details_item_1o8tr","magneto-ui-expandable-info-details__item--first":"mg_expandable_info_details_magneto-ui-expandable-info-details_item--first_1o8tr","magneto-ui-expandable-info-details__text":"mg_expandable_info_details_magneto-ui-expandable-info-details_text_1o8tr","magneto-ui-expandable-info-details__text--bold":"mg_expandable_info_details_magneto-ui-expandable-info-details_text--bold_1o8tr","magneto-ui-expandable-info-details__footer":"mg_expandable_info_details_magneto-ui-expandable-info-details_footer_1o8tr","magneto-ui-expandable-info-details__action":"mg_expandable_info_details_magneto-ui-expandable-info-details_action_1o8tr"};
|
|
3823
3823
|
|
|
3824
|
-
var Component$
|
|
3824
|
+
var Component$27 = function (_a) {
|
|
3825
3825
|
var sections = _a.sections, footer = _a.footer;
|
|
3826
3826
|
var sectionStyles = useCallback(function (multiple) {
|
|
3827
3827
|
return CNM.get({
|
|
@@ -3868,7 +3868,7 @@ var Component$26 = function (_a) {
|
|
|
3868
3868
|
/**
|
|
3869
3869
|
* Molecule UI child component of expandable info
|
|
3870
3870
|
*/
|
|
3871
|
-
var ExpandableInfoDetails = Component$
|
|
3871
|
+
var ExpandableInfoDetails = Component$27;
|
|
3872
3872
|
|
|
3873
3873
|
var EExpandableInfoVariant;
|
|
3874
3874
|
(function (EExpandableInfoVariant) {
|
|
@@ -3891,7 +3891,7 @@ var EXPANDABLE_INFO_MESSAGE_ICONS = {
|
|
|
3891
3891
|
|
|
3892
3892
|
var styles$23 = {"magneto-ui-expandable-info-message__container":"mg_expandable_info_message_magneto-ui-expandable-info-message_container_oubsq","magneto-ui-expandable-info-message__text":"mg_expandable_info_message_magneto-ui-expandable-info-message_text_oubsq","magneto-ui-expandable-info-message__text--blue":"mg_expandable_info_message_magneto-ui-expandable-info-message_text--blue_oubsq","magneto-ui-expandable-info-message__text--white":"mg_expandable_info_message_magneto-ui-expandable-info-message_text--white_oubsq"};
|
|
3893
3893
|
|
|
3894
|
-
var Component$
|
|
3894
|
+
var Component$26 = function (_a) {
|
|
3895
3895
|
var className = _a.className, title = _a.title, prefixIcon = _a.prefixIcon, variant = _a.variant;
|
|
3896
3896
|
var icon = useCallback(function (icon) {
|
|
3897
3897
|
if (icon) {
|
|
@@ -3915,11 +3915,11 @@ var Component$25 = function (_a) {
|
|
|
3915
3915
|
/**
|
|
3916
3916
|
* Molecule UI child component of expandable info
|
|
3917
3917
|
*/
|
|
3918
|
-
var ExpandableInfoMessage = Component$
|
|
3918
|
+
var ExpandableInfoMessage = Component$26;
|
|
3919
3919
|
|
|
3920
3920
|
var styles$22 = {"magneto-ui-expandable-info-modal":"mg_expandable_info_modal_magneto-ui-expandable-info-modal_56w98"};
|
|
3921
3921
|
|
|
3922
|
-
var Component$
|
|
3922
|
+
var Component$25 = function (_a) {
|
|
3923
3923
|
var toggler = _a.toggler, details = _a.details;
|
|
3924
3924
|
var _b = useState(false), visible = _b[0], setVisible = _b[1];
|
|
3925
3925
|
var handleOnToggle = useCallback(function () {
|
|
@@ -3933,7 +3933,7 @@ var Component$24 = function (_a) {
|
|
|
3933
3933
|
/**
|
|
3934
3934
|
* Molecule UI child component of expandable info
|
|
3935
3935
|
*/
|
|
3936
|
-
var ExpandableInfoModal = Component$
|
|
3936
|
+
var ExpandableInfoModal = Component$25;
|
|
3937
3937
|
|
|
3938
3938
|
var styles$21 = {"magneto-ui-expandable-info-popover":"mg_expandable_info_popover_magneto-ui-expandable-info-popover_13xbj","magneto-ui-expandable-info-popover--small":"mg_expandable_info_popover_magneto-ui-expandable-info-popover--small_13xbj","magneto-ui-expandable-info-popover--large":"mg_expandable_info_popover_magneto-ui-expandable-info-popover--large_13xbj","magneto-ui-expandable-info-popover--white":"mg_expandable_info_popover_magneto-ui-expandable-info-popover--white_13xbj","magneto-ui-expandable-info-popover__arrow":"mg_expandable_info_popover_magneto-ui-expandable-info-popover_arrow_13xbj","magneto-ui-expandable-info-popover__arrow--small":"mg_expandable_info_popover_magneto-ui-expandable-info-popover_arrow--small_13xbj","magneto-ui-expandable-info-popover__arrow--large":"mg_expandable_info_popover_magneto-ui-expandable-info-popover_arrow--large_13xbj"};
|
|
3939
3939
|
|
|
@@ -3957,7 +3957,7 @@ var MobileSideCards = function (_a) {
|
|
|
3957
3957
|
|
|
3958
3958
|
var style$R = {"mega-menu-drawer-item__content":"mg_mega_menu_drawer_item_mega-menu-drawer-item_content_becoo","is-active":"mg_mega_menu_drawer_item_is-active_becoo","mega-menu-drawer-item__arrow":"mg_mega_menu_drawer_item_mega-menu-drawer-item_arrow_becoo","mega-menu-drawer-item__action":"mg_mega_menu_drawer_item_mega-menu-drawer-item_action_becoo","mega-menu-drawer-item__action--icon":"mg_mega_menu_drawer_item_mega-menu-drawer-item_action--icon_becoo","item-drawer__content":"mg_mega_menu_drawer_item_item-drawer_content_becoo","item-drawer__header":"mg_mega_menu_drawer_item_item-drawer_header_becoo","item-drawer__title":"mg_mega_menu_drawer_item_item-drawer_title_becoo","item-drawer__back":"mg_mega_menu_drawer_item_item-drawer_back_becoo"};
|
|
3959
3959
|
|
|
3960
|
-
var Component$
|
|
3960
|
+
var Component$24 = function (_a) {
|
|
3961
3961
|
var _b = _a.url, url = _b === void 0 ? '#' : _b, _c = _a.text, text = _c === void 0 ? '' : _c, isActive = _a.isActive, icon = _a.icon, content = _a.content, onClickOption = _a.onClickOption;
|
|
3962
3962
|
var _d = useState(false), openDrawer = _d[0], setOpenDrawer = _d[1];
|
|
3963
3963
|
var menuActive = isActive ? style$R['is-active'] : '';
|
|
@@ -3988,7 +3988,7 @@ var MegaMenuJobsDrawer = function (_a) {
|
|
|
3988
3988
|
React.createElement("p", { className: style$R['item-drawer__title'] }, title)),
|
|
3989
3989
|
React.createElement("div", { className: "".concat(style$R['item-drawer__content']) }, content)));
|
|
3990
3990
|
};
|
|
3991
|
-
var MegaMenuDrawerItem = Object.assign(Component$
|
|
3991
|
+
var MegaMenuDrawerItem = Object.assign(Component$24, {
|
|
3992
3992
|
Drawer: MegaMenuJobsDrawer
|
|
3993
3993
|
});
|
|
3994
3994
|
|
|
@@ -4025,7 +4025,7 @@ var withMegaMenuSideCards = function (WrappedComponent) {
|
|
|
4025
4025
|
return Component;
|
|
4026
4026
|
};
|
|
4027
4027
|
|
|
4028
|
-
var Component$
|
|
4028
|
+
var Component$23 = function (_a) {
|
|
4029
4029
|
var details = _a.details, toggler = _a.toggler, _b = _a.clickOut, clickOut = _b === void 0 ? false : _b, _c = _a.setClickOut, setClickOut = _c === void 0 ? function () { return ({}); } : _c;
|
|
4030
4030
|
return (React.createElement(Popover, { widthBase: 'auto', show: clickOut, positionX: "right", positionY: toggler.size === EExpandableInfoSize.LARGE ? 'top' : 'bottom', className: CNM.get({
|
|
4031
4031
|
styles: styles$21,
|
|
@@ -4045,7 +4045,7 @@ var Component$22 = function (_a) {
|
|
|
4045
4045
|
/**
|
|
4046
4046
|
* Molecule UI child component of expandable info
|
|
4047
4047
|
*/
|
|
4048
|
-
var ExpandableInfoPopover = withClickOut(Component$
|
|
4048
|
+
var ExpandableInfoPopover = withClickOut(Component$23);
|
|
4049
4049
|
|
|
4050
4050
|
var EXPANDABLE_INFO_TOGGLER_ICONS = {
|
|
4051
4051
|
coin: CoinBlackOutline
|
|
@@ -4053,7 +4053,7 @@ var EXPANDABLE_INFO_TOGGLER_ICONS = {
|
|
|
4053
4053
|
|
|
4054
4054
|
var styles$1$ = {"magneto-ui-expandable-info-toggler__container":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_container_x381d","magneto-ui-expandable-info-toggler__container--no-details":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_container--no-details_x381d","magneto-ui-expandable-info-toggler__container--blue":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_container--blue_x381d","magneto-ui-expandable-info-toggler__container--white":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_container--white_x381d","magneto-ui-expandable-info-toggler__container--small":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_container--small_x381d","magneto-ui-expandable-info-toggler__text":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_text_x381d","magneto-ui-expandable-info-toggler__text--blue":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_text--blue_x381d","magneto-ui-expandable-info-toggler__text--white":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_text--white_x381d","magneto-ui-expandable-info-toggler__text--small":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_text--small_x381d","magneto-ui-expandable-info-toggler__summary":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_summary_x381d","magneto-ui-expandable-info-toggler__summary--small":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_summary--small_x381d","magneto-ui-expandable-info-toggler__summary--large":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_summary--large_x381d"};
|
|
4055
4055
|
|
|
4056
|
-
var Component$
|
|
4056
|
+
var Component$22 = function (_a) {
|
|
4057
4057
|
var details = _a.details, onToggle = _a.onToggle, prefixIcon = _a.prefixIcon, size = _a.size, suffixIcon = _a.suffixIcon, summary = _a.summary, title = _a.title, _b = _a.variant, variant = _b === void 0 ? 'white' : _b;
|
|
4058
4058
|
var styleGenerator = useCallback(function (base) {
|
|
4059
4059
|
return CNM.get({
|
|
@@ -4102,11 +4102,11 @@ var Component$21 = function (_a) {
|
|
|
4102
4102
|
/**
|
|
4103
4103
|
* Molecule UI child component of expandable info
|
|
4104
4104
|
*/
|
|
4105
|
-
var ExpandableInfoToggler = Component$
|
|
4105
|
+
var ExpandableInfoToggler = Component$22;
|
|
4106
4106
|
|
|
4107
4107
|
var styles$1_ = {"magneto-ui-expandable-info":"mg_expandable_info_magneto-ui-expandable-info_bokzy","magneto-ui-expandable-info__container":"mg_expandable_info_magneto-ui-expandable-info_container_bokzy","magneto-ui-expandable-info__container--white":"mg_expandable_info_magneto-ui-expandable-info_container--white_bokzy","magneto-ui-expandable-info__container--blue":"mg_expandable_info_magneto-ui-expandable-info_container--blue_bokzy","magneto-ui-expandable-info__container--small":"mg_expandable_info_magneto-ui-expandable-info_container--small_bokzy","magneto-ui-expandable-info__container--floating":"mg_expandable_info_magneto-ui-expandable-info_container--floating_bokzy","magneto-ui-expandable-info__actions":"mg_expandable_info_magneto-ui-expandable-info_actions_bokzy"};
|
|
4108
4108
|
|
|
4109
|
-
var Component$
|
|
4109
|
+
var Component$21 = function (_a) {
|
|
4110
4110
|
var actions = _a.actions, details = _a.details, floating = _a.floating, message = _a.message, prefixIcon = _a.prefixIcon, _b = _a.size, size = _b === void 0 ? 'large' : _b, suffixIcon = _a.suffixIcon, summary = _a.summary, title = _a.title, _c = _a.variant, variant = _c === void 0 ? 'white' : _c;
|
|
4111
4111
|
var togglerProps = useMemo(function () { return ({
|
|
4112
4112
|
details: details,
|
|
@@ -4138,7 +4138,7 @@ var Component$20 = function (_a) {
|
|
|
4138
4138
|
/**
|
|
4139
4139
|
* Molecule UI component for expandable info
|
|
4140
4140
|
*/
|
|
4141
|
-
var ExpandableInfo = Component$
|
|
4141
|
+
var ExpandableInfo = Component$21;
|
|
4142
4142
|
|
|
4143
4143
|
var style$Q = {"filter-actions":"mg_filter_actions_filter-actions_brvmy","filter-actions__action":"mg_filter_actions_filter-actions_action_brvmy","filter-actions__action--selected":"mg_filter_actions_filter-actions_action--selected_brvmy"};
|
|
4144
4144
|
|
|
@@ -4209,7 +4209,7 @@ var FilterSearchItem = function (_a) {
|
|
|
4209
4209
|
|
|
4210
4210
|
var styles$1X = {"fraud-card-job":"mg_fraud_card_job_fraud-card-job_284yg","fraud-card-job__header":"mg_fraud_card_job_fraud-card-job_header_284yg","fraud-card-job__text":"mg_fraud_card_job_fraud-card-job_text_284yg","fraud-card-job__link":"mg_fraud_card_job_fraud-card-job_link_284yg"};
|
|
4211
4211
|
|
|
4212
|
-
var Component$
|
|
4212
|
+
var Component$20 = function (_a) {
|
|
4213
4213
|
var title = _a.title, content = _a.content, linkText = _a.linkText, link = _a.link;
|
|
4214
4214
|
return (React.createElement("div", { className: styles$1X['fraud-card-job'] },
|
|
4215
4215
|
React.createElement("div", { className: styles$1X['fraud-card-job__header'] },
|
|
@@ -4221,11 +4221,11 @@ var Component$1$ = function (_a) {
|
|
|
4221
4221
|
React.createElement("img", { src: WarningHex, alt: "warning" }),
|
|
4222
4222
|
linkText))));
|
|
4223
4223
|
};
|
|
4224
|
-
var FraudCardJob = Component$
|
|
4224
|
+
var FraudCardJob = Component$20;
|
|
4225
4225
|
|
|
4226
4226
|
var styles$1W = {"magneto-ui-frequent-search":"mg_frequent_search_magneto-ui-frequent-search_46vb2","magneto-ui-frequent-search__heading":"mg_frequent_search_magneto-ui-frequent-search_heading_46vb2","magneto-ui-frequent-search__items":"mg_frequent_search_magneto-ui-frequent-search_items_46vb2","magneto-ui-frequent-search__buttons-container":"mg_frequent_search_magneto-ui-frequent-search_buttons-container_46vb2","magneto-ui-frequent-search__buttons-container--btn":"mg_frequent_search_magneto-ui-frequent-search_buttons-container--btn_46vb2"};
|
|
4227
4227
|
|
|
4228
|
-
var Component$
|
|
4228
|
+
var Component$1$ = function (_a) {
|
|
4229
4229
|
var searchHeading = _a.searchHeading, searchList = _a.searchList, showLess = _a.showLess, showMore = _a.showMore, showFrequentSearch = _a.showFrequentSearch;
|
|
4230
4230
|
var _b = useState(true), showFullList = _b[0], setShowFullList = _b[1];
|
|
4231
4231
|
var searchListDinamyc = useMemo(function () {
|
|
@@ -4250,33 +4250,33 @@ var Component$1_ = function (_a) {
|
|
|
4250
4250
|
/**
|
|
4251
4251
|
* UI Atom component of Frequent Search
|
|
4252
4252
|
*/
|
|
4253
|
-
var FrequentSearch = Component$
|
|
4253
|
+
var FrequentSearch = Component$1$;
|
|
4254
4254
|
|
|
4255
4255
|
var style$O = {"header-drawer-company":"mg_header_drawer_company_header-drawer-company_jtdka"};
|
|
4256
4256
|
|
|
4257
|
-
var Component$
|
|
4257
|
+
var Component$1_ = function (_a) {
|
|
4258
4258
|
var logo = _a.logo, alt = _a.alt, logoCompany = _a.logoCompany, logoCompanyAlt = _a.logoCompanyAlt, flag = _a.flag, flagAlt = _a.flagAlt;
|
|
4259
4259
|
return (React.createElement("div", { className: style$O['header-drawer-company'] },
|
|
4260
4260
|
React.createElement(LogoComponent, { logo: logo, alt: alt }),
|
|
4261
4261
|
React.createElement(LogoComponent, { logo: logoCompany, alt: logoCompanyAlt }),
|
|
4262
4262
|
React.createElement("img", { src: flag, alt: flagAlt, loading: "lazy", width: '25px', height: '20px' })));
|
|
4263
4263
|
};
|
|
4264
|
-
var HeaderDrawerCompany = Component$
|
|
4264
|
+
var HeaderDrawerCompany = Component$1_;
|
|
4265
4265
|
|
|
4266
4266
|
var styles$1V = {"TabComponent":"mg_tab_TabComponent_zqqnn"};
|
|
4267
4267
|
|
|
4268
|
-
var Component$
|
|
4268
|
+
var Component$1Z = function (_a) {
|
|
4269
4269
|
var children = _a.children;
|
|
4270
4270
|
return React.createElement("div", { className: styles$1V.TabComponent }, children);
|
|
4271
4271
|
};
|
|
4272
4272
|
/**
|
|
4273
4273
|
* Molecule UI for Tab
|
|
4274
4274
|
*/
|
|
4275
|
-
var Tab = Component$
|
|
4275
|
+
var Tab = Component$1Z;
|
|
4276
4276
|
|
|
4277
4277
|
var styles$1U = {"TabButtonComponent":"mg_tab_button_TabButtonComponent_hysss"};
|
|
4278
4278
|
|
|
4279
|
-
var Component$
|
|
4279
|
+
var Component$1Y = function (_a) {
|
|
4280
4280
|
var tabButtonLink = _a.tabButtonLink, tabButtonLinkStyles = _a.tabButtonLinkStyles, tabButtonStyles = _a.tabButtonStyles;
|
|
4281
4281
|
var stylesValue = useMemo(function () { return toCSSVariables(tabButtonStyles); }, [tabButtonStyles]);
|
|
4282
4282
|
var boxShadow = (tabButtonStyles || {}).boxShadow;
|
|
@@ -4285,11 +4285,11 @@ var Component$1X = function (_a) {
|
|
|
4285
4285
|
/**
|
|
4286
4286
|
* Molecule UI component for Tab Button
|
|
4287
4287
|
*/
|
|
4288
|
-
var TabButton = Component$
|
|
4288
|
+
var TabButton = Component$1Y;
|
|
4289
4289
|
|
|
4290
4290
|
var styles$1T = {"HeaderDrawerTabsComponent":"mg_header_drawer_tabs_HeaderDrawerTabsComponent_1wrvo"};
|
|
4291
4291
|
|
|
4292
|
-
var Component$
|
|
4292
|
+
var Component$1X = function (_a) {
|
|
4293
4293
|
var logoProps = _a.logoProps, leftTabLink = _a.leftTabLink, rightTabLink = _a.rightTabLink, leftTabStyle = _a.leftTabStyle, rightTabStyle = _a.rightTabStyle, homeUrl = _a.homeUrl;
|
|
4294
4294
|
return (React.createElement("div", { className: styles$1T.HeaderDrawerTabsComponent },
|
|
4295
4295
|
React.createElement("a", { href: homeUrl },
|
|
@@ -4298,11 +4298,11 @@ var Component$1W = function (_a) {
|
|
|
4298
4298
|
React.createElement(TabButton, { tabButtonLink: leftTabLink, tabButtonLinkStyles: leftTabStyle === null || leftTabStyle === void 0 ? void 0 : leftTabStyle.tabButtonLinkStyles, tabButtonStyles: leftTabStyle === null || leftTabStyle === void 0 ? void 0 : leftTabStyle.tabButtonStyles }),
|
|
4299
4299
|
React.createElement(TabButton, { tabButtonLink: rightTabLink, tabButtonLinkStyles: rightTabStyle === null || rightTabStyle === void 0 ? void 0 : rightTabStyle.tabButtonLinkStyles, tabButtonStyles: rightTabStyle === null || rightTabStyle === void 0 ? void 0 : rightTabStyle.tabButtonStyles }))));
|
|
4300
4300
|
};
|
|
4301
|
-
var HeaderDrawerTabs = Component$
|
|
4301
|
+
var HeaderDrawerTabs = Component$1X;
|
|
4302
4302
|
|
|
4303
4303
|
var styles$1S = {"HeaderTabsComponent":"mg_header_tabs_HeaderTabsComponent_yjqx4"};
|
|
4304
4304
|
|
|
4305
|
-
var Component$
|
|
4305
|
+
var Component$1W = function (_a) {
|
|
4306
4306
|
var _b = _a.headerTabList, headerTabList = _b === void 0 ? [] : _b, _c = _a.urlParam, urlParam = _c === void 0 ? '' : _c, addDivider = _a.addDivider;
|
|
4307
4307
|
return (React.createElement("div", { className: styles$1S.HeaderTabsComponent, "data-add-divider": addDivider }, headerTabList.map(function (_a, index) {
|
|
4308
4308
|
var headerTabProps = __rest(_a, []);
|
|
@@ -4315,12 +4315,12 @@ var Component$1V = function (_a) {
|
|
|
4315
4315
|
/**
|
|
4316
4316
|
* Molecule UI component for header tabs information`
|
|
4317
4317
|
*/
|
|
4318
|
-
var HeaderTabs = Component$
|
|
4318
|
+
var HeaderTabs = Component$1W;
|
|
4319
4319
|
|
|
4320
4320
|
var styles$1R = {"w-inherit":"mg_horizontal_menu_w-inherit_auqtc","w-none":"mg_horizontal_menu_w-none_auqtc","w-auto":"mg_horizontal_menu_w-auto_auqtc","w-full":"mg_horizontal_menu_w-full_auqtc","w-min":"mg_horizontal_menu_w-min_auqtc","w-xxs":"mg_horizontal_menu_w-xxs_auqtc","w-xs":"mg_horizontal_menu_w-xs_auqtc","w-sm":"mg_horizontal_menu_w-sm_auqtc","w-sm-2":"mg_horizontal_menu_w-sm-2_auqtc","w-md":"mg_horizontal_menu_w-md_auqtc","w-md-2":"mg_horizontal_menu_w-md-2_auqtc","w-lg":"mg_horizontal_menu_w-lg_auqtc","w-xl":"mg_horizontal_menu_w-xl_auqtc","w-2xl":"mg_horizontal_menu_w-2xl_auqtc","w-3xl":"mg_horizontal_menu_w-3xl_auqtc","w-4xl":"mg_horizontal_menu_w-4xl_auqtc","w-container-xxs":"mg_horizontal_menu_w-container-xxs_auqtc","w-container-xs":"mg_horizontal_menu_w-container-xs_auqtc","w-container-sm":"mg_horizontal_menu_w-container-sm_auqtc","w-container-md":"mg_horizontal_menu_w-container-md_auqtc","w-container-lg":"mg_horizontal_menu_w-container-lg_auqtc","w-container-xl":"mg_horizontal_menu_w-container-xl_auqtc","w-container-2xl":"mg_horizontal_menu_w-container-2xl_auqtc","w-container-3xl":"mg_horizontal_menu_w-container-3xl_auqtc","min-w-inherit":"mg_horizontal_menu_min-w-inherit_auqtc","min-w-none":"mg_horizontal_menu_min-w-none_auqtc","min-w-auto":"mg_horizontal_menu_min-w-auto_auqtc","min-w-full":"mg_horizontal_menu_min-w-full_auqtc","min-w-min":"mg_horizontal_menu_min-w-min_auqtc","min-w-xxs":"mg_horizontal_menu_min-w-xxs_auqtc","min-w-xs":"mg_horizontal_menu_min-w-xs_auqtc","min-w-sm":"mg_horizontal_menu_min-w-sm_auqtc","min-w-sm-2":"mg_horizontal_menu_min-w-sm-2_auqtc","min-w-md":"mg_horizontal_menu_min-w-md_auqtc","min-w-md-2":"mg_horizontal_menu_min-w-md-2_auqtc","min-w-lg":"mg_horizontal_menu_min-w-lg_auqtc","min-w-xl":"mg_horizontal_menu_min-w-xl_auqtc","min-w-2xl":"mg_horizontal_menu_min-w-2xl_auqtc","min-w-3xl":"mg_horizontal_menu_min-w-3xl_auqtc","min-w-4xl":"mg_horizontal_menu_min-w-4xl_auqtc","min-w-container-xxs":"mg_horizontal_menu_min-w-container-xxs_auqtc","min-w-container-xs":"mg_horizontal_menu_min-w-container-xs_auqtc","min-w-container-sm":"mg_horizontal_menu_min-w-container-sm_auqtc","min-w-container-md":"mg_horizontal_menu_min-w-container-md_auqtc","min-w-container-lg":"mg_horizontal_menu_min-w-container-lg_auqtc","min-w-container-xl":"mg_horizontal_menu_min-w-container-xl_auqtc","min-w-container-2xl":"mg_horizontal_menu_min-w-container-2xl_auqtc","min-w-container-3xl":"mg_horizontal_menu_min-w-container-3xl_auqtc","h-inherit":"mg_horizontal_menu_h-inherit_auqtc","h-none":"mg_horizontal_menu_h-none_auqtc","h-auto":"mg_horizontal_menu_h-auto_auqtc","h-full":"mg_horizontal_menu_h-full_auqtc","h-min":"mg_horizontal_menu_h-min_auqtc","h-xxs":"mg_horizontal_menu_h-xxs_auqtc","h-xs":"mg_horizontal_menu_h-xs_auqtc","h-sm":"mg_horizontal_menu_h-sm_auqtc","h-sm-2":"mg_horizontal_menu_h-sm-2_auqtc","h-md":"mg_horizontal_menu_h-md_auqtc","h-md-2":"mg_horizontal_menu_h-md-2_auqtc","h-lg":"mg_horizontal_menu_h-lg_auqtc","h-xl":"mg_horizontal_menu_h-xl_auqtc","h-2xl":"mg_horizontal_menu_h-2xl_auqtc","h-3xl":"mg_horizontal_menu_h-3xl_auqtc","h-4xl":"mg_horizontal_menu_h-4xl_auqtc","h-container-xxs":"mg_horizontal_menu_h-container-xxs_auqtc","h-container-xs":"mg_horizontal_menu_h-container-xs_auqtc","h-container-sm":"mg_horizontal_menu_h-container-sm_auqtc","h-container-md":"mg_horizontal_menu_h-container-md_auqtc","h-container-lg":"mg_horizontal_menu_h-container-lg_auqtc","h-container-xl":"mg_horizontal_menu_h-container-xl_auqtc","h-container-2xl":"mg_horizontal_menu_h-container-2xl_auqtc","h-container-3xl":"mg_horizontal_menu_h-container-3xl_auqtc","min-h-inherit":"mg_horizontal_menu_min-h-inherit_auqtc","min-h-none":"mg_horizontal_menu_min-h-none_auqtc","min-h-auto":"mg_horizontal_menu_min-h-auto_auqtc","min-h-full":"mg_horizontal_menu_min-h-full_auqtc","min-h-min":"mg_horizontal_menu_min-h-min_auqtc","min-h-xxs":"mg_horizontal_menu_min-h-xxs_auqtc","min-h-xs":"mg_horizontal_menu_min-h-xs_auqtc","min-h-sm":"mg_horizontal_menu_min-h-sm_auqtc","min-h-sm-2":"mg_horizontal_menu_min-h-sm-2_auqtc","min-h-md":"mg_horizontal_menu_min-h-md_auqtc","min-h-md-2":"mg_horizontal_menu_min-h-md-2_auqtc","min-h-lg":"mg_horizontal_menu_min-h-lg_auqtc","min-h-xl":"mg_horizontal_menu_min-h-xl_auqtc","min-h-2xl":"mg_horizontal_menu_min-h-2xl_auqtc","min-h-3xl":"mg_horizontal_menu_min-h-3xl_auqtc","min-h-4xl":"mg_horizontal_menu_min-h-4xl_auqtc","min-h-container-xxs":"mg_horizontal_menu_min-h-container-xxs_auqtc","min-h-container-xs":"mg_horizontal_menu_min-h-container-xs_auqtc","min-h-container-sm":"mg_horizontal_menu_min-h-container-sm_auqtc","min-h-container-md":"mg_horizontal_menu_min-h-container-md_auqtc","min-h-container-lg":"mg_horizontal_menu_min-h-container-lg_auqtc","min-h-container-xl":"mg_horizontal_menu_min-h-container-xl_auqtc","min-h-container-2xl":"mg_horizontal_menu_min-h-container-2xl_auqtc","min-h-container-3xl":"mg_horizontal_menu_min-h-container-3xl_auqtc","sq-inherit":"mg_horizontal_menu_sq-inherit_auqtc","sq-none":"mg_horizontal_menu_sq-none_auqtc","sq-auto":"mg_horizontal_menu_sq-auto_auqtc","sq-full":"mg_horizontal_menu_sq-full_auqtc","sq-min":"mg_horizontal_menu_sq-min_auqtc","sq-xxs":"mg_horizontal_menu_sq-xxs_auqtc","sq-xs":"mg_horizontal_menu_sq-xs_auqtc","sq-sm":"mg_horizontal_menu_sq-sm_auqtc","sq-sm-2":"mg_horizontal_menu_sq-sm-2_auqtc","sq-md":"mg_horizontal_menu_sq-md_auqtc","sq-md-2":"mg_horizontal_menu_sq-md-2_auqtc","sq-lg":"mg_horizontal_menu_sq-lg_auqtc","sq-xl":"mg_horizontal_menu_sq-xl_auqtc","sq-2xl":"mg_horizontal_menu_sq-2xl_auqtc","sq-3xl":"mg_horizontal_menu_sq-3xl_auqtc","sq-4xl":"mg_horizontal_menu_sq-4xl_auqtc","min-sq-inherit":"mg_horizontal_menu_min-sq-inherit_auqtc","min-sq-none":"mg_horizontal_menu_min-sq-none_auqtc","min-sq-auto":"mg_horizontal_menu_min-sq-auto_auqtc","min-sq-full":"mg_horizontal_menu_min-sq-full_auqtc","min-sq-min":"mg_horizontal_menu_min-sq-min_auqtc","min-sq-xxs":"mg_horizontal_menu_min-sq-xxs_auqtc","min-sq-xs":"mg_horizontal_menu_min-sq-xs_auqtc","min-sq-sm":"mg_horizontal_menu_min-sq-sm_auqtc","min-sq-sm-2":"mg_horizontal_menu_min-sq-sm-2_auqtc","min-sq-md":"mg_horizontal_menu_min-sq-md_auqtc","min-sq-md-2":"mg_horizontal_menu_min-sq-md-2_auqtc","min-sq-lg":"mg_horizontal_menu_min-sq-lg_auqtc","min-sq-xl":"mg_horizontal_menu_min-sq-xl_auqtc","min-sq-2xl":"mg_horizontal_menu_min-sq-2xl_auqtc","min-sq-3xl":"mg_horizontal_menu_min-sq-3xl_auqtc","min-sq-4xl":"mg_horizontal_menu_min-sq-4xl_auqtc","stroke-transparent":"mg_horizontal_menu_stroke-transparent_auqtc","stroke-inherit":"mg_horizontal_menu_stroke-inherit_auqtc","stroke-current":"mg_horizontal_menu_stroke-current_auqtc","stroke-blue-dark-50":"mg_horizontal_menu_stroke-blue-dark-50_auqtc","stroke-blue-dark-100":"mg_horizontal_menu_stroke-blue-dark-100_auqtc","stroke-blue-dark-200":"mg_horizontal_menu_stroke-blue-dark-200_auqtc","stroke-blue-dark-300":"mg_horizontal_menu_stroke-blue-dark-300_auqtc","stroke-blue-dark-400":"mg_horizontal_menu_stroke-blue-dark-400_auqtc","stroke-blue-dark-500":"mg_horizontal_menu_stroke-blue-dark-500_auqtc","stroke-blue-light-50":"mg_horizontal_menu_stroke-blue-light-50_auqtc","stroke-blue-light-100":"mg_horizontal_menu_stroke-blue-light-100_auqtc","stroke-blue-light-200":"mg_horizontal_menu_stroke-blue-light-200_auqtc","stroke-blue-light-300":"mg_horizontal_menu_stroke-blue-light-300_auqtc","stroke-blue-light-400":"mg_horizontal_menu_stroke-blue-light-400_auqtc","stroke-blue-light-500":"mg_horizontal_menu_stroke-blue-light-500_auqtc","stroke-green-50":"mg_horizontal_menu_stroke-green-50_auqtc","stroke-green-100":"mg_horizontal_menu_stroke-green-100_auqtc","stroke-green-200":"mg_horizontal_menu_stroke-green-200_auqtc","stroke-green-300":"mg_horizontal_menu_stroke-green-300_auqtc","stroke-green-400":"mg_horizontal_menu_stroke-green-400_auqtc","stroke-green-500":"mg_horizontal_menu_stroke-green-500_auqtc","stroke-green-600":"mg_horizontal_menu_stroke-green-600_auqtc","stroke-grey-50":"mg_horizontal_menu_stroke-grey-50_auqtc","stroke-grey-100":"mg_horizontal_menu_stroke-grey-100_auqtc","stroke-grey-200":"mg_horizontal_menu_stroke-grey-200_auqtc","stroke-grey-300":"mg_horizontal_menu_stroke-grey-300_auqtc","stroke-grey-400":"mg_horizontal_menu_stroke-grey-400_auqtc","stroke-grey-500":"mg_horizontal_menu_stroke-grey-500_auqtc","stroke-grey-600":"mg_horizontal_menu_stroke-grey-600_auqtc","stroke-grey-700":"mg_horizontal_menu_stroke-grey-700_auqtc","stroke-grey-800":"mg_horizontal_menu_stroke-grey-800_auqtc","stroke-grey-900":"mg_horizontal_menu_stroke-grey-900_auqtc","stroke-red-50":"mg_horizontal_menu_stroke-red-50_auqtc","stroke-red-100":"mg_horizontal_menu_stroke-red-100_auqtc","stroke-red-200":"mg_horizontal_menu_stroke-red-200_auqtc","stroke-red-300":"mg_horizontal_menu_stroke-red-300_auqtc","stroke-yellow-50":"mg_horizontal_menu_stroke-yellow-50_auqtc","stroke-yellow-100":"mg_horizontal_menu_stroke-yellow-100_auqtc","stroke-yellow-200":"mg_horizontal_menu_stroke-yellow-200_auqtc","stroke-yellow-300":"mg_horizontal_menu_stroke-yellow-300_auqtc","fill-transparent":"mg_horizontal_menu_fill-transparent_auqtc","fill-inherit":"mg_horizontal_menu_fill-inherit_auqtc","fill-current":"mg_horizontal_menu_fill-current_auqtc","fill-blue-dark-50":"mg_horizontal_menu_fill-blue-dark-50_auqtc","fill-blue-dark-100":"mg_horizontal_menu_fill-blue-dark-100_auqtc","fill-blue-dark-200":"mg_horizontal_menu_fill-blue-dark-200_auqtc","fill-blue-dark-300":"mg_horizontal_menu_fill-blue-dark-300_auqtc","fill-blue-dark-400":"mg_horizontal_menu_fill-blue-dark-400_auqtc","fill-blue-dark-500":"mg_horizontal_menu_fill-blue-dark-500_auqtc","fill-blue-light-50":"mg_horizontal_menu_fill-blue-light-50_auqtc","fill-blue-light-100":"mg_horizontal_menu_fill-blue-light-100_auqtc","fill-blue-light-200":"mg_horizontal_menu_fill-blue-light-200_auqtc","fill-blue-light-300":"mg_horizontal_menu_fill-blue-light-300_auqtc","fill-blue-light-400":"mg_horizontal_menu_fill-blue-light-400_auqtc","fill-blue-light-500":"mg_horizontal_menu_fill-blue-light-500_auqtc","fill-green-50":"mg_horizontal_menu_fill-green-50_auqtc","fill-green-100":"mg_horizontal_menu_fill-green-100_auqtc","fill-green-200":"mg_horizontal_menu_fill-green-200_auqtc","fill-green-300":"mg_horizontal_menu_fill-green-300_auqtc","fill-green-400":"mg_horizontal_menu_fill-green-400_auqtc","fill-green-500":"mg_horizontal_menu_fill-green-500_auqtc","fill-green-600":"mg_horizontal_menu_fill-green-600_auqtc","fill-grey-50":"mg_horizontal_menu_fill-grey-50_auqtc","fill-grey-100":"mg_horizontal_menu_fill-grey-100_auqtc","fill-grey-200":"mg_horizontal_menu_fill-grey-200_auqtc","fill-grey-300":"mg_horizontal_menu_fill-grey-300_auqtc","fill-grey-400":"mg_horizontal_menu_fill-grey-400_auqtc","fill-grey-500":"mg_horizontal_menu_fill-grey-500_auqtc","fill-grey-600":"mg_horizontal_menu_fill-grey-600_auqtc","fill-grey-700":"mg_horizontal_menu_fill-grey-700_auqtc","fill-grey-800":"mg_horizontal_menu_fill-grey-800_auqtc","fill-grey-900":"mg_horizontal_menu_fill-grey-900_auqtc","fill-red-50":"mg_horizontal_menu_fill-red-50_auqtc","fill-red-100":"mg_horizontal_menu_fill-red-100_auqtc","fill-red-200":"mg_horizontal_menu_fill-red-200_auqtc","fill-red-300":"mg_horizontal_menu_fill-red-300_auqtc","fill-yellow-50":"mg_horizontal_menu_fill-yellow-50_auqtc","fill-yellow-100":"mg_horizontal_menu_fill-yellow-100_auqtc","fill-yellow-200":"mg_horizontal_menu_fill-yellow-200_auqtc","fill-yellow-300":"mg_horizontal_menu_fill-yellow-300_auqtc","bg-transparent":"mg_horizontal_menu_bg-transparent_auqtc","bg-inherit":"mg_horizontal_menu_bg-inherit_auqtc","bg-current":"mg_horizontal_menu_bg-current_auqtc","bg-blue-dark-50":"mg_horizontal_menu_bg-blue-dark-50_auqtc","bg-blue-dark-100":"mg_horizontal_menu_bg-blue-dark-100_auqtc","bg-blue-dark-200":"mg_horizontal_menu_bg-blue-dark-200_auqtc","bg-blue-dark-300":"mg_horizontal_menu_bg-blue-dark-300_auqtc","bg-blue-dark-400":"mg_horizontal_menu_bg-blue-dark-400_auqtc","bg-blue-dark-500":"mg_horizontal_menu_bg-blue-dark-500_auqtc","bg-blue-light-50":"mg_horizontal_menu_bg-blue-light-50_auqtc","bg-blue-light-100":"mg_horizontal_menu_bg-blue-light-100_auqtc","bg-blue-light-200":"mg_horizontal_menu_bg-blue-light-200_auqtc","bg-blue-light-300":"mg_horizontal_menu_bg-blue-light-300_auqtc","bg-blue-light-400":"mg_horizontal_menu_bg-blue-light-400_auqtc","bg-blue-light-500":"mg_horizontal_menu_bg-blue-light-500_auqtc","bg-green-50":"mg_horizontal_menu_bg-green-50_auqtc","bg-green-100":"mg_horizontal_menu_bg-green-100_auqtc","bg-green-200":"mg_horizontal_menu_bg-green-200_auqtc","bg-green-300":"mg_horizontal_menu_bg-green-300_auqtc","bg-green-400":"mg_horizontal_menu_bg-green-400_auqtc","bg-green-500":"mg_horizontal_menu_bg-green-500_auqtc","bg-green-600":"mg_horizontal_menu_bg-green-600_auqtc","bg-grey-50":"mg_horizontal_menu_bg-grey-50_auqtc","bg-grey-100":"mg_horizontal_menu_bg-grey-100_auqtc","bg-grey-200":"mg_horizontal_menu_bg-grey-200_auqtc","bg-grey-300":"mg_horizontal_menu_bg-grey-300_auqtc","bg-grey-400":"mg_horizontal_menu_bg-grey-400_auqtc","bg-grey-500":"mg_horizontal_menu_bg-grey-500_auqtc","bg-grey-600":"mg_horizontal_menu_bg-grey-600_auqtc","bg-grey-700":"mg_horizontal_menu_bg-grey-700_auqtc","bg-grey-800":"mg_horizontal_menu_bg-grey-800_auqtc","bg-grey-900":"mg_horizontal_menu_bg-grey-900_auqtc","bg-red-50":"mg_horizontal_menu_bg-red-50_auqtc","bg-red-100":"mg_horizontal_menu_bg-red-100_auqtc","bg-red-200":"mg_horizontal_menu_bg-red-200_auqtc","bg-red-300":"mg_horizontal_menu_bg-red-300_auqtc","bg-yellow-50":"mg_horizontal_menu_bg-yellow-50_auqtc","bg-yellow-100":"mg_horizontal_menu_bg-yellow-100_auqtc","bg-yellow-200":"mg_horizontal_menu_bg-yellow-200_auqtc","bg-yellow-300":"mg_horizontal_menu_bg-yellow-300_auqtc","color-transparent":"mg_horizontal_menu_color-transparent_auqtc","color-inherit":"mg_horizontal_menu_color-inherit_auqtc","color-current":"mg_horizontal_menu_color-current_auqtc","color-blue-dark-50":"mg_horizontal_menu_color-blue-dark-50_auqtc","color-blue-dark-100":"mg_horizontal_menu_color-blue-dark-100_auqtc","color-blue-dark-200":"mg_horizontal_menu_color-blue-dark-200_auqtc","color-blue-dark-300":"mg_horizontal_menu_color-blue-dark-300_auqtc","color-blue-dark-400":"mg_horizontal_menu_color-blue-dark-400_auqtc","color-blue-dark-500":"mg_horizontal_menu_color-blue-dark-500_auqtc","color-blue-light-50":"mg_horizontal_menu_color-blue-light-50_auqtc","color-blue-light-100":"mg_horizontal_menu_color-blue-light-100_auqtc","color-blue-light-200":"mg_horizontal_menu_color-blue-light-200_auqtc","color-blue-light-300":"mg_horizontal_menu_color-blue-light-300_auqtc","color-blue-light-400":"mg_horizontal_menu_color-blue-light-400_auqtc","color-blue-light-500":"mg_horizontal_menu_color-blue-light-500_auqtc","color-green-50":"mg_horizontal_menu_color-green-50_auqtc","color-green-100":"mg_horizontal_menu_color-green-100_auqtc","color-green-200":"mg_horizontal_menu_color-green-200_auqtc","color-green-300":"mg_horizontal_menu_color-green-300_auqtc","color-green-400":"mg_horizontal_menu_color-green-400_auqtc","color-green-500":"mg_horizontal_menu_color-green-500_auqtc","color-green-600":"mg_horizontal_menu_color-green-600_auqtc","color-grey-50":"mg_horizontal_menu_color-grey-50_auqtc","color-grey-100":"mg_horizontal_menu_color-grey-100_auqtc","color-grey-200":"mg_horizontal_menu_color-grey-200_auqtc","color-grey-300":"mg_horizontal_menu_color-grey-300_auqtc","color-grey-400":"mg_horizontal_menu_color-grey-400_auqtc","color-grey-500":"mg_horizontal_menu_color-grey-500_auqtc","color-grey-600":"mg_horizontal_menu_color-grey-600_auqtc","color-grey-700":"mg_horizontal_menu_color-grey-700_auqtc","color-grey-800":"mg_horizontal_menu_color-grey-800_auqtc","color-grey-900":"mg_horizontal_menu_color-grey-900_auqtc","color-red-50":"mg_horizontal_menu_color-red-50_auqtc","color-red-100":"mg_horizontal_menu_color-red-100_auqtc","color-red-200":"mg_horizontal_menu_color-red-200_auqtc","color-red-300":"mg_horizontal_menu_color-red-300_auqtc","color-yellow-50":"mg_horizontal_menu_color-yellow-50_auqtc","color-yellow-100":"mg_horizontal_menu_color-yellow-100_auqtc","color-yellow-200":"mg_horizontal_menu_color-yellow-200_auqtc","color-yellow-300":"mg_horizontal_menu_color-yellow-300_auqtc","magneto-ui-horizontal-menu":"mg_horizontal_menu_magneto-ui-horizontal-menu_auqtc","magneto-ui-horizontal-menu__back":"mg_horizontal_menu_magneto-ui-horizontal-menu_back_auqtc","magneto-ui-horizontal-menu__nav":"mg_horizontal_menu_magneto-ui-horizontal-menu_nav_auqtc","magneto-ui-horizontal-menu__list":"mg_horizontal_menu_magneto-ui-horizontal-menu_list_auqtc","magneto-ui-horizontal-menu__button":"mg_horizontal_menu_magneto-ui-horizontal-menu_button_auqtc","magneto-ui-horizontal-menu__button--active":"mg_horizontal_menu_magneto-ui-horizontal-menu_button--active_auqtc"};
|
|
4321
4321
|
|
|
4322
|
-
var cx$
|
|
4323
|
-
var Component$
|
|
4322
|
+
var cx$X = classNames.bind(styles$1R);
|
|
4323
|
+
var Component$1V = function (_a) {
|
|
4324
4324
|
var className = _a.className, options = _a.options, onChange = _a.onChange;
|
|
4325
4325
|
var _b = useState(0), selectedItem = _b[0], setSelectedItem = _b[1];
|
|
4326
4326
|
var handleOnSelect = useCallback(function (key) {
|
|
@@ -4329,11 +4329,11 @@ var Component$1U = function (_a) {
|
|
|
4329
4329
|
}, [onChange]);
|
|
4330
4330
|
if (!options || !Array.isArray(options))
|
|
4331
4331
|
return null;
|
|
4332
|
-
return (React.createElement("header", { className: cx$
|
|
4333
|
-
React.createElement("nav", { className: cx$
|
|
4334
|
-
React.createElement("ul", { className: cx$
|
|
4332
|
+
return (React.createElement("header", { className: cx$X('magneto-ui-horizontal-menu', className) },
|
|
4333
|
+
React.createElement("nav", { className: cx$X('magneto-ui-horizontal-menu__nav') },
|
|
4334
|
+
React.createElement("ul", { className: cx$X('magneto-ui-horizontal-menu__list') }, options.map(function (_a, key) {
|
|
4335
4335
|
var icon = _a.icon, title = _a.title;
|
|
4336
|
-
return (React.createElement("li", { key: key, className: cx$
|
|
4336
|
+
return (React.createElement("li", { key: key, className: cx$X('magneto-ui-horizontal-menu__button', {
|
|
4337
4337
|
'magneto-ui-horizontal-menu__button--active': selectedItem === key
|
|
4338
4338
|
}) },
|
|
4339
4339
|
React.createElement(Button, { suffixIcon: icon, buttonText: title, onClick: function () { return handleOnSelect(key); } })));
|
|
@@ -4342,7 +4342,7 @@ var Component$1U = function (_a) {
|
|
|
4342
4342
|
/**
|
|
4343
4343
|
* UI Molecule Component for Horizontal Menu
|
|
4344
4344
|
*/
|
|
4345
|
-
var HorizontalMenu = Component$
|
|
4345
|
+
var HorizontalMenu = Component$1V;
|
|
4346
4346
|
|
|
4347
4347
|
var styles$1Q = {"magneto-ui-input":"mg_input_magneto-ui-input_tifvx","magneto-ui-input--container":"mg_input_magneto-ui-input--container_tifvx","magneto-ui-input--container__input":"mg_input_magneto-ui-input--container_input_tifvx","magneto-ui-input--container__label":"mg_input_magneto-ui-input--container_label_tifvx","magneto-ui-input--container__icon":"mg_input_magneto-ui-input--container_icon_tifvx","magneto-ui-input--container__icon-action":"mg_input_magneto-ui-input--container_icon-action_tifvx","magneto-ui-input--container__error":"mg_input_magneto-ui-input--container_error_tifvx","magneto-ui-input__footer":"mg_input_magneto-ui-input_footer_tifvx","footer-without-error":"mg_input_footer-without-error_tifvx"};
|
|
4348
4348
|
|
|
@@ -4461,7 +4461,7 @@ var Tooltip = function (_a) {
|
|
|
4461
4461
|
visible && (React.createElement("span", { className: "".concat(styles$1N['tooltip-text'], " ").concat(styles$1N["tooltip-text-".concat(position)]), style: { width: width } }, title)))));
|
|
4462
4462
|
};
|
|
4463
4463
|
|
|
4464
|
-
var Component$
|
|
4464
|
+
var Component$1U = function (_a) {
|
|
4465
4465
|
var _b = _a.shareLinks, shareLinks = _b === void 0 ? [] : _b, _c = _a.btnProps, btnProps = _c === void 0 ? {} : _c, _d = _a.classNameContent, classNameContent = _d === void 0 ? '' : _d, _e = _a.classNameButton, classNameButton = _e === void 0 ? '' : _e, rest = __rest(_a, ["shareLinks", "btnProps", "classNameContent", "classNameButton"]);
|
|
4466
4466
|
var _f = useState(false), show = _f[0], setShow = _f[1];
|
|
4467
4467
|
return (React.createElement(Popover, { className: [style$N['popover'], !show ? style$N['popover--hidden'] : ''].join(' '), positionX: "right", positionY: "bottom", show: show, widthBase: 45, content: React.createElement("ul", { className: [style$N['content'], classNameContent].join(' ') },
|
|
@@ -4480,10 +4480,10 @@ var Component$1T = function (_a) {
|
|
|
4480
4480
|
React.createElement("button", __assign({}, btnProps, { title: "", "aria-label": btnProps.title, className: [style$N['popover__btn'], classNameButton].join(' '), onClick: function () { return setShow(function (show) { return !show; }); }, onBlur: function () { return setShow(false); } }),
|
|
4481
4481
|
React.createElement(IconItem, { size: 20, icon: Share })))));
|
|
4482
4482
|
};
|
|
4483
|
-
Component$
|
|
4484
|
-
var SharePopover = Component$
|
|
4483
|
+
Component$1U.displayName = 'SharePopover';
|
|
4484
|
+
var SharePopover = Component$1U;
|
|
4485
4485
|
|
|
4486
|
-
var Component$
|
|
4486
|
+
var Component$1T = function (_a) {
|
|
4487
4487
|
var actionsAnchorIcons = _a.actionsAnchorIcons, actionsAnchorLinks = _a.actionsAnchorLinks, actionsAnchorTitle = _a.actionsAnchorTitle, externalButtonChild = _a.externalButtonChild, saveButtonProps = _a.saveButtonProps, shareButtonProps = _a.shareButtonProps, isApplied = _a.isApplied;
|
|
4488
4488
|
var actionsLinkList = actionsAnchorIcons === null || actionsAnchorIcons === void 0 ? void 0 : actionsAnchorIcons.map(function (_, index) { return ({
|
|
4489
4489
|
icon: actionsAnchorIcons === null || actionsAnchorIcons === void 0 ? void 0 : actionsAnchorIcons[index],
|
|
@@ -4513,11 +4513,11 @@ var Component$1S = function (_a) {
|
|
|
4513
4513
|
/**
|
|
4514
4514
|
* UI Molecule Component for Jobs Actions
|
|
4515
4515
|
*/
|
|
4516
|
-
var JobActions = Component$
|
|
4516
|
+
var JobActions = Component$1T;
|
|
4517
4517
|
|
|
4518
4518
|
var styles$1M = {"magneto-ui-job-apply-card":"mg_job_apply_card_magneto-ui-job-apply-card_16e1d","magneto-ui-job-apply-card__wrapper":"mg_job_apply_card_magneto-ui-job-apply-card_wrapper_16e1d","magneto-ui-job-apply-card__header":"mg_job_apply_card_magneto-ui-job-apply-card_header_16e1d","magneto-ui-job-apply-card__requirements":"mg_job_apply_card_magneto-ui-job-apply-card_requirements_16e1d","magneto-ui__external-child":"mg_job_apply_card_magneto-ui_external-child_16e1d"};
|
|
4519
4519
|
|
|
4520
|
-
var Component$
|
|
4520
|
+
var Component$1S = function (_a) {
|
|
4521
4521
|
var offerApplyHeader = _a.offerApplyHeader, offerApplyElements = _a.offerApplyElements, externalChild = _a.externalChild, isApplied = _a.isApplied;
|
|
4522
4522
|
return (React.createElement("div", { className: styles$1M['magneto-ui-job-apply-card'] },
|
|
4523
4523
|
React.createElement("div", { className: styles$1M['magneto-ui-job-apply-card__wrapper'] },
|
|
@@ -4540,11 +4540,11 @@ var Component$1R = function (_a) {
|
|
|
4540
4540
|
/**
|
|
4541
4541
|
* UI Molecule Component for Job Apply Card
|
|
4542
4542
|
*/
|
|
4543
|
-
var JobApplyCard = Component$
|
|
4543
|
+
var JobApplyCard = Component$1S;
|
|
4544
4544
|
|
|
4545
4545
|
var styles$1L = {"option":"mg_vacant_option_mobile_option_10cgk","option--link":"mg_vacant_option_mobile_option--link_10cgk","option--button":"mg_vacant_option_mobile_option--button_10cgk","icon--big":"mg_vacant_option_mobile_icon--big_10cgk"};
|
|
4546
4546
|
|
|
4547
|
-
var cx$
|
|
4547
|
+
var cx$W = classNames.bind(styles$1L);
|
|
4548
4548
|
var VacantOptionMobile = function (_a) {
|
|
4549
4549
|
var option = _a.option, onClick = _a.onClick, onMenu = _a.onMenu;
|
|
4550
4550
|
var handleClick = function () {
|
|
@@ -4561,13 +4561,13 @@ var VacantOptionMobile = function (_a) {
|
|
|
4561
4561
|
? ShareIcons[option.icon].icon
|
|
4562
4562
|
: option.icon;
|
|
4563
4563
|
if (option.type === 'link') {
|
|
4564
|
-
return (React.createElement("a", { href: option.href, target: "_blank", rel: "noopener noreferrer", className: cx$
|
|
4564
|
+
return (React.createElement("a", { href: option.href, target: "_blank", rel: "noopener noreferrer", className: cx$W('option', 'option--link', option.className) },
|
|
4565
4565
|
option.icon ? React.createElement(IconItem, { size: 18, icon: icon }) : null,
|
|
4566
4566
|
" ",
|
|
4567
4567
|
option.label));
|
|
4568
4568
|
}
|
|
4569
4569
|
if (option.type === 'button' || option.type === 'menu') {
|
|
4570
|
-
return (React.createElement("button", { className: cx$
|
|
4570
|
+
return (React.createElement("button", { className: cx$W('option', 'option--button', option.className), onClick: handleClick, type: "button" },
|
|
4571
4571
|
option.icon ? React.createElement(IconItem, { size: 18, icon: icon }) : null,
|
|
4572
4572
|
" ",
|
|
4573
4573
|
option.label));
|
|
@@ -4577,7 +4577,7 @@ var VacantOptionMobile = function (_a) {
|
|
|
4577
4577
|
|
|
4578
4578
|
var styles$1K = {"button":"mg_job_card_option_drawer_button_1b6xo","button-back":"mg_job_card_option_drawer_button-back_1b6xo","drawer":"mg_job_card_option_drawer_drawer_1b6xo","drawer__title":"mg_job_card_option_drawer_drawer_title_1b6xo","drawer__company":"mg_job_card_option_drawer_drawer_company_1b6xo","drawer__header":"mg_job_card_option_drawer_drawer_header_1b6xo"};
|
|
4579
4579
|
|
|
4580
|
-
var cx$
|
|
4580
|
+
var cx$V = classNames.bind(styles$1K);
|
|
4581
4581
|
var JobCardOptionDrawer = function (_a) {
|
|
4582
4582
|
var title = _a.title, company = _a.company, menu = _a.menu, backText = _a.backText;
|
|
4583
4583
|
var _b = useState(false), isOpen = _b[0], setOpen = _b[1];
|
|
@@ -4602,17 +4602,17 @@ var JobCardOptionDrawer = function (_a) {
|
|
|
4602
4602
|
};
|
|
4603
4603
|
}, [handleMenu, menu]);
|
|
4604
4604
|
return (React.createElement(React.Fragment, null,
|
|
4605
|
-
React.createElement("button", { onClick: toggle, className: cx$
|
|
4605
|
+
React.createElement("button", { onClick: toggle, className: cx$V('button'), type: "button" },
|
|
4606
4606
|
React.createElement(IconItem, { icon: More, size: 18 })),
|
|
4607
|
-
React.createElement(MobileDrawer, { className: cx$
|
|
4608
|
-
React.createElement("header", { className: cx$
|
|
4607
|
+
React.createElement(MobileDrawer, { className: cx$V('drawer'), isOpen: isOpen, onClose: toggle },
|
|
4608
|
+
React.createElement("header", { className: cx$V('drawer__header') },
|
|
4609
4609
|
showBack ? (React.createElement("section", null,
|
|
4610
|
-
React.createElement("button", { type: "button", className: cx$
|
|
4610
|
+
React.createElement("button", { type: "button", className: cx$V('button-back'), onClick: function () { return handleMenu(menu, false); } },
|
|
4611
4611
|
React.createElement(IconItem, { icon: ArrowLeft2, size: 20 }),
|
|
4612
4612
|
" ",
|
|
4613
4613
|
backText))) : null,
|
|
4614
|
-
React.createElement("h4", { className: cx$
|
|
4615
|
-
React.createElement("h5", { className: cx$
|
|
4614
|
+
React.createElement("h4", { className: cx$V('drawer__title') }, title),
|
|
4615
|
+
React.createElement("h5", { className: cx$V('drawer__company') }, company)),
|
|
4616
4616
|
React.createElement("div", null, options.map(function (option, index) { return (React.createElement(VacantOptionMobile, { key: index + option.label, option: option, onMenu: handleMenu, onClick: function () {
|
|
4617
4617
|
toggle();
|
|
4618
4618
|
handleMenu(menu, false);
|
|
@@ -4621,7 +4621,7 @@ var JobCardOptionDrawer = function (_a) {
|
|
|
4621
4621
|
|
|
4622
4622
|
var styles$1J = {"option":"mg_vacant_option_option_14jrn","option--link":"mg_vacant_option_option--link_14jrn","option--menu":"mg_vacant_option_option--menu_14jrn","option--menu-open":"mg_vacant_option_option--menu-open_14jrn","option__menu-list":"mg_vacant_option_option_menu-list_14jrn","option--button":"mg_vacant_option_option--button_14jrn","icon--big":"mg_vacant_option_icon--big_14jrn"};
|
|
4623
4623
|
|
|
4624
|
-
var cx$
|
|
4624
|
+
var cx$U = classNames.bind(styles$1J);
|
|
4625
4625
|
var VacantOption = function (_a) {
|
|
4626
4626
|
var option = _a.option, onClick = _a.onClick;
|
|
4627
4627
|
var _b = useState(false), open = _b[0], setOpen = _b[1];
|
|
@@ -4636,16 +4636,16 @@ var VacantOption = function (_a) {
|
|
|
4636
4636
|
? ShareIcons[option.icon].icon
|
|
4637
4637
|
: option.icon;
|
|
4638
4638
|
if (option.type === 'menu') {
|
|
4639
|
-
return (React.createElement(MenuDropdown, { title: option.label, opened: open, onClick: setOpen, prefixIcon: { icon: icon, size: 18 }, suffixIcon: { icon: ArrowDown2 }, className: cx$
|
|
4639
|
+
return (React.createElement(MenuDropdown, { title: option.label, opened: open, onClick: setOpen, prefixIcon: { icon: icon, size: 18 }, suffixIcon: { icon: ArrowDown2 }, className: cx$U('option', 'option--menu', { 'option--menu-open': open }, option.className), listClassName: cx$U('option__menu-list') }, option.children.map(function (child) { return (React.createElement(VacantOption, { onClick: handleClick, key: child.label, option: child })); })));
|
|
4640
4640
|
}
|
|
4641
4641
|
if (option.type === 'link') {
|
|
4642
|
-
return (React.createElement("a", { href: option.href, target: "_blank", rel: "noopener noreferrer", className: cx$
|
|
4642
|
+
return (React.createElement("a", { href: option.href, target: "_blank", rel: "noopener noreferrer", className: cx$U('option', 'option--link', option.className) },
|
|
4643
4643
|
option.icon ? React.createElement(IconItem, { size: 18, icon: icon }) : null,
|
|
4644
4644
|
" ",
|
|
4645
4645
|
option.label));
|
|
4646
4646
|
}
|
|
4647
4647
|
if (option.type === 'button') {
|
|
4648
|
-
return (React.createElement("button", { className: cx$
|
|
4648
|
+
return (React.createElement("button", { className: cx$U('option', 'option--button', option.className), onClick: handleClick, type: "button" },
|
|
4649
4649
|
option.icon ? React.createElement(IconItem, { size: 18, icon: icon }) : null,
|
|
4650
4650
|
" ",
|
|
4651
4651
|
option.label));
|
|
@@ -4655,7 +4655,7 @@ var VacantOption = function (_a) {
|
|
|
4655
4655
|
|
|
4656
4656
|
var styles$1I = {"popover--open":"mg_job_card_option_popover--open_12kph","popover":"mg_job_card_option_popover_12kph","button":"mg_job_card_option_button_12kph"};
|
|
4657
4657
|
|
|
4658
|
-
var cx$
|
|
4658
|
+
var cx$T = classNames.bind(styles$1I);
|
|
4659
4659
|
var JobCardOption = function (_a) {
|
|
4660
4660
|
var _b = _a.clickOut, clickOut = _b === void 0 ? false : _b, _c = _a.setClickOut, setClickOut = _c === void 0 ? stubUndefined : _c, menu = _a.menu;
|
|
4661
4661
|
var ref = useRef(null);
|
|
@@ -4671,8 +4671,8 @@ var JobCardOption = function (_a) {
|
|
|
4671
4671
|
(_a = window === null || window === void 0 ? void 0 : window.removeEventListener) === null || _a === void 0 ? void 0 : _a.call(window, 'blur', onBlurWindow);
|
|
4672
4672
|
};
|
|
4673
4673
|
}, [setClickOut]);
|
|
4674
|
-
return (React.createElement(Popover, { className: cx$
|
|
4675
|
-
React.createElement("button", { type: "button", className: cx$
|
|
4674
|
+
return (React.createElement(Popover, { className: cx$T('popover', { 'popover--open': clickOut }), content: React.createElement("div", { onBlur: toggle, ref: ref }, menu.map(function (option) { return (React.createElement(VacantOption, { key: option.label, onClick: toggle, option: option })); })), show: clickOut, widthBase: 35, positionX: "left", positionY: "bottom" },
|
|
4675
|
+
React.createElement("button", { type: "button", className: cx$T('button'), onClick: function () {
|
|
4676
4676
|
setClickOut(function (prev) {
|
|
4677
4677
|
var _a;
|
|
4678
4678
|
if (!prev) {
|
|
@@ -4685,7 +4685,7 @@ var JobCardOption = function (_a) {
|
|
|
4685
4685
|
};
|
|
4686
4686
|
var JobCardOption$1 = withClickOut(JobCardOption);
|
|
4687
4687
|
|
|
4688
|
-
var style$M = {"magneto-ui-card-jobs":"mg_job_card_desktop_magneto-ui-card-
|
|
4688
|
+
var style$M = {"magneto-ui-card-jobs":"mg_job_card_desktop_magneto-ui-card-jobs_1dxqo","magneto-ui-card-jobs--urgent":"mg_job_card_desktop_magneto-ui-card-jobs--urgent_1dxqo","magneto-ui-card-jobs__container":"mg_job_card_desktop_magneto-ui-card-jobs_container_1dxqo","magneto-ui-card-jobs--job-open":"mg_job_card_desktop_magneto-ui-card-jobs--job-open_1dxqo","magneto-ui-card-jobs__render-right":"mg_job_card_desktop_magneto-ui-card-jobs_render-right_1dxqo","magneto-ui-card-jobs__options":"mg_job_card_desktop_magneto-ui-card-jobs_options_1dxqo","magneto-ui-card-jobs__data":"mg_job_card_desktop_magneto-ui-card-jobs_data_1dxqo","magneto-ui-card-jobs__button":"mg_job_card_desktop_magneto-ui-card-jobs_button_1dxqo","magneto-ui-card-jobs__white-space":"mg_job_card_desktop_magneto-ui-card-jobs_white-space_1dxqo","magneto-ui-card-jobs__header":"mg_job_card_desktop_magneto-ui-card-jobs_header_1dxqo","magneto-ui-card-jobs__arrow":"mg_job_card_desktop_magneto-ui-card-jobs_arrow_1dxqo","magneto-ui-card-jobs__text":"mg_job_card_desktop_magneto-ui-card-jobs_text_1dxqo","magneto-ui-card-jobs__text--bold":"mg_job_card_desktop_magneto-ui-card-jobs_text--bold_1dxqo","magneto-ui-card-jobs__text--big":"mg_job_card_desktop_magneto-ui-card-jobs_text--big_1dxqo","magneto-ui-card-jobs__text--small":"mg_job_card_desktop_magneto-ui-card-jobs_text--small_1dxqo","magneto-ui-card-jobs__published":"mg_job_card_desktop_magneto-ui-card-jobs_published_1dxqo","magneto-ui-card-jobs__urgent":"mg_job_card_desktop_magneto-ui-card-jobs_urgent_1dxqo","magneto-ui-card-jobs__urgent-icon":"mg_job_card_desktop_magneto-ui-card-jobs_urgent-icon_1dxqo","magneto-ui-card-jobs__a":"mg_job_card_desktop_magneto-ui-card-jobs_a_1dxqo","magneto-ui-card-jobs__company":"mg_job_card_desktop_magneto-ui-card-jobs_company_1dxqo","magneto-ui-card-jobs__brand":"mg_job_card_desktop_magneto-ui-card-jobs_brand_1dxqo","magneto-ui-card-jobs__brand-img":"mg_job_card_desktop_magneto-ui-card-jobs_brand-img_1dxqo"};
|
|
4689
4689
|
|
|
4690
4690
|
var useWithElement = function (ref) {
|
|
4691
4691
|
var _a = useState(null), width = _a[0], setWidth = _a[1];
|
|
@@ -4702,7 +4702,7 @@ var useWithElement = function (ref) {
|
|
|
4702
4702
|
return width;
|
|
4703
4703
|
};
|
|
4704
4704
|
|
|
4705
|
-
var cx$
|
|
4705
|
+
var cx$S = classNames.bind(style$M);
|
|
4706
4706
|
var getJobSubtitle = function (companyName) {
|
|
4707
4707
|
var args = [];
|
|
4708
4708
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
@@ -4721,28 +4721,28 @@ var JobCardDesktop = function (_a) {
|
|
|
4721
4721
|
var safeCities = Array.isArray(cities) ? cities : [];
|
|
4722
4722
|
return safeCities.length > 5 ? safeCities.slice(0, 5).join(', ') : safeCities.join(', ');
|
|
4723
4723
|
}, [cities]);
|
|
4724
|
-
return (React.createElement("div", { className: cx$
|
|
4725
|
-
React.createElement("article", { onClick: showDetail, className: cx$
|
|
4726
|
-
!isCompanyPage && (React.createElement("div", { className: cx$
|
|
4724
|
+
return (React.createElement("div", { className: cx$S("".concat(classMUI, "-card-jobs__container"), jobOpen && "".concat(classMUI, "-card-jobs--job-open")) },
|
|
4725
|
+
React.createElement("article", { onClick: showDetail, className: cx$S("".concat(classMUI, "-card-jobs"), urgent && "".concat(classMUI, "-card-jobs--urgent")) },
|
|
4726
|
+
!isCompanyPage && (React.createElement("div", { className: cx$S("".concat(classMUI, "-card-jobs__brand")) },
|
|
4727
4727
|
React.createElement("div", null,
|
|
4728
|
-
React.createElement("img", { className: cx$
|
|
4729
|
-
React.createElement("div", { className: cx$
|
|
4730
|
-
React.createElement("section", { className: cx$
|
|
4731
|
-
React.createElement("span", { className: cx$
|
|
4732
|
-
React.createElement("section", { ref: optionsRef, className: cx$
|
|
4733
|
-
React.createElement("h2", { className: cx$
|
|
4734
|
-
React.createElement("a", { href: "".concat(dynamicUrl, "/").concat(jobSlug), title: title, target: "_blank", rel: "noreferrer", onClick: function (e) { return e.preventDefault(); }, className: cx$
|
|
4735
|
-
React.createElement("h3", { className: cx$
|
|
4736
|
-
React.createElement("p", { className: cx$
|
|
4737
|
-
React.createElement("p", { className: cx$
|
|
4738
|
-
React.createElement("div", { style: { width: width || 300 }, className: cx$
|
|
4739
|
-
React.createElement("div", { className: cx$
|
|
4740
|
-
React.createElement(IconItem, { className: cx$
|
|
4728
|
+
React.createElement("img", { className: cx$S("".concat(classMUI, "-card-jobs__brand-img")), alt: companyName ? "".concat(altDynamicText.workAt, " ").concat(companyName) : 'company-name', src: companyLogo ? companyLogo : NoLogo, loading: "lazy", width: '67px', height: '67px' })))),
|
|
4729
|
+
React.createElement("div", { className: cx$S("".concat(classMUI, "-card-jobs__data")) },
|
|
4730
|
+
React.createElement("section", { className: cx$S("".concat(classMUI, "-card-jobs__header")) },
|
|
4731
|
+
React.createElement("span", { className: cx$S("".concat(classMUI, "-card-jobs__text"), "".concat(classMUI, "-card-jobs__published")) }, formatPublishDate),
|
|
4732
|
+
React.createElement("section", { ref: optionsRef, className: cx$S("".concat(classMUI, "-card-jobs__options"), 'opciones') })),
|
|
4733
|
+
React.createElement("h2", { className: cx$S("".concat(classMUI, "-card-jobs__text"), "".concat(classMUI, "-card-jobs__text--big"), "".concat(classMUI, "-card-jobs__text--bold")) },
|
|
4734
|
+
React.createElement("a", { href: "".concat(dynamicUrl, "/").concat(jobSlug), title: title, target: "_blank", rel: "noreferrer", onClick: function (e) { return e.preventDefault(); }, className: cx$S("".concat(classMUI, "-card-jobs__a")) }, title)),
|
|
4735
|
+
React.createElement("h3", { className: cx$S("".concat(classMUI, "-card-jobs__text")) }, getJobSubtitle(companyName, contractType)),
|
|
4736
|
+
React.createElement("p", { className: cx$S("".concat(classMUI, "-card-jobs__text")) }, salary),
|
|
4737
|
+
React.createElement("p", { className: cx$S("".concat(classMUI, "-card-jobs__text")) }, citiesformatted))),
|
|
4738
|
+
React.createElement("div", { style: { width: width || 300 }, className: cx$S("".concat(classMUI, "-card-jobs__render-right")) },
|
|
4739
|
+
React.createElement("div", { className: cx$S("".concat(classMUI, "-card-jobs__white-space")), onClick: function () { return showDetail === null || showDetail === void 0 ? void 0 : showDetail(); } }, urgent ? (React.createElement("span", { className: cx$S("".concat(classMUI, "-card-jobs__urgent"), "".concat(classMUI, "-card-jobs__text--small")) },
|
|
4740
|
+
React.createElement(IconItem, { className: cx$S("".concat(classMUI, "-card-jobs__urgent-icon")), icon: Urgent, size: 14 }),
|
|
4741
4741
|
" ",
|
|
4742
4742
|
urgent)) : null),
|
|
4743
4743
|
renderRight ? renderRight() : null,
|
|
4744
|
-
React.createElement("button", { className: cx$
|
|
4745
|
-
React.createElement(IconItem, { icon: ArrowLeft2, size: 16, className: cx$
|
|
4744
|
+
React.createElement("button", { className: cx$S("".concat(classMUI, "-card-jobs__button")), onClick: function () { return showDetail === null || showDetail === void 0 ? void 0 : showDetail(); } },
|
|
4745
|
+
React.createElement(IconItem, { icon: ArrowLeft2, size: 16, className: cx$S("".concat(classMUI, "-card-jobs__arrow")) })))));
|
|
4746
4746
|
};
|
|
4747
4747
|
|
|
4748
4748
|
var JobCard = function (_a) {
|
|
@@ -4799,7 +4799,7 @@ var JobCardMobile = function (_a) {
|
|
|
4799
4799
|
|
|
4800
4800
|
var styles$1H = {"magneto-ui-job-company-header":"mg_job_company_header_magneto-ui-job-company-header_5apvk","magneto-ui-job-company-header__data-actions":"mg_job_company_header_magneto-ui-job-company-header_data-actions_5apvk"};
|
|
4801
4801
|
|
|
4802
|
-
var Component$
|
|
4802
|
+
var Component$1R = function (_a) {
|
|
4803
4803
|
var jobCompanyLogoProps = _a.jobCompanyLogoProps, jobHeaderProps = _a.jobHeaderProps, jobActionsProps = _a.jobActionsProps, isApplied = _a.isApplied;
|
|
4804
4804
|
return (React.createElement("div", { className: styles$1H['magneto-ui-job-company-header'] },
|
|
4805
4805
|
React.createElement(JobCompanyLogo, __assign({}, jobCompanyLogoProps)),
|
|
@@ -4810,18 +4810,18 @@ var Component$1Q = function (_a) {
|
|
|
4810
4810
|
/**
|
|
4811
4811
|
* UI Molecule component for Company Job Header
|
|
4812
4812
|
*/
|
|
4813
|
-
var JobCompanyHeader = Component$
|
|
4813
|
+
var JobCompanyHeader = Component$1R;
|
|
4814
4814
|
|
|
4815
4815
|
var styles$1G = {"magneto-ui-job-detail-card":"mg_job_detail_card_magneto-ui-job-detail-card_htydq"};
|
|
4816
4816
|
|
|
4817
|
-
var Component$
|
|
4817
|
+
var Component$1Q = function (_a) {
|
|
4818
4818
|
var offerDescription = _a.offerDescription;
|
|
4819
4819
|
return (React.createElement("div", { className: styles$1G['magneto-ui-job-detail-card'] }, offerDescription !== null ? React.createElement("div", { dangerouslySetInnerHTML: { __html: offerDescription } }) : React.createElement(Fragment, null)));
|
|
4820
4820
|
};
|
|
4821
4821
|
/**
|
|
4822
4822
|
* UI Molecule Component for Job Detail Card Header
|
|
4823
4823
|
*/
|
|
4824
|
-
var JobDetailCard = Component$
|
|
4824
|
+
var JobDetailCard = Component$1Q;
|
|
4825
4825
|
|
|
4826
4826
|
var style$K = {"magneto-ui-job-detail-container":"mg_job_detail_container_magneto-ui-job-detail-container_2904j","magneto-ui-job-detail-container--btn":"mg_job_detail_container_magneto-ui-job-detail-container--btn_2904j","is-open":"mg_job_detail_container_is-open_2904j"};
|
|
4827
4827
|
|
|
@@ -4838,7 +4838,7 @@ var JobDetailContainer = function (_a) {
|
|
|
4838
4838
|
|
|
4839
4839
|
var styles$1F = {"magneto-ui-job-details":"mg_job_details_magneto-ui-job-details_nkmig","magneto-ui-job-details__wrapper":"mg_job_details_magneto-ui-job-details_wrapper_nkmig","magneto-ui-job-details__item-detail":"mg_job_details_magneto-ui-job-details_item-detail_nkmig","magneto-ui-job-details__item-detail-icon":"mg_job_details_magneto-ui-job-details_item-detail-icon_nkmig","magneto-ui-job-details__item-detail-text":"mg_job_details_magneto-ui-job-details_item-detail-text_nkmig"};
|
|
4840
4840
|
|
|
4841
|
-
var Component$
|
|
4841
|
+
var Component$1P = function (_a) {
|
|
4842
4842
|
var offerDetailsList = _a.offerDetailsList, iconList = _a.iconList, altList = _a.altList, cities = _a.cities, textRemote = _a.textRemote, isRemote = _a.isRemote;
|
|
4843
4843
|
var jobDetailsList = offerDetailsList === null || offerDetailsList === void 0 ? void 0 : offerDetailsList.map(function (offerDetailText, index) { return ({
|
|
4844
4844
|
icon: iconList && iconList[index],
|
|
@@ -4863,12 +4863,12 @@ var Component$1O = function (_a) {
|
|
|
4863
4863
|
/**
|
|
4864
4864
|
* UI Molecule component for Job Detail
|
|
4865
4865
|
*/
|
|
4866
|
-
Component$
|
|
4867
|
-
var JobDetails = Component$
|
|
4866
|
+
Component$1P.displayName = 'JobDetails';
|
|
4867
|
+
var JobDetails = Component$1P;
|
|
4868
4868
|
|
|
4869
4869
|
var styles$1E = {"magneto-ui-job-footer-card":"mg_job_footer_card_magneto-ui-job-footer-card_xmrf6","magneto-ui-job-footer-card__icons":"mg_job_footer_card_magneto-ui-job-footer-card_icons_xmrf6","magneto-ui-job-footer-card__wrapper":"mg_job_footer_card_magneto-ui-job-footer-card_wrapper_xmrf6","magneto-ui__share-button":"mg_job_footer_card_magneto-ui_share-button_xmrf6"};
|
|
4870
4870
|
|
|
4871
|
-
var Component$
|
|
4871
|
+
var Component$1O = function (_a) {
|
|
4872
4872
|
var offerFooterHeader = _a.offerFooterHeader, offerCompanyLogo = _a.offerCompanyLogo, offerFooterList = _a.offerFooterList, iconList = _a.iconList, shareButtonProps = _a.shareButtonProps, companyImgAlt = _a.companyImgAlt, companyName = _a.companyName;
|
|
4873
4873
|
var jobFooterList = offerFooterList === null || offerFooterList === void 0 ? void 0 : offerFooterList.map(function (_a, index) {
|
|
4874
4874
|
var href = _a.href, title = _a.title, ariaLabel = _a.ariaLabel;
|
|
@@ -4896,11 +4896,11 @@ var Component$1N = function (_a) {
|
|
|
4896
4896
|
/**
|
|
4897
4897
|
* UI Molecule component for Job Footer Card
|
|
4898
4898
|
*/
|
|
4899
|
-
var JobFooterCard = Component$
|
|
4899
|
+
var JobFooterCard = Component$1O;
|
|
4900
4900
|
|
|
4901
4901
|
var styles$1D = {"magneto-ui-job-skills-card":"mg_job_skills_card_magneto-ui-job-skills-card_o3vgw","magneto-ui-job-skills-card__skills-wrapper":"mg_job_skills_card_magneto-ui-job-skills-card_skills-wrapper_o3vgw"};
|
|
4902
4902
|
|
|
4903
|
-
var Component$
|
|
4903
|
+
var Component$1N = function (_a) {
|
|
4904
4904
|
var offerSkillsLabel = _a.offerSkillsLabel, offerSkills = _a.offerSkills;
|
|
4905
4905
|
return (React.createElement(Fragment, null, offerSkills && offerSkills.length >= 1 && (React.createElement("div", { className: styles$1D['magneto-ui-job-skills-card'] },
|
|
4906
4906
|
React.createElement("p", null, offerSkillsLabel),
|
|
@@ -4913,7 +4913,7 @@ var Component$1M = function (_a) {
|
|
|
4913
4913
|
/**
|
|
4914
4914
|
* UI Molecule component of Job Skills Card
|
|
4915
4915
|
*/
|
|
4916
|
-
var JobSkillsCard = Component$
|
|
4916
|
+
var JobSkillsCard = Component$1N;
|
|
4917
4917
|
|
|
4918
4918
|
var styles$1C = {"magneto-ui-job-video":"mg_job_video_magneto-ui-job-video_ntfx8","magneto-ui-play-button":"mg_job_video_magneto-ui-play-button_ntfx8","jobDetailsVideo":"mg_job_video_jobDetailsVideo_ntfx8"};
|
|
4919
4919
|
|
|
@@ -4936,7 +4936,7 @@ var JobVideo = function (_a) {
|
|
|
4936
4936
|
|
|
4937
4937
|
var style$J = {"magneto-ui-list-icon":"mg_list_icon_link_magneto-ui-list-icon_1b3zm"};
|
|
4938
4938
|
|
|
4939
|
-
var Component$
|
|
4939
|
+
var Component$1M = function (_a) {
|
|
4940
4940
|
var listIcon = _a.listIcon, size = _a.size, _b = _a.hover, hover = _b === void 0 ? true : _b, spacing = _a.spacing, _c = _a.className, className = _c === void 0 ? '' : _c;
|
|
4941
4941
|
return (React.createElement("div", { style: { gap: "".concat(spacing, "px") }, className: "".concat(style$J['magneto-ui-list-icon'], " ").concat(className) }, listIcon.map(function (_a, index) {
|
|
4942
4942
|
var icon = _a.icon, url = _a.url, title = _a.title;
|
|
@@ -4944,11 +4944,11 @@ var Component$1L = function (_a) {
|
|
|
4944
4944
|
React.createElement(IconItem, { alt: title, hover: hover, size: size, icon: icon })));
|
|
4945
4945
|
})));
|
|
4946
4946
|
};
|
|
4947
|
-
var ListIconLink = Component$
|
|
4947
|
+
var ListIconLink = Component$1M;
|
|
4948
4948
|
|
|
4949
4949
|
var style$I = {"magneto-ui-menu-icon":"mg_menu_icon_magneto-ui-menu-icon_1fe5w","magneto-ui-menu-icon__menu-text":"mg_menu_icon_magneto-ui-menu-icon_menu-text_1fe5w","isActive":"mg_menu_icon_isActive_1fe5w"};
|
|
4950
4950
|
|
|
4951
|
-
var Component$
|
|
4951
|
+
var Component$1L = function (_a) {
|
|
4952
4952
|
var text = _a.text, icon = _a.icon, iconProps = _a.iconProps, _b = _a.iconSize, iconSize = _b === void 0 ? 20 : _b, url = _a.url, _c = _a.type, type = _c === void 0 ? 'link' : _c, onClick = _a.onClick, isActive = _a.isActive, _d = _a.className, className = _d === void 0 ? '' : _d, rel = _a.rel, target = _a.target;
|
|
4953
4953
|
var menuActive = isActive ? style$I['isActive'] : '';
|
|
4954
4954
|
return (React.createElement(React.Fragment, null, type === 'link' ? (React.createElement("a", { href: url, className: "".concat(style$I['magneto-ui-menu-icon'], " ").concat(menuActive, " ").concat(className), title: text, rel: rel, target: target },
|
|
@@ -4957,7 +4957,7 @@ var Component$1K = function (_a) {
|
|
|
4957
4957
|
icon && React.createElement(IconItem, __assign({ size: iconSize, hover: false, icon: icon }, iconProps)),
|
|
4958
4958
|
React.createElement("p", { className: style$I['magneto-ui-menu-icon__menu-text'] }, text)))));
|
|
4959
4959
|
};
|
|
4960
|
-
var MenuIcon = Component$
|
|
4960
|
+
var MenuIcon = Component$1L;
|
|
4961
4961
|
|
|
4962
4962
|
var style$H = {"mangeto-ui-list-menu-icons":"mg_list_menu_icons_mangeto-ui-list-menu-icons_u92cd"};
|
|
4963
4963
|
|
|
@@ -4967,7 +4967,7 @@ var getIcon = function (iconsObject, iconName) {
|
|
|
4967
4967
|
return iconsObject[iconName];
|
|
4968
4968
|
};
|
|
4969
4969
|
|
|
4970
|
-
var Component$
|
|
4970
|
+
var Component$1K = function (_a) {
|
|
4971
4971
|
var menuItems1440 = _a.menuItems1440, haveGif = _a.haveGif, urlParam = _a.urlParam, menuItems = _a.menuItems, logout = _a.logout;
|
|
4972
4972
|
var logoutText = logout.logoutText, onClick = logout.onClick;
|
|
4973
4973
|
var userMenu = useMediaQuery(menuItems1440 && !haveGif ? menuItems1440 : menuItems, { xl: menuItems });
|
|
@@ -4985,16 +4985,16 @@ var Component$1J = function (_a) {
|
|
|
4985
4985
|
})),
|
|
4986
4986
|
React.createElement(MenuIcon, { type: "button", onClick: onClick, icon: LogoutIcon, text: logoutText })));
|
|
4987
4987
|
};
|
|
4988
|
-
var ListMenuIcons = Component$
|
|
4988
|
+
var ListMenuIcons = Component$1K;
|
|
4989
4989
|
|
|
4990
|
-
var Component$
|
|
4990
|
+
var Component$1J = function (_a) {
|
|
4991
4991
|
var _b = _a.menuList, menuList = _b === void 0 ? [] : _b, _c = _a.urlParam, urlParam = _c === void 0 ? '' : _c;
|
|
4992
4992
|
return (React.createElement("div", null, menuList.map(function (_a, index) {
|
|
4993
4993
|
var text = _a.text, url = _a.url, slug = _a.slug;
|
|
4994
4994
|
return (React.createElement(MenuItem, { key: index, isActive: urlParam === slug ? true : false, url: url, text: text }));
|
|
4995
4995
|
})));
|
|
4996
4996
|
};
|
|
4997
|
-
var ListMenuItems = Component$
|
|
4997
|
+
var ListMenuItems = Component$1J;
|
|
4998
4998
|
|
|
4999
4999
|
var style$G = {"magneto-ui-list-menu":"mg_list_menu_text_magneto-ui-list-menu_1m4l3","magneto-ui-list-menu__title":"mg_list_menu_text_magneto-ui-list-menu_title_1m4l3","magneto-ui-list-menu__link":"mg_list_menu_text_magneto-ui-list-menu_link_1m4l3","magneto-ui-list-menu__create-account":"mg_list_menu_text_magneto-ui-list-menu_create-account_1m4l3","magneto-ui-list-menu__create-account--btn":"mg_list_menu_text_magneto-ui-list-menu_create-account--btn_1m4l3"};
|
|
5000
5000
|
|
|
@@ -5224,7 +5224,7 @@ var transitionDuration = 300;
|
|
|
5224
5224
|
|
|
5225
5225
|
var styles$1y = {"magneto-ui-message__container":"mg_message_magneto-ui-message_container_1q82j","magneto-ui-message__container--show":"mg_message_magneto-ui-message_container--show_1q82j","magneto-ui-message__container--hidden":"mg_message_magneto-ui-message_container--hidden_1q82j","magneto-ui-message__container--info":"mg_message_magneto-ui-message_container--info_1q82j","magneto-ui-message__container--success":"mg_message_magneto-ui-message_container--success_1q82j","magneto-ui-message__container--warning":"mg_message_magneto-ui-message_container--warning_1q82j","magneto-ui-message__container--error":"mg_message_magneto-ui-message_container--error_1q82j","magneto-ui-message__text":"mg_message_magneto-ui-message_text_1q82j","magneto-ui-message__text--bold":"mg_message_magneto-ui-message_text--bold_1q82j","magneto-ui-message__icon":"mg_message_magneto-ui-message_icon_1q82j"};
|
|
5226
5226
|
|
|
5227
|
-
var Component$
|
|
5227
|
+
var Component$1I = function (_a) {
|
|
5228
5228
|
var className = _a.className, description = _a.description, _b = _a.duration, duration = _b === void 0 ? 3000 : _b, iconProps = _a.iconProps, onHide = _a.onHide, text = _a.text, _c = _a.type, type = _c === void 0 ? 'info' : _c, _d = _a.visible, visible = _d === void 0 ? true : _d;
|
|
5229
5229
|
var _e = useState(false), toggleAnimation = _e[0], setToggleAnimation = _e[1];
|
|
5230
5230
|
var _f = useState(visible), localVisible = _f[0], setLocalVisible = _f[1];
|
|
@@ -5288,11 +5288,11 @@ var Component$1H = function (_a) {
|
|
|
5288
5288
|
/**
|
|
5289
5289
|
* Molecule UI component for Message
|
|
5290
5290
|
*/
|
|
5291
|
-
var Message = Component$
|
|
5291
|
+
var Message = Component$1I;
|
|
5292
5292
|
|
|
5293
5293
|
var styles$1x = {"magneto-ui-mobile-job-details-header":"mg_mobile_job_detail_header_magneto-ui-mobile-job-details-header_1fct0"};
|
|
5294
5294
|
|
|
5295
|
-
var Component$
|
|
5295
|
+
var Component$1H = function (_a) {
|
|
5296
5296
|
var returnText = _a.returnText, onClick = _a.onClick;
|
|
5297
5297
|
return (React.createElement("div", { className: styles$1x['magneto-ui-mobile-job-details-header'] },
|
|
5298
5298
|
React.createElement("button", { onClick: onClick },
|
|
@@ -5302,11 +5302,11 @@ var Component$1G = function (_a) {
|
|
|
5302
5302
|
/**
|
|
5303
5303
|
* UI Molecule Component for Mobile Jobs Drawer
|
|
5304
5304
|
*/
|
|
5305
|
-
var MobileJobDetailsHeader = Component$
|
|
5305
|
+
var MobileJobDetailsHeader = Component$1H;
|
|
5306
5306
|
|
|
5307
5307
|
var styles$1w = {"MobileSearchbarComponent":"mg_mobile_searchbar_MobileSearchbarComponent_41dye","magneto-ui-search-button":"mg_mobile_searchbar_magneto-ui-search-button_41dye","magneto-ui-remove-button":"mg_mobile_searchbar_magneto-ui-remove-button_41dye","search-badge":"mg_mobile_searchbar_search-badge_41dye"};
|
|
5308
5308
|
|
|
5309
|
-
var Component$
|
|
5309
|
+
var Component$1G = function (_a) {
|
|
5310
5310
|
var termValue = _a.termValue, onSearch = _a.onSearch, onClick = _a.onClick, focusSearchInput = _a.focusSearchInput, showMobileSearchbar = _a.showMobileSearchbar;
|
|
5311
5311
|
var _b = useState(termValue ? termValue : ''), searchValue = _b[0], setSearchValue = _b[1];
|
|
5312
5312
|
var searchInputRef = useRef(null);
|
|
@@ -5339,7 +5339,7 @@ var Component$1F = function (_a) {
|
|
|
5339
5339
|
/**
|
|
5340
5340
|
* Molecule UI component for MobileSearchbar
|
|
5341
5341
|
*/
|
|
5342
|
-
var MobileSearchbar = Component$
|
|
5342
|
+
var MobileSearchbar = Component$1G;
|
|
5343
5343
|
|
|
5344
5344
|
var styles$1v = {"notification":"mg_notification_notification_ylzl6","top-left":"mg_notification_top-left_ylzl6","top-right":"mg_notification_top-right_ylzl6","bottom-left":"mg_notification_bottom-left_ylzl6","bottom-right":"mg_notification_bottom-right_ylzl6","notification__content":"mg_notification_notification_content_ylzl6","notification__message":"mg_notification_notification_message_ylzl6","notification__close-btn":"mg_notification_notification_close-btn_ylzl6"};
|
|
5345
5345
|
|
|
@@ -5494,8 +5494,8 @@ var QUALIFICATION = [
|
|
|
5494
5494
|
|
|
5495
5495
|
var styles$1s = {"magneto-ui-qualification":"mg_qualification_magneto-ui-qualification_a2ncq","magneto-ui-qualification__star":"mg_qualification_magneto-ui-qualification_star_a2ncq"};
|
|
5496
5496
|
|
|
5497
|
-
var cx$
|
|
5498
|
-
var Component$
|
|
5497
|
+
var cx$R = classNames.bind(styles$1s);
|
|
5498
|
+
var Component$1F = function (_a) {
|
|
5499
5499
|
var _b = _a.rating, rating = _b === void 0 ? -1 : _b, onClick = _a.onClick;
|
|
5500
5500
|
var _c = useState(-1), qualification = _c[0], setQualification = _c[1];
|
|
5501
5501
|
var _d = useState(-1), hover = _d[0], setHover = _d[1];
|
|
@@ -5508,9 +5508,9 @@ var Component$1E = function (_a) {
|
|
|
5508
5508
|
setQualification(Math.round(rating) - 1);
|
|
5509
5509
|
}
|
|
5510
5510
|
}, [rating]);
|
|
5511
|
-
return (React.createElement("ul", { className: cx$
|
|
5511
|
+
return (React.createElement("ul", { className: cx$R('magneto-ui-qualification') }, QUALIFICATION.map(function (_a, index) {
|
|
5512
5512
|
var alt = _a.alt, icon = _a.icon, iconHover = _a.iconHover, iconSelect = _a.iconSelect;
|
|
5513
|
-
return (React.createElement("li", { className: cx$
|
|
5513
|
+
return (React.createElement("li", { className: cx$R('magneto-ui-qualification__star'), onMouseEnter: function () { return setHover(index); }, onMouseLeave: function () { return setHover(-1); }, onClick: function () { return onClickQualification(index); }, key: "qualification-star-".concat(index) },
|
|
5514
5514
|
React.createElement("img", { alt: alt, src: index <= Number(qualification) ? iconSelect : index <= Number(hover) ? iconHover : icon })));
|
|
5515
5515
|
})));
|
|
5516
5516
|
};
|
|
@@ -5518,7 +5518,7 @@ var Component$1E = function (_a) {
|
|
|
5518
5518
|
* Atom Ui component of Qualification
|
|
5519
5519
|
*
|
|
5520
5520
|
*/
|
|
5521
|
-
var Qualification = Component$
|
|
5521
|
+
var Qualification = Component$1F;
|
|
5522
5522
|
|
|
5523
5523
|
var style$A = {"magneto-ui-rights-reserved":"mg_rights_reserved_text_magneto-ui-rights-reserved_id953","magneto-ui-rights-reserved__link":"mg_rights_reserved_text_magneto-ui-rights-reserved_link_id953"};
|
|
5524
5524
|
|
|
@@ -5530,7 +5530,7 @@ var RightsReservedText = function (_a) {
|
|
|
5530
5530
|
|
|
5531
5531
|
var styles$1r = {"magneto-ui-score-level":"mg_score_level_magneto-ui-score-level_yz7nl","magneto-ui-score-level__p":"mg_score_level_magneto-ui-score-level_p_yz7nl","magneto-ui-score-level__summary":"mg_score_level_magneto-ui-score-level_summary_yz7nl","magneto-ui-score-level__delete-action":"mg_score_level_magneto-ui-score-level_delete-action_yz7nl"};
|
|
5532
5532
|
|
|
5533
|
-
var Component$
|
|
5533
|
+
var Component$1E = function (_a) {
|
|
5534
5534
|
var name = _a.name, onChange = _a.onChange, removeSkill = _a.removeSkill, scoreValue = _a.scoreValue, levels = _a.levels, color = _a.color, id = _a.id;
|
|
5535
5535
|
var _b = useState(scoreValue || 1), score = _b[0], setScore = _b[1];
|
|
5536
5536
|
var _c = useState(0), spanHover = _c[0], setSpanHover = _c[1];
|
|
@@ -5566,11 +5566,11 @@ var Component$1D = function (_a) {
|
|
|
5566
5566
|
React.createElement("button", { className: styles$1r['magneto-ui-score-level__delete-action'], onClick: function () { return removeSkill(name); }, type: "button" },
|
|
5567
5567
|
React.createElement("img", { src: Trash, alt: "remove-skill-icon" }))));
|
|
5568
5568
|
};
|
|
5569
|
-
var ScoreLevel = Component$
|
|
5569
|
+
var ScoreLevel = Component$1E;
|
|
5570
5570
|
|
|
5571
5571
|
var styles$1q = {"magneto-ui-score-level":"mg_score_level_static_magneto-ui-score-level_1o91a","magneto-ui-score-level__summary":"mg_score_level_static_magneto-ui-score-level_summary_1o91a"};
|
|
5572
5572
|
|
|
5573
|
-
var Component$
|
|
5573
|
+
var Component$1D = function (_a) {
|
|
5574
5574
|
var name = _a.name, scoreValue = _a.scoreValue, levels = _a.levels, color = _a.color;
|
|
5575
5575
|
var labelScore = useMemo(function () {
|
|
5576
5576
|
return levels[scoreValue - 1];
|
|
@@ -5591,11 +5591,11 @@ var Component$1C = function (_a) {
|
|
|
5591
5591
|
React.createElement("div", null, levels.map(function (_, index) { return (React.createElement("span", { style: setDinamycColor(index + 1), key: generateID() })); })),
|
|
5592
5592
|
React.createElement("p", null, labelScore))));
|
|
5593
5593
|
};
|
|
5594
|
-
var ScoreLevelStatic = Component$
|
|
5594
|
+
var ScoreLevelStatic = Component$1D;
|
|
5595
5595
|
|
|
5596
5596
|
var styles$1p = {"SearchbarComponent":"mg_searchbar_SearchbarComponent_19nle","SearchbarComponent__badge":"mg_searchbar_SearchbarComponent_badge_19nle","magneto-ui-searchbar-buttons":"mg_searchbar_magneto-ui-searchbar-buttons_19nle","magneto-ui-remove-button":"mg_searchbar_magneto-ui-remove-button_19nle"};
|
|
5597
5597
|
|
|
5598
|
-
var Component$
|
|
5598
|
+
var Component$1C = function (_a) {
|
|
5599
5599
|
var placeholder = _a.placeholder, onSearch = _a.onSearch, searchButtonProps = _a.searchButtonProps, removeButtonProps = _a.removeButtonProps, termValue = _a.termValue;
|
|
5600
5600
|
var _b = useState(''), searchValue = _b[0], setSearchValue = _b[1];
|
|
5601
5601
|
useEffect(function () {
|
|
@@ -5624,38 +5624,54 @@ var Component$1B = function (_a) {
|
|
|
5624
5624
|
/**
|
|
5625
5625
|
* UI Molecule of a searchbar
|
|
5626
5626
|
*/
|
|
5627
|
-
var Searchbar = Component$
|
|
5627
|
+
var Searchbar = Component$1C;
|
|
5628
5628
|
|
|
5629
5629
|
var styles$1o = {"search-button":"mg_search_button_search-button_svn7v","search-button__badge":"mg_search_button_search-button_badge_svn7v"};
|
|
5630
5630
|
|
|
5631
|
-
var Component$
|
|
5631
|
+
var Component$1B = function (_a) {
|
|
5632
5632
|
var props = __rest(_a, []);
|
|
5633
5633
|
return (React.createElement("div", { className: styles$1o['search-button'] },
|
|
5634
5634
|
props.searchValue && React.createElement("div", { className: styles$1o['search-button__badge'] }),
|
|
5635
5635
|
React.createElement(MainButton, __assign({ onClick: props.onClick }, props))));
|
|
5636
5636
|
};
|
|
5637
|
-
var SearchButton = Component$
|
|
5637
|
+
var SearchButton = Component$1B;
|
|
5638
5638
|
|
|
5639
|
-
var styles$1n = {"similar-card":"mg_similar_card_similar-
|
|
5639
|
+
var styles$1n = {"similar-card":"mg_similar_card_similar-card_okowi","similar-card__arrow":"mg_similar_card_similar-card_arrow_okowi","similar-card__text":"mg_similar_card_similar-card_text_okowi","similar-card__text--bold":"mg_similar_card_similar-card_text--bold_okowi","similar-card__text--lighter":"mg_similar_card_similar-card_text--lighter_okowi","similar-card__text--normal":"mg_similar_card_similar-card_text--normal_okowi","similar-card__arrow-mobile":"mg_similar_card_similar-card_arrow-mobile_okowi"};
|
|
5640
5640
|
|
|
5641
5641
|
var styles$1m = {"similar-card-logo":"mg_similar_card_logo_similar-card-logo_1adpr"};
|
|
5642
5642
|
|
|
5643
|
-
var cx$
|
|
5644
|
-
var Component$
|
|
5643
|
+
var cx$Q = classNames.bind(styles$1m);
|
|
5644
|
+
var Component$1A = function (_a) {
|
|
5645
5645
|
var className = _a.className, src = _a.src, alt = _a.alt, _b = _a.hideLogo, hideLogo = _b === void 0 ? false : _b;
|
|
5646
5646
|
if (hideLogo)
|
|
5647
5647
|
return null;
|
|
5648
|
-
return (React.createElement("img", { className: cx$
|
|
5648
|
+
return (React.createElement("img", { className: cx$Q("similar-card-logo", className), src: src || NoLogo, alt: (alt === null || alt === void 0 ? void 0 : alt.toLowerCase()) || 'company-logo' }));
|
|
5649
5649
|
};
|
|
5650
|
-
var SimilarCardLogo = Component$
|
|
5650
|
+
var SimilarCardLogo = Component$1A;
|
|
5651
5651
|
|
|
5652
|
-
var cx$
|
|
5653
|
-
var Component$
|
|
5652
|
+
var cx$P = classNames.bind(styles$1n);
|
|
5653
|
+
var Component$1z = function (_a) {
|
|
5654
5654
|
var className = _a.className, src = _a.src, alt = _a.alt, _b = _a.showIconMobile, showIconMobile = _b === void 0 ? false : _b;
|
|
5655
5655
|
return (React.createElement(React.Fragment, null,
|
|
5656
|
-
React.createElement(IconItem, { className: cx$
|
|
5656
|
+
React.createElement(IconItem, { className: cx$P('similar-card__arrow', { 'similar-card__arrow-mobile': !showIconMobile }, className), icon: src || ArrowRight2, alt: (alt === null || alt === void 0 ? void 0 : alt.toLowerCase()) || 'card-icon' })));
|
|
5657
5657
|
};
|
|
5658
|
-
var SimilarCardIcon = Component$
|
|
5658
|
+
var SimilarCardIcon = Component$1z;
|
|
5659
|
+
|
|
5660
|
+
var cx$O = classNames.bind(styles$1n);
|
|
5661
|
+
var Component$1y = function (_a) {
|
|
5662
|
+
var customText = _a.customText, className = _a.className, headingType = _a.headingType;
|
|
5663
|
+
if (!(customText === null || customText === void 0 ? void 0 : customText.length))
|
|
5664
|
+
return null;
|
|
5665
|
+
return (React.createElement("p", { className: cx$O(styles$1n['similar-card__text'], className) }, customText.map(function (_a, index) {
|
|
5666
|
+
var value = _a.value, fontWeight = _a.fontWeight, _b = _a.lineBreak, lineBreak = _b === void 0 ? false : _b;
|
|
5667
|
+
var isFirst = index === 0;
|
|
5668
|
+
var Tag = isFirst && headingType ? headingType : 'span';
|
|
5669
|
+
return (React.createElement(Fragment, { key: "custom-text-".concat(index) },
|
|
5670
|
+
React.createElement(Tag, { className: styles$1n["similar-card__text--".concat(fontWeight)] }, value),
|
|
5671
|
+
lineBreak && React.createElement("br", null)));
|
|
5672
|
+
})));
|
|
5673
|
+
};
|
|
5674
|
+
var SimilarCardText = Component$1y;
|
|
5659
5675
|
|
|
5660
5676
|
var cx$N = classNames.bind(styles$1n);
|
|
5661
5677
|
var Component$1x = function (_a) {
|
|
@@ -5663,7 +5679,7 @@ var Component$1x = function (_a) {
|
|
|
5663
5679
|
return (React.createElement("a", { className: cx$N("similar-card", className), href: jobUrlSlug, title: title }, children));
|
|
5664
5680
|
};
|
|
5665
5681
|
var SimilarCard = Object.assign(Component$1x, {
|
|
5666
|
-
Text:
|
|
5682
|
+
Text: SimilarCardText,
|
|
5667
5683
|
Logo: SimilarCardLogo,
|
|
5668
5684
|
Icon: SimilarCardIcon
|
|
5669
5685
|
});
|
|
@@ -6785,7 +6801,7 @@ var JobSuggestedHeader = function (jobCompanySuggestedHeaderProps) {
|
|
|
6785
6801
|
React.createElement(JobCompanyHeader, __assign({}, jobCompanySuggestedHeaderProps))));
|
|
6786
6802
|
};
|
|
6787
6803
|
|
|
6788
|
-
var styles$Q = {"job-suggested-similar-jobs":"mg_job_suggested_similar_jobs_job-suggested-similar-
|
|
6804
|
+
var styles$Q = {"job-suggested-similar-jobs":"mg_job_suggested_similar_jobs_job-suggested-similar-jobs_t61xv","job-suggested-similar-jobs__title":"mg_job_suggested_similar_jobs_job-suggested-similar-jobs_title_t61xv","job-suggested-similar-jobs__text":"mg_job_suggested_similar_jobs_job-suggested-similar-jobs_text_t61xv","job-suggested-similar-jobs__search":"mg_job_suggested_similar_jobs_job-suggested-similar-jobs_search_t61xv","job-suggested-similar-jobs__search--alternative-bg":"mg_job_suggested_similar_jobs_job-suggested-similar-jobs_search--alternative-bg_t61xv"};
|
|
6789
6805
|
|
|
6790
6806
|
var similarJobTextAdapter = function (job) {
|
|
6791
6807
|
var text = [
|
|
@@ -6814,7 +6830,7 @@ var JobSuggestedSimilarJobs = function (_a) {
|
|
|
6814
6830
|
return (React.createElement(React.Fragment, { key: index },
|
|
6815
6831
|
React.createElement(SimilarCard, { className: cx$y(className), jobUrlSlug: job.jobUrlSlug, title: job.title },
|
|
6816
6832
|
React.createElement(Logo, { hideLogo: hideLogo, alt: job.title, src: job.companyLogo || NoLogo }),
|
|
6817
|
-
React.createElement(Text, { className: cx$y('job-suggested-similar-jobs__text'), customText: similarJobTextAdapter(job) }),
|
|
6833
|
+
React.createElement(Text, { className: cx$y('job-suggested-similar-jobs__text'), customText: similarJobTextAdapter(job), headingType: "h2" }),
|
|
6818
6834
|
React.createElement(Icon, null)),
|
|
6819
6835
|
React.createElement(Divider, null)));
|
|
6820
6836
|
}),
|
|
@@ -8869,6 +8885,8 @@ var Component$r = function (_a) {
|
|
|
8869
8885
|
*/
|
|
8870
8886
|
var Select2Tags = Component$r;
|
|
8871
8887
|
|
|
8888
|
+
var normalizeString = function (str) { return str.normalize('NFD').replace(/[\u0300-\u036f]/g, ''); };
|
|
8889
|
+
|
|
8872
8890
|
var useSelect2 = function (_a) {
|
|
8873
8891
|
var setTerm = _a.setTerm, _b = _a.currentFields, currentFields = _b === void 0 ? [] : _b, limitSelections = _a.limitSelections, _c = _a.setClickOut, setClickOut = _c === void 0 ? function () { return ({}); } : _c, onChange = _a.onChange, isMultiple = _a.isMultiple, selectList = _a.selectList;
|
|
8874
8892
|
var _d = useState([]), valueSelected = _d[0], setValueSelected = _d[1];
|
|
@@ -8920,10 +8938,11 @@ var useSelect2 = function (_a) {
|
|
|
8920
8938
|
setSearchValue(event.target.value);
|
|
8921
8939
|
}, []);
|
|
8922
8940
|
var list = useMemo(function () {
|
|
8923
|
-
|
|
8941
|
+
var normalizedSearch = normalizeString(searchValue.toLowerCase());
|
|
8942
|
+
if (normalizedSearch.length > 1 && !setTerm) {
|
|
8924
8943
|
return selectList.filter(function (_a) {
|
|
8925
8944
|
var name = _a.name;
|
|
8926
|
-
return name.toLowerCase().includes(
|
|
8945
|
+
return normalizeString(name.toLowerCase()).includes(normalizedSearch);
|
|
8927
8946
|
});
|
|
8928
8947
|
}
|
|
8929
8948
|
return selectList;
|