magneto365.ui 2.61.2 → 2.61.3

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.
@@ -4,7 +4,11 @@ export interface IMegaMenuEmpty {
4
4
  */
5
5
  title: string;
6
6
  /**
7
- * Empty Subtitle
8
- */
7
+ * Empty Subtitle
8
+ */
9
9
  subtitle: string;
10
+ /**
11
+ * Image Data
12
+ */
13
+ imageData: string;
10
14
  }
@@ -1,3 +1,4 @@
1
1
  export { default as SwipeLeft } from '../assets/gif/SwipeLeft.gif';
2
2
  export { default as SwipeRight } from '../assets/gif/SwipeRight.gif';
3
3
  export { default as NoData } from '../assets/gif/noData.gif';
4
+ export { default as Waiting } from '../assets/gif/waiting.gif';
@@ -2,6 +2,9 @@ import { IMegaMenuTab } from '@components/UI/atoms/MegaMenuTab/MegaMenuTab.inter
2
2
  import { IMegaMenuCard } from '@components/UI/molecules';
3
3
  import { IMegaMenuCards } from '@components/UI/organism';
4
4
  import { IMegaMenuJobs, IMegaMenuMainHeader, IMegaMenuSocialHeader } from '@components/UI/template/MegaMenu/MegaMenuContext.interface';
5
+ export declare const staticMessages: {
6
+ [key: string]: string;
7
+ };
5
8
  export declare const megaMenuSocialTabs: IMegaMenuTab[];
6
9
  export declare const alphabet = "ABCDEFGHIJKLMN\u00D1OPQRSTUVWXYZ";
7
10
  export declare const megaMenuJobImage: IMegaMenuCard;
package/dist/esm/index.js CHANGED
@@ -3434,20 +3434,14 @@ var SimilarCard = Object.assign(Component$1A, {
3434
3434
  Icon: SimilarCardIcon
3435
3435
  });
3436
3436
 
3437
- var SwipeLeft = "https://static.magneto365.com/lib/assets/gif/b858b5e2933b8b3c.gif";
3438
-
3439
- var SwipeRight = "https://static.magneto365.com/lib/assets/gif/8303bee2f625ec72.gif";
3440
-
3441
- var NoData = "https://static.magneto365.com/lib/assets/gif/f106e872354f9e4b.gif";
3442
-
3443
3437
  var style$C = {"mega-menu-empty":"mg_mega_menu_empty_mega-menu-empty_ms4x7","mega-menu-empty__title":"mg_mega_menu_empty_mega-menu-empty_title_ms4x7","mega-menu-empty__subtitle":"mg_mega_menu_empty_mega-menu-empty_subtitle_ms4x7","mega-menu-empty__image":"mg_mega_menu_empty_mega-menu-empty_image_ms4x7"};
3444
3438
 
3445
3439
  var MegaMenuEmpty = function (_a) {
3446
- var title = _a.title, subtitle = _a.subtitle;
3440
+ var title = _a.title, subtitle = _a.subtitle, _b = _a.imageData, imageData = _b === void 0 ? 'noData' : _b;
3447
3441
  return (React.createElement("div", { className: style$C['mega-menu-empty'] },
3448
3442
  React.createElement("h4", { className: style$C['mega-menu-empty__title'] }, title),
3449
3443
  React.createElement("p", { className: style$C['mega-menu-empty__subtitle'] }, subtitle),
3450
- React.createElement("img", { className: style$C['mega-menu-empty__image'], src: NoData, height: 170 })));
3444
+ React.createElement("img", { className: style$C['mega-menu-empty__image'], src: staticMessages[imageData], height: 170 })));
3451
3445
  };
3452
3446
 
3453
3447
  var ModalPortal = function (_a) {
@@ -4386,6 +4380,18 @@ var LocationBlue = "https://static.magneto365.com/lib/assets/megaMenu/5b59e34612
4386
4380
 
4387
4381
  var Book = "https://static.magneto365.com/lib/assets/megaMenu/ca9ee6d183e7647b.svg";
4388
4382
 
4383
+ var SwipeLeft = "https://static.magneto365.com/lib/assets/gif/b858b5e2933b8b3c.gif";
4384
+
4385
+ var SwipeRight = "https://static.magneto365.com/lib/assets/gif/8303bee2f625ec72.gif";
4386
+
4387
+ var NoData = "https://static.magneto365.com/lib/assets/gif/f106e872354f9e4b.gif";
4388
+
4389
+ var Waiting = "https://static.magneto365.com/lib/assets/gif/e2ca38f1e0d908d9.gif";
4390
+
4391
+ var staticMessages = {
4392
+ noData: NoData,
4393
+ waiting: Waiting
4394
+ };
4389
4395
  var alphabet = 'ABCDEFGHIJKLMNÑOPQRSTUVWXYZ';
4390
4396
  var megaMenuJobImage = {
4391
4397
  title: 'Cajero cafeteria en la esquina del barrio de por mi casa',