monica-alexandria 3.0.13 → 3.1.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/index.es.js
CHANGED
|
@@ -566,31 +566,22 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
566
566
|
overflow: hidden;
|
|
567
567
|
}
|
|
568
568
|
`,O=r.div`
|
|
569
|
-
display: grid;
|
|
570
|
-
grid-template-columns: 1fr 40%;
|
|
571
|
-
grid-gap: 4rem;
|
|
572
|
-
padding: 0 4rem;
|
|
573
|
-
|
|
574
|
-
@media ${H} {
|
|
575
|
-
grid-template-columns: 1fr;
|
|
576
|
-
}
|
|
577
|
-
`,J=r.div`
|
|
578
569
|
padding: 0 4rem 2rem 13rem;
|
|
579
|
-
`,
|
|
570
|
+
`,J=r.div`
|
|
580
571
|
width: 100%;
|
|
581
|
-
`,
|
|
572
|
+
`,W=r.div`
|
|
582
573
|
width: 100%;
|
|
583
574
|
|
|
584
575
|
@media ${H} {
|
|
585
576
|
display: none;
|
|
586
577
|
}
|
|
587
|
-
`,
|
|
578
|
+
`,Y=r.div`
|
|
588
579
|
padding-top: 8rem;
|
|
589
|
-
`,
|
|
580
|
+
`,Q=r.div`
|
|
590
581
|
padding: 2rem 0;
|
|
591
|
-
`,
|
|
582
|
+
`,ee=r.div`
|
|
592
583
|
|
|
593
|
-
`,
|
|
584
|
+
`,te=r.div`
|
|
594
585
|
position: relative;
|
|
595
586
|
|
|
596
587
|
header{
|
|
@@ -599,11 +590,11 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
599
590
|
}
|
|
600
591
|
|
|
601
592
|
|
|
602
|
-
`,
|
|
593
|
+
`,ne=r.div`
|
|
603
594
|
padding-left: 4rem;
|
|
604
|
-
`,
|
|
595
|
+
`,ae=r.div`
|
|
605
596
|
padding-right: 4rem;
|
|
606
|
-
`,
|
|
597
|
+
`,re=r(div)`
|
|
607
598
|
padding: 0;
|
|
608
599
|
|
|
609
600
|
aside{
|
|
@@ -654,14 +645,14 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
654
645
|
flex-direction: column;
|
|
655
646
|
gap: 4rem;
|
|
656
647
|
}
|
|
657
|
-
`,
|
|
648
|
+
`,oe=r.div`
|
|
658
649
|
padding: 10rem 1rem 2rem 1rem;
|
|
659
650
|
text-align: center;
|
|
660
|
-
`,
|
|
651
|
+
`,ce=r.div`
|
|
661
652
|
display: flex;
|
|
662
653
|
align-items: center;
|
|
663
654
|
gap: 1rem;
|
|
664
|
-
`,
|
|
655
|
+
`,ie=r.div`
|
|
665
656
|
display: grid;
|
|
666
657
|
grid-template-columns: 1fr 1fr 1fr;
|
|
667
658
|
align-items: flex-start;
|
|
@@ -682,9 +673,9 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
682
673
|
@media ${z}{
|
|
683
674
|
grid-template-columns: 1fr;
|
|
684
675
|
}
|
|
685
|
-
`,
|
|
676
|
+
`,le=r(ie)`
|
|
686
677
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
687
|
-
`,
|
|
678
|
+
`,se={id:"light",background:"var(--white)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},de={id:"dark",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomDark)",mid:"var(--gloom)",high:"var(--gloomLight)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},me=r.div`
|
|
688
679
|
width: 100%;
|
|
689
680
|
min-height: 100vh;
|
|
690
681
|
background: ${e=>e.theme.background};
|
|
@@ -707,7 +698,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
707
698
|
transition-property: background;
|
|
708
699
|
transition-duration: .5s;
|
|
709
700
|
}
|
|
710
|
-
`,
|
|
701
|
+
`,ue=r.div`
|
|
711
702
|
height: 1.5rem;
|
|
712
703
|
border-radius: 1rem;
|
|
713
704
|
margin-bottom: 2rem;
|
|
@@ -716,15 +707,15 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
716
707
|
grid-template-columns: repeat( ${e=>e.steps} ,1fr);
|
|
717
708
|
background: ${e=>e.theme.mid};
|
|
718
709
|
overflow: hidden;
|
|
719
|
-
`,
|
|
710
|
+
`,ge=r.div`
|
|
720
711
|
background: linear-gradient( to right, var(--main), ${e=>e.theme.mid});
|
|
721
712
|
height: 100%;
|
|
722
713
|
width: 100%;
|
|
723
|
-
`,
|
|
714
|
+
`,he=r.div`
|
|
724
715
|
background: var(--main);
|
|
725
716
|
height: 100%;
|
|
726
717
|
width: 100%;
|
|
727
|
-
`,
|
|
718
|
+
`,pe=r.div`
|
|
728
719
|
position: relative;
|
|
729
720
|
|
|
730
721
|
.Steps{
|
|
@@ -749,26 +740,26 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
749
740
|
transform: translateX(-110%);
|
|
750
741
|
transition: all .4s ease;
|
|
751
742
|
}
|
|
752
|
-
`,
|
|
743
|
+
`,ve=r.div`
|
|
753
744
|
padding: var(--smallDist);
|
|
754
745
|
border-radius: var(--normalRadius);
|
|
755
746
|
box-shadow: ${e=>e.theme.out};
|
|
756
747
|
background: ${e=>e.theme.low};
|
|
757
|
-
`,
|
|
748
|
+
`,ye=r.div`
|
|
758
749
|
display: flex;
|
|
759
750
|
align-items: center;
|
|
760
751
|
justify-content: space-between;
|
|
761
752
|
padding: 4rem 0 2rem 0;
|
|
762
|
-
`,
|
|
753
|
+
`,Ee=r.div`
|
|
763
754
|
position: fixed;
|
|
764
755
|
top: 0;
|
|
765
756
|
left: 0;
|
|
766
757
|
z-index: 500;
|
|
767
758
|
width: 100%;
|
|
768
759
|
height: 100vh;
|
|
769
|
-
`,
|
|
760
|
+
`,we=r(Ee)`
|
|
770
761
|
background: ${e=>e.theme.overlay};
|
|
771
|
-
`,
|
|
762
|
+
`,fe=r.div`
|
|
772
763
|
position: fixed;
|
|
773
764
|
top: 0;
|
|
774
765
|
right: 0;
|
|
@@ -777,26 +768,26 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
777
768
|
height: 100%;
|
|
778
769
|
max-width: 60%;
|
|
779
770
|
background-color: ${e=>e.theme.background};
|
|
780
|
-
`,
|
|
771
|
+
`,be=r.div`
|
|
781
772
|
display: flex;
|
|
782
773
|
align-items: center;
|
|
783
774
|
justify-content: space-between;
|
|
784
775
|
height: 6rem;
|
|
785
776
|
padding: 0 4rem;
|
|
786
|
-
`,
|
|
777
|
+
`,xe=r.div`
|
|
787
778
|
padding: 2rem 4rem 10rem 4rem;
|
|
788
779
|
background: ${e=>e.theme.low};
|
|
789
780
|
height: 100%;
|
|
790
781
|
overflow: auto;
|
|
791
|
-
`,
|
|
782
|
+
`,ke=r.div`
|
|
792
783
|
display: grid;
|
|
793
784
|
grid-template-columns: 1fr 1fr;
|
|
794
785
|
grid-gap: 2rem;
|
|
795
|
-
`,
|
|
786
|
+
`,Me=t=>e.createElement(Ee,null,e.createElement(we,{onClick:t.onClose}),e.createElement(fe,null,e.createElement(be,null,e.createElement("h2",null,t.title),e.createElement(b,{size:"normal",buttonText:"Done",buttonIconRight:"Check",onClick:t.onClose})),e.createElement(xe,null,t.children))),_e=r.div`
|
|
796
787
|
h4{
|
|
797
788
|
margin-bottom: 2rem;
|
|
798
789
|
}
|
|
799
|
-
`,
|
|
790
|
+
`,Le=t=>e.createElement(_e,null,e.createElement("h4",null,t.title),t.children),Ce=r.div`
|
|
800
791
|
display: flex;
|
|
801
792
|
gap: 1rem;
|
|
802
793
|
align-items: center;
|
|
@@ -821,7 +812,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
821
812
|
transform: rotate(55deg);
|
|
822
813
|
}
|
|
823
814
|
}
|
|
824
|
-
`,
|
|
815
|
+
`,Ae=r.div`
|
|
825
816
|
|
|
826
817
|
h6{
|
|
827
818
|
color: var(--focus) !important;
|
|
@@ -835,13 +826,13 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
835
826
|
@media ${H} {
|
|
836
827
|
display: none;
|
|
837
828
|
}
|
|
838
|
-
`,
|
|
829
|
+
`,Se=t=>e.createElement(Ce,{onClick:t.onClick_Logo},"dark"===t.theme?e.createElement("img",{alt:"Doitforme dark logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}):e.createElement("img",{alt:"Doitforme light logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_light.svg"}),e.createElement(Ae,null,e.createElement("h2",null,"Doitforme"),e.createElement("h6",null,"v3.0.0 'Morning'"))),Ie=r.div`
|
|
839
830
|
justify-self: center;
|
|
840
831
|
|
|
841
832
|
@media ${G} {
|
|
842
833
|
justify-self: flex-end;
|
|
843
834
|
}
|
|
844
|
-
`,
|
|
835
|
+
`,Te=t=>e.createElement(Ie,null,e.createElement(l,{size:"normal",buttonText:t.text_Cta,onClick:t.onClick_Cta})),Ze=t({activeMenu:"Main",setActiveMenu:()=>{}}),$e=t({hamState:!1,setHamState:()=>{}}),Be=r.div`
|
|
845
836
|
position: absolute;
|
|
846
837
|
top: 5rem;
|
|
847
838
|
right: 0rem;
|
|
@@ -896,7 +887,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
896
887
|
transform: translateX(110%);
|
|
897
888
|
transition: all .4s ease;
|
|
898
889
|
}
|
|
899
|
-
`,
|
|
890
|
+
`,Re=r.div`
|
|
900
891
|
max-height: calc(100vh - 10rem);
|
|
901
892
|
overflow: auto;
|
|
902
893
|
|
|
@@ -910,7 +901,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
910
901
|
}
|
|
911
902
|
}
|
|
912
903
|
}
|
|
913
|
-
`,
|
|
904
|
+
`,ze=r.div`
|
|
914
905
|
display: flex;
|
|
915
906
|
align-items: center;
|
|
916
907
|
gap: 1rem;
|
|
@@ -926,7 +917,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
926
917
|
&:hover{
|
|
927
918
|
background: ${e=>e.theme.low};
|
|
928
919
|
}
|
|
929
|
-
`,
|
|
920
|
+
`,Ge=r.div`
|
|
930
921
|
display: flex;
|
|
931
922
|
align-items: center;
|
|
932
923
|
justify-content: space-between;
|
|
@@ -981,19 +972,19 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
981
972
|
}
|
|
982
973
|
}
|
|
983
974
|
}
|
|
984
|
-
`,
|
|
975
|
+
`,He=r.div`
|
|
985
976
|
height: 2px;
|
|
986
977
|
width: 100%;
|
|
987
978
|
background: ${e=>e.theme.low};
|
|
988
|
-
`,
|
|
979
|
+
`,Ne=r.div`
|
|
989
980
|
display: block;
|
|
990
|
-
`,
|
|
981
|
+
`,Pe=r.div`
|
|
991
982
|
display: none;
|
|
992
983
|
|
|
993
984
|
@media ${G}{
|
|
994
985
|
display: block !important;
|
|
995
986
|
}
|
|
996
|
-
`,
|
|
987
|
+
`,Fe=t=>{const{setActiveMenu:a}=n(Ze);return e.createElement(Re,null,e.createElement(ze,{onClick:()=>a("Main")},e.createElement(s,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Language)),e.createElement(Ge,{onClick:t.onClick_Greek_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"})),e.createElement("h5",null,"Ελληνικά"))),e.createElement(Ge,{onClick:t.onClick_English_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),e.createElement("h5",null,"English"))),e.createElement(Ge,{onClick:t.onClick_German_Language},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"})),e.createElement("h5",null,"Deutsch"))))},Ve=t({language:"el",setLanguage:()=>{}}),De=t({region:"Greece",setRegion:()=>{}}),Ke=t({theme:"light",setTheme:()=>{}}),Xe=r.div`
|
|
997
988
|
display: flex;
|
|
998
989
|
align-items: center;
|
|
999
990
|
gap: .5rem;
|
|
@@ -1033,19 +1024,19 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
1033
1024
|
transform: translateX(2.3rem);
|
|
1034
1025
|
}
|
|
1035
1026
|
}
|
|
1036
|
-
`,
|
|
1027
|
+
`,Ue=t=>{const{theme:a,setTheme:r}=n(Ke);return e.createElement(Xe,{onClick:()=>r("dark"===a?"light":"dark")},e.createElement("picture",null,e.createElement(s,{Icon:"Sun"})),e.createElement("section",null,e.createElement("div",{className:"dark"===a?"Dark":"Light"})),e.createElement("picture",null,e.createElement(s,{Icon:"Moon"})))},je=r.div`
|
|
1037
1028
|
display: flex;
|
|
1038
1029
|
align-items: center;
|
|
1039
1030
|
justify-content: space-between;
|
|
1040
1031
|
gap: 1rem;
|
|
1041
1032
|
padding: var(--normalPads);
|
|
1042
|
-
`,Oe=t=>{const{region:a}=n(Ke),{setHamState:r}=n(Be),{setActiveMenu:o}=n($e),{language:c}=n(De);return e.createElement(ze,null,e.createElement(Ge,{onClick:()=>r(!1)},e.createElement(s,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(qe,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(je,null)),e.createElement(Fe,null,e.createElement(Ne,null),e.createElement(He,{onClick:t.onCLick_Account_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),e.createElement("h5",null,t.text_Account_Main)))),e.createElement(He,{onClick:t.onClick_Settings_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement(s,{Icon:"Settings"})),e.createElement("h5",null,t.text_Settings_Main))),e.createElement(He,{onClick:()=>o("Language")},e.createElement("main",null,e.createElement("picture",null,"el"===c?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===c?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===c?e.createElement("h5",null,"Ελληνικά"):"de"===c?e.createElement("h5",null,"Deutsch"):e.createElement("h5",null,"English")),e.createElement("aside",null,e.createElement(s,{Icon:"Next"}))),e.createElement(He,{onClick:()=>o("Region")},e.createElement("main",null,e.createElement("picture",null,e.createElement(s,{Icon:"Flag"})),e.createElement("h5",null,a)),e.createElement("aside",null,e.createElement(s,{Icon:"Next"}))),e.createElement(Pe,null,e.createElement(Ne,null),e.createElement(He,{onClick:t.onCLick_Logout},e.createElement("main",null,e.createElement("picture",null,e.createElement(s,{Icon:"Logout"})),e.createElement("h5",null,t.text_Logout)))))};let Je=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const We=t=>{const{region:a,setRegion:r}=n(Ke),{setActiveMenu:o}=n($e);return e.createElement(ze,null,e.createElement(Ge,{onClick:()=>o("Main")},e.createElement(s,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),Je.map(((t,n)=>e.createElement(He,{key:n,onClick:()=>{return e=t.country,r(e),void o("Main");var e},className:a===t.country?"SelectedRegion":""},e.createElement("main",null,e.createElement("h5",null,t.country))))))},Ye=t=>{const{activeMenu:r}=n($e),[c,i]=a(null),l=e=>{const t=e.offsetHeight;i(t)};return e.createElement(Re,{style:{height:c}},e.createElement(o,{in:"Main"===r,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Oe,{text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout}))),e.createElement(o,{in:"Language"===r,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Ve,{text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}))),e.createElement(o,{in:"Region"===r,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(We,{text_Title_Region:t.text_Title_Region}))))},Qe=r.div`
|
|
1033
|
+
`,qe=t=>{const{region:a}=n(De),{setHamState:r}=n($e),{setActiveMenu:o}=n(Ze),{language:c}=n(Ve);return e.createElement(Re,null,e.createElement(ze,{onClick:()=>r(!1)},e.createElement(s,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(je,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Ue,null)),e.createElement(Pe,null,e.createElement(He,null),e.createElement(Ge,{onClick:t.onCLick_Account_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),e.createElement("h5",null,t.text_Account_Main)))),e.createElement(Ge,{onClick:t.onClick_Settings_Main},e.createElement("main",null,e.createElement("picture",null,e.createElement(s,{Icon:"Settings"})),e.createElement("h5",null,t.text_Settings_Main))),e.createElement(Ge,{onClick:()=>o("Language")},e.createElement("main",null,e.createElement("picture",null,"el"===c?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===c?e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):e.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===c?e.createElement("h5",null,"Ελληνικά"):"de"===c?e.createElement("h5",null,"Deutsch"):e.createElement("h5",null,"English")),e.createElement("aside",null,e.createElement(s,{Icon:"Next"}))),e.createElement(Ge,{onClick:()=>o("Region")},e.createElement("main",null,e.createElement("picture",null,e.createElement(s,{Icon:"Flag"})),e.createElement("h5",null,a)),e.createElement("aside",null,e.createElement(s,{Icon:"Next"}))),e.createElement(Ne,null,e.createElement(He,null),e.createElement(Ge,{onClick:t.onCLick_Logout},e.createElement("main",null,e.createElement("picture",null,e.createElement(s,{Icon:"Logout"})),e.createElement("h5",null,t.text_Logout)))))};let Oe=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const Je=t=>{const{region:a,setRegion:r}=n(De),{setActiveMenu:o}=n(Ze);return e.createElement(Re,null,e.createElement(ze,{onClick:()=>o("Main")},e.createElement(s,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Region)),Oe.map(((t,n)=>e.createElement(Ge,{key:n,onClick:()=>{return e=t.country,r(e),void o("Main");var e},className:a===t.country?"SelectedRegion":""},e.createElement("main",null,e.createElement("h5",null,t.country))))))},We=t=>{const{activeMenu:r}=n(Ze),[c,i]=a(null),l=e=>{const t=e.offsetHeight;i(t)};return e.createElement(Be,{style:{height:c}},e.createElement(o,{in:"Main"===r,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(qe,{text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout}))),e.createElement(o,{in:"Language"===r,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Fe,{text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}))),e.createElement(o,{in:"Region"===r,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:l},e.createElement("div",{className:"Menu"},e.createElement(Je,{text_Title_Region:t.text_Title_Region}))))},Ye=r.div`
|
|
1043
1034
|
justify-self: flex-end;
|
|
1044
1035
|
display: flex;
|
|
1045
1036
|
align-items: center;
|
|
1046
1037
|
gap: 1rem;
|
|
1047
1038
|
position: relative;
|
|
1048
|
-
`,
|
|
1039
|
+
`,Qe=r.div`
|
|
1049
1040
|
display: flex;
|
|
1050
1041
|
align-items: center;
|
|
1051
1042
|
gap: 1rem;
|
|
@@ -1083,13 +1074,13 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
1083
1074
|
display: none;
|
|
1084
1075
|
}
|
|
1085
1076
|
}
|
|
1086
|
-
`,
|
|
1077
|
+
`,et=t=>{const{hamState:a,setHamState:r}=n($e);return e.createElement(Ye,null,e.createElement(Qe,{onClick:t.onClick_Account},e.createElement("picture",null,e.createElement("img",{src:t.img_Account,alt:t.imgAlt_Account})),e.createElement("h5",null,t.firstname_Account)),e.createElement(y,{size:"small",buttonIconLeft:"Ham",onClick:()=>r(!a)}),a?e.createElement(We,{text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}):null)},tt=r.div`
|
|
1087
1078
|
justify-self: flex-end;
|
|
1088
1079
|
display: flex;
|
|
1089
1080
|
align-items: center;
|
|
1090
1081
|
gap: 1rem;
|
|
1091
1082
|
position: relative;
|
|
1092
|
-
`,
|
|
1083
|
+
`,nt=r.div`
|
|
1093
1084
|
display: flex;
|
|
1094
1085
|
align-items: center;
|
|
1095
1086
|
gap: 1rem;
|
|
@@ -1097,7 +1088,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
1097
1088
|
@media ${G} {
|
|
1098
1089
|
display: none;
|
|
1099
1090
|
}
|
|
1100
|
-
`,
|
|
1091
|
+
`,at=t=>{const{hamState:a,setHamState:r}=n($e);return e.createElement(tt,null,e.createElement(nt,null,e.createElement(k,{size:"small",buttonText:t.text_Login,onClick:t.onClick_Login})),e.createElement(y,{size:"small",buttonIconLeft:"Ham",onClick:()=>r(!a)}),a?e.createElement(We,null):null)},rt=r.nav`
|
|
1101
1092
|
display: grid;
|
|
1102
1093
|
align-items: center;
|
|
1103
1094
|
grid-gap: 1rem;
|
|
@@ -1114,4 +1105,4 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
1114
1105
|
@media ${G} {
|
|
1115
1106
|
padding: 1rem 2rem;
|
|
1116
1107
|
}
|
|
1117
|
-
`,
|
|
1108
|
+
`,ot=t=>e.createElement(rt,null,e.createElement(Se,{onClick_Logo:t.onClick_Logo}),e.createElement(Te,{onClick_Cta:t.onClick_Cta,text_Cta:t.text_Cta}),"Protected"===t.role?e.createElement(et,{img_Account:t.img_Account,img_Account_Main:t.img_Account,imgAlt_Account:t.imgAlt_Account,imgAlt_Account_Main:t.imgAlt_Account,firstname_Account:t.firstname_Account,text_Account_Main:t.firstname_Account,onClick_Account:t.onClick_Account,onCLick_Account_Main:t.onClick_Account,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}):e.createElement(at,{onClick_Login:t.onClick_Login,text_Login:t.text_Login}));export{Le as Builder_Group,C as CardButton,S as Card_Cover,D as Confirmation_,l as Cta_,m as Edit_,g as Focus_,p as Focus_Plain,B as FormGroup,Z as FormInput,$ as FormLabel,R as Form_Input,y as Grey_,w as Grey_Link,$e as HamContext,s as IconSvg,Ve as LangContext,b as Main_,k as Main_Plain,Ze as MenuContext,ot as Nav_,q as Page,J as PageAlwaysVisible,ie as PageCards,W as PageDesktopOnly,Y as PageDesktopPadding,ee as PageSingle,te as PageSingleHeader,ae as PageSingleRight,ne as PageSingleleft,re as PageSub,ce as PageSubActions,oe as PageSubTitle,Q as PageTitle,O as PageTools,le as PageToolsCards,De as RegionContext,K as SideNav,Ee as Slider,xe as SliderContainer,ke as SliderGrid,we as SliderOverlay,be as SliderTitle,fe as SliderWrapper,Me as Slider_,ue as Steps,ye as StepsActions,he as StepsComplete,pe as StepsContainer,ge as StepsCurrent,ve as StepsWrapper,me as Theme,Ke as ThemeContext,de as ThemeDark,se as ThemeLight,j as Tool_Box,U as Tool_Box_Button,_ as White_Plain};
|
package/dist/index.js
CHANGED
|
@@ -566,31 +566,22 @@
|
|
|
566
566
|
overflow: hidden;
|
|
567
567
|
}
|
|
568
568
|
`,H=o.default.div`
|
|
569
|
-
display: grid;
|
|
570
|
-
grid-template-columns: 1fr 40%;
|
|
571
|
-
grid-gap: 4rem;
|
|
572
|
-
padding: 0 4rem;
|
|
573
|
-
|
|
574
|
-
@media ${I} {
|
|
575
|
-
grid-template-columns: 1fr;
|
|
576
|
-
}
|
|
577
|
-
`,N=o.default.div`
|
|
578
569
|
padding: 0 4rem 2rem 13rem;
|
|
579
|
-
`,
|
|
570
|
+
`,N=o.default.div`
|
|
580
571
|
width: 100%;
|
|
581
|
-
`,
|
|
572
|
+
`,F=o.default.div`
|
|
582
573
|
width: 100%;
|
|
583
574
|
|
|
584
575
|
@media ${I} {
|
|
585
576
|
display: none;
|
|
586
577
|
}
|
|
587
|
-
`,
|
|
578
|
+
`,D=o.default.div`
|
|
588
579
|
padding-top: 8rem;
|
|
589
|
-
`,
|
|
580
|
+
`,V=o.default.div`
|
|
590
581
|
padding: 2rem 0;
|
|
591
|
-
`,
|
|
582
|
+
`,K=o.default.div`
|
|
592
583
|
|
|
593
|
-
`,
|
|
584
|
+
`,X=o.default.div`
|
|
594
585
|
position: relative;
|
|
595
586
|
|
|
596
587
|
header{
|
|
@@ -599,11 +590,11 @@
|
|
|
599
590
|
}
|
|
600
591
|
|
|
601
592
|
|
|
602
|
-
`,
|
|
593
|
+
`,j=o.default.div`
|
|
603
594
|
padding-left: 4rem;
|
|
604
|
-
`,
|
|
595
|
+
`,U=o.default.div`
|
|
605
596
|
padding-right: 4rem;
|
|
606
|
-
`,
|
|
597
|
+
`,q=o.default(div)`
|
|
607
598
|
padding: 0;
|
|
608
599
|
|
|
609
600
|
aside{
|
|
@@ -654,14 +645,14 @@
|
|
|
654
645
|
flex-direction: column;
|
|
655
646
|
gap: 4rem;
|
|
656
647
|
}
|
|
657
|
-
`,
|
|
648
|
+
`,O=o.default.div`
|
|
658
649
|
padding: 10rem 1rem 2rem 1rem;
|
|
659
650
|
text-align: center;
|
|
660
|
-
`,
|
|
651
|
+
`,W=o.default.div`
|
|
661
652
|
display: flex;
|
|
662
653
|
align-items: center;
|
|
663
654
|
gap: 1rem;
|
|
664
|
-
`,
|
|
655
|
+
`,J=o.default.div`
|
|
665
656
|
display: grid;
|
|
666
657
|
grid-template-columns: 1fr 1fr 1fr;
|
|
667
658
|
align-items: flex-start;
|
|
@@ -682,9 +673,9 @@
|
|
|
682
673
|
@media ${A}{
|
|
683
674
|
grid-template-columns: 1fr;
|
|
684
675
|
}
|
|
685
|
-
`,
|
|
676
|
+
`,Y=o.default(J)`
|
|
686
677
|
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
|
687
|
-
`,
|
|
678
|
+
`,Q=o.default.div`
|
|
688
679
|
width: 100%;
|
|
689
680
|
min-height: 100vh;
|
|
690
681
|
background: ${e=>e.theme.background};
|
|
@@ -707,7 +698,7 @@
|
|
|
707
698
|
transition-property: background;
|
|
708
699
|
transition-duration: .5s;
|
|
709
700
|
}
|
|
710
|
-
`,
|
|
701
|
+
`,ee=o.default.div`
|
|
711
702
|
height: 1.5rem;
|
|
712
703
|
border-radius: 1rem;
|
|
713
704
|
margin-bottom: 2rem;
|
|
@@ -716,15 +707,15 @@
|
|
|
716
707
|
grid-template-columns: repeat( ${e=>e.steps} ,1fr);
|
|
717
708
|
background: ${e=>e.theme.mid};
|
|
718
709
|
overflow: hidden;
|
|
719
|
-
`,
|
|
710
|
+
`,te=o.default.div`
|
|
720
711
|
background: linear-gradient( to right, var(--main), ${e=>e.theme.mid});
|
|
721
712
|
height: 100%;
|
|
722
713
|
width: 100%;
|
|
723
|
-
`,
|
|
714
|
+
`,ae=o.default.div`
|
|
724
715
|
background: var(--main);
|
|
725
716
|
height: 100%;
|
|
726
717
|
width: 100%;
|
|
727
|
-
`,
|
|
718
|
+
`,ne=o.default.div`
|
|
728
719
|
position: relative;
|
|
729
720
|
|
|
730
721
|
.Steps{
|
|
@@ -749,26 +740,26 @@
|
|
|
749
740
|
transform: translateX(-110%);
|
|
750
741
|
transition: all .4s ease;
|
|
751
742
|
}
|
|
752
|
-
`,
|
|
743
|
+
`,re=o.default.div`
|
|
753
744
|
padding: var(--smallDist);
|
|
754
745
|
border-radius: var(--normalRadius);
|
|
755
746
|
box-shadow: ${e=>e.theme.out};
|
|
756
747
|
background: ${e=>e.theme.low};
|
|
757
|
-
`,
|
|
748
|
+
`,oe=o.default.div`
|
|
758
749
|
display: flex;
|
|
759
750
|
align-items: center;
|
|
760
751
|
justify-content: space-between;
|
|
761
752
|
padding: 4rem 0 2rem 0;
|
|
762
|
-
`,
|
|
753
|
+
`,le=o.default.div`
|
|
763
754
|
position: fixed;
|
|
764
755
|
top: 0;
|
|
765
756
|
left: 0;
|
|
766
757
|
z-index: 500;
|
|
767
758
|
width: 100%;
|
|
768
759
|
height: 100vh;
|
|
769
|
-
`,
|
|
760
|
+
`,ce=o.default(le)`
|
|
770
761
|
background: ${e=>e.theme.overlay};
|
|
771
|
-
`,
|
|
762
|
+
`,ie=o.default.div`
|
|
772
763
|
position: fixed;
|
|
773
764
|
top: 0;
|
|
774
765
|
right: 0;
|
|
@@ -777,26 +768,26 @@
|
|
|
777
768
|
height: 100%;
|
|
778
769
|
max-width: 60%;
|
|
779
770
|
background-color: ${e=>e.theme.background};
|
|
780
|
-
`,
|
|
771
|
+
`,de=o.default.div`
|
|
781
772
|
display: flex;
|
|
782
773
|
align-items: center;
|
|
783
774
|
justify-content: space-between;
|
|
784
775
|
height: 6rem;
|
|
785
776
|
padding: 0 4rem;
|
|
786
|
-
`,
|
|
777
|
+
`,ue=o.default.div`
|
|
787
778
|
padding: 2rem 4rem 10rem 4rem;
|
|
788
779
|
background: ${e=>e.theme.low};
|
|
789
780
|
height: 100%;
|
|
790
781
|
overflow: auto;
|
|
791
|
-
`,
|
|
782
|
+
`,se=o.default.div`
|
|
792
783
|
display: grid;
|
|
793
784
|
grid-template-columns: 1fr 1fr;
|
|
794
785
|
grid-gap: 2rem;
|
|
795
|
-
`,
|
|
786
|
+
`,me=o.default.div`
|
|
796
787
|
h4{
|
|
797
788
|
margin-bottom: 2rem;
|
|
798
789
|
}
|
|
799
|
-
`,
|
|
790
|
+
`,ge=o.default.div`
|
|
800
791
|
display: flex;
|
|
801
792
|
gap: 1rem;
|
|
802
793
|
align-items: center;
|
|
@@ -821,7 +812,7 @@
|
|
|
821
812
|
transform: rotate(55deg);
|
|
822
813
|
}
|
|
823
814
|
}
|
|
824
|
-
`,
|
|
815
|
+
`,fe=o.default.div`
|
|
825
816
|
|
|
826
817
|
h6{
|
|
827
818
|
color: var(--focus) !important;
|
|
@@ -835,13 +826,13 @@
|
|
|
835
826
|
@media ${I} {
|
|
836
827
|
display: none;
|
|
837
828
|
}
|
|
838
|
-
`,
|
|
829
|
+
`,he=e=>r.default.createElement(ge,{onClick:e.onClick_Logo},"dark"===e.theme?r.default.createElement("img",{alt:"Doitforme dark logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_dark.svg"}):r.default.createElement("img",{alt:"Doitforme light logo",src:"https://genius1071.friktoriaservers.net/doitforme/logo/logo_light.svg"}),r.default.createElement(fe,null,r.default.createElement("h2",null,"Doitforme"),r.default.createElement("h6",null,"v3.0.0 'Morning'"))),pe=o.default.div`
|
|
839
830
|
justify-self: center;
|
|
840
831
|
|
|
841
832
|
@media ${T} {
|
|
842
833
|
justify-self: flex-end;
|
|
843
834
|
}
|
|
844
|
-
`,
|
|
835
|
+
`,ve=e=>r.default.createElement(pe,null,r.default.createElement(i,{size:"normal",buttonText:e.text_Cta,onClick:e.onClick_Cta})),ye=e.createContext({activeMenu:"Main",setActiveMenu:()=>{}}),Ee=e.createContext({hamState:!1,setHamState:()=>{}}),xe=o.default.div`
|
|
845
836
|
position: absolute;
|
|
846
837
|
top: 5rem;
|
|
847
838
|
right: 0rem;
|
|
@@ -896,7 +887,7 @@
|
|
|
896
887
|
transform: translateX(110%);
|
|
897
888
|
transition: all .4s ease;
|
|
898
889
|
}
|
|
899
|
-
`,
|
|
890
|
+
`,we=o.default.div`
|
|
900
891
|
max-height: calc(100vh - 10rem);
|
|
901
892
|
overflow: auto;
|
|
902
893
|
|
|
@@ -910,7 +901,7 @@
|
|
|
910
901
|
}
|
|
911
902
|
}
|
|
912
903
|
}
|
|
913
|
-
`,
|
|
904
|
+
`,be=o.default.div`
|
|
914
905
|
display: flex;
|
|
915
906
|
align-items: center;
|
|
916
907
|
gap: 1rem;
|
|
@@ -926,7 +917,7 @@
|
|
|
926
917
|
&:hover{
|
|
927
918
|
background: ${e=>e.theme.low};
|
|
928
919
|
}
|
|
929
|
-
`,
|
|
920
|
+
`,ke=o.default.div`
|
|
930
921
|
display: flex;
|
|
931
922
|
align-items: center;
|
|
932
923
|
justify-content: space-between;
|
|
@@ -981,19 +972,19 @@
|
|
|
981
972
|
}
|
|
982
973
|
}
|
|
983
974
|
}
|
|
984
|
-
`,
|
|
975
|
+
`,Me=o.default.div`
|
|
985
976
|
height: 2px;
|
|
986
977
|
width: 100%;
|
|
987
978
|
background: ${e=>e.theme.low};
|
|
988
|
-
`,
|
|
979
|
+
`,_e=o.default.div`
|
|
989
980
|
display: block;
|
|
990
|
-
`,
|
|
981
|
+
`,Ce=o.default.div`
|
|
991
982
|
display: none;
|
|
992
983
|
|
|
993
984
|
@media ${T}{
|
|
994
985
|
display: block !important;
|
|
995
986
|
}
|
|
996
|
-
`,
|
|
987
|
+
`,Le=t=>{const{setActiveMenu:a}=e.useContext(ye);return r.default.createElement(we,null,r.default.createElement(be,{onClick:()=>a("Main")},r.default.createElement(d,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Language)),r.default.createElement(ke,{onClick:t.onClick_Greek_Language},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"})),r.default.createElement("h5",null,"Ελληνικά"))),r.default.createElement(ke,{onClick:t.onClick_English_Language},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),r.default.createElement("h5",null,"English"))),r.default.createElement(ke,{onClick:t.onClick_German_Language},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"})),r.default.createElement("h5",null,"Deutsch"))))},Se=e.createContext({language:"el",setLanguage:()=>{}}),Ae=e.createContext({region:"Greece",setRegion:()=>{}}),Te=e.createContext({theme:"light",setTheme:()=>{}}),Ie=o.default.div`
|
|
997
988
|
display: flex;
|
|
998
989
|
align-items: center;
|
|
999
990
|
gap: .5rem;
|
|
@@ -1033,19 +1024,19 @@
|
|
|
1033
1024
|
transform: translateX(2.3rem);
|
|
1034
1025
|
}
|
|
1035
1026
|
}
|
|
1036
|
-
|
|
1027
|
+
`,Ze=t=>{const{theme:a,setTheme:n}=e.useContext(Te);return r.default.createElement(Ie,{onClick:()=>n("dark"===a?"light":"dark")},r.default.createElement("picture",null,r.default.createElement(d,{Icon:"Sun"})),r.default.createElement("section",null,r.default.createElement("div",{className:"dark"===a?"Dark":"Light"})),r.default.createElement("picture",null,r.default.createElement(d,{Icon:"Moon"})))},$e=o.default.div`
|
|
1037
1028
|
display: flex;
|
|
1038
1029
|
align-items: center;
|
|
1039
1030
|
justify-content: space-between;
|
|
1040
1031
|
gap: 1rem;
|
|
1041
1032
|
padding: var(--normalPads);
|
|
1042
|
-
`,Ge=t=>{const{region:a}=e.useContext(Te),{setHamState:n}=e.useContext(xe),{setActiveMenu:o}=e.useContext(Ee),{language:l}=e.useContext(Ae);return r.default.createElement(be,null,r.default.createElement(ke,{onClick:()=>n(!1)},r.default.createElement(d,{Icon:"Xicon"}),r.default.createElement("h4",null,t.text_Title_Main)),r.default.createElement(Be,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement($e,null)),r.default.createElement(Le,null,r.default.createElement(_e,null),r.default.createElement(Me,{onClick:t.onCLick_Account_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),r.default.createElement("h5",null,t.text_Account_Main)))),r.default.createElement(Me,{onClick:t.onClick_Settings_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(d,{Icon:"Settings"})),r.default.createElement("h5",null,t.text_Settings_Main))),r.default.createElement(Me,{onClick:()=>o("Language")},r.default.createElement("main",null,r.default.createElement("picture",null,"el"===l?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===l?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===l?r.default.createElement("h5",null,"Ελληνικά"):"de"===l?r.default.createElement("h5",null,"Deutsch"):r.default.createElement("h5",null,"English")),r.default.createElement("aside",null,r.default.createElement(d,{Icon:"Next"}))),r.default.createElement(Me,{onClick:()=>o("Region")},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(d,{Icon:"Flag"})),r.default.createElement("h5",null,a)),r.default.createElement("aside",null,r.default.createElement(d,{Icon:"Next"}))),r.default.createElement(Ce,null,r.default.createElement(_e,null),r.default.createElement(Me,{onClick:t.onCLick_Logout},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(d,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Logout)))))};let Re=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const Pe=t=>{const{region:a,setRegion:n}=e.useContext(Te),{setActiveMenu:o}=e.useContext(Ee);return r.default.createElement(be,null,r.default.createElement(ke,{onClick:()=>o("Main")},r.default.createElement(d,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),Re.map(((e,t)=>r.default.createElement(Me,{key:t,onClick:()=>{return t=e.country,n(t),void o("Main");var t},className:a===e.country?"SelectedRegion":""},r.default.createElement("main",null,r.default.createElement("h5",null,e.country))))))},ze=t=>{const{activeMenu:n}=e.useContext(Ee),[o,l]=e.useState(null),c=e=>{const t=e.offsetHeight;l(t)};return r.default.createElement(we,{style:{height:o}},r.default.createElement(a.CSSTransition,{in:"Main"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:c},r.default.createElement("div",{className:"Menu"},r.default.createElement(Ge,{text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout}))),r.default.createElement(a.CSSTransition,{in:"Language"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:c},r.default.createElement("div",{className:"Menu"},r.default.createElement(Se,{text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}))),r.default.createElement(a.CSSTransition,{in:"Region"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:c},r.default.createElement("div",{className:"Menu"},r.default.createElement(Pe,{text_Title_Region:t.text_Title_Region}))))},He=o.default.div`
|
|
1033
|
+
`,Be=t=>{const{region:a}=e.useContext(Ae),{setHamState:n}=e.useContext(Ee),{setActiveMenu:o}=e.useContext(ye),{language:l}=e.useContext(Se);return r.default.createElement(we,null,r.default.createElement(be,{onClick:()=>n(!1)},r.default.createElement(d,{Icon:"Xicon"}),r.default.createElement("h4",null,t.text_Title_Main)),r.default.createElement($e,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(Ze,null)),r.default.createElement(Ce,null,r.default.createElement(Me,null),r.default.createElement(ke,{onClick:t.onCLick_Account_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account_Main,alt:t.imgAlt_Account_Main})),r.default.createElement("h5",null,t.text_Account_Main)))),r.default.createElement(ke,{onClick:t.onClick_Settings_Main},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(d,{Icon:"Settings"})),r.default.createElement("h5",null,t.text_Settings_Main))),r.default.createElement(ke,{onClick:()=>o("Language")},r.default.createElement("main",null,r.default.createElement("picture",null,"el"===l?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/Greek.svg"}):"de"===l?r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/German.svg"}):r.default.createElement("img",{src:"https://genius1071.friktoriaservers.net/doitforme/monica/app/assets/flags/English.svg"})),"el"===l?r.default.createElement("h5",null,"Ελληνικά"):"de"===l?r.default.createElement("h5",null,"Deutsch"):r.default.createElement("h5",null,"English")),r.default.createElement("aside",null,r.default.createElement(d,{Icon:"Next"}))),r.default.createElement(ke,{onClick:()=>o("Region")},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(d,{Icon:"Flag"})),r.default.createElement("h5",null,a)),r.default.createElement("aside",null,r.default.createElement(d,{Icon:"Next"}))),r.default.createElement(_e,null,r.default.createElement(Me,null),r.default.createElement(ke,{onClick:t.onCLick_Logout},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(d,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Logout)))))};let Ge=[{country:"Andorra",code:"AD"},{country:"United Arab Emirates",code:"AE"},{country:"Afghanistan",code:"AF"},{country:"Antigua and Barbuda",code:"AG"},{country:"Anguilla",code:"AI"},{country:"Albania",code:"AL"},{country:"Armenia",code:"AM"},{country:"Angola",code:"AO"},{country:"Antarctica",code:"AQ"},{country:"Argentina",code:"AR"},{country:"American Samoa",code:"AS"},{country:"Austria",code:"AT"},{country:"Australia",code:"AU"},{country:"Aruba",code:"AW"},{country:"Åland Islands",code:"AX"},{country:"Azerbaijan",code:"AZ"},{country:"Bosnia and Herzegovina",code:"BA"},{country:"Barbados",code:"BB"},{country:"Bangladesh",code:"BD"},{country:"Belgium",code:"BE"},{country:"Burkina Faso",code:"BF"},{country:"Bulgaria",code:"BG"},{country:"Bahrain",code:"BH"},{country:"Burundi",code:"BI"},{country:"Benin",code:"BJ"},{country:"Saint Barthélemy",code:"BL"},{country:"Bermuda",code:"BM"},{country:"Brunei Darussalam",code:"BN"},{country:"Bolivia, Plurinational State of",code:"BO"},{country:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{country:"Brazil",code:"BR"},{country:"Bahamas",code:"BS"},{country:"Bhutan",code:"BT"},{country:"Botswana",code:"BW"},{country:"Belarus",code:"BY"},{country:"Belize",code:"BZ"},{country:"Canada",code:"CA"},{country:"Cocos (Keeling) Islands",code:"CC"},{country:"Democratic Republic of the Congo",code:"CD"},{country:"Central African Republic",code:"CF"},{country:"Republic of the Congo",code:"CG"},{country:"Switzerland",code:"CH"},{country:"Côte d'Ivoire",code:"CI"},{country:"Cook Islands",code:"CK"},{country:"Chile",code:"CL"},{country:"Cameroon",code:"CM"},{country:"China",code:"CN"},{country:"Colombia",code:"CO"},{country:"Costa Rica",code:"CR"},{country:"Cuba",code:"CU"},{country:"Cabo Verde",code:"CV"},{country:"Curaçao",code:"CW"},{country:"Christmas Island",code:"CX"},{country:"Cyprus",code:"CY"},{country:"Czech Republic",code:"CZ"},{country:"Deutschland",code:"DE"},{country:"Djibouti",code:"DJ"},{country:"Denmark",code:"DK"},{country:"Dominica",code:"DM"},{country:"Dominican Republic",code:"DO"},{country:"Algeria",code:"DZ"},{country:"Ecuador",code:"EC"},{country:"Estonia",code:"EE"},{country:"Egypt",code:"EG"},{country:"Western Sahara",code:"EH"},{country:"Eritrea",code:"ER"},{country:"Spain",code:"ES"},{country:"Ethiopia",code:"ET"},{country:"Finland",code:"FI"},{country:"Fiji",code:"FJ"},{country:"Falkland Islands (Malvinas)",code:"FK"},{country:"Micronesia, Federated States of",code:"FM"},{country:"Faroe Islands",code:"FO"},{country:"France",code:"FR"},{country:"Gabon",code:"GA"},{country:"United Kingdom",code:"GB"},{country:"Grenada",code:"GD"},{country:"Georgia",code:"GE"},{country:"French Guiana",code:"GF"},{country:"Guernsey",code:"GG"},{country:"Ghana",code:"GH"},{country:"Gibraltar",code:"GI"},{country:"Greenland",code:"GL"},{country:"Gambia",code:"GM"},{country:"Guinea",code:"GN"},{country:"Guadeloupe",code:"GP"},{country:"Equatorial Guinea",code:"GQ"},{country:"Greece",code:"GR"},{country:"South Georgia and the South Sandwich Islands",code:"GS"},{country:"Guatemala",code:"GT"},{country:"Guam",code:"GU"},{country:"Guinea-Bissau",code:"GW"},{country:"Guyana",code:"GY"},{country:"Hong Kong",code:"HK"},{country:"Honduras",code:"HN"},{country:"Croatia",code:"HR"},{country:"Haiti",code:"HT"},{country:"Hungary",code:"HU"},{country:"Indonesia",code:"ID"},{country:"Ireland",code:"IE"},{country:"Israel",code:"IL"},{country:"Isle of Man",code:"IM"},{country:"India",code:"IN"},{country:"Iraq",code:"IQ"},{country:"Iran",code:"IR"},{country:"Iceland",code:"IS"},{country:"Italy",code:"IT"},{country:"Jersey",code:"JE"},{country:"Jamaica",code:"JM"},{country:"Jordan",code:"JO"},{country:"Japan",code:"JP"},{country:"Kenya",code:"KE"},{country:"Kyrgyzstan",code:"KG"},{country:"Cambodia",code:"KH"},{country:"Kiribati",code:"KI"},{country:"Comoros",code:"KM"},{country:"Saint Kitts and Nevis",code:"KN"},{country:"North Korea",code:"KP"},{country:"South Korea",code:"KR"},{country:"Kuwait",code:"KW"},{country:"Cayman Islands",code:"KY"},{country:"Kazakhstan",code:"KZ"},{country:"Lao People's Democratic Republic",code:"LA"},{country:"Lebanon",code:"LB"},{country:"Saint Lucia",code:"LC"},{country:"Liechtenstein",code:"LI"},{country:"Sri Lanka",code:"LK"},{country:"Liberia",code:"LR"},{country:"Lesotho",code:"LS"},{country:"Lithuania",code:"LT"},{country:"Luxembourg",code:"LU"},{country:"Latvia",code:"LV"},{country:"Libya",code:"LY"},{country:"Morocco",code:"MA"},{country:"Monaco",code:"MC"},{country:"Moldova",code:"MD"},{country:"Montenegro",code:"ME"},{country:"Saint Martin (French part)",code:"MF"},{country:"Madagascar",code:"MG"},{country:"Marshall Islands",code:"MH"},{country:"North Macedonia",code:"MK"},{country:"Mali",code:"ML"},{country:"Myanmar",code:"MM"},{country:"Mongolia",code:"MN"},{country:"Macao",code:"MO"},{country:"Northern Mariana Islands",code:"MP"},{country:"Martinique",code:"MQ"},{country:"Mauritania",code:"MR"},{country:"Montserrat",code:"MS"},{country:"Malta",code:"MT"},{country:"Mauritius",code:"MU"},{country:"Maldives",code:"MV"},{country:"Malawi",code:"MW"},{country:"Mexico",code:"MX"},{country:"Malaysia",code:"MY"},{country:"Mozambique",code:"MZ"},{country:"Namibia",code:"NA"},{country:"New Caledonia",code:"NC"},{country:"Niger",code:"NE"},{country:"Norfolk Island",code:"NF"},{country:"Nigeria",code:"NG"},{country:"Nicaragua",code:"NI"},{country:"Netherlands",code:"NL"},{country:"Norway",code:"NO"},{country:"Nepal",code:"NP"},{country:"Nauru",code:"NR"},{country:"Niue",code:"NU"},{country:"New Zealand",code:"NZ"},{country:"Oman",code:"OM"},{country:"Panama",code:"PA"},{country:"Peru",code:"PE"},{country:"French Polynesia",code:"PF"},{country:"Papua New Guinea",code:"PG"},{country:"Philippines",code:"PH"},{country:"Pakistan",code:"PK"},{country:"Poland",code:"PL"},{country:"Saint Pierre and Miquelon",code:"PM"},{country:"Pitcairn",code:"PN"},{country:"Puerto Rico",code:"PR"},{country:"Palestine",code:"PS"},{country:"Portugal",code:"PT"},{country:"Palau",code:"PW"},{country:"Paraguay",code:"PY"},{country:"Qatar",code:"QA"},{country:"Réunion",code:"RE"},{country:"Romania",code:"RO"},{country:"Serbia",code:"RS"},{country:"Russian Federation",code:"RU"},{country:"Rwanda",code:"RW"},{country:"Saudi Arabia",code:"SA"},{country:"Solomon Islands",code:"SB"},{country:"Seychelles",code:"SC"},{country:"Sudan",code:"SD"},{country:"Sweden",code:"SE"},{country:"Singapore",code:"SG"},{country:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{country:"Slovenia",code:"SI"},{country:"Svalbard and Jan Mayen",code:"SJ"},{country:"Slovakia",code:"SK"},{country:"Sierra Leone",code:"SL"},{country:"San Marino",code:"SM"},{country:"Senegal",code:"SN"},{country:"Somalia",code:"SO"},{country:"Suriname",code:"SR"},{country:"South Sudan",code:"SS"},{country:"Sao Tome and Principe",code:"ST"},{country:"El Salvador",code:"SV"},{country:"Sint Maarten (Dutch part)",code:"SX"},{country:"Syrian Arab Republic",code:"SY"},{country:"Eswatini",code:"SZ"},{country:"Turks and Caicos Islands",code:"TC"},{country:"Chad",code:"TD"},{country:"French Southern Territories",code:"TF"},{country:"Togo",code:"TG"},{country:"Thailand",code:"TH"},{country:"Tajikistan",code:"TJ"},{country:"Tokelau",code:"TK"},{country:"Timor-Leste",code:"TL"},{country:"Turkmenistan",code:"TM"},{country:"Tunisia",code:"TN"},{country:"Tonga",code:""},{country:"Turkey",code:"TR"},{country:"Trinidad and Tobago",code:"TT"},{country:"Tuvalu",code:"TV"},{country:"Taiwan, Province of China",code:"TW"},{country:"Tanzania",code:"TZ"},{country:"Ukraine",code:"UA"},{country:"Uganda",code:"UG"},{country:"United States",code:"US"},{country:"Uruguay",code:"UY"},{country:"Uzbekistan",code:"UZ"},{country:"Holy See (Vatican City State)",code:"VA"},{country:"Saint Vincent and the Grenadines",code:"VC"},{country:"Venezuela",code:"VE"},{country:"Virgin Islands, British",code:"VG"},{country:"Virgin Islands, U.S.",code:"VI"},{country:"Viet Nam",code:"VN"},{country:"Vanuatu",code:"VU"},{country:"Wallis and Futuna",code:"WF"},{country:"Samoa",code:"AS"},{country:"Kosovo",code:"XK"},{country:"Yemen",code:"YE"},{country:"Mayotte",code:"YT"},{country:"South Africa",code:"ZA"},{country:"Zambia",code:"ZM"},{country:"Zimbabwe",code:"ZW"}];const Re=t=>{const{region:a,setRegion:n}=e.useContext(Ae),{setActiveMenu:o}=e.useContext(ye);return r.default.createElement(we,null,r.default.createElement(be,{onClick:()=>o("Main")},r.default.createElement(d,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),Ge.map(((e,t)=>r.default.createElement(ke,{key:t,onClick:()=>{return t=e.country,n(t),void o("Main");var t},className:a===e.country?"SelectedRegion":""},r.default.createElement("main",null,r.default.createElement("h5",null,e.country))))))},Pe=t=>{const{activeMenu:n}=e.useContext(ye),[o,l]=e.useState(null),c=e=>{const t=e.offsetHeight;l(t)};return r.default.createElement(xe,{style:{height:o}},r.default.createElement(a.CSSTransition,{in:"Main"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-primary",onEnter:c},r.default.createElement("div",{className:"Menu"},r.default.createElement(Be,{text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout}))),r.default.createElement(a.CSSTransition,{in:"Language"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:c},r.default.createElement("div",{className:"Menu"},r.default.createElement(Le,{text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}))),r.default.createElement(a.CSSTransition,{in:"Region"===n,timeout:500,unmountOnExit:!0,classNames:"Menu-secondary",onEnter:c},r.default.createElement("div",{className:"Menu"},r.default.createElement(Re,{text_Title_Region:t.text_Title_Region}))))},ze=o.default.div`
|
|
1043
1034
|
justify-self: flex-end;
|
|
1044
1035
|
display: flex;
|
|
1045
1036
|
align-items: center;
|
|
1046
1037
|
gap: 1rem;
|
|
1047
1038
|
position: relative;
|
|
1048
|
-
`,
|
|
1039
|
+
`,He=o.default.div`
|
|
1049
1040
|
display: flex;
|
|
1050
1041
|
align-items: center;
|
|
1051
1042
|
gap: 1rem;
|
|
@@ -1083,13 +1074,13 @@
|
|
|
1083
1074
|
display: none;
|
|
1084
1075
|
}
|
|
1085
1076
|
}
|
|
1086
|
-
`,
|
|
1077
|
+
`,Ne=t=>{const{hamState:a,setHamState:n}=e.useContext(Ee);return r.default.createElement(ze,null,r.default.createElement(He,{onClick:t.onClick_Account},r.default.createElement("picture",null,r.default.createElement("img",{src:t.img_Account,alt:t.imgAlt_Account})),r.default.createElement("h5",null,t.firstname_Account)),r.default.createElement(f,{size:"small",buttonIconLeft:"Ham",onClick:()=>n(!a)}),a?r.default.createElement(Pe,{text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,onCLick_Account_Main:t.onCLick_Account_Main,img_Account_Main:t.img_Account_Main,imgAlt_Account_Main:t.imgAlt_Account_Main,text_Account_Main:t.text_Account_Main,onClick_Settings_Main:t.onClick_Settings_Main,text_Settings_Main:t.text_Settings_Main,onCLick_Logout:t.onCLick_Logout,text_Logout:t.text_Logout,text_Title_Region:t.text_Title_Region,text_Title_Language:t.text_Title_Language,onClick_Greek_Language:t.onClick_Greek_Language,onClick_English_Language:t.onClick_English_Language,onClick_German_Language:t.onClick_German_Language}):null)},Fe=o.default.div`
|
|
1087
1078
|
justify-self: flex-end;
|
|
1088
1079
|
display: flex;
|
|
1089
1080
|
align-items: center;
|
|
1090
1081
|
gap: 1rem;
|
|
1091
1082
|
position: relative;
|
|
1092
|
-
`,
|
|
1083
|
+
`,De=o.default.div`
|
|
1093
1084
|
display: flex;
|
|
1094
1085
|
align-items: center;
|
|
1095
1086
|
gap: 1rem;
|
|
@@ -1097,7 +1088,7 @@
|
|
|
1097
1088
|
@media ${T} {
|
|
1098
1089
|
display: none;
|
|
1099
1090
|
}
|
|
1100
|
-
`,
|
|
1091
|
+
`,Ve=t=>{const{hamState:a,setHamState:n}=e.useContext(Ee);return r.default.createElement(Fe,null,r.default.createElement(De,null,r.default.createElement(E,{size:"small",buttonText:t.text_Login,onClick:t.onClick_Login})),r.default.createElement(f,{size:"small",buttonIconLeft:"Ham",onClick:()=>n(!a)}),a?r.default.createElement(Pe,null):null)},Ke=o.default.nav`
|
|
1101
1092
|
display: grid;
|
|
1102
1093
|
align-items: center;
|
|
1103
1094
|
grid-gap: 1rem;
|
|
@@ -1114,4 +1105,4 @@
|
|
|
1114
1105
|
@media ${T} {
|
|
1115
1106
|
padding: 1rem 2rem;
|
|
1116
1107
|
}
|
|
1117
|
-
`;exports.Builder_Group=e=>r.default.createElement(
|
|
1108
|
+
`;exports.Builder_Group=e=>r.default.createElement(me,null,r.default.createElement("h4",null,e.title),e.children),exports.CardButton=b,exports.Card_Cover=e=>r.default.createElement(k,{center:e.center,onClick:e.onClick},r.default.createElement("header",null,e.img?r.default.createElement("picture",null,r.default.createElement("img",{src:e.img})):e.icon?r.default.createElement("figure",null,r.default.createElement(d,{Icon:e.icon})):e.map?r.default.createElement("map",null,r.default.createElement("iframe",{title:"Doitforme",src:e.map,frameborder:"0",allowfullscreen:"","aria-hidden":"false",tabindex:"0"})):null),r.default.createElement("main",null,e.title?r.default.createElement("h3",null,e.title):e.smallTitle?r.default.createElement("h5",null,e.smallTitle):null,e.children)),exports.Confirmation_=e=>r.default.createElement($,null,r.default.createElement(B,null,r.default.createElement("h4",null,e.question),r.default.createElement(G,null,r.default.createElement(v,{onClick:e.onClickPrimary,buttonIconLeft:e.primaryIcon,buttonText:e.primaryText}),r.default.createElement(E,{onClick:e.onClickSecondary,buttonIconLeft:e.secondaryIcon,buttonText:e.secondaryText})))),exports.Cta_=i,exports.Edit_=e=>r.default.createElement(u,{size:"normal",onClick:e.onClick},r.default.createElement(d,{Icon:e.buttonIcon})),exports.Focus_=e=>r.default.createElement(s,{size:e.size,onClick:e.onClick},e.buttonIconLeft?r.default.createElement(d,{Icon:e.buttonIconLeft}):null,e.buttonText?r.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?r.default.createElement(d,{Icon:e.buttonIconRight}):null),exports.Focus_Plain=e=>r.default.createElement(m,{size:e.size,onClick:e.onClick,onFocus:e.onFocus},e.buttonIconLeft?r.default.createElement(d,{Icon:e.buttonIconLeft}):null,e.buttonText?r.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?r.default.createElement(d,{Icon:e.buttonIconRight}):null),exports.FormGroup=S,exports.FormInput=C,exports.FormLabel=L,exports.Form_Input=e=>r.default.createElement(S,null,r.default.createElement(C,{placeholder:e.placeholder}),r.default.createElement(L,null,e.placeholder)),exports.Grey_=f,exports.Grey_Link=e=>r.default.createElement(h,{size:e.size,onClick:e.onClick},e.buttonIconLeft?r.default.createElement(d,{Icon:e.buttonIconLeft}):null,e.buttonText?r.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?r.default.createElement(d,{Icon:e.buttonIconRight}):null),exports.HamContext=Ee,exports.IconSvg=d,exports.LangContext=Se,exports.Main_=v,exports.Main_Plain=E,exports.MenuContext=ye,exports.Nav_=e=>r.default.createElement(Ke,null,r.default.createElement(he,{onClick_Logo:e.onClick_Logo}),r.default.createElement(ve,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?r.default.createElement(Ne,{img_Account:e.img_Account,img_Account_Main:e.img_Account,imgAlt_Account:e.imgAlt_Account,imgAlt_Account_Main:e.imgAlt_Account,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onCLick_Logout:e.onCLick_Logout,text_Logout:e.text_Logout,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language}):r.default.createElement(Ve,{onClick_Login:e.onClick_Login,text_Login:e.text_Login})),exports.Page=z,exports.PageAlwaysVisible=N,exports.PageCards=J,exports.PageDesktopOnly=F,exports.PageDesktopPadding=D,exports.PageSingle=K,exports.PageSingleHeader=X,exports.PageSingleRight=U,exports.PageSingleleft=j,exports.PageSub=q,exports.PageSubActions=W,exports.PageSubTitle=O,exports.PageTitle=V,exports.PageTools=H,exports.PageToolsCards=Y,exports.RegionContext=Ae,exports.SideNav=R,exports.Slider=le,exports.SliderContainer=ue,exports.SliderGrid=se,exports.SliderOverlay=ce,exports.SliderTitle=de,exports.SliderWrapper=ie,exports.Slider_=e=>r.default.createElement(le,null,r.default.createElement(ce,{onClick:e.onClose}),r.default.createElement(ie,null,r.default.createElement(de,null,r.default.createElement("h2",null,e.title),r.default.createElement(v,{size:"normal",buttonText:"Done",buttonIconRight:"Check",onClick:e.onClose})),r.default.createElement(ue,null,e.children))),exports.Steps=ee,exports.StepsActions=oe,exports.StepsComplete=ae,exports.StepsContainer=ne,exports.StepsCurrent=te,exports.StepsWrapper=re,exports.Theme=Q,exports.ThemeContext=Te,exports.ThemeDark={id:"dark",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomDark)",mid:"var(--gloom)",high:"var(--gloomLight)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},exports.ThemeLight={id:"light",background:"var(--white)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},exports.Tool_Box=e=>r.default.createElement(R,null,r.default.createElement("ul",null,e.children)),exports.Tool_Box_Button=e=>r.default.createElement(P,null,r.default.createElement("h5",{className:"ToolsNavTitle"},e.title),r.default.createElement("picture",null,r.default.createElement(d,{Icon:e.icon}))),exports.White_Plain=e=>r.default.createElement(x,{size:e.size,onClick:e.onClick},e.buttonIconLeft?r.default.createElement(d,{Icon:e.buttonIconLeft}):null,e.buttonText?r.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?r.default.createElement(d,{Icon:e.buttonIconRight}):null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monica-alexandria",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "A styled-components styles library for Doitforme platorm and universal tweeks to create your own new styled library for your project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
import { device } from '../../helpers/MediaQ'
|
|
4
|
-
import { PageAlwaysVisible, PageDesktopOnly, PageTitle } from '../../styles/Page'
|
|
5
4
|
|
|
6
5
|
export const FortySixty = styled.div`
|
|
7
6
|
display: grid;
|
|
@@ -14,78 +13,11 @@ export const FortySixty = styled.div`
|
|
|
14
13
|
}
|
|
15
14
|
`
|
|
16
15
|
|
|
17
|
-
export const
|
|
18
|
-
display: grid;
|
|
19
|
-
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
20
|
-
grid-gap: 4rem;
|
|
21
|
-
padding: 0 4rem;
|
|
22
|
-
|
|
23
|
-
@media ${device.md} {
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column-reverse;
|
|
26
|
-
}
|
|
27
|
-
`
|
|
28
|
-
|
|
29
|
-
export const Forty_Sixty_Keep_Forty = (props) => {
|
|
16
|
+
export const Forty_Sixty = (props) => {
|
|
30
17
|
return (
|
|
31
18
|
<FortySixty>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<h1>{props.title}</h1>
|
|
35
|
-
</PageTitle>
|
|
36
|
-
{props.left}
|
|
37
|
-
</PageAlwaysVisible>
|
|
38
|
-
<PageDesktopOnly>
|
|
39
|
-
{props.right}
|
|
40
|
-
</PageDesktopOnly>
|
|
19
|
+
{props.left}
|
|
20
|
+
{props.right}
|
|
41
21
|
</FortySixty>
|
|
42
22
|
)
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export const Forty_Sixty_Keep_Sixty = (props) => {
|
|
46
|
-
return (
|
|
47
|
-
<FortySixty>
|
|
48
|
-
<PageDesktopOnly>
|
|
49
|
-
{props.left}
|
|
50
|
-
</PageDesktopOnly>
|
|
51
|
-
<PageAlwaysVisible>
|
|
52
|
-
<PageTitle>
|
|
53
|
-
<h1>{props.title}</h1>
|
|
54
|
-
</PageTitle>
|
|
55
|
-
{props.right}
|
|
56
|
-
</PageAlwaysVisible>
|
|
57
|
-
</FortySixty>
|
|
58
|
-
)
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export const Forty_Sixty_Both_Normal = (props) => {
|
|
62
|
-
return (
|
|
63
|
-
<FortySixty>
|
|
64
|
-
<PageAlwaysVisible>
|
|
65
|
-
<PageTitle>
|
|
66
|
-
<h1>{props.title}</h1>
|
|
67
|
-
</PageTitle>
|
|
68
|
-
{props.left}
|
|
69
|
-
</PageAlwaysVisible>
|
|
70
|
-
<PageAlwaysVisible>
|
|
71
|
-
{props.right}
|
|
72
|
-
</PageAlwaysVisible>
|
|
73
|
-
</FortySixty>
|
|
74
|
-
)
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export const Forty_Sixty_Both_Inverted = (props) => {
|
|
78
|
-
return (
|
|
79
|
-
<FortySixtyInverted>
|
|
80
|
-
<PageAlwaysVisible>
|
|
81
|
-
{props.left}
|
|
82
|
-
</PageAlwaysVisible>
|
|
83
|
-
<PageAlwaysVisible>
|
|
84
|
-
<PageTitle>
|
|
85
|
-
<h1>{props.title}</h1>
|
|
86
|
-
</PageTitle>
|
|
87
|
-
{props.right}
|
|
88
|
-
</PageAlwaysVisible>
|
|
89
|
-
</FortySixtyInverted>
|
|
90
|
-
)
|
|
91
|
-
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
import { device } from '../../helpers/MediaQ'
|
|
4
|
+
|
|
5
|
+
export const SixtyForty = styled.div`
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns: 1fr 40%;
|
|
8
|
+
grid-gap: 4rem;
|
|
9
|
+
padding: 0 4rem;
|
|
10
|
+
|
|
11
|
+
@media ${device.md} {
|
|
12
|
+
grid-template-columns: 1fr;
|
|
13
|
+
}
|
|
14
|
+
`
|
|
15
|
+
|
|
16
|
+
export const Sixty_Forty = (props) => {
|
|
17
|
+
return (
|
|
18
|
+
<SixtyForty>
|
|
19
|
+
{props.left}
|
|
20
|
+
{props.right}
|
|
21
|
+
</SixtyForty>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
@@ -11,17 +11,6 @@ export const Page = styled.div`
|
|
|
11
11
|
}
|
|
12
12
|
`
|
|
13
13
|
|
|
14
|
-
export const PageSixty = styled.div`
|
|
15
|
-
display: grid;
|
|
16
|
-
grid-template-columns: 1fr 40%;
|
|
17
|
-
grid-gap: 4rem;
|
|
18
|
-
padding: 0 4rem;
|
|
19
|
-
|
|
20
|
-
@media ${device.md} {
|
|
21
|
-
grid-template-columns: 1fr;
|
|
22
|
-
}
|
|
23
|
-
`
|
|
24
|
-
|
|
25
14
|
export const PageTools = styled.div`
|
|
26
15
|
padding: 0 4rem 2rem 13rem;
|
|
27
16
|
`
|
|
@@ -71,7 +60,7 @@ export const PageSingleRight = styled.div`
|
|
|
71
60
|
|
|
72
61
|
|
|
73
62
|
|
|
74
|
-
export const PageSub = styled(
|
|
63
|
+
export const PageSub = styled(div)`
|
|
75
64
|
padding: 0;
|
|
76
65
|
|
|
77
66
|
aside{
|