magneto365.ui 2.47.0 → 2.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/216605c9a4ba8eeb.svg +3 -0
- package/dist/assets/53122d74f38b05ed.svg +3 -0
- package/dist/assets/8949e8e4bfb2ef16.svg +3 -0
- package/dist/assets/b7c5dd6900f044db.svg +3 -0
- package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
- package/dist/cjs/index.js +150 -114
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/molecules/Message/Message.component.d.ts +7 -4
- package/dist/cjs/types/components/UI/molecules/Message/Message.interface.d.ts +27 -5
- package/dist/cjs/types/components/UI/molecules/Message/constants/message.constant.d.ts +3 -2
- package/dist/cjs/types/components/UI/molecules/Message/index.d.ts +1 -1
- package/dist/cjs/types/constants/icons.constants.d.ts +4 -0
- package/dist/esm/css/magneto.ui.lib.min.css +1 -1
- package/dist/esm/index.js +151 -114
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/molecules/Message/Message.component.d.ts +7 -4
- package/dist/esm/types/components/UI/molecules/Message/Message.interface.d.ts +27 -5
- package/dist/esm/types/components/UI/molecules/Message/constants/message.constant.d.ts +3 -2
- package/dist/esm/types/components/UI/molecules/Message/index.d.ts +1 -1
- package/dist/esm/types/constants/icons.constants.d.ts +4 -0
- package/dist/index.d.ts +31 -8
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -241,7 +241,7 @@ var useMediaQuery = function (defaultValue, options) {
|
|
|
241
241
|
|
|
242
242
|
var style$Y = {"magneto-ui-icon":"mg_icon_magneto-ui-icon_4jxnv","magneto-ui-hover":"mg_icon_magneto-ui-hover_4jxnv"};
|
|
243
243
|
|
|
244
|
-
var Component$
|
|
244
|
+
var Component$1$ = function (_a) {
|
|
245
245
|
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;
|
|
246
246
|
var _d = useState(false), imageError = _d[0], setImageError = _d[1];
|
|
247
247
|
var handleError = function () {
|
|
@@ -257,7 +257,7 @@ var Component$1_ = function (_a) {
|
|
|
257
257
|
/**
|
|
258
258
|
* Atom UI component of Icon for general purpose
|
|
259
259
|
*/
|
|
260
|
-
var IconItem = Component$
|
|
260
|
+
var IconItem = Component$1$;
|
|
261
261
|
|
|
262
262
|
var styles$1X = {"avatarComponent":"mg_avatar_avatarComponent_1upgt","magneto-ui-default-avatar":"mg_avatar_magneto-ui-default-avatar_1upgt"};
|
|
263
263
|
|
|
@@ -323,6 +323,8 @@ var Close = "https://static.magneto365.com/lib/assets/2cb852fd568fb219.svg";
|
|
|
323
323
|
|
|
324
324
|
var CloseCircle = "https://static.magneto365.com/lib/assets/8cfd4406b512a517.svg";
|
|
325
325
|
|
|
326
|
+
var CloseCircleRedBold = "https://static.magneto365.com/lib/assets/216605c9a4ba8eeb.svg";
|
|
327
|
+
|
|
326
328
|
var CoinBlackOutline = "https://static.magneto365.com/lib/assets/360b8d098be3a53b.svg";
|
|
327
329
|
|
|
328
330
|
var Danger = "https://static.magneto365.com/lib/assets/9a7bd42035ea607a.svg";
|
|
@@ -381,6 +383,8 @@ var ImageWhiteOutline = "https://static.magneto365.com/lib/assets/2d1479bc672d97
|
|
|
381
383
|
|
|
382
384
|
var Info = "https://static.magneto365.com/lib/assets/ae6472919de3f2cd.svg";
|
|
383
385
|
|
|
386
|
+
var InfoCircleBlueBold = "https://static.magneto365.com/lib/assets/53122d74f38b05ed.svg";
|
|
387
|
+
|
|
384
388
|
var Instagram = "https://static.magneto365.com/lib/assets/2f6e7422de96c0e8.svg";
|
|
385
389
|
|
|
386
390
|
var InstagramSolid = "https://static.magneto365.com/lib/assets/b0d4cd86c4b553f3.svg";
|
|
@@ -473,6 +477,8 @@ var TaskBlueBold = "https://static.magneto365.com/lib/assets/546c3401e6c1ab39.sv
|
|
|
473
477
|
|
|
474
478
|
var TaskWhiteOutline = "https://static.magneto365.com/lib/assets/e8987356bcb0eb69.svg";
|
|
475
479
|
|
|
480
|
+
var TickCircleGreenBold = "https://static.magneto365.com/lib/assets/b7c5dd6900f044db.svg";
|
|
481
|
+
|
|
476
482
|
var Tiktok = "https://static.magneto365.com/lib/assets/f3e3f11bce735190.svg";
|
|
477
483
|
|
|
478
484
|
var TiktokSolid = "https://static.magneto365.com/lib/assets/6fb8b692c5ce240a.svg";
|
|
@@ -495,6 +501,8 @@ var UserSearchWhiteOutline = "https://static.magneto365.com/lib/assets/eb30208cb
|
|
|
495
501
|
|
|
496
502
|
var Warning = "https://static.magneto365.com/lib/assets/bfab45bdc4d8d900.svg";
|
|
497
503
|
|
|
504
|
+
var WarningYellowBold = "https://static.magneto365.com/lib/assets/8949e8e4bfb2ef16.svg";
|
|
505
|
+
|
|
498
506
|
var WhatsAppColor = "https://static.magneto365.com/lib/assets/75c50160036c6fdf.svg";
|
|
499
507
|
|
|
500
508
|
var WhatsAppDark = "https://static.magneto365.com/lib/assets/7fda674d8825bc06.svg";
|
|
@@ -505,7 +513,7 @@ var Youtube = "https://static.magneto365.com/lib/assets/f78dbede1bdf3dd0.svg";
|
|
|
505
513
|
|
|
506
514
|
var YoutubeSolid = "https://static.magneto365.com/lib/assets/cdcc07646d43bd9d.svg";
|
|
507
515
|
|
|
508
|
-
var Component$
|
|
516
|
+
var Component$1_ = function (_a) {
|
|
509
517
|
var userImage = _a.userImage, fallbackImage = _a.fallbackImage, onClick = _a.onClick;
|
|
510
518
|
var _b = useState(false), imageError = _b[0], setImageError = _b[1];
|
|
511
519
|
var handleError = function () {
|
|
@@ -519,7 +527,7 @@ var Component$1Z = function (_a) {
|
|
|
519
527
|
/**
|
|
520
528
|
* UI Atom component of Avatar
|
|
521
529
|
*/
|
|
522
|
-
var Avatar = Component$
|
|
530
|
+
var Avatar = Component$1_;
|
|
523
531
|
|
|
524
532
|
var BAR_LOADER_PREFIX = '--bar-loader';
|
|
525
533
|
|
|
@@ -658,7 +666,7 @@ var ShareIcons = {
|
|
|
658
666
|
}
|
|
659
667
|
};
|
|
660
668
|
|
|
661
|
-
var Component$
|
|
669
|
+
var Component$1Z = function (_a) {
|
|
662
670
|
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;
|
|
663
671
|
var _b = useState(), component = _b[0], setComponent = _b[1];
|
|
664
672
|
var actionsLinkList = ActionsAnchorIcons === null || ActionsAnchorIcons === void 0 ? void 0 : ActionsAnchorIcons.map(function (_, index) { return ({
|
|
@@ -710,7 +718,7 @@ var ShareLinksAction = function (_a) {
|
|
|
710
718
|
/**
|
|
711
719
|
* UI Molecule componet of Actions
|
|
712
720
|
*/
|
|
713
|
-
var Actions = Object.assign(Component$
|
|
721
|
+
var Actions = Object.assign(Component$1Z, { ShareLinks: ShareLinksAction });
|
|
714
722
|
|
|
715
723
|
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"};
|
|
716
724
|
|
|
@@ -736,7 +744,7 @@ var alertIcons = {
|
|
|
736
744
|
warning: Warning,
|
|
737
745
|
error: Error
|
|
738
746
|
};
|
|
739
|
-
var Component$
|
|
747
|
+
var Component$1Y = function (_a) {
|
|
740
748
|
var text = _a.text, type = _a.type, customText = _a.customText, _b = _a.border, border = _b === void 0 ? false : _b, size = _a.size, onClose = _a.onClose, _c = _a.className, className = _c === void 0 ? '' : _c, extraButton = _a.extraButton;
|
|
741
749
|
var borderStyle = border ? style$X["".concat(classMUI, "-").concat(type, "--with-border")] : '';
|
|
742
750
|
var typeStyle = style$X["".concat(classMUI, "-").concat(type)];
|
|
@@ -748,7 +756,7 @@ var Component$1X = function (_a) {
|
|
|
748
756
|
React.createElement(IconItem, { icon: Close, alt: type }))),
|
|
749
757
|
extraButton));
|
|
750
758
|
};
|
|
751
|
-
var Alert = Component$
|
|
759
|
+
var Alert = Component$1Y;
|
|
752
760
|
|
|
753
761
|
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"};
|
|
754
762
|
|
|
@@ -790,7 +798,7 @@ var DrawerPortal = function (_a) {
|
|
|
790
798
|
|
|
791
799
|
var style$U = {"magneto-ui-mobile-drawer":"mg_mobile_drawer_magneto-ui-mobile-drawer_kxkzo","magneto-ui-close-button":"mg_mobile_drawer_magneto-ui-close-button_kxkzo","magneto-ui-container":"mg_mobile_drawer_magneto-ui-container_kxkzo","background-drawer":"mg_mobile_drawer_background-drawer_kxkzo","fadeIn":"mg_mobile_drawer_fadeIn_kxkzo","show":"mg_mobile_drawer_show_kxkzo","hidden":"mg_mobile_drawer_hidden_kxkzo"};
|
|
792
800
|
|
|
793
|
-
var Component$
|
|
801
|
+
var Component$1X = function (_a) {
|
|
794
802
|
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;
|
|
795
803
|
var _d = useState(false), showContent = _d[0], setShowContent = _d[1];
|
|
796
804
|
var _e = useState(isOpen), renderPortal = _e[0], setRenderPortal = _e[1];
|
|
@@ -826,7 +834,7 @@ var Component$1W = function (_a) {
|
|
|
826
834
|
/**
|
|
827
835
|
* Molecule UI component for Mobile Drawer
|
|
828
836
|
*/
|
|
829
|
-
var MobileDrawer = Component$
|
|
837
|
+
var MobileDrawer = Component$1X;
|
|
830
838
|
|
|
831
839
|
var style$T = {"magneto-ui-brand-button":"mg_brand_button_magneto-ui-brand-button_145qe","magneto-ui-brand-button__company-logo":"mg_brand_button_magneto-ui-brand-button_company-logo_145qe","magneto-ui-brand-button__company-logo--img":"mg_brand_button_magneto-ui-brand-button_company-logo--img_145qe","magneto-ui-brand-button__icon":"mg_brand_button_magneto-ui-brand-button_icon_145qe","rotate":"mg_brand_button_rotate_145qe"};
|
|
832
840
|
|
|
@@ -884,7 +892,7 @@ var BrandsMenuPopover$1 = withClickOut(BrandsMenuPopover);
|
|
|
884
892
|
|
|
885
893
|
var styles$1U = {"BreadcrumbsComponent":"mg_breadcrumbs_BreadcrumbsComponent_13csm"};
|
|
886
894
|
|
|
887
|
-
var Component$
|
|
895
|
+
var Component$1W = function (_a) {
|
|
888
896
|
var homeUrl = _a.homeUrl, breadcrumbProps = _a.breadcrumbProps, _b = _a.iconProps, iconProps = _b === void 0 ? iconPropsBreadCrumb : _b;
|
|
889
897
|
return (React.createElement("div", { className: styles$1U.BreadcrumbsComponent },
|
|
890
898
|
React.createElement("a", { href: homeUrl },
|
|
@@ -894,7 +902,7 @@ var Component$1V = function (_a) {
|
|
|
894
902
|
/**
|
|
895
903
|
* Molecule UI component for breadcrums information
|
|
896
904
|
*/
|
|
897
|
-
var Breadcrumbs = Component$
|
|
905
|
+
var Breadcrumbs = Component$1W;
|
|
898
906
|
|
|
899
907
|
var styles$1T = {"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"};
|
|
900
908
|
|
|
@@ -916,7 +924,7 @@ var CitiesDetailDrawer = function (_a) {
|
|
|
916
924
|
|
|
917
925
|
var styles$1S = {"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"};
|
|
918
926
|
|
|
919
|
-
var Component$
|
|
927
|
+
var Component$1V = function (_a) {
|
|
920
928
|
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;
|
|
921
929
|
var disabledArrow = useMemo(function () {
|
|
922
930
|
if (disabled)
|
|
@@ -932,14 +940,14 @@ var Component$1U = function (_a) {
|
|
|
932
940
|
})),
|
|
933
941
|
React.createElement("span", { className: styles$1S['magneto-ui--date-dropdown__icon'] }, disabledArrow)));
|
|
934
942
|
};
|
|
935
|
-
var DateDropdown = Component$
|
|
943
|
+
var DateDropdown = Component$1V;
|
|
936
944
|
|
|
937
945
|
var styles$1R = {"magneto-ui--date-picker__wrapper":"mg_date_picker_magneto-ui--date-picker_wrapper_12pj2"};
|
|
938
946
|
|
|
939
947
|
var defaultValue$1 = function (value) {
|
|
940
948
|
return value ? parseDate(value) : { initialMonth: '', initialYear: '' };
|
|
941
949
|
};
|
|
942
|
-
var Component$
|
|
950
|
+
var Component$1U = function (_a) {
|
|
943
951
|
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;
|
|
944
952
|
var _b = useState(defaultValue$1(value).initialMonth), selectedMonth = _b[0], setSelectedMonth = _b[1];
|
|
945
953
|
var _c = useState(defaultValue$1(value).initialYear), selectedYear = _c[0], setSelectedYear = _c[1];
|
|
@@ -977,12 +985,12 @@ var Component$1T = function (_a) {
|
|
|
977
985
|
React.createElement(DateDropdown, { placeholderLabel: monthPlaceholder, dateOptions: monthOptionsList, selectedOption: selectedMonth, onOptionChanged: handleMonthChange, disabled: disabled }),
|
|
978
986
|
React.createElement(DateDropdown, { placeholderLabel: yearPlaceholder, dateOptions: yearOptionsList, selectedOption: selectedYear, onOptionChanged: handleYearChange, disabled: disabled })));
|
|
979
987
|
};
|
|
980
|
-
var DatePicker = Component$
|
|
988
|
+
var DatePicker = Component$1U;
|
|
981
989
|
|
|
982
990
|
var style$S = {"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"};
|
|
983
991
|
|
|
984
992
|
var DEFAULT_PADDING = 20;
|
|
985
|
-
var Component$
|
|
993
|
+
var Component$1T = function (_a) {
|
|
986
994
|
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;
|
|
987
995
|
var fullDrawer = isFull ? "full-drawer" : '';
|
|
988
996
|
var paddingValue = customPadding !== undefined ? "".concat(customPadding, "px") : "".concat(DEFAULT_PADDING, "px");
|
|
@@ -1028,7 +1036,7 @@ var Component$1S = function (_a) {
|
|
|
1028
1036
|
/**
|
|
1029
1037
|
* Molecule UI component for Drawer
|
|
1030
1038
|
*/
|
|
1031
|
-
var Drawer = Component$
|
|
1039
|
+
var Drawer = Component$1T;
|
|
1032
1040
|
|
|
1033
1041
|
var style$R = {"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"};
|
|
1034
1042
|
|
|
@@ -1093,7 +1101,7 @@ var EXPANDABLE_INFO_ACTION_ICONS = {
|
|
|
1093
1101
|
|
|
1094
1102
|
var styles$1Q = {"magneto-ui-expandable-info-action__button":"mg_expandable_info_action_magneto-ui-expandable-info-action_button_11ax1","magneto-ui-expandable-info-action__button--dark-blue":"mg_expandable_info_action_magneto-ui-expandable-info-action_button--dark-blue_11ax1","magneto-ui-expandable-info-action__button--light-blue":"mg_expandable_info_action_magneto-ui-expandable-info-action_button--light-blue_11ax1","magneto-ui-expandable-info-action__button--white":"mg_expandable_info_action_magneto-ui-expandable-info-action_button--white_11ax1","magneto-ui-expandable-info-action__button--green":"mg_expandable_info_action_magneto-ui-expandable-info-action_button--green_11ax1","magneto-ui-expandable-info-action__title":"mg_expandable_info_action_magneto-ui-expandable-info-action_title_11ax1"};
|
|
1095
1103
|
|
|
1096
|
-
var Component$
|
|
1104
|
+
var Component$1S = function (_a) {
|
|
1097
1105
|
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;
|
|
1098
1106
|
var isUrl = useMemo(function () { return onAction && typeof onAction === 'string'; }, [onAction]);
|
|
1099
1107
|
var Component = useMemo(function () { return (isUrl ? 'a' : 'button'); }, [isUrl]);
|
|
@@ -1131,11 +1139,11 @@ var Component$1R = function (_a) {
|
|
|
1131
1139
|
/**
|
|
1132
1140
|
* Molecule UI child component of expandable info
|
|
1133
1141
|
*/
|
|
1134
|
-
var ExpandableInfoAction = Component$
|
|
1142
|
+
var ExpandableInfoAction = Component$1S;
|
|
1135
1143
|
|
|
1136
1144
|
var styles$1P = {"magneto-ui-expandable-info-details__container":"mg_expandable_info_details_magneto-ui-expandable-info-details_container_1l94q","magneto-ui-expandable-info-details__section":"mg_expandable_info_details_magneto-ui-expandable-info-details_section_1l94q","magneto-ui-expandable-info-details__section--multiple":"mg_expandable_info_details_magneto-ui-expandable-info-details_section--multiple_1l94q","magneto-ui-expandable-info-details__sub-section":"mg_expandable_info_details_magneto-ui-expandable-info-details_sub-section_1l94q","magneto-ui-expandable-info-details__sub-section--initial":"mg_expandable_info_details_magneto-ui-expandable-info-details_sub-section--initial_1l94q","magneto-ui-expandable-info-details__item":"mg_expandable_info_details_magneto-ui-expandable-info-details_item_1l94q","magneto-ui-expandable-info-details__item--first":"mg_expandable_info_details_magneto-ui-expandable-info-details_item--first_1l94q","magneto-ui-expandable-info-details__text":"mg_expandable_info_details_magneto-ui-expandable-info-details_text_1l94q","magneto-ui-expandable-info-details__text--bold":"mg_expandable_info_details_magneto-ui-expandable-info-details_text--bold_1l94q","magneto-ui-expandable-info-details__footer":"mg_expandable_info_details_magneto-ui-expandable-info-details_footer_1l94q","magneto-ui-expandable-info-details__action":"mg_expandable_info_details_magneto-ui-expandable-info-details_action_1l94q"};
|
|
1137
1145
|
|
|
1138
|
-
var Component$
|
|
1146
|
+
var Component$1R = function (_a) {
|
|
1139
1147
|
var sections = _a.sections, footer = _a.footer;
|
|
1140
1148
|
var sectionStyles = useCallback(function (multiple) {
|
|
1141
1149
|
return CNM.get({
|
|
@@ -1182,7 +1190,7 @@ var Component$1Q = function (_a) {
|
|
|
1182
1190
|
/**
|
|
1183
1191
|
* Molecule UI child component of expandable info
|
|
1184
1192
|
*/
|
|
1185
|
-
var ExpandableInfoDetails = Component$
|
|
1193
|
+
var ExpandableInfoDetails = Component$1R;
|
|
1186
1194
|
|
|
1187
1195
|
var EExpandableInfoVariant;
|
|
1188
1196
|
(function (EExpandableInfoVariant) {
|
|
@@ -1205,7 +1213,7 @@ var EXPANDABLE_INFO_MESSAGE_ICONS = {
|
|
|
1205
1213
|
|
|
1206
1214
|
var styles$1O = {"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"};
|
|
1207
1215
|
|
|
1208
|
-
var Component$
|
|
1216
|
+
var Component$1Q = function (_a) {
|
|
1209
1217
|
var className = _a.className, title = _a.title, prefixIcon = _a.prefixIcon, variant = _a.variant;
|
|
1210
1218
|
var icon = useCallback(function (icon) {
|
|
1211
1219
|
if (icon) {
|
|
@@ -1229,11 +1237,11 @@ var Component$1P = function (_a) {
|
|
|
1229
1237
|
/**
|
|
1230
1238
|
* Molecule UI child component of expandable info
|
|
1231
1239
|
*/
|
|
1232
|
-
var ExpandableInfoMessage = Component$
|
|
1240
|
+
var ExpandableInfoMessage = Component$1Q;
|
|
1233
1241
|
|
|
1234
1242
|
var styles$1N = {"magneto-ui-expandable-info-modal":"mg_expandable_info_modal_magneto-ui-expandable-info-modal_mka0n"};
|
|
1235
1243
|
|
|
1236
|
-
var Component$
|
|
1244
|
+
var Component$1P = function (_a) {
|
|
1237
1245
|
var toggler = _a.toggler, details = _a.details;
|
|
1238
1246
|
var _b = useState(false), visible = _b[0], setVisible = _b[1];
|
|
1239
1247
|
var handleOnToggle = useCallback(function () {
|
|
@@ -1247,7 +1255,7 @@ var Component$1O = function (_a) {
|
|
|
1247
1255
|
/**
|
|
1248
1256
|
* Molecule UI child component of expandable info
|
|
1249
1257
|
*/
|
|
1250
|
-
var ExpandableInfoModal = Component$
|
|
1258
|
+
var ExpandableInfoModal = Component$1P;
|
|
1251
1259
|
|
|
1252
1260
|
var styles$1M = {"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"};
|
|
1253
1261
|
|
|
@@ -1313,7 +1321,7 @@ var withMegaMenuContainer = function (WrappedComponent) {
|
|
|
1313
1321
|
return Component;
|
|
1314
1322
|
};
|
|
1315
1323
|
|
|
1316
|
-
var Component$
|
|
1324
|
+
var Component$1O = function (_a) {
|
|
1317
1325
|
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;
|
|
1318
1326
|
return (React.createElement(Popover, { widthBase: 'auto', show: clickOut, positionX: "right", positionY: toggler.size === EExpandableInfoSize.LARGE ? 'top' : 'bottom', className: CNM.get({
|
|
1319
1327
|
styles: styles$1M,
|
|
@@ -1333,7 +1341,7 @@ var Component$1N = function (_a) {
|
|
|
1333
1341
|
/**
|
|
1334
1342
|
* Molecule UI child component of expandable info
|
|
1335
1343
|
*/
|
|
1336
|
-
var ExpandableInfoPopover = withClickOut(Component$
|
|
1344
|
+
var ExpandableInfoPopover = withClickOut(Component$1O);
|
|
1337
1345
|
|
|
1338
1346
|
var EXPANDABLE_INFO_TOGGLER_ICONS = {
|
|
1339
1347
|
coin: CoinBlackOutline
|
|
@@ -1341,7 +1349,7 @@ var EXPANDABLE_INFO_TOGGLER_ICONS = {
|
|
|
1341
1349
|
|
|
1342
1350
|
var styles$1I = {"magneto-ui-expandable-info-toggler__container":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_container_uiv7v","magneto-ui-expandable-info-toggler__container--no-details":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_container--no-details_uiv7v","magneto-ui-expandable-info-toggler__container--blue":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_container--blue_uiv7v","magneto-ui-expandable-info-toggler__container--white":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_container--white_uiv7v","magneto-ui-expandable-info-toggler__container--small":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_container--small_uiv7v","magneto-ui-expandable-info-toggler__text":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_text_uiv7v","magneto-ui-expandable-info-toggler__text--blue":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_text--blue_uiv7v","magneto-ui-expandable-info-toggler__text--white":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_text--white_uiv7v","magneto-ui-expandable-info-toggler__text--small":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_text--small_uiv7v","magneto-ui-expandable-info-toggler__summary":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_summary_uiv7v","magneto-ui-expandable-info-toggler__summary--small":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_summary--small_uiv7v","magneto-ui-expandable-info-toggler__summary--large":"mg_expandable_info_toggler_magneto-ui-expandable-info-toggler_summary--large_uiv7v"};
|
|
1343
1351
|
|
|
1344
|
-
var Component$
|
|
1352
|
+
var Component$1N = function (_a) {
|
|
1345
1353
|
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;
|
|
1346
1354
|
var styleGenerator = useCallback(function (base) {
|
|
1347
1355
|
return CNM.get({
|
|
@@ -1390,11 +1398,11 @@ var Component$1M = function (_a) {
|
|
|
1390
1398
|
/**
|
|
1391
1399
|
* Molecule UI child component of expandable info
|
|
1392
1400
|
*/
|
|
1393
|
-
var ExpandableInfoToggler = Component$
|
|
1401
|
+
var ExpandableInfoToggler = Component$1N;
|
|
1394
1402
|
|
|
1395
1403
|
var styles$1H = {"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"};
|
|
1396
1404
|
|
|
1397
|
-
var Component$
|
|
1405
|
+
var Component$1M = function (_a) {
|
|
1398
1406
|
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;
|
|
1399
1407
|
var togglerProps = useMemo(function () { return ({
|
|
1400
1408
|
details: details,
|
|
@@ -1426,7 +1434,7 @@ var Component$1L = function (_a) {
|
|
|
1426
1434
|
/**
|
|
1427
1435
|
* Molecule UI component for expandable info
|
|
1428
1436
|
*/
|
|
1429
|
-
var ExpandableInfo = Component$
|
|
1437
|
+
var ExpandableInfo = Component$1M;
|
|
1430
1438
|
|
|
1431
1439
|
var style$P = {"magneto-ui-filter-container":"mg_filter_container_menu_magneto-ui-filter-container_r9inc"};
|
|
1432
1440
|
|
|
@@ -1523,7 +1531,7 @@ var FilterSearchItem = function (_a) {
|
|
|
1523
1531
|
|
|
1524
1532
|
var styles$1E = {"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"};
|
|
1525
1533
|
|
|
1526
|
-
var Component$
|
|
1534
|
+
var Component$1L = function (_a) {
|
|
1527
1535
|
var searchHeading = _a.searchHeading, searchList = _a.searchList, showLess = _a.showLess, showMore = _a.showMore, showFrequentSearch = _a.showFrequentSearch;
|
|
1528
1536
|
var _b = useState(true), showFullList = _b[0], setShowFullList = _b[1];
|
|
1529
1537
|
var searchListDinamyc = useMemo(function () {
|
|
@@ -1548,29 +1556,29 @@ var Component$1K = function (_a) {
|
|
|
1548
1556
|
/**
|
|
1549
1557
|
* UI Atom component of Frequent Search
|
|
1550
1558
|
*/
|
|
1551
|
-
var FrequentSearch = Component$
|
|
1559
|
+
var FrequentSearch = Component$1L;
|
|
1552
1560
|
|
|
1553
1561
|
var style$O = {"header-drawer-company":"mg_header_drawer_company_header-drawer-company_jtdka"};
|
|
1554
1562
|
|
|
1555
|
-
var Component$
|
|
1563
|
+
var Component$1K = function (_a) {
|
|
1556
1564
|
var logo = _a.logo, alt = _a.alt, logoCompany = _a.logoCompany, logoCompanyAlt = _a.logoCompanyAlt, flag = _a.flag, flagAlt = _a.flagAlt;
|
|
1557
1565
|
return (React.createElement("div", { className: style$O['header-drawer-company'] },
|
|
1558
1566
|
React.createElement(LogoComponent, { logo: logo, alt: alt }),
|
|
1559
1567
|
React.createElement(LogoComponent, { logo: logoCompany, alt: logoCompanyAlt }),
|
|
1560
1568
|
React.createElement("img", { src: flag, alt: flagAlt, loading: "lazy", width: '25px', height: '20px' })));
|
|
1561
1569
|
};
|
|
1562
|
-
var HeaderDrawerCompany = Component$
|
|
1570
|
+
var HeaderDrawerCompany = Component$1K;
|
|
1563
1571
|
|
|
1564
1572
|
var styles$1D = {"TabComponent":"mg_tab_TabComponent_zqqnn"};
|
|
1565
1573
|
|
|
1566
|
-
var Component$
|
|
1574
|
+
var Component$1J = function (_a) {
|
|
1567
1575
|
var children = _a.children;
|
|
1568
1576
|
return React.createElement("div", { className: styles$1D.TabComponent }, children);
|
|
1569
1577
|
};
|
|
1570
1578
|
/**
|
|
1571
1579
|
* Molecule UI for Tab
|
|
1572
1580
|
*/
|
|
1573
|
-
var Tab = Component$
|
|
1581
|
+
var Tab = Component$1J;
|
|
1574
1582
|
|
|
1575
1583
|
var styles$1C = {"TabButtonComponent":"mg_tab_button_TabButtonComponent_hysss"};
|
|
1576
1584
|
|
|
@@ -1587,7 +1595,7 @@ var toCSSVariables = function (input) {
|
|
|
1587
1595
|
return output;
|
|
1588
1596
|
};
|
|
1589
1597
|
|
|
1590
|
-
var Component$
|
|
1598
|
+
var Component$1I = function (_a) {
|
|
1591
1599
|
var tabButtonLink = _a.tabButtonLink, tabButtonLinkStyles = _a.tabButtonLinkStyles, tabButtonStyles = _a.tabButtonStyles;
|
|
1592
1600
|
var stylesValue = useMemo(function () { return toCSSVariables(tabButtonStyles); }, [tabButtonStyles]);
|
|
1593
1601
|
var boxShadow = (tabButtonStyles || {}).boxShadow;
|
|
@@ -1596,11 +1604,11 @@ var Component$1H = function (_a) {
|
|
|
1596
1604
|
/**
|
|
1597
1605
|
* Molecule UI component for Tab Button
|
|
1598
1606
|
*/
|
|
1599
|
-
var TabButton = Component$
|
|
1607
|
+
var TabButton = Component$1I;
|
|
1600
1608
|
|
|
1601
1609
|
var styles$1B = {"HeaderDrawerTabsComponent":"mg_header_drawer_tabs_HeaderDrawerTabsComponent_1wrvo"};
|
|
1602
1610
|
|
|
1603
|
-
var Component$
|
|
1611
|
+
var Component$1H = function (_a) {
|
|
1604
1612
|
var logoProps = _a.logoProps, leftTabLink = _a.leftTabLink, rightTabLink = _a.rightTabLink, leftTabStyle = _a.leftTabStyle, rightTabStyle = _a.rightTabStyle, homeUrl = _a.homeUrl;
|
|
1605
1613
|
return (React.createElement("div", { className: styles$1B.HeaderDrawerTabsComponent },
|
|
1606
1614
|
React.createElement("a", { href: homeUrl },
|
|
@@ -1609,11 +1617,11 @@ var Component$1G = function (_a) {
|
|
|
1609
1617
|
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 }),
|
|
1610
1618
|
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 }))));
|
|
1611
1619
|
};
|
|
1612
|
-
var HeaderDrawerTabs = Component$
|
|
1620
|
+
var HeaderDrawerTabs = Component$1H;
|
|
1613
1621
|
|
|
1614
1622
|
var styles$1A = {"HeaderTabsComponent":"mg_header_tabs_HeaderTabsComponent_yjqx4"};
|
|
1615
1623
|
|
|
1616
|
-
var Component$
|
|
1624
|
+
var Component$1G = function (_a) {
|
|
1617
1625
|
var _b = _a.headerTabList, headerTabList = _b === void 0 ? [] : _b, _c = _a.urlParam, urlParam = _c === void 0 ? '' : _c, addDivider = _a.addDivider;
|
|
1618
1626
|
return (React.createElement("div", { className: styles$1A.HeaderTabsComponent, "data-add-divider": addDivider }, headerTabList.map(function (_a, index) {
|
|
1619
1627
|
var headerTabProps = __rest(_a, []);
|
|
@@ -1626,7 +1634,7 @@ var Component$1F = function (_a) {
|
|
|
1626
1634
|
/**
|
|
1627
1635
|
* Molecule UI component for header tabs information`
|
|
1628
1636
|
*/
|
|
1629
|
-
var HeaderTabs = Component$
|
|
1637
|
+
var HeaderTabs = Component$1G;
|
|
1630
1638
|
|
|
1631
1639
|
var styles$1z = {"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"};
|
|
1632
1640
|
|
|
@@ -1684,7 +1692,7 @@ var Input = function (_a) {
|
|
|
1684
1692
|
|
|
1685
1693
|
var styles$1y = {"magneto-ui-flat-loader":"mg_flat_loader_magneto-ui-flat-loader_q96bq","rotation":"mg_flat_loader_rotation_q96bq"};
|
|
1686
1694
|
|
|
1687
|
-
var Component$
|
|
1695
|
+
var Component$1F = function (_a) {
|
|
1688
1696
|
var color = _a.color, size = _a.size, secondColor = _a.secondColor;
|
|
1689
1697
|
var loadingSize = useMemo(function () {
|
|
1690
1698
|
if (size) {
|
|
@@ -1700,7 +1708,7 @@ var Component$1E = function (_a) {
|
|
|
1700
1708
|
}, [size]);
|
|
1701
1709
|
return (React.createElement("div", { style: __assign(__assign({}, loadingSize), { border: "2px solid ".concat(color || '#090467'), borderBottomColor: secondColor || 'white' }), className: styles$1y["".concat(classMUI, "-flat-loader")] }));
|
|
1702
1710
|
};
|
|
1703
|
-
var FlatLoader = Component$
|
|
1711
|
+
var FlatLoader = Component$1F;
|
|
1704
1712
|
|
|
1705
1713
|
var styles$1x = {"magneto-ui-input-plus":"mg_input_plus_magneto-ui-input-plus_1diki","magneto-ui-input-plus__plus-button":"mg_input_plus_magneto-ui-input-plus_plus-button_1diki","disabled":"mg_input_plus_disabled_1diki","disabled-img":"mg_input_plus_disabled-img_1diki"};
|
|
1706
1714
|
|
|
@@ -1755,7 +1763,7 @@ var styles$1w = {"magneto-ui-job-actions":"mg_job_actions_magneto-ui-job-actions
|
|
|
1755
1763
|
|
|
1756
1764
|
var style$N = {"popover":"mg_share_popover_popover_nlj0v","popover--hidden":"mg_share_popover_popover--hidden_nlj0v","popover__btn":"mg_share_popover_popover_btn_nlj0v","content":"mg_share_popover_content_nlj0v","content__link":"mg_share_popover_content_link_nlj0v"};
|
|
1757
1765
|
|
|
1758
|
-
var Component$
|
|
1766
|
+
var Component$1E = function (_a) {
|
|
1759
1767
|
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"]);
|
|
1760
1768
|
var _f = useState(false), show = _f[0], setShow = _f[1];
|
|
1761
1769
|
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(' ') },
|
|
@@ -1773,10 +1781,10 @@ var Component$1D = function (_a) {
|
|
|
1773
1781
|
React.createElement("button", __assign({}, btnProps, { className: [style$N['popover__btn'], classNameButton].join(' '), onClick: function () { return setShow(function (show) { return !show; }); }, onBlur: function () { return setShow(false); } }),
|
|
1774
1782
|
React.createElement(IconItem, { size: 20, icon: Share }))));
|
|
1775
1783
|
};
|
|
1776
|
-
Component$
|
|
1777
|
-
var SharePopover = Component$
|
|
1784
|
+
Component$1E.displayName = 'SharePopover';
|
|
1785
|
+
var SharePopover = Component$1E;
|
|
1778
1786
|
|
|
1779
|
-
var Component$
|
|
1787
|
+
var Component$1D = function (_a) {
|
|
1780
1788
|
var actionsAnchorIcons = _a.actionsAnchorIcons, actionsAnchorLinks = _a.actionsAnchorLinks, actionsAnchorTitle = _a.actionsAnchorTitle, externalButtonChild = _a.externalButtonChild, saveButtonProps = _a.saveButtonProps, shareButtonProps = _a.shareButtonProps;
|
|
1781
1789
|
var actionsLinkList = actionsAnchorIcons === null || actionsAnchorIcons === void 0 ? void 0 : actionsAnchorIcons.map(function (_, index) { return ({
|
|
1782
1790
|
icon: actionsAnchorIcons === null || actionsAnchorIcons === void 0 ? void 0 : actionsAnchorIcons[index],
|
|
@@ -1799,11 +1807,11 @@ var Component$1C = function (_a) {
|
|
|
1799
1807
|
/**
|
|
1800
1808
|
* UI Molecule Component for Jobs Actions
|
|
1801
1809
|
*/
|
|
1802
|
-
var JobActions = Component$
|
|
1810
|
+
var JobActions = Component$1D;
|
|
1803
1811
|
|
|
1804
1812
|
var styles$1v = {"magneto-ui-job-apply-card":"mg_job_apply_card_magneto-ui-job-apply-card_qw6j6","magneto-ui-job-apply-card__wrapper":"mg_job_apply_card_magneto-ui-job-apply-card_wrapper_qw6j6","magneto-ui-job-apply-card__header":"mg_job_apply_card_magneto-ui-job-apply-card_header_qw6j6","magneto-ui-job-apply-card__requirements":"mg_job_apply_card_magneto-ui-job-apply-card_requirements_qw6j6","magneto-ui__external-child":"mg_job_apply_card_magneto-ui_external-child_qw6j6"};
|
|
1805
1813
|
|
|
1806
|
-
var Component$
|
|
1814
|
+
var Component$1C = function (_a) {
|
|
1807
1815
|
var offerApplyHeader = _a.offerApplyHeader, offerApplyElements = _a.offerApplyElements, externalChild = _a.externalChild;
|
|
1808
1816
|
return (React.createElement("div", { className: styles$1v['magneto-ui-job-apply-card'] },
|
|
1809
1817
|
React.createElement("div", { className: styles$1v['magneto-ui-job-apply-card__wrapper'] },
|
|
@@ -1826,7 +1834,7 @@ var Component$1B = function (_a) {
|
|
|
1826
1834
|
/**
|
|
1827
1835
|
* UI Molecule Component for Job Apply Card
|
|
1828
1836
|
*/
|
|
1829
|
-
var JobApplyCard = Component$
|
|
1837
|
+
var JobApplyCard = Component$1C;
|
|
1830
1838
|
|
|
1831
1839
|
var style$M = {"magneto-ui-card-jobs":"mg_job_card_desktop_magneto-ui-card-jobs_1u1yc","magneto-ui-card-jobs--arrow":"mg_job_card_desktop_magneto-ui-card-jobs--arrow_1u1yc","magneto-ui-card-jobs--data":"mg_job_card_desktop_magneto-ui-card-jobs--data_1u1yc","magneto-ui-card-jobs--row1":"mg_job_card_desktop_magneto-ui-card-jobs--row1_1u1yc","magneto-ui-card-jobs--row2":"mg_job_card_desktop_magneto-ui-card-jobs--row2_1u1yc","magneto-ui-card-jobs--row3":"mg_job_card_desktop_magneto-ui-card-jobs--row3_1u1yc","magneto-ui-card-jobs--row4":"mg_job_card_desktop_magneto-ui-card-jobs--row4_1u1yc","magneto-ui-card-jobs--row2__position":"mg_job_card_desktop_magneto-ui-card-jobs--row2_position_1u1yc","magneto-ui-card-jobs--row2__urgent":"mg_job_card_desktop_magneto-ui-card-jobs--row2_urgent_1u1yc","magneto-ui-card-jobs--row2__variant":"mg_job_card_desktop_magneto-ui-card-jobs--row2_variant_1u1yc","magneto-ui-card-jobs--row3__info1":"mg_job_card_desktop_magneto-ui-card-jobs--row3_info1_1u1yc","magneto-ui-card-jobs--row3__info2":"mg_job_card_desktop_magneto-ui-card-jobs--row3_info2_1u1yc","magneto-ui-card-jobs--brand":"mg_job_card_desktop_magneto-ui-card-jobs--brand_1u1yc","magneto-ui-card-jobs--brand__img":"mg_job_card_desktop_magneto-ui-card-jobs--brand_img_1u1yc","was-seen":"mg_job_card_desktop_was-seen_1u1yc","is-active":"mg_job_card_desktop_is-active_1u1yc"};
|
|
1832
1840
|
|
|
@@ -1912,7 +1920,7 @@ var JobCard = function (_a) {
|
|
|
1912
1920
|
|
|
1913
1921
|
var styles$1u = {"magneto-ui-job-company-header":"mg_job_company_header_magneto-ui-job-company-header_13130"};
|
|
1914
1922
|
|
|
1915
|
-
var Component$
|
|
1923
|
+
var Component$1B = function (_a) {
|
|
1916
1924
|
var jobCompanyLogoProps = _a.jobCompanyLogoProps, jobHeaderProps = _a.jobHeaderProps;
|
|
1917
1925
|
return (React.createElement("div", { className: styles$1u['magneto-ui-job-company-header'] },
|
|
1918
1926
|
React.createElement(JobCompanyLogo, __assign({}, jobCompanyLogoProps)),
|
|
@@ -1921,18 +1929,18 @@ var Component$1A = function (_a) {
|
|
|
1921
1929
|
/**
|
|
1922
1930
|
* UI Molecule component for Company Job Header
|
|
1923
1931
|
*/
|
|
1924
|
-
var JobCompanyHeader = Component$
|
|
1932
|
+
var JobCompanyHeader = Component$1B;
|
|
1925
1933
|
|
|
1926
1934
|
var styles$1t = {"magneto-ui-job-detail-card":"mg_job_detail_card_magneto-ui-job-detail-card_htydq"};
|
|
1927
1935
|
|
|
1928
|
-
var Component$
|
|
1936
|
+
var Component$1A = function (_a) {
|
|
1929
1937
|
var offerDescription = _a.offerDescription;
|
|
1930
1938
|
return (React.createElement("div", { className: styles$1t['magneto-ui-job-detail-card'] }, offerDescription !== null ? React.createElement("div", { dangerouslySetInnerHTML: { __html: offerDescription } }) : React.createElement(Fragment, null)));
|
|
1931
1939
|
};
|
|
1932
1940
|
/**
|
|
1933
1941
|
* UI Molecule Component for Job Detail Card Header
|
|
1934
1942
|
*/
|
|
1935
|
-
var JobDetailCard = Component$
|
|
1943
|
+
var JobDetailCard = Component$1A;
|
|
1936
1944
|
|
|
1937
1945
|
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"};
|
|
1938
1946
|
|
|
@@ -1949,7 +1957,7 @@ var JobDetailContainer = function (_a) {
|
|
|
1949
1957
|
|
|
1950
1958
|
var styles$1s = {"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"};
|
|
1951
1959
|
|
|
1952
|
-
var Component$
|
|
1960
|
+
var Component$1z = function (_a) {
|
|
1953
1961
|
var offerDetailsList = _a.offerDetailsList, iconList = _a.iconList, altList = _a.altList, cities = _a.cities, textRemote = _a.textRemote, isRemote = _a.isRemote;
|
|
1954
1962
|
var jobDetailsList = offerDetailsList === null || offerDetailsList === void 0 ? void 0 : offerDetailsList.map(function (offerDetailText, index) { return ({
|
|
1955
1963
|
icon: iconList && iconList[index],
|
|
@@ -1974,12 +1982,12 @@ var Component$1y = function (_a) {
|
|
|
1974
1982
|
/**
|
|
1975
1983
|
* UI Molecule component for Job Detail
|
|
1976
1984
|
*/
|
|
1977
|
-
Component$
|
|
1978
|
-
var JobDetails = Component$
|
|
1985
|
+
Component$1z.displayName = 'JobDetails';
|
|
1986
|
+
var JobDetails = Component$1z;
|
|
1979
1987
|
|
|
1980
1988
|
var styles$1r = {"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"};
|
|
1981
1989
|
|
|
1982
|
-
var Component$
|
|
1990
|
+
var Component$1y = function (_a) {
|
|
1983
1991
|
var offerFooterHeader = _a.offerFooterHeader, offerCompanyLogo = _a.offerCompanyLogo, offerFooterList = _a.offerFooterList, iconList = _a.iconList, shareButtonProps = _a.shareButtonProps, companyImgAlt = _a.companyImgAlt;
|
|
1984
1992
|
var jobFooterList = offerFooterList === null || offerFooterList === void 0 ? void 0 : offerFooterList.map(function (_a, index) {
|
|
1985
1993
|
var href = _a.href, title = _a.title, ariaLabel = _a.ariaLabel;
|
|
@@ -2007,11 +2015,11 @@ var Component$1x = function (_a) {
|
|
|
2007
2015
|
/**
|
|
2008
2016
|
* UI Molecule component for Job Footer Card
|
|
2009
2017
|
*/
|
|
2010
|
-
var JobFooterCard = Component$
|
|
2018
|
+
var JobFooterCard = Component$1y;
|
|
2011
2019
|
|
|
2012
2020
|
var styles$1q = {"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"};
|
|
2013
2021
|
|
|
2014
|
-
var Component$
|
|
2022
|
+
var Component$1x = function (_a) {
|
|
2015
2023
|
var name = _a.name, score = _a.score;
|
|
2016
2024
|
var _b = useState(false), animationApplied = _b[0], setAnimationApplied = _b[1];
|
|
2017
2025
|
var skillRef = useRef(null);
|
|
@@ -2053,11 +2061,11 @@ var Component$1w = function (_a) {
|
|
|
2053
2061
|
React.createElement("p", null, name),
|
|
2054
2062
|
React.createElement("div", { className: "".concat(styles$1q['magneto-ui-skill__bar'], " ").concat(fillAnimation || styles$1q['magneto-ui-skill--no-animation']) }))));
|
|
2055
2063
|
};
|
|
2056
|
-
var Skill = Component$
|
|
2064
|
+
var Skill = Component$1x;
|
|
2057
2065
|
|
|
2058
2066
|
var styles$1p = {"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"};
|
|
2059
2067
|
|
|
2060
|
-
var Component$
|
|
2068
|
+
var Component$1w = function (_a) {
|
|
2061
2069
|
var offerSkillsLabel = _a.offerSkillsLabel, offerSkills = _a.offerSkills;
|
|
2062
2070
|
return (React.createElement(Fragment, null, offerSkills && offerSkills.length >= 1 && (React.createElement("div", { className: styles$1p['magneto-ui-job-skills-card'] },
|
|
2063
2071
|
React.createElement("p", null, offerSkillsLabel),
|
|
@@ -2070,7 +2078,7 @@ var Component$1v = function (_a) {
|
|
|
2070
2078
|
/**
|
|
2071
2079
|
* UI Molecule component of Job Skills Card
|
|
2072
2080
|
*/
|
|
2073
|
-
var JobSkillsCard = Component$
|
|
2081
|
+
var JobSkillsCard = Component$1w;
|
|
2074
2082
|
|
|
2075
2083
|
var styles$1o = {"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"};
|
|
2076
2084
|
|
|
@@ -2093,7 +2101,7 @@ var JobVideo = function (_a) {
|
|
|
2093
2101
|
|
|
2094
2102
|
var style$J = {"magneto-ui-list-icon":"mg_list_icon_link_magneto-ui-list-icon_1b3zm"};
|
|
2095
2103
|
|
|
2096
|
-
var Component$
|
|
2104
|
+
var Component$1v = function (_a) {
|
|
2097
2105
|
var listIcon = _a.listIcon, size = _a.size, _b = _a.hover, hover = _b === void 0 ? true : _b, spacing = _a.spacing;
|
|
2098
2106
|
return (React.createElement("div", { style: { gap: "".concat(spacing, "px") }, className: style$J['magneto-ui-list-icon'] }, listIcon.map(function (_a, index) {
|
|
2099
2107
|
var icon = _a.icon, url = _a.url, title = _a.title;
|
|
@@ -2101,11 +2109,11 @@ var Component$1u = function (_a) {
|
|
|
2101
2109
|
React.createElement(IconItem, { alt: title, hover: hover, size: size, icon: icon })));
|
|
2102
2110
|
})));
|
|
2103
2111
|
};
|
|
2104
|
-
var ListIconLink = Component$
|
|
2112
|
+
var ListIconLink = Component$1v;
|
|
2105
2113
|
|
|
2106
2114
|
var style$I = {"magneto-ui-menu-icon":"mg_menu_icon_magneto-ui-menu-icon_1nc3s","magneto-ui-menu-icon__menu-text":"mg_menu_icon_magneto-ui-menu-icon_menu-text_1nc3s","isActive":"mg_menu_icon_isActive_1nc3s"};
|
|
2107
2115
|
|
|
2108
|
-
var Component$
|
|
2116
|
+
var Component$1u = function (_a) {
|
|
2109
2117
|
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;
|
|
2110
2118
|
var menuActive = isActive ? style$I['isActive'] : '';
|
|
2111
2119
|
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 },
|
|
@@ -2114,11 +2122,11 @@ var Component$1t = function (_a) {
|
|
|
2114
2122
|
icon && React.createElement(IconItem, __assign({ size: iconSize, hover: false, icon: icon }, iconProps)),
|
|
2115
2123
|
React.createElement("p", { className: style$I['magneto-ui-menu-icon__menu-text'] }, text)))));
|
|
2116
2124
|
};
|
|
2117
|
-
var MenuIcon = Component$
|
|
2125
|
+
var MenuIcon = Component$1u;
|
|
2118
2126
|
|
|
2119
2127
|
var style$H = {"mangeto-ui-list-menu-icons":"mg_list_menu_icons_mangeto-ui-list-menu-icons_u92cd"};
|
|
2120
2128
|
|
|
2121
|
-
var Component$
|
|
2129
|
+
var Component$1t = function (_a) {
|
|
2122
2130
|
var urlParam = _a.urlParam, menuItems = _a.menuItems, menuItems1440 = _a.menuItems1440, logout = _a.logout, settings = _a.settings, haveGif = _a.haveGif;
|
|
2123
2131
|
var logoutText = logout.logoutText, onClick = logout.onClick;
|
|
2124
2132
|
var settingsText = settings.settingsText, onClickSettings = settings.onClick;
|
|
@@ -2139,16 +2147,16 @@ var Component$1s = function (_a) {
|
|
|
2139
2147
|
React.createElement(Divider, null),
|
|
2140
2148
|
React.createElement(MenuIcon, { type: "button", onClick: onClick, icon: LogoutIcon, text: logoutText })));
|
|
2141
2149
|
};
|
|
2142
|
-
var ListMenuIcons = Component$
|
|
2150
|
+
var ListMenuIcons = Component$1t;
|
|
2143
2151
|
|
|
2144
|
-
var Component$
|
|
2152
|
+
var Component$1s = function (_a) {
|
|
2145
2153
|
var _b = _a.menuList, menuList = _b === void 0 ? [] : _b, _c = _a.urlParam, urlParam = _c === void 0 ? '' : _c;
|
|
2146
2154
|
return (React.createElement("div", null, menuList.map(function (_a, index) {
|
|
2147
2155
|
var text = _a.text, url = _a.url, slug = _a.slug;
|
|
2148
2156
|
return (React.createElement(MenuItem, { key: index, isActive: urlParam === slug ? true : false, url: url, text: text }));
|
|
2149
2157
|
})));
|
|
2150
2158
|
};
|
|
2151
|
-
var ListMenuItems = Component$
|
|
2159
|
+
var ListMenuItems = Component$1s;
|
|
2152
2160
|
|
|
2153
2161
|
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"};
|
|
2154
2162
|
|
|
@@ -2195,7 +2203,7 @@ var style$D = {"mega-menu-cards":"mg_mega_menu_cards_mega-menu-cards_11ld6","meg
|
|
|
2195
2203
|
|
|
2196
2204
|
var styles$1n = {"button-link":"mg_button_link_button-link_1iyy1","button-link__text":"mg_button_link_button-link_text_1iyy1"};
|
|
2197
2205
|
|
|
2198
|
-
var Component$
|
|
2206
|
+
var Component$1r = function (_a) {
|
|
2199
2207
|
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;
|
|
2200
2208
|
var handleClick = useCallback(function (event) {
|
|
2201
2209
|
if (onClick) {
|
|
@@ -2211,7 +2219,7 @@ var Component$1q = function (_a) {
|
|
|
2211
2219
|
/**
|
|
2212
2220
|
* UI Atom Component of Save Button
|
|
2213
2221
|
*/
|
|
2214
|
-
var ButtonLink = Component$
|
|
2222
|
+
var ButtonLink = Component$1r;
|
|
2215
2223
|
|
|
2216
2224
|
var MegaMenuCards = function (_a) {
|
|
2217
2225
|
var jobs = _a.jobs, action = _a.action, title = _a.title, actionTitle = _a.actionTitle, className = _a.className;
|
|
@@ -2323,51 +2331,80 @@ var MenuSearch = function (_a) {
|
|
|
2323
2331
|
React.createElement("div", { className: "".concat(styles$1l['magneto-ui-menu-search_content'], " ").concat(show && styles$1l.open) }, content))));
|
|
2324
2332
|
};
|
|
2325
2333
|
|
|
2326
|
-
var initialState = {
|
|
2327
|
-
text: '',
|
|
2328
|
-
type: 'info',
|
|
2329
|
-
duration: 3000
|
|
2330
|
-
};
|
|
2331
2334
|
var iconByType = {
|
|
2332
|
-
info:
|
|
2333
|
-
success:
|
|
2334
|
-
warning:
|
|
2335
|
-
error:
|
|
2335
|
+
info: InfoCircleBlueBold,
|
|
2336
|
+
success: TickCircleGreenBold,
|
|
2337
|
+
warning: WarningYellowBold,
|
|
2338
|
+
error: CloseCircleRedBold
|
|
2336
2339
|
};
|
|
2340
|
+
var transitionDuration = 300;
|
|
2337
2341
|
|
|
2338
|
-
var styles$1k = {"
|
|
2342
|
+
var styles$1k = {"magneto-ui-message__container":"mg_message_magneto-ui-message_container_bk7n3","magneto-ui-message__container--show":"mg_message_magneto-ui-message_container--show_bk7n3","magneto-ui-message__container--hidden":"mg_message_magneto-ui-message_container--hidden_bk7n3","magneto-ui-message__container--info":"mg_message_magneto-ui-message_container--info_bk7n3","magneto-ui-message__container--success":"mg_message_magneto-ui-message_container--success_bk7n3","magneto-ui-message__container--warning":"mg_message_magneto-ui-message_container--warning_bk7n3","magneto-ui-message__container--error":"mg_message_magneto-ui-message_container--error_bk7n3","magneto-ui-message__text":"mg_message_magneto-ui-message_text_bk7n3","magneto-ui-message__text--bold":"mg_message_magneto-ui-message_text--bold_bk7n3","magneto-ui-message__icon":"mg_message_magneto-ui-message_icon_bk7n3"};
|
|
2339
2343
|
|
|
2340
|
-
var
|
|
2341
|
-
var
|
|
2342
|
-
var
|
|
2344
|
+
var Component$1q = function (_a) {
|
|
2345
|
+
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;
|
|
2346
|
+
var _e = useState(false), toggleAnimation = _e[0], setToggleAnimation = _e[1];
|
|
2347
|
+
var _f = useState(visible), localVisible = _f[0], setLocalVisible = _f[1];
|
|
2348
|
+
var _g = useState(false), isAnimating = _g[0], setIsAnimating = _g[1];
|
|
2349
|
+
var removeTimeoutRef = useRef(null);
|
|
2350
|
+
var hideTimeoutRef = useRef(null);
|
|
2351
|
+
var containerVar = useMemo(function () { return ({
|
|
2352
|
+
'--transition-duration': "".concat(transitionDuration / 1000, "s")
|
|
2353
|
+
}); }, []);
|
|
2354
|
+
var containerStyles = useMemo(function () {
|
|
2355
|
+
return CNM.get({
|
|
2356
|
+
styles: styles$1k,
|
|
2357
|
+
cls: [
|
|
2358
|
+
'message__container',
|
|
2359
|
+
"message__container--".concat(toggleAnimation ? 'show' : 'hidden'),
|
|
2360
|
+
"message__container--".concat(type)
|
|
2361
|
+
]
|
|
2362
|
+
});
|
|
2363
|
+
}, [type, toggleAnimation]);
|
|
2364
|
+
var textStyles = useCallback(function (bold) { return CNM.get({ styles: styles$1k, cls: ['message__text', bold && 'message__text--bold'] }); }, []);
|
|
2343
2365
|
useEffect(function () {
|
|
2344
|
-
|
|
2345
|
-
|
|
2366
|
+
if (!localVisible)
|
|
2367
|
+
return;
|
|
2368
|
+
hideTimeoutRef.current = setTimeout(function () {
|
|
2369
|
+
setToggleAnimation(false);
|
|
2370
|
+
}, duration);
|
|
2371
|
+
removeTimeoutRef.current = setTimeout(function () {
|
|
2372
|
+
setLocalVisible(false);
|
|
2373
|
+
onHide === null || onHide === void 0 ? void 0 : onHide(false);
|
|
2374
|
+
}, duration + transitionDuration);
|
|
2375
|
+
return function () {
|
|
2376
|
+
if (hideTimeoutRef.current)
|
|
2377
|
+
clearTimeout(hideTimeoutRef.current);
|
|
2378
|
+
if (removeTimeoutRef.current)
|
|
2379
|
+
clearTimeout(removeTimeoutRef.current);
|
|
2380
|
+
};
|
|
2381
|
+
}, [duration, localVisible, onHide]);
|
|
2346
2382
|
useEffect(function () {
|
|
2347
|
-
if (!
|
|
2383
|
+
if (!localVisible)
|
|
2348
2384
|
return;
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
ReactDOM.render(React.createElement(Message, __assign({}, props)), container);
|
|
2368
|
-
var duration = props.duration ? props.duration : initialState.duration;
|
|
2369
|
-
setTimeout(function () { return document.body.removeChild(container); }, duration);
|
|
2385
|
+
setTimeout(function () {
|
|
2386
|
+
setToggleAnimation(true);
|
|
2387
|
+
}, 10);
|
|
2388
|
+
}, [localVisible]);
|
|
2389
|
+
useEffect(function () {
|
|
2390
|
+
if ((!visible && !isAnimating) || (visible && isAnimating))
|
|
2391
|
+
return;
|
|
2392
|
+
setLocalVisible(visible);
|
|
2393
|
+
setIsAnimating(visible);
|
|
2394
|
+
}, [isAnimating, visible]);
|
|
2395
|
+
return localVisible
|
|
2396
|
+
? ReactDOM.createPortal(React.createElement("div", { style: containerVar, className: CNM.get({ styles: styles$1k, cls: [className] }) },
|
|
2397
|
+
React.createElement("div", { className: containerStyles },
|
|
2398
|
+
React.createElement(IconItem, __assign({ alt: type, className: CNM.get({ styles: styles$1k, cls: ['message__icon'] }), icon: iconByType[type], showDefaultFallback: false, size: 20 }, iconProps)),
|
|
2399
|
+
React.createElement("div", null,
|
|
2400
|
+
text && React.createElement("span", { className: textStyles(!!description) }, text),
|
|
2401
|
+
description && React.createElement("span", { className: textStyles() }, description)))), document.body)
|
|
2402
|
+
: null;
|
|
2370
2403
|
};
|
|
2404
|
+
/**
|
|
2405
|
+
* Molecule UI component for Message
|
|
2406
|
+
*/
|
|
2407
|
+
var Message = Component$1q;
|
|
2371
2408
|
|
|
2372
2409
|
var styles$1j = {"magneto-ui-mobile-job-details-header":"mg_mobile_job_detail_header_magneto-ui-mobile-job-details-header_1fct0"};
|
|
2373
2410
|
|
|
@@ -7586,5 +7623,5 @@ var Component = function (_a) {
|
|
|
7586
7623
|
};
|
|
7587
7624
|
var SuggestedJobsPage = Component;
|
|
7588
7625
|
|
|
7589
|
-
export { Actions, Alert, AnalystTemplate, Avatar, BarLoader, BrandMenu, BrandsContainer, BrandsMenuMobile, BrandsMenuPopover$1 as BrandsMenuPopover, Breadcrumb, Breadcrumbs, Button, CitiesDetailDrawer, ComparativeCounter, DateDropdown, DateInput, DatePicker, DatePickerResponsiveComponent, Divider, Drawer, DrawerMenu, EExpandableInfoSize, EExpandableInfoVariant, ERadioType, EmptyResult as EmptyResults, ExpandableInfo, FilterCard, FilterContainerMenu, FilterHeader, FilterMenuItem, FilterSearchItem, FlatLoader, Footer, FooterMenuLinks, FrequentSearch, HeaderAnalyst, HeaderDrawerCompany, HeaderDrawerTabs, HeaderTab, HeaderTabs, IconItem, Image, Input, InputPlus, InputSearch, JobActions, JobApplyCard, JobCard, JobCardDesktop, JobCardMobile, JobCompanyHeader, JobCompanyLogo, JobDetailCard, JobDetailContainer, JobDetails, JobDetailsDrawer, JobFooterCard, JobHeader, JobSkillsCard, JobVideo, JobsPage, Link, ListIconLink, ListMenuIcons, ListMenuItems, ListMenuText, ListSortMenu, Loading, LoginHeader, LoginJobsHeader, LoginJobsTemplate, LoginTemplate, LogoComponent, LogoutHeader, LogoutJobsHeader, LogoutJobsTemplate, LogoutTemplate, MagnetoResolution, MagnetoSocialMedia, ContextAppProvider as MagnetoUIProvider, MainButton, MegaMenu, MegaMenuCard, MegaMenuCards, MegaMenuJobsTabs, MegaMenuPopover, MegaMenuTab, MenuDropdown, MenuIcon, MenuItem, MenuSearch, Message, MobileDatePicker, MobileDrawer, MobileDrawerMenu, MobileJobDetailsDrawer, MobileJobDetailsHeader, MobileSearchbar, MobileSortMenu, Modal$1 as Modal, ModalAnalyst, MultiRangeSlider, MultipleSelectionEntry, NavMenuAnalyst, NavMenuAnalystRegionModal, NavMenuDrawerAnalyst, OneSelectionEntry, Pagination, Paragraph, Popover, Radio, RightsReservedText, SaveButton, ScoreLevel, ScoreLevelStatic, SearchButton, SearchItem, Searchbar, Select, Select2, ShareButton, SharePopover, SideFilter, SimilarJobs, SimilarJobsCard, Skill, SortBar, SortMenu$1 as SortMenu, SuggestedJobsPage, Switch, Tab, TabButton, Tags as Tag, TextArea, Timeline, TimelineEvent, ToggleButton, Tooltip, UserMenu, UserMenuAnalyst, UserMenuButtonAnalyst, UserMenuWrapperAnalyst,
|
|
7626
|
+
export { Actions, Alert, AnalystTemplate, Avatar, BarLoader, BrandMenu, BrandsContainer, BrandsMenuMobile, BrandsMenuPopover$1 as BrandsMenuPopover, Breadcrumb, Breadcrumbs, Button, CitiesDetailDrawer, ComparativeCounter, DateDropdown, DateInput, DatePicker, DatePickerResponsiveComponent, Divider, Drawer, DrawerMenu, EExpandableInfoSize, EExpandableInfoVariant, ERadioType, EmptyResult as EmptyResults, ExpandableInfo, FilterCard, FilterContainerMenu, FilterHeader, FilterMenuItem, FilterSearchItem, FlatLoader, Footer, FooterMenuLinks, FrequentSearch, HeaderAnalyst, HeaderDrawerCompany, HeaderDrawerTabs, HeaderTab, HeaderTabs, IconItem, Image, Input, InputPlus, InputSearch, JobActions, JobApplyCard, JobCard, JobCardDesktop, JobCardMobile, JobCompanyHeader, JobCompanyLogo, JobDetailCard, JobDetailContainer, JobDetails, JobDetailsDrawer, JobFooterCard, JobHeader, JobSkillsCard, JobVideo, JobsPage, Link, ListIconLink, ListMenuIcons, ListMenuItems, ListMenuText, ListSortMenu, Loading, LoginHeader, LoginJobsHeader, LoginJobsTemplate, LoginTemplate, LogoComponent, LogoutHeader, LogoutJobsHeader, LogoutJobsTemplate, LogoutTemplate, MagnetoResolution, MagnetoSocialMedia, ContextAppProvider as MagnetoUIProvider, MainButton, MegaMenu, MegaMenuCard, MegaMenuCards, MegaMenuJobsTabs, MegaMenuPopover, MegaMenuTab, MenuDropdown, MenuIcon, MenuItem, MenuSearch, Message, MobileDatePicker, MobileDrawer, MobileDrawerMenu, MobileJobDetailsDrawer, MobileJobDetailsHeader, MobileSearchbar, MobileSortMenu, Modal$1 as Modal, ModalAnalyst, MultiRangeSlider, MultipleSelectionEntry, NavMenuAnalyst, NavMenuAnalystRegionModal, NavMenuDrawerAnalyst, OneSelectionEntry, Pagination, Paragraph, Popover, Radio, RightsReservedText, SaveButton, ScoreLevel, ScoreLevelStatic, SearchButton, SearchItem, Searchbar, Select, Select2, ShareButton, SharePopover, SideFilter, SimilarJobs, SimilarJobsCard, Skill, SortBar, SortMenu$1 as SortMenu, SuggestedJobsPage, Switch, Tab, TabButton, Tags as Tag, TextArea, Timeline, TimelineEvent, ToggleButton, Tooltip, UserMenu, UserMenuAnalyst, UserMenuButtonAnalyst, UserMenuWrapperAnalyst, useMediaQuery, withClickOut, withMegaMenuContainer };
|
|
7590
7627
|
//# sourceMappingURL=index.js.map
|