tabexseriescomponents 0.0.4 → 0.0.5

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/index.cjs.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ var React = require('react');
3
4
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
4
- var React$1 = require('react');
5
5
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
6
6
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
7
7
  var reactRouterDom = require('react-router-dom');
@@ -18,8 +18,8 @@ var hi = require('react-icons/hi');
18
18
 
19
19
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
20
20
 
21
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
21
22
  var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray);
22
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
23
23
  var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
24
24
  var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
25
25
  var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
@@ -30,12 +30,12 @@ var css = ".buttonComponent {\n\tborder-radius: 3px;\n\tpadding: 0.3rem 0.5rem;\
30
30
  n(css,{});
31
31
 
32
32
  var AwesomeButton = function AwesomeButton(props) {
33
- var _useState = React$1.useState(null),
33
+ var _useState = React.useState(null),
34
34
  _useState2 = _slicedToArray__default["default"](_useState, 2),
35
35
  color = _useState2[0],
36
36
  setColor = _useState2[1];
37
37
 
38
- React$1.useEffect(function () {
38
+ React.useEffect(function () {
39
39
  if (props.variant) {
40
40
  if (props.variant === 'primary') {
41
41
  setColor('#0077ff');
@@ -89,17 +89,17 @@ var Header8 = function Header8(props) {
89
89
  var StaticPagesLinksContext = props.actions.StaticPagesLinkxwsContext;
90
90
  var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
91
91
 
92
- var _useState = React$1.useState(''),
92
+ var _useState = React.useState(''),
93
93
  _useState2 = _slicedToArray__default["default"](_useState, 2),
94
94
  sectionproperties = _useState2[0],
95
95
  setsectionproperties = _useState2[1];
96
96
 
97
- var _useState3 = React$1.useState(false),
97
+ var _useState3 = React.useState(false),
98
98
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
99
99
  dropdownselect = _useState4[0],
100
100
  setdropdownselect = _useState4[1];
101
101
 
102
- React$1.useEffect(function () {
102
+ React.useEffect(function () {
103
103
  var _StatePagePropertiesC, _StatePagePropertiesC2;
104
104
 
105
105
  var secpropobj = {};
@@ -378,12 +378,12 @@ var Header8 = function Header8(props) {
378
378
  return totalprice;
379
379
  };
380
380
 
381
- var _useState5 = React$1.useState([]),
381
+ var _useState5 = React.useState([]),
382
382
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
383
383
  logoarrayofobjects = _useState6[0],
384
384
  setlogoarrayofobjects = _useState6[1];
385
385
 
386
- React$1.useEffect(function () {
386
+ React.useEffect(function () {
387
387
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
388
388
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
389
389
 
@@ -849,12 +849,12 @@ var App = function App() {
849
849
  var App$1 = App();
850
850
 
851
851
  var returnLibrary = function returnLibrary() {
852
- return /*#__PURE__*/React.createElement(imagekitioReact.IKContext, {
852
+ return /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKContext, {
853
853
  publicKey: "public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=",
854
854
  urlEndpoint: "https://ik.imagekit.io/kcrbhhnh0",
855
855
  transformationPosition: "path" // authenticationEndpoint="http://www.tab.com/auth"
856
856
 
857
- }, /*#__PURE__*/React.createElement(App$1, null));
857
+ }, /*#__PURE__*/React__default["default"].createElement(App$1, null));
858
858
  };
859
859
 
860
860
  var index = returnLibrary();
package/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
+ import React, { useState, useEffect } from 'react';
1
2
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
- import React$1, { useState, useEffect } from 'react';
3
3
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import { Link } from 'react-router-dom';
@@ -39,7 +39,7 @@ var AwesomeButton = function AwesomeButton(props) {
39
39
  }
40
40
  });
41
41
  var children = props.children;
42
- return /*#__PURE__*/React$1.createElement("button", {
42
+ return /*#__PURE__*/React.createElement("button", {
43
43
  className: "buttonComponent",
44
44
  style: {
45
45
  backgroundColor: color
@@ -382,13 +382,13 @@ var Header8 = function Header8(props) {
382
382
  }
383
383
  }
384
384
  }, [templateproperties_context]);
385
- return /*#__PURE__*/React$1.createElement("div", {
385
+ return /*#__PURE__*/React.createElement("div", {
386
386
  className: "row w-100 ml-0 mr-0 d-flex justify-content-center",
387
387
  style: {
388
388
  marginTop: sectionproperties.header_marginTop + 'px',
389
389
  marginBottom: sectionproperties.header_marginBottom + 'px'
390
390
  }
391
- }, fetchAuthorizationQueryContext.isSuccess && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("a", {
391
+ }, fetchAuthorizationQueryContext.isSuccess && /*#__PURE__*/React.createElement(React.Fragment, null, sectionproperties.youtbtn_show == 'Show' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("a", {
392
392
  href: 'tel:' + fetchAuthorizationQueryContext.data.data.instinfo.contactinfo.mobile,
393
393
  target: '_self',
394
394
  style: {
@@ -398,15 +398,15 @@ var Header8 = function Header8(props) {
398
398
  zIndex: 999999,
399
399
  transition: 'all 0.3s ease-out'
400
400
  }
401
- }, /*#__PURE__*/React$1.createElement("i", {
401
+ }, /*#__PURE__*/React.createElement("i", {
402
402
  className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
403
- }, /*#__PURE__*/React$1.createElement(BsTelephone, {
403
+ }, /*#__PURE__*/React.createElement(BsTelephone, {
404
404
  size: 30,
405
405
  color: sectionproperties.uppersection_iconcolor,
406
406
  style: {
407
407
  transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
408
408
  }
409
- }))), /*#__PURE__*/React$1.createElement("a", {
409
+ }))), /*#__PURE__*/React.createElement("a", {
410
410
  href: 'https://api.whatsapp.com/send?phone=' + fetchAuthorizationQueryContext.data.data.instinfo.contactinfo.mobile,
411
411
  target: '_blank',
412
412
  style: {
@@ -416,25 +416,25 @@ var Header8 = function Header8(props) {
416
416
  zIndex: 999999,
417
417
  transition: 'all 0.3s ease-out'
418
418
  }
419
- }, /*#__PURE__*/React$1.createElement("img", {
419
+ }, /*#__PURE__*/React.createElement("img", {
420
420
  // src={whatsappicon}
421
421
  style: {
422
422
  width: '40px',
423
423
  height: '40px',
424
424
  cursor: 'pointer'
425
425
  }
426
- }))), /*#__PURE__*/React$1.createElement("div", {
426
+ }))), /*#__PURE__*/React.createElement("div", {
427
427
  className: "".concat(header_cssstyles.headercontainer) + ' row ml-0 mr-0 d-flex d-md-none align-items-center ',
428
428
  style: {
429
429
  position: sectionproperties.headerstyles_position == 'absolute' ? 'absolute' : 'relative'
430
430
  }
431
- }, /*#__PURE__*/React$1.createElement("div", {
431
+ }, /*#__PURE__*/React.createElement("div", {
432
432
  className: header_cssstyles.upperheadersection + ' col-lg-12 '
433
- }, /*#__PURE__*/React$1.createElement("div", {
433
+ }, /*#__PURE__*/React.createElement("div", {
434
434
  className: "row w-100 m-0 align-items-center "
435
- }, /*#__PURE__*/React$1.createElement("div", {
435
+ }, /*#__PURE__*/React.createElement("div", {
436
436
  className: "col-lg-2 p-0"
437
- }, /*#__PURE__*/React$1.createElement("div", {
437
+ }, /*#__PURE__*/React.createElement("div", {
438
438
  className: "".concat(header_cssstyles.header_logo) + ' d-flex align-items-center justify-content-center ',
439
439
  style: {
440
440
  cursor: 'pointer'
@@ -442,44 +442,44 @@ var Header8 = function Header8(props) {
442
442
  onClick: function onClick() {
443
443
  routingcountext('home');
444
444
  }
445
- }, /*#__PURE__*/React$1.createElement(IKImage, {
445
+ }, /*#__PURE__*/React.createElement(IKImage, {
446
446
  path: langdetect == 'en' ? (_logoarrayofobjects$ = logoarrayofobjects[0]) === null || _logoarrayofobjects$ === void 0 ? void 0 : _logoarrayofobjects$.englishlogo : (_logoarrayofobjects$2 = logoarrayofobjects[0]) === null || _logoarrayofobjects$2 === void 0 ? void 0 : _logoarrayofobjects$2.arabiclogo,
447
447
  style: {
448
448
  maxWidth: '100%',
449
449
  maxHeight: '100%'
450
450
  }
451
- }))), /*#__PURE__*/React$1.createElement("div", {
451
+ }))), /*#__PURE__*/React.createElement("div", {
452
452
  className: "col-lg-4 p-0"
453
- }, /*#__PURE__*/React$1.createElement("div", {
453
+ }, /*#__PURE__*/React.createElement("div", {
454
454
  className: header_cssstyles.searchbarcont,
455
455
  style: {
456
456
  position: 'relative'
457
457
  }
458
- }, /*#__PURE__*/React$1.createElement("input", {
458
+ }, /*#__PURE__*/React.createElement("input", {
459
459
  type: "text",
460
460
  placeholder: lang.searchproducts,
461
461
  className: "".concat(header_cssstyles.searchbarcont_input),
462
462
  onChange: function onChange(event) {
463
463
  setSearchHeaderInputContext(event.target.value);
464
464
  }
465
- }), /*#__PURE__*/React$1.createElement("button", {
465
+ }), /*#__PURE__*/React.createElement("button", {
466
466
  className: " ".concat(header_cssstyles.searchbar_icon_cont) + ' d-flex align-items-center justify-content-center '
467
- }, /*#__PURE__*/React$1.createElement(BsSearch, {
467
+ }, /*#__PURE__*/React.createElement(BsSearch, {
468
468
  color: sectionproperties.searchbaricon_color,
469
469
  size: sectionproperties.searchbaricon_fontsize
470
- })))), fetchAuthorizationQueryContext.isSuccess && /*#__PURE__*/React$1.createElement("div", {
470
+ })))), fetchAuthorizationQueryContext.isSuccess && /*#__PURE__*/React.createElement("div", {
471
471
  className: "col-lg-3 d-flex flex-column align-items-center justfiy-content-center"
472
- }, sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React$1.createElement("div", {
472
+ }, sectionproperties.showcontactinfo == 'Show' && /*#__PURE__*/React.createElement("div", {
473
473
  className: "row m-0 w-100 d-flex align-items-center justify-content-center"
474
- }, /*#__PURE__*/React$1.createElement("i", {
474
+ }, /*#__PURE__*/React.createElement("i", {
475
475
  className: langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'
476
- }, /*#__PURE__*/React$1.createElement(BsTelephone, {
476
+ }, /*#__PURE__*/React.createElement(BsTelephone, {
477
477
  size: 30,
478
478
  color: sectionproperties.uppersection_iconcolor,
479
479
  style: {
480
480
  transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)'
481
481
  }
482
- })), /*#__PURE__*/React$1.createElement("div", {
482
+ })), /*#__PURE__*/React.createElement("div", {
483
483
  className: "d-flex align-items-center flex-column",
484
484
  onClick: function onClick() {
485
485
  window.open('https://api.whatsapp.com/send?phone=' + fetchAuthorizationQueryContext.data.data.instinfo.contactinfo.mobile, '_blank');
@@ -487,7 +487,7 @@ var Header8 = function Header8(props) {
487
487
  style: {
488
488
  cursor: 'pointer'
489
489
  }
490
- }, /*#__PURE__*/React$1.createElement("p", {
490
+ }, /*#__PURE__*/React.createElement("p", {
491
491
  className: "m-0",
492
492
  style: {
493
493
  color: sectionproperties.uppersection_infocolor,
@@ -495,7 +495,7 @@ var Header8 = function Header8(props) {
495
495
  fontWeight: sectionproperties.uppersection_infofontweight,
496
496
  letterSpacing: '2px'
497
497
  }
498
- }, fetchAuthorizationQueryContext.data.data.instinfo.contactinfo.mobile), /*#__PURE__*/React$1.createElement("p", {
498
+ }, fetchAuthorizationQueryContext.data.data.instinfo.contactinfo.mobile), /*#__PURE__*/React.createElement("p", {
499
499
  className: "mb-0 w-100",
500
500
  style: {
501
501
  textAlign: langdetect == 'en' ? 'right' : 'left',
@@ -506,43 +506,43 @@ var Header8 = function Header8(props) {
506
506
  fontWeight: sectionproperties.uppersection_titlefontweight,
507
507
  textTransform: sectionproperties.uppersection_titletextransform
508
508
  }
509
- }, lang.support247)))), /*#__PURE__*/React$1.createElement("div", {
509
+ }, lang.support247)))), /*#__PURE__*/React.createElement("div", {
510
510
  className: langdetect == 'en' ? 'col-lg-3 d-flex align-items-center p-0 pl-0' : 'col-lg-3 d-flex align-items-center p-0 pr-0'
511
- }, /*#__PURE__*/React$1.createElement("div", {
511
+ }, /*#__PURE__*/React.createElement("div", {
512
512
  className: 'row w-100 m-0 align-items-center justify-content-between ',
513
513
  style: {
514
514
  paddingLeft: langdetect == 'en' ? fetchAuthorizationQueryContext.data.data.loggedin == true ? '.3rem' : '3rem' : 0,
515
515
  paddingRight: langdetect == 'en' ? 0 : fetchAuthorizationQueryContext.data.data.loggedin == true ? '1rem' : '3rem'
516
516
  }
517
- }, /*#__PURE__*/React$1.createElement(Dropdown, null, /*#__PURE__*/React$1.createElement(Dropdown.Toggle, null, !fetchAuthorizationQueryContext.data.data.loggedin && /*#__PURE__*/React$1.createElement("div", {
517
+ }, /*#__PURE__*/React.createElement(Dropdown, null, /*#__PURE__*/React.createElement(Dropdown.Toggle, null, !fetchAuthorizationQueryContext.data.data.loggedin && /*#__PURE__*/React.createElement("div", {
518
518
  className: header_cssstyles.user_btnContainer + ' d-flex align-items-center justify-content-end p-0 cursor-pointer pt-1 '
519
- }, /*#__PURE__*/React$1.createElement("div", {
519
+ }, /*#__PURE__*/React.createElement("div", {
520
520
  className: header_cssstyles.user_btn + ' user_btnbg allcentered p-0 '
521
- }, /*#__PURE__*/React$1.createElement(BiUser, {
521
+ }, /*#__PURE__*/React.createElement(BiUser, {
522
522
  size: sectionproperties.userBtniconfontsize
523
- })), /*#__PURE__*/React$1.createElement("p", {
523
+ })), /*#__PURE__*/React.createElement("p", {
524
524
  className: header_cssstyles.loggedinusername + ' user_btn mb-0 p-0 ',
525
525
  style: {
526
526
  marginLeft: langdetect == 'en' ? '3px' : 0,
527
527
  marginRight: langdetect == 'en' ? 0 : '3px'
528
528
  }
529
- }, lang.login)), fetchAuthorizationQueryContext.data.data.loggedin && /*#__PURE__*/React$1.createElement("div", {
529
+ }, lang.login)), fetchAuthorizationQueryContext.data.data.loggedin && /*#__PURE__*/React.createElement("div", {
530
530
  className: header_cssstyles.loggedinuserbtnContainer + ' allcentered ',
531
531
  sytle: {
532
532
  position: 'relative'
533
533
  }
534
- }, /*#__PURE__*/React$1.createElement("div", {
534
+ }, /*#__PURE__*/React.createElement("div", {
535
535
  className: header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '
536
- }, /*#__PURE__*/React$1.createElement("i", {
536
+ }, /*#__PURE__*/React.createElement("i", {
537
537
  className: ' h-100 allcentered '
538
- }, /*#__PURE__*/React$1.createElement(BiUser, {
538
+ }, /*#__PURE__*/React.createElement(BiUser, {
539
539
  size: sectionproperties.loggedinusericonfontsize
540
- }))), /*#__PURE__*/React$1.createElement("div", {
540
+ }))), /*#__PURE__*/React.createElement("div", {
541
541
  className: "m-0 p-0",
542
542
  style: {
543
543
  textAlign: langdetect == 'en' ? 'left' : 'right'
544
544
  }
545
- }, /*#__PURE__*/React$1.createElement("p", {
545
+ }, /*#__PURE__*/React.createElement("p", {
546
546
  className: "m-0 p-0",
547
547
  style: {
548
548
  color: sectionproperties.greetingtextcolor,
@@ -550,49 +550,49 @@ var Header8 = function Header8(props) {
550
550
  lineHeight: sectionproperties.greetingtextfontsize + 'px',
551
551
  fontWeight: 400
552
552
  }
553
- }, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React$1.createElement("p", {
553
+ }, lang.hello, langdetect == 'en' ? ',' : '،'), /*#__PURE__*/React.createElement("p", {
554
554
  className: header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 ',
555
555
  style: {
556
556
  maxWidth: '100px'
557
557
  }
558
- }, fetchAuthorizationQueryContext.data.data.customerinfo.name)))), !fetchAuthorizationQueryContext.data.data.loggedin && /*#__PURE__*/React$1.createElement(Dropdown.Menu, null, /*#__PURE__*/React$1.createElement(Dropdown.Item, {
558
+ }, fetchAuthorizationQueryContext.data.data.customerinfo.name)))), !fetchAuthorizationQueryContext.data.data.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, null, /*#__PURE__*/React.createElement(Dropdown.Item, {
559
559
  onClick: function onClick() {
560
560
  routingcountext(StaticPagesLinksContext.Login);
561
561
  }
562
- }, /*#__PURE__*/React$1.createElement("div", {
562
+ }, /*#__PURE__*/React.createElement("div", {
563
563
  className: "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
564
- }, /*#__PURE__*/React$1.createElement("p", {
564
+ }, /*#__PURE__*/React.createElement("p", {
565
565
  className: "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
566
- }, /*#__PURE__*/React$1.createElement(AiOutlineLogin, null), /*#__PURE__*/React$1.createElement("span", {
566
+ }, /*#__PURE__*/React.createElement(AiOutlineLogin, null), /*#__PURE__*/React.createElement("span", {
567
567
  className: "ml-2 mr-2"
568
- }, lang.login)))), /*#__PURE__*/React$1.createElement(Dropdown.Divider, {
568
+ }, lang.login)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
569
569
  style: {
570
570
  marginBottom: 0,
571
571
  marginTop: 0
572
572
  }
573
- }), /*#__PURE__*/React$1.createElement(Dropdown.Item, {
573
+ }), /*#__PURE__*/React.createElement(Dropdown.Item, {
574
574
  onClick: function onClick() {
575
575
  routingcountext(StaticPagesLinksContext.Signup);
576
576
  }
577
- }, /*#__PURE__*/React$1.createElement("div", {
577
+ }, /*#__PURE__*/React.createElement("div", {
578
578
  className: "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
579
- }, /*#__PURE__*/React$1.createElement("p", {
579
+ }, /*#__PURE__*/React.createElement("p", {
580
580
  className: "".concat(header_cssstyles.dropdownitem) + ' d-flex align-items-center dropdownitem m-0 p-0 '
581
- }, /*#__PURE__*/React$1.createElement(AiOutlineUserAdd, null), /*#__PURE__*/React$1.createElement("span", {
581
+ }, /*#__PURE__*/React.createElement(AiOutlineUserAdd, null), /*#__PURE__*/React.createElement("span", {
582
582
  className: "ml-2 mr-2"
583
- }, lang.signup))))), fetchAuthorizationQueryContext.data.data.loggedin && /*#__PURE__*/React$1.createElement(Dropdown.Menu, {
583
+ }, lang.signup))))), fetchAuthorizationQueryContext.data.data.loggedin && /*#__PURE__*/React.createElement(Dropdown.Menu, {
584
584
  style: {
585
585
  minWidth: '200px'
586
586
  }
587
- }, /*#__PURE__*/React$1.createElement(Dropdown.Item, null, /*#__PURE__*/React$1.createElement("div", {
587
+ }, /*#__PURE__*/React.createElement(Dropdown.Item, null, /*#__PURE__*/React.createElement("div", {
588
588
  className: "".concat(header_cssstyles.dropdownitemcontainer) + ' d-flex align-items-center m-0 p-0 '
589
- }, /*#__PURE__*/React$1.createElement("span", {
589
+ }, /*#__PURE__*/React.createElement("span", {
590
590
  style: {
591
591
  color: sectionproperties.greetingtextcolor,
592
592
  fontSize: sectionproperties.dropdown_fontsize + 'px',
593
593
  fontWeight: 400
594
594
  }
595
- }, lang.hello, ","), /*#__PURE__*/React$1.createElement("p", {
595
+ }, lang.hello, ","), /*#__PURE__*/React.createElement("p", {
596
596
  className: "".concat(header_cssstyles.dropdownitem) + ' font-weight-600 ml-1 mr-1 text-overflow text-capitalize dropdownitem m-0 p-0 ',
597
597
  style: {
598
598
  maxWidth: '120px'
@@ -600,69 +600,69 @@ var Header8 = function Header8(props) {
600
600
  onClick: function onClick() {
601
601
  routingcountext(StaticPagesLinksContext.accountinfo);
602
602
  }
603
- }, fetchAuthorizationQueryContext.data.data.customerinfo.name))), /*#__PURE__*/React$1.createElement(Dropdown.Divider, {
603
+ }, fetchAuthorizationQueryContext.data.data.customerinfo.name))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
604
604
  style: {
605
605
  marginBottom: 0,
606
606
  marginTop: 0
607
607
  }
608
- }), /*#__PURE__*/React$1.createElement(Dropdown.Item, {
608
+ }), /*#__PURE__*/React.createElement(Dropdown.Item, {
609
609
  onClick: function onClick() {
610
610
  routingcountext(StaticPagesLinksContext.Ordershistory);
611
611
  }
612
- }, /*#__PURE__*/React$1.createElement("div", {
612
+ }, /*#__PURE__*/React.createElement("div", {
613
613
  className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
614
- }, /*#__PURE__*/React$1.createElement("p", {
614
+ }, /*#__PURE__*/React.createElement("p", {
615
615
  className: "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
616
- }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React$1.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React$1.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React$1.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React$1.createElement(BsHandbag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React$1.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React$1.createElement(MdOutlineShoppingCart, null), /*#__PURE__*/React$1.createElement("span", {
616
+ }, sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, null), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, null), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(BsHandbag, null), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, null), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdOutlineShoppingCart, null), /*#__PURE__*/React.createElement("span", {
617
617
  className: "ml-2 mr-2"
618
- }, lang.orderhistory)))), /*#__PURE__*/React$1.createElement(Dropdown.Divider, {
618
+ }, lang.orderhistory)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
619
619
  style: {
620
620
  marginBottom: 0,
621
621
  marginTop: 0
622
622
  }
623
- }), /*#__PURE__*/React$1.createElement(Dropdown.Item, {
623
+ }), /*#__PURE__*/React.createElement(Dropdown.Item, {
624
624
  onClick: function onClick() {
625
625
  routingcountext(StaticPagesLinksContext.Wishlist);
626
626
  }
627
- }, /*#__PURE__*/React$1.createElement("div", {
627
+ }, /*#__PURE__*/React.createElement("div", {
628
628
  className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
629
- }, /*#__PURE__*/React$1.createElement("p", {
629
+ }, /*#__PURE__*/React.createElement("p", {
630
630
  className: "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
631
- }, sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React$1.createElement(AiOutlineHeart, null), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React$1.createElement(AiFillStar, null), /*#__PURE__*/React$1.createElement("span", {
631
+ }, sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(AiOutlineHeart, null), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, null), /*#__PURE__*/React.createElement("span", {
632
632
  className: "ml-2 mr-2"
633
- }, lang.wishlist)))), /*#__PURE__*/React$1.createElement(Dropdown.Divider, {
633
+ }, lang.wishlist)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
634
634
  style: {
635
635
  marginBottom: 0,
636
636
  marginTop: 0
637
637
  }
638
- }), /*#__PURE__*/React$1.createElement(Dropdown.Item, {
638
+ }), /*#__PURE__*/React.createElement(Dropdown.Item, {
639
639
  onClick: function onClick() {
640
640
  routingcountext(StaticPagesLinksContext.Policies);
641
641
  }
642
- }, /*#__PURE__*/React$1.createElement("div", {
642
+ }, /*#__PURE__*/React.createElement("div", {
643
643
  className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
644
- }, /*#__PURE__*/React$1.createElement("p", {
644
+ }, /*#__PURE__*/React.createElement("p", {
645
645
  className: "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
646
- }, /*#__PURE__*/React$1.createElement(MdOutlinePolicy, null), /*#__PURE__*/React$1.createElement("span", {
646
+ }, /*#__PURE__*/React.createElement(MdOutlinePolicy, null), /*#__PURE__*/React.createElement("span", {
647
647
  className: "ml-2 mr-2"
648
- }, lang.policies)))), /*#__PURE__*/React$1.createElement(Dropdown.Divider, {
648
+ }, lang.policies)))), /*#__PURE__*/React.createElement(Dropdown.Divider, {
649
649
  style: {
650
650
  marginBottom: 0,
651
651
  marginTop: 0
652
652
  }
653
- }), /*#__PURE__*/React$1.createElement(Dropdown.Item, {
653
+ }), /*#__PURE__*/React.createElement(Dropdown.Item, {
654
654
  onClick: function onClick() {
655
655
  LogoutMutationContext.mutate();
656
656
  }
657
- }, /*#__PURE__*/React$1.createElement("div", {
657
+ }, /*#__PURE__*/React.createElement("div", {
658
658
  className: "".concat(header_cssstyles.dropdownitemcontainer) + ' m-0 p-0 d-flex align-items-center '
659
- }, /*#__PURE__*/React$1.createElement("p", {
659
+ }, /*#__PURE__*/React.createElement("p", {
660
660
  className: "".concat(header_cssstyles.dropdownitem) + ' dropdownitem d-flex align-items-center m-0 p-0 '
661
- }, /*#__PURE__*/React$1.createElement(BiLogOutCircle, null), /*#__PURE__*/React$1.createElement("span", {
661
+ }, /*#__PURE__*/React.createElement(BiLogOutCircle, null), /*#__PURE__*/React.createElement("span", {
662
662
  className: "ml-2 mr-2"
663
- }, lang.logout)))))), /*#__PURE__*/React$1.createElement("div", {
663
+ }, lang.logout)))))), /*#__PURE__*/React.createElement("div", {
664
664
  className: "d-flex flex-row p-0 align-items-center"
665
- }, /*#__PURE__*/React$1.createElement("div", {
665
+ }, /*#__PURE__*/React.createElement("div", {
666
666
  style: {
667
667
  position: 'relative'
668
668
  },
@@ -670,23 +670,23 @@ var Header8 = function Header8(props) {
670
670
  onClick: function onClick() {
671
671
  routingcountext(StaticPagesLinksContext.Wishlist);
672
672
  }
673
- }, sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React$1.createElement(AiOutlineHeart, {
673
+ }, sectionproperties.faviconshape == 'Heart Shape' && /*#__PURE__*/React.createElement(AiOutlineHeart, {
674
674
  className: "".concat(header_cssstyles.wishlist_btn),
675
675
  size: sectionproperties.favBtnIconfontsize,
676
676
  style: {
677
677
  position: 'relative'
678
678
  }
679
- }), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React$1.createElement(AiFillStar, {
679
+ }), sectionproperties.faviconshape == 'Star Shape' && /*#__PURE__*/React.createElement(AiFillStar, {
680
680
  className: "".concat(header_cssstyles.wishlist_btn),
681
681
  size: sectionproperties.favBtnIconfontsize,
682
682
  style: {
683
683
  position: 'relative'
684
684
  }
685
- }), /*#__PURE__*/React$1.createElement("div", {
685
+ }), /*#__PURE__*/React.createElement("div", {
686
686
  className: "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.wishlistbadge)
687
- }, /*#__PURE__*/React$1.createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), /*#__PURE__*/React$1.createElement("div", {
687
+ }, /*#__PURE__*/React.createElement("span", null, " ", favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length)))), /*#__PURE__*/React.createElement("div", {
688
688
  className: " d-flex flex-row justify-content-end align-items-center"
689
- }, /*#__PURE__*/React$1.createElement("div", {
689
+ }, /*#__PURE__*/React.createElement("div", {
690
690
  className: "row w-100 m-0 align-items-center d-flex flex-row justify-content-end",
691
691
  style: {
692
692
  position: 'relative'
@@ -694,30 +694,30 @@ var Header8 = function Header8(props) {
694
694
  onClick: function onClick() {
695
695
  setsidecartnavshowcontext(true);
696
696
  }
697
- }, /*#__PURE__*/React$1.createElement("div", {
697
+ }, /*#__PURE__*/React.createElement("div", {
698
698
  style: {
699
699
  position: 'relative'
700
700
  },
701
701
  className: "".concat(header_cssstyles.cart_btn) + ' cursor-pointer d-flex align-items-center justify-content-center '
702
- }, /*#__PURE__*/React$1.createElement("div", {
702
+ }, /*#__PURE__*/React.createElement("div", {
703
703
  className: "".concat(header_cssstyles.badge_counter_header_notifications, " ").concat(header_cssstyles.cartbadge)
704
- }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React$1.createElement(FiShoppingBag, {
704
+ }, (fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue5 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue5 === void 0 ? void 0 : (_fetchcustomercartQue6 = _fetchcustomercartQue5.data) === null || _fetchcustomercartQue6 === void 0 ? void 0 : _fetchcustomercartQue6.customercart) != null ? fetchcustomercartQueryContext === null || fetchcustomercartQueryContext === void 0 ? void 0 : (_fetchcustomercartQue7 = fetchcustomercartQueryContext.data) === null || _fetchcustomercartQue7 === void 0 ? void 0 : (_fetchcustomercartQue8 = _fetchcustomercartQue7.data) === null || _fetchcustomercartQue8 === void 0 ? void 0 : (_fetchcustomercartQue9 = _fetchcustomercartQue8.customercart) === null || _fetchcustomercartQue9 === void 0 ? void 0 : (_fetchcustomercartQue10 = _fetchcustomercartQue9.cartitems) === null || _fetchcustomercartQue10 === void 0 ? void 0 : _fetchcustomercartQue10.length : 0), sectionproperties.carticonstyle == 'Shopping bag 1' && /*#__PURE__*/React.createElement(FiShoppingBag, {
705
705
  size: sectionproperties.cartBtn_iconFontSize
706
- }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React$1.createElement(CgShoppingBag, {
706
+ }), sectionproperties.carticonstyle == 'Shopping bag 2' && /*#__PURE__*/React.createElement(CgShoppingBag, {
707
707
  size: sectionproperties.cartBtn_iconFontSize
708
- }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React$1.createElement(BsBag, {
708
+ }), sectionproperties.carticonstyle == 'Shopping bag 3' && /*#__PURE__*/React.createElement(BsBag, {
709
709
  size: sectionproperties.cartBtn_iconFontSize
710
- }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React$1.createElement(BsHandbag, {
710
+ }), sectionproperties.carticonstyle == 'Shopping bag 4' && /*#__PURE__*/React.createElement(BsHandbag, {
711
711
  size: sectionproperties.cartBtn_iconFontSize
712
- }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React$1.createElement(FiShoppingCart, {
712
+ }), sectionproperties.carticonstyle == 'Shopping cart 1' && /*#__PURE__*/React.createElement(FiShoppingCart, {
713
713
  size: sectionproperties.cartBtn_iconFontSize
714
- }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React$1.createElement(MdOutlineShoppingCart, {
714
+ }), sectionproperties.carticonstyle == 'Shopping cart 2' && /*#__PURE__*/React.createElement(MdOutlineShoppingCart, {
715
715
  size: sectionproperties.cartBtn_iconFontSize
716
- })), /*#__PURE__*/React$1.createElement("div", {
716
+ })), /*#__PURE__*/React.createElement("div", {
717
717
  className: langdetect == 'en' ? 'ml-2' : 'mr-2'
718
- }, /*#__PURE__*/React$1.createElement("div", {
718
+ }, /*#__PURE__*/React.createElement("div", {
719
719
  className: "row m-0 w-100 d-flex align-items-center flex-column justify-content-start"
720
- }, /*#__PURE__*/React$1.createElement("p", {
720
+ }, /*#__PURE__*/React.createElement("p", {
721
721
  className: "m-0 p-0 w-100",
722
722
  style: {
723
723
  textAlign: langdetect == 'en' ? 'left' : 'right',
@@ -728,7 +728,7 @@ var Header8 = function Header8(props) {
728
728
  textTransform: sectionproperties.cartBtnTexttransform,
729
729
  cursor: 'pointer'
730
730
  }
731
- }, lang.cart), /*#__PURE__*/React$1.createElement("p", {
731
+ }, lang.cart), /*#__PURE__*/React.createElement("p", {
732
732
  className: "m-0 text-left",
733
733
  style: {
734
734
  color: sectionproperties.card_secondarycolor,
@@ -736,7 +736,7 @@ var Header8 = function Header8(props) {
736
736
  fontWeight: sectionproperties.secondaryfontweight,
737
737
  cursor: 'pointer'
738
738
  }
739
- }, langdetect == 'en' ? 'EGP' : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : 'ج.م'))))), /*#__PURE__*/React$1.createElement("div", {
739
+ }, langdetect == 'en' ? 'EGP' : '', " ", subtotalcart(), " ", langdetect == 'en' ? '' : 'ج.م'))))), /*#__PURE__*/React.createElement("div", {
740
740
  className: "d-flex flex-row justify-content-end align-items-center",
741
741
  onClick: function onClick() {
742
742
  if (langdetect == 'en') {
@@ -745,63 +745,63 @@ var Header8 = function Header8(props) {
745
745
  setlang('en');
746
746
  }
747
747
  }
748
- }, langdetect == 'en' && /*#__PURE__*/React$1.createElement("div", {
748
+ }, langdetect == 'en' && /*#__PURE__*/React.createElement("div", {
749
749
  className: "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
750
- }), langdetect == 'ar' && /*#__PURE__*/React$1.createElement("div", {
750
+ }), langdetect == 'ar' && /*#__PURE__*/React.createElement("div", {
751
751
  className: "".concat(header_cssstyles.languagecontainer) + ' row m-0 w-100 d-flex align-items-center '
752
- })))))), /*#__PURE__*/React$1.createElement("div", {
752
+ })))))), /*#__PURE__*/React.createElement("div", {
753
753
  className: "col-lg-12 p-0 d-flex justify-content-center",
754
754
  style: {
755
755
  background: sectionproperties.vl_bg
756
756
  }
757
- }, /*#__PURE__*/React$1.createElement("div", {
757
+ }, /*#__PURE__*/React.createElement("div", {
758
758
  className: "".concat(header_cssstyles.divider) + ' '
759
- })), /*#__PURE__*/React$1.createElement("div", {
759
+ })), /*#__PURE__*/React.createElement("div", {
760
760
  className: "".concat(header_cssstyles.lowerheadercontainer) + ' row w-100 m-0 align-items-center '
761
- }, /*#__PURE__*/React$1.createElement("div", {
761
+ }, /*#__PURE__*/React.createElement("div", {
762
762
  className: ' col-lg-2 d-flex align-items-center ',
763
763
  style: {},
764
764
  onClick: function onClick() {
765
765
  setdropdownselect(!dropdownselect);
766
766
  }
767
- }, /*#__PURE__*/React$1.createElement("div", {
767
+ }, /*#__PURE__*/React.createElement("div", {
768
768
  className: "".concat(header_cssstyles.categorybtn) + ' categoriesdropdown transformedDropdown d-flex align-items-center justify-content-center '
769
- }, /*#__PURE__*/React$1.createElement(Dropdown, {
769
+ }, /*#__PURE__*/React.createElement(Dropdown, {
770
770
  className: "d-flex align-items-center justify-content-center"
771
- }, /*#__PURE__*/React$1.createElement(Dropdown.Toggle, {
771
+ }, /*#__PURE__*/React.createElement(Dropdown.Toggle, {
772
772
  className: "d-flex align-items-center justify-content-center"
773
- }, /*#__PURE__*/React$1.createElement("div", {
773
+ }, /*#__PURE__*/React.createElement("div", {
774
774
  className: "".concat(header_cssstyles.btntextcontainer) + ' row w-100 m-0 align-items-center ',
775
775
  style: {
776
776
  paddingTop: '7px'
777
777
  }
778
- }, /*#__PURE__*/React$1.createElement("i", {
778
+ }, /*#__PURE__*/React.createElement("i", {
779
779
  className: "h-100 d-flex align-items-center justify-content-center"
780
- }, /*#__PURE__*/React$1.createElement(HiMenuAlt4, {
780
+ }, /*#__PURE__*/React.createElement(HiMenuAlt4, {
781
781
  size: 25,
782
782
  color: "white"
783
- })), /*#__PURE__*/React$1.createElement("p", {
783
+ })), /*#__PURE__*/React.createElement("p", {
784
784
  className: langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '
785
- }, lang.shopbycategory))), fetchAuthorizationQueryContext.isSuccess && /*#__PURE__*/React$1.createElement(Dropdown.Menu, {
785
+ }, lang.shopbycategory))), fetchAuthorizationQueryContext.isSuccess && /*#__PURE__*/React.createElement(Dropdown.Menu, {
786
786
  style: {
787
787
  minWidth: '250px',
788
788
  marginLeft: '-20px'
789
789
  }
790
790
  }, fetchAuthorizationQueryContext.data.data.instinfo.instcollections.map(function (item, index) {
791
- return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Dropdown.Item, {
791
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown.Item, {
792
792
  onClick: function onClick() {
793
793
  routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
794
794
  }
795
- }, /*#__PURE__*/React$1.createElement("div", {
795
+ }, /*#__PURE__*/React.createElement("div", {
796
796
  className: "".concat(header_cssstyles.dropdownitemcontainer) + ' row m-0 w-100 '
797
- }, /*#__PURE__*/React$1.createElement("div", {
797
+ }, /*#__PURE__*/React.createElement("div", {
798
798
  className: ' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center '
799
- }, /*#__PURE__*/React$1.createElement("p", {
799
+ }, /*#__PURE__*/React.createElement("p", {
800
800
  className: "".concat(header_cssstyles.dropdownitem) + ' dropdownitem text-overflow m-0 p-0 '
801
- }, langdetect == 'en' ? item.title_en : item.title_ar)))), index != fetchAuthorizationQueryContext.data.data.instinfo.instcollections.length - 1 && /*#__PURE__*/React$1.createElement(Dropdown.Divider, null));
802
- }))))), /*#__PURE__*/React$1.createElement("div", {
801
+ }, langdetect == 'en' ? item.title_en : item.title_ar)))), index != fetchAuthorizationQueryContext.data.data.instinfo.instcollections.length - 1 && /*#__PURE__*/React.createElement(Dropdown.Divider, null));
802
+ }))))), /*#__PURE__*/React.createElement("div", {
803
803
  className: "col-lg-10 d-flex flex-row align-items-center justify-content-start"
804
- }, /*#__PURE__*/React$1.createElement("ul", {
804
+ }, /*#__PURE__*/React.createElement("ul", {
805
805
  className: ' mb-0 pb-0 mt-0 d-flex flex-row justify-content-start '
806
806
  }, templatepropcontext.pagesnprop.map(function (item, index) {
807
807
  var activeclass = '';
@@ -811,19 +811,19 @@ var Header8 = function Header8(props) {
811
811
  }
812
812
 
813
813
  if (item.isnavigation == 1 && item.isactive == 1) {
814
- return /*#__PURE__*/React$1.createElement(Link, {
814
+ return /*#__PURE__*/React.createElement(Link, {
815
815
  to: item.navigationroute
816
- }, /*#__PURE__*/React$1.createElement("li", {
816
+ }, /*#__PURE__*/React.createElement("li", {
817
817
  className: "".concat(activeclass),
818
818
  style: {
819
819
  marginRight: langdetect == 'en' ? '25px' : 0,
820
820
  marginLeft: langdetect == 'en' ? 0 : '25px'
821
821
  }
822
- }, /*#__PURE__*/React$1.createElement("div", {
822
+ }, /*#__PURE__*/React.createElement("div", {
823
823
  className: "".concat(header_cssstyles.navbar_item_text)
824
824
  }, " ", langdetect == 'en' ? item.pagename : item.pagename_ar)));
825
825
  }
826
- })))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React$1.createElement("div", {
826
+ })))), sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && /*#__PURE__*/React.createElement("div", {
827
827
  className: "col-lg-12 p-0"
828
828
  }))));
829
829
  };
package/dist/index.umd.js CHANGED
@@ -1,13 +1,13 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@babel/runtime/helpers/slicedToArray'), require('react'), require('@babel/runtime/helpers/toConsumableArray'), require('@babel/runtime/helpers/defineProperty'), require('react-router-dom'), require('glamor'), require('react-bootstrap/Dropdown'), require('react-icons/ai'), require('react-icons/cg'), require('react-icons/bi'), require('react-icons/fi'), require('react-icons/md'), require('imagekitio-react'), require('react-icons/bs'), require('react-icons/hi')) :
3
- typeof define === 'function' && define.amd ? define(['@babel/runtime/helpers/slicedToArray', 'react', '@babel/runtime/helpers/toConsumableArray', '@babel/runtime/helpers/defineProperty', 'react-router-dom', 'glamor', 'react-bootstrap/Dropdown', 'react-icons/ai', 'react-icons/cg', 'react-icons/bi', 'react-icons/fi', 'react-icons/md', 'imagekitio-react', 'react-icons/bs', 'react-icons/hi'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global["react-awesome-buttons"] = factory(global._slicedToArray, global.React$1, global._toConsumableArray, global._defineProperty, global.reactRouterDom, global.glamor, global.Dropdown, global.ai, global.cg, global.bi, global.fi, global.md, global.imagekitioReact, global.bs, global.hi));
5
- })(this, (function (_slicedToArray, React$1, _toConsumableArray, _defineProperty, reactRouterDom, glamor, Dropdown, ai, cg, bi, fi, md, imagekitioReact, bs, hi) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('@babel/runtime/helpers/slicedToArray'), require('@babel/runtime/helpers/toConsumableArray'), require('@babel/runtime/helpers/defineProperty'), require('react-router-dom'), require('glamor'), require('react-bootstrap/Dropdown'), require('react-icons/ai'), require('react-icons/cg'), require('react-icons/bi'), require('react-icons/fi'), require('react-icons/md'), require('imagekitio-react'), require('react-icons/bs'), require('react-icons/hi')) :
3
+ typeof define === 'function' && define.amd ? define(['react', '@babel/runtime/helpers/slicedToArray', '@babel/runtime/helpers/toConsumableArray', '@babel/runtime/helpers/defineProperty', 'react-router-dom', 'glamor', 'react-bootstrap/Dropdown', 'react-icons/ai', 'react-icons/cg', 'react-icons/bi', 'react-icons/fi', 'react-icons/md', 'imagekitio-react', 'react-icons/bs', 'react-icons/hi'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global["react-awesome-buttons"] = factory(global.React, global._slicedToArray, global._toConsumableArray, global._defineProperty, global.reactRouterDom, global.glamor, global.Dropdown, global.ai, global.cg, global.bi, global.fi, global.md, global.imagekitioReact, global.bs, global.hi));
5
+ })(this, (function (React, _slicedToArray, _toConsumableArray, _defineProperty, reactRouterDom, glamor, Dropdown, ai, cg, bi, fi, md, imagekitioReact, bs, hi) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
9
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
9
10
  var _slicedToArray__default = /*#__PURE__*/_interopDefaultLegacy(_slicedToArray);
10
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
11
11
  var _toConsumableArray__default = /*#__PURE__*/_interopDefaultLegacy(_toConsumableArray);
12
12
  var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
13
13
  var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
@@ -18,12 +18,12 @@
18
18
  n(css,{});
19
19
 
20
20
  var AwesomeButton = function AwesomeButton(props) {
21
- var _useState = React$1.useState(null),
21
+ var _useState = React.useState(null),
22
22
  _useState2 = _slicedToArray__default["default"](_useState, 2),
23
23
  color = _useState2[0],
24
24
  setColor = _useState2[1];
25
25
 
26
- React$1.useEffect(function () {
26
+ React.useEffect(function () {
27
27
  if (props.variant) {
28
28
  if (props.variant === 'primary') {
29
29
  setColor('#0077ff');
@@ -77,17 +77,17 @@
77
77
  var StaticPagesLinksContext = props.actions.StaticPagesLinkxwsContext;
78
78
  var favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
79
79
 
80
- var _useState = React$1.useState(''),
80
+ var _useState = React.useState(''),
81
81
  _useState2 = _slicedToArray__default["default"](_useState, 2),
82
82
  sectionproperties = _useState2[0],
83
83
  setsectionproperties = _useState2[1];
84
84
 
85
- var _useState3 = React$1.useState(false),
85
+ var _useState3 = React.useState(false),
86
86
  _useState4 = _slicedToArray__default["default"](_useState3, 2),
87
87
  dropdownselect = _useState4[0],
88
88
  setdropdownselect = _useState4[1];
89
89
 
90
- React$1.useEffect(function () {
90
+ React.useEffect(function () {
91
91
  var _StatePagePropertiesC, _StatePagePropertiesC2;
92
92
 
93
93
  var secpropobj = {};
@@ -366,12 +366,12 @@
366
366
  return totalprice;
367
367
  };
368
368
 
369
- var _useState5 = React$1.useState([]),
369
+ var _useState5 = React.useState([]),
370
370
  _useState6 = _slicedToArray__default["default"](_useState5, 2),
371
371
  logoarrayofobjects = _useState6[0],
372
372
  setlogoarrayofobjects = _useState6[1];
373
373
 
374
- React$1.useEffect(function () {
374
+ React.useEffect(function () {
375
375
  if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
376
376
  var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
377
377
 
@@ -837,12 +837,12 @@
837
837
  var App$1 = App();
838
838
 
839
839
  var returnLibrary = function returnLibrary() {
840
- return /*#__PURE__*/React.createElement(imagekitioReact.IKContext, {
840
+ return /*#__PURE__*/React__default["default"].createElement(imagekitioReact.IKContext, {
841
841
  publicKey: "public_ro8Tmo5Nlgw12YIFkn9MNUQLvQE=",
842
842
  urlEndpoint: "https://ik.imagekit.io/kcrbhhnh0",
843
843
  transformationPosition: "path" // authenticationEndpoint="http://www.tab.com/auth"
844
844
 
845
- }, /*#__PURE__*/React.createElement(App$1, null));
845
+ }, /*#__PURE__*/React__default["default"].createElement(App$1, null));
846
846
  };
847
847
 
848
848
  var index = returnLibrary();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "your description",
5
5
  "main": "dist/index.cjs.js",
6
6
  "scripts": {