monica-alexandria 3.1.3 → 3.1.4
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 +22 -22
- package/dist/index.js +23 -23
- package/package.json +1 -1
- package/src/export/components/nav/Nav_.js +4 -0
- package/src/export/components/nav/Nav_Ham.js +3 -0
- package/src/export/components/nav/Nav_Ham_Main.js +47 -25
- package/src/export/components/nav/Nav_Protected.js +1 -0
- package/src/export/components/nav/Nav_Unprotected.js +12 -1
package/dist/index.es.js
CHANGED
|
@@ -138,7 +138,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
138
138
|
fill: ${e=>e.theme.low};
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
`,w=t=>e.createElement(E,{size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(s,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(s,{Icon:t.buttonIconRight}):null),
|
|
141
|
+
`,w=t=>e.createElement(E,{size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(s,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(s,{Icon:t.buttonIconRight}):null),_=r(c)`
|
|
142
142
|
background: var(--main);
|
|
143
143
|
border-radius: var(--normalRadius);
|
|
144
144
|
border: 1px solid var(--main);
|
|
@@ -155,7 +155,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
155
155
|
background: var(--mainLight);
|
|
156
156
|
border: 1px solid var(--mainLight);
|
|
157
157
|
}
|
|
158
|
-
`,
|
|
158
|
+
`,f=t=>e.createElement(_,{className:t.className,size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(s,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(s,{Icon:t.buttonIconRight}):null),x=r(c)`
|
|
159
159
|
background: transparent;
|
|
160
160
|
border: 1px solid transparent;
|
|
161
161
|
|
|
@@ -177,7 +177,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
177
177
|
fill: var(--mainLight);
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
`,
|
|
180
|
+
`,b=t=>e.createElement(x,{noPadding:t.noPadding,size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(s,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(s,{Icon:t.buttonIconRight}):null),k=r(c)`
|
|
181
181
|
background: transparent;
|
|
182
182
|
border: 1px solid transparent;
|
|
183
183
|
|
|
@@ -199,7 +199,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
199
199
|
fill: ${e=>e.theme.low};
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
`,
|
|
202
|
+
`,M=t=>e.createElement(k,{size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(s,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(s,{Icon:t.buttonIconRight}):null),L=r(r.div`
|
|
203
203
|
box-shadow: ${e=>e.theme.out};
|
|
204
204
|
border-radius: var(--smallRadius);
|
|
205
205
|
transition: box-shadow .5s;
|
|
@@ -272,7 +272,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
272
272
|
text-align: center;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
-
`,
|
|
275
|
+
`,C=t=>e.createElement(L,{variant_CardText:t.variant_CardText},t.svg_Card||t.text_Card?e.createElement("header",null,t.svg_Card?e.createElement("figure",null,e.createElement(s,{Icon:t.svg_Card})):e.createElement("span",null,t.text_Card)):t.img_Card?e.createElement("picture",null,e.createElement("img",{src:t.img_Card})):null,t.text_CardTitle||t.text_CardSub?e.createElement("footer",null,t.text_CardTitle&&e.createElement("h2",null,t.text_CardTitle),t.text_CardSub&&e.createElement("h5",null,t.text_CardSub),t.children):null),A=r.input`
|
|
276
276
|
width: 100%;
|
|
277
277
|
border: none;
|
|
278
278
|
background: ${e=>e.theme.background};
|
|
@@ -351,7 +351,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
351
351
|
display: none;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
`,$=t=>e.createElement(Z,null,e.createElement(T,{placeholder:t.placeholder}),e.createElement(I,null,t.placeholder)),B=`(max-width: ${`${576}px`})`,R=`(max-width: ${`${768}px`})`,
|
|
354
|
+
`,$=t=>e.createElement(Z,null,e.createElement(T,{placeholder:t.placeholder}),e.createElement(I,null,t.placeholder)),B=`(max-width: ${`${576}px`})`,R=`(max-width: ${`${768}px`})`,G=`(max-width: ${`${992}px`})`,z=`(max-width: ${`${1440}px`})`,H=r.div`
|
|
355
355
|
position: fixed;
|
|
356
356
|
top: 0;
|
|
357
357
|
left: 0;
|
|
@@ -386,7 +386,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
`,F=t=>e.createElement(H,null,e.createElement(N,null,e.createElement("h4",null,t.question),e.createElement(P,null,e.createElement(
|
|
389
|
+
`,F=t=>e.createElement(H,null,e.createElement(N,null,e.createElement("h4",null,t.question),e.createElement(P,null,e.createElement(f,{onClick:t.onClickPrimary,buttonIconLeft:t.primaryIcon,buttonText:t.primaryText}),e.createElement(b,{onClick:t.onClickSecondary,buttonIconLeft:t.secondaryIcon,buttonText:t.secondaryText})))),V=r.nav`
|
|
390
390
|
position: fixed;
|
|
391
391
|
left: 0;
|
|
392
392
|
top: 6rem;
|
|
@@ -527,7 +527,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
527
527
|
`,O=r.div`
|
|
528
528
|
width: 100%;
|
|
529
529
|
|
|
530
|
-
@media ${
|
|
530
|
+
@media ${G} {
|
|
531
531
|
display: none;
|
|
532
532
|
}
|
|
533
533
|
`,W=r.div`
|
|
@@ -613,11 +613,11 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
613
613
|
align-items: flex-start;
|
|
614
614
|
grid-gap: 2rem;
|
|
615
615
|
|
|
616
|
-
@media ${
|
|
616
|
+
@media ${z}{
|
|
617
617
|
grid-template-columns: 1fr 1fr;
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
-
@media ${
|
|
620
|
+
@media ${G}{
|
|
621
621
|
grid-template-columns: 1fr 1fr 1fr;
|
|
622
622
|
}
|
|
623
623
|
|
|
@@ -729,20 +729,20 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
729
729
|
justify-content: space-between;
|
|
730
730
|
height: 6rem;
|
|
731
731
|
padding: 0 4rem;
|
|
732
|
-
`,
|
|
732
|
+
`,_e=r.div`
|
|
733
733
|
padding: 2rem 4rem 10rem 4rem;
|
|
734
734
|
background: ${e=>e.theme.low};
|
|
735
735
|
height: 100%;
|
|
736
736
|
overflow: auto;
|
|
737
|
-
`,
|
|
737
|
+
`,fe=r.div`
|
|
738
738
|
display: grid;
|
|
739
739
|
grid-template-columns: 1fr 1fr;
|
|
740
740
|
grid-gap: 2rem;
|
|
741
|
-
`,xe=t=>e.createElement(pe,null,e.createElement(ye,{onClick:t.onClose}),e.createElement(Ee,null,e.createElement(we,null,e.createElement("h2",null,t.title),e.createElement(
|
|
741
|
+
`,xe=t=>e.createElement(pe,null,e.createElement(ye,{onClick:t.onClose}),e.createElement(Ee,null,e.createElement(we,null,e.createElement("h2",null,t.title),e.createElement(f,{size:"normal",buttonText:"Done",buttonIconRight:"Check",onClick:t.onClose})),e.createElement(_e,null,t.children))),be=r.div`
|
|
742
742
|
h4{
|
|
743
743
|
margin-bottom: 2rem;
|
|
744
744
|
}
|
|
745
|
-
`,
|
|
745
|
+
`,ke=t=>e.createElement(be,null,e.createElement("h4",null,t.title),t.children),Me=t({language:"el",setLanguage:()=>{}}),Le=t({region:"Greece",setRegion:()=>{}}),Ce=t({activeMenu:"Main",setActiveMenu:()=>{}}),Ae=t({hamState:!1,setHamState:()=>{}}),Se=t({theme:"light",setTheme:()=>{}}),Te=r.div`
|
|
746
746
|
display: flex;
|
|
747
747
|
gap: 1rem;
|
|
748
748
|
align-items: center;
|
|
@@ -778,7 +778,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
778
778
|
font-weight: 600;
|
|
779
779
|
}
|
|
780
780
|
|
|
781
|
-
@media ${
|
|
781
|
+
@media ${G} {
|
|
782
782
|
display: none;
|
|
783
783
|
}
|
|
784
784
|
`,Ze=t=>{const{theme:a}=n(Se);return e.createElement(Te,{onClick:t.onClick_Logo},"dark"===a?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(Ie,null,e.createElement("h2",null,"Doitforme"),e.createElement("h6",null,"v3.0.0 'Morning'")))},$e=r.div`
|
|
@@ -842,7 +842,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
842
842
|
transform: translateX(110%);
|
|
843
843
|
transition: all .4s ease;
|
|
844
844
|
}
|
|
845
|
-
`,
|
|
845
|
+
`,Ge=r.div`
|
|
846
846
|
max-height: calc(100vh - 10rem);
|
|
847
847
|
overflow: auto;
|
|
848
848
|
|
|
@@ -856,7 +856,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
|
-
`,
|
|
859
|
+
`,ze=r.div`
|
|
860
860
|
display: flex;
|
|
861
861
|
align-items: center;
|
|
862
862
|
gap: 1rem;
|
|
@@ -939,7 +939,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
939
939
|
@media ${R}{
|
|
940
940
|
display: block !important;
|
|
941
941
|
}
|
|
942
|
-
`,Ve=t=>{const{setActiveMenu:a}=n(
|
|
942
|
+
`,Ve=t=>{const{setActiveMenu:a}=n(Ce);return e.createElement(Ge,null,e.createElement(ze,{onClick:()=>a("Main")},e.createElement(s,{Icon:"Back"}),e.createElement("h4",null,t.text_Title_Language)),e.createElement(He,{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(He,{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(He,{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"))))},De=r.div`
|
|
943
943
|
display: flex;
|
|
944
944
|
align-items: center;
|
|
945
945
|
gap: .5rem;
|
|
@@ -985,7 +985,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
985
985
|
justify-content: space-between;
|
|
986
986
|
gap: 1rem;
|
|
987
987
|
padding: var(--normalPads);
|
|
988
|
-
`,Ue=t=>{const{region:a}=n(Ce),{setHamState:r}=n(Ae),{setActiveMenu:o}=n(Le),{language:c}=n(_e);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(Xe,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Ke,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 qe=t=>{const{region:a,setRegion:r}=n(Ce),{setActiveMenu:o}=n(Le);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))))))},Oe=t=>{const{activeMenu:r}=n(Le),[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(Ue,{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(qe,{text_Title_Region:t.text_Title_Region}))))},We=r.div`
|
|
988
|
+
`,Ue=t=>{const{region:a}=n(Le),{setHamState:r}=n(Ae),{setActiveMenu:o}=n(Ce),{language:c}=n(Me);return e.createElement(Ge,null,e.createElement(ze,{onClick:()=>r(!1)},e.createElement(s,{Icon:"Xicon"}),e.createElement("h4",null,t.text_Title_Main)),e.createElement(Xe,null,e.createElement("h5",null,t.text_Theme_Main),e.createElement(Ke,null)),"Protected"===t.role?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)))):null,"Protected"===t.role?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))):null,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"}))),"Protected"===t.role?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)))):e.createElement(Fe,null,e.createElement(Ne,null),e.createElement(He,{onClick:t.onCLick_Login},e.createElement("main",null,e.createElement("picture",null,e.createElement(s,{Icon:"Logout"})),e.createElement("h5",null,t.text_Login)))))};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 qe=t=>{const{region:a,setRegion:r}=n(Le),{setActiveMenu:o}=n(Ce);return e.createElement(Ge,null,e.createElement(ze,{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))))))},Oe=t=>{const{activeMenu:r}=n(Ce),[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(Ue,{role:t.role,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,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}))),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(qe,{text_Title_Region:t.text_Title_Region}))))},We=r.div`
|
|
989
989
|
justify-self: flex-end;
|
|
990
990
|
display: flex;
|
|
991
991
|
align-items: center;
|
|
@@ -1029,7 +1029,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
1029
1029
|
display: none;
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
|
-
`,Ye=t=>{const{hamState:a,setHamState:r}=n(Ae);return e.createElement(We,null,e.createElement(Je,{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(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,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)},Qe=r.div`
|
|
1032
|
+
`,Ye=t=>{const{hamState:a,setHamState:r}=n(Ae);return e.createElement(We,null,e.createElement(Je,{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(Oe,{role:t.role,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)},Qe=r.div`
|
|
1033
1033
|
justify-self: flex-end;
|
|
1034
1034
|
display: flex;
|
|
1035
1035
|
align-items: center;
|
|
@@ -1043,7 +1043,7 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
1043
1043
|
@media ${R} {
|
|
1044
1044
|
display: none;
|
|
1045
1045
|
}
|
|
1046
|
-
`,tt=t=>{const{hamState:a,setHamState:r}=n(Ae);return e.createElement(Qe,null,e.createElement(et,null,e.createElement(
|
|
1046
|
+
`,tt=t=>{const{hamState:a,setHamState:r}=n(Ae);return e.createElement(Qe,null,e.createElement(et,null,e.createElement(b,{size:"small",buttonText:t.text_Login,onClick:t.onClick_Login})),e.createElement(y,{size:"small",buttonIconLeft:"Ham",onClick:()=>r(!a)}),a?e.createElement(Oe,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,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,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}):null)},nt=r.nav`
|
|
1047
1047
|
display: grid;
|
|
1048
1048
|
align-items: center;
|
|
1049
1049
|
grid-gap: 1rem;
|
|
@@ -1060,4 +1060,4 @@ import e,{createContext as t,useContext as n,useState as a}from"react";import r
|
|
|
1060
1060
|
@media ${R} {
|
|
1061
1061
|
padding: 1rem 2rem;
|
|
1062
1062
|
}
|
|
1063
|
-
`,at=t=>e.createElement(nt,null,e.createElement(Ze,{onClick_Logo:t.onClick_Logo}),e.createElement(Be,{onClick_Cta:t.onClick_Cta,text_Cta:t.text_Cta}),"Protected"===t.role?e.createElement(Ye,{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(tt,{onClick_Login:t.onClick_Login,text_Login:t.text_Login}));export{
|
|
1063
|
+
`,at=t=>e.createElement(nt,null,e.createElement(Ze,{onClick_Logo:t.onClick_Logo}),e.createElement(Be,{onClick_Cta:t.onClick_Cta,text_Cta:t.text_Cta}),"Protected"===t.role?e.createElement(Ye,{role:t.role,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(tt,{role:t.role,onClick_Login:t.onClick_Login,text_Login:t.text_Login,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main}));export{ke as Builder_Group,F as Confirmation_,l as Cta_,u as Edit_,g as Focus_,v as Focus_Plain,Z as FormGroup,T as FormInput,I as FormLabel,$ as Form_Input,y as Grey_,w as Grey_Link,Ae as HamContext,s as IconSvg,Me as LangContext,f as Main_,b as Main_Plain,Ce as MenuContext,at as Nav_,C as On_Click_Card,U as Page,q as PageAlwaysVisible,oe as PageCards,O as PageDesktopOnly,W as PageDesktopPadding,Y as PageSingle,Q as PageSingleHeader,te as PageSingleRight,ee as PageSingleleft,ne as PageSub,re as PageSubActions,ae as PageSubTitle,J as PageTitle,j as PageTools,ce as PageToolsCards,Le as RegionContext,V as SideNav,pe as Slider,_e as SliderContainer,fe as SliderGrid,ye as SliderOverlay,we as SliderTitle,Ee as SliderWrapper,xe as Slider_,de as Steps,ve as StepsActions,me as StepsComplete,ge as StepsContainer,ue as StepsCurrent,he as StepsWrapper,se as Theme,Se as ThemeContext,le as ThemeDark,ie as ThemeLight,X as Tool_Box,K as Tool_Box_Button,M as White_Plain};
|
package/dist/index.js
CHANGED
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
fill: ${e=>e.theme.low};
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
`,
|
|
202
|
+
`,_=o.default.div`
|
|
203
203
|
box-shadow: ${e=>e.theme.out};
|
|
204
204
|
border-radius: var(--smallRadius);
|
|
205
205
|
transition: box-shadow .5s;
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
box-shadow: ${e=>e.theme.outFocus};
|
|
225
225
|
transition: box-shadow .5s;
|
|
226
226
|
}
|
|
227
|
-
`,
|
|
227
|
+
`,w=o.default(_)`
|
|
228
228
|
cursor: pointer;
|
|
229
229
|
|
|
230
230
|
header{
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
text-align: center;
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
-
`,
|
|
275
|
+
`,b=o.default.input`
|
|
276
276
|
width: 100%;
|
|
277
277
|
border: none;
|
|
278
278
|
background: ${e=>e.theme.background};
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
}
|
|
296
296
|
`,k=o.default.label`
|
|
297
297
|
color: ${e=>e.theme.color};
|
|
298
|
-
`,M=o.default(
|
|
298
|
+
`,M=o.default(b)`
|
|
299
299
|
padding-top: 3rem;
|
|
300
300
|
`,C=o.default(k)`
|
|
301
301
|
font-size: var(--smallText);
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
display: none;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
`,S=`(max-width: ${`${576}px`})`,
|
|
354
|
+
`,S=`(max-width: ${`${576}px`})`,T=`(max-width: ${`${768}px`})`,A=`(max-width: ${`${992}px`})`,I=`(max-width: ${`${1440}px`})`,Z=o.default.div`
|
|
355
355
|
position: fixed;
|
|
356
356
|
top: 0;
|
|
357
357
|
left: 0;
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
align-items: center;
|
|
378
378
|
justify-content: space-between;
|
|
379
379
|
|
|
380
|
-
@media ${
|
|
380
|
+
@media ${T}{
|
|
381
381
|
|
|
382
382
|
button{
|
|
383
383
|
|
|
@@ -527,7 +527,7 @@
|
|
|
527
527
|
`,N=o.default.div`
|
|
528
528
|
width: 100%;
|
|
529
529
|
|
|
530
|
-
@media ${
|
|
530
|
+
@media ${A} {
|
|
531
531
|
display: none;
|
|
532
532
|
}
|
|
533
533
|
`,F=o.default.div`
|
|
@@ -617,11 +617,11 @@
|
|
|
617
617
|
grid-template-columns: 1fr 1fr;
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
-
@media ${
|
|
620
|
+
@media ${A}{
|
|
621
621
|
grid-template-columns: 1fr 1fr 1fr;
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
-
@media ${
|
|
624
|
+
@media ${T}{
|
|
625
625
|
grid-template-columns: 1fr 1fr;
|
|
626
626
|
}
|
|
627
627
|
|
|
@@ -778,16 +778,16 @@
|
|
|
778
778
|
font-weight: 600;
|
|
779
779
|
}
|
|
780
780
|
|
|
781
|
-
@media ${
|
|
781
|
+
@media ${A} {
|
|
782
782
|
display: none;
|
|
783
783
|
}
|
|
784
784
|
`,Ee=t=>{const{theme:a}=e.useContext(pe);return r.default.createElement(ve,{onClick:t.onClick_Logo},"dark"===a?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(ye,null,r.default.createElement("h2",null,"Doitforme"),r.default.createElement("h6",null,"v3.0.0 'Morning'")))},xe=o.default.div`
|
|
785
785
|
justify-self: center;
|
|
786
786
|
|
|
787
|
-
@media ${
|
|
787
|
+
@media ${T} {
|
|
788
788
|
justify-self: flex-end;
|
|
789
789
|
}
|
|
790
|
-
`,
|
|
790
|
+
`,_e=e=>r.default.createElement(xe,null,r.default.createElement(i,{size:"normal",buttonText:e.text_Cta,onClick:e.onClick_Cta})),we=o.default.div`
|
|
791
791
|
position: absolute;
|
|
792
792
|
top: 5rem;
|
|
793
793
|
right: 0rem;
|
|
@@ -842,7 +842,7 @@
|
|
|
842
842
|
transform: translateX(110%);
|
|
843
843
|
transition: all .4s ease;
|
|
844
844
|
}
|
|
845
|
-
`,
|
|
845
|
+
`,be=o.default.div`
|
|
846
846
|
max-height: calc(100vh - 10rem);
|
|
847
847
|
overflow: auto;
|
|
848
848
|
|
|
@@ -936,10 +936,10 @@
|
|
|
936
936
|
`,Se=o.default.div`
|
|
937
937
|
display: none;
|
|
938
938
|
|
|
939
|
-
@media ${
|
|
939
|
+
@media ${T}{
|
|
940
940
|
display: block !important;
|
|
941
941
|
}
|
|
942
|
-
`,
|
|
942
|
+
`,Te=t=>{const{setActiveMenu:a}=e.useContext(fe);return r.default.createElement(be,null,r.default.createElement(ke,{onClick:()=>a("Main")},r.default.createElement(d,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Language)),r.default.createElement(Me,{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(Me,{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(Me,{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"))))},Ae=o.default.div`
|
|
943
943
|
display: flex;
|
|
944
944
|
align-items: center;
|
|
945
945
|
gap: .5rem;
|
|
@@ -979,13 +979,13 @@
|
|
|
979
979
|
transform: translateX(2.3rem);
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
|
-
`,Ie=t=>{const{theme:a,setTheme:n}=e.useContext(pe);return r.default.createElement(
|
|
982
|
+
`,Ie=t=>{const{theme:a,setTheme:n}=e.useContext(pe);return r.default.createElement(Ae,{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"})))},Ze=o.default.div`
|
|
983
983
|
display: flex;
|
|
984
984
|
align-items: center;
|
|
985
985
|
justify-content: space-between;
|
|
986
986
|
gap: 1rem;
|
|
987
987
|
padding: var(--normalPads);
|
|
988
|
-
`,$e=t=>{const{region:a}=e.useContext(ge),{setHamState:n}=e.useContext(he),{setActiveMenu:o}=e.useContext(fe),{language:l}=e.useContext(me);return r.default.createElement(_e,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(Ze,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(Ie,null)),r.default.createElement(Se,null,r.default.createElement(Ce,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(Le,null,r.default.createElement(Ce,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 Be=[{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 Ge=t=>{const{region:a,setRegion:n}=e.useContext(ge),{setActiveMenu:o}=e.useContext(fe);return r.default.createElement(_e,null,r.default.createElement(ke,{onClick:()=>o("Main")},r.default.createElement(d,{Icon:"Back"}),r.default.createElement("h4",null,t.text_Title_Region)),Be.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))))))},Re=t=>{const{activeMenu:n}=e.useContext(fe),[o,l]=e.useState(null),c=e=>{const t=e.offsetHeight;l(t)};return r.default.createElement(be,{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($e,{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(Ae,{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(Ge,{text_Title_Region:t.text_Title_Region}))))},Pe=o.default.div`
|
|
988
|
+
`,$e=t=>{const{region:a}=e.useContext(ge),{setHamState:n}=e.useContext(he),{setActiveMenu:o}=e.useContext(fe),{language:l}=e.useContext(me);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(Ze,null,r.default.createElement("h5",null,t.text_Theme_Main),r.default.createElement(Ie,null)),"Protected"===t.role?r.default.createElement(Se,null,r.default.createElement(Ce,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)))):null,"Protected"===t.role?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))):null,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"}))),"Protected"===t.role?r.default.createElement(Le,null,r.default.createElement(Ce,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)))):r.default.createElement(Se,null,r.default.createElement(Ce,null),r.default.createElement(Me,{onClick:t.onCLick_Login},r.default.createElement("main",null,r.default.createElement("picture",null,r.default.createElement(d,{Icon:"Logout"})),r.default.createElement("h5",null,t.text_Login)))))};let Be=[{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 Ge=t=>{const{region:a,setRegion:n}=e.useContext(ge),{setActiveMenu:o}=e.useContext(fe);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)),Be.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))))))},Re=t=>{const{activeMenu:n}=e.useContext(fe),[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($e,{role:t.role,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,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}))),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(Te,{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(Ge,{text_Title_Region:t.text_Title_Region}))))},Pe=o.default.div`
|
|
989
989
|
justify-self: flex-end;
|
|
990
990
|
display: flex;
|
|
991
991
|
align-items: center;
|
|
@@ -1022,14 +1022,14 @@
|
|
|
1022
1022
|
border: 1px solid ${e=>e.theme.low};
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
|
-
@media ${
|
|
1025
|
+
@media ${T}{
|
|
1026
1026
|
padding: 0;
|
|
1027
1027
|
|
|
1028
1028
|
h5{
|
|
1029
1029
|
display: none;
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
|
-
`,He=t=>{const{hamState:a,setHamState:n}=e.useContext(he);return r.default.createElement(Pe,null,r.default.createElement(ze,{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(Re,{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)},Ne=o.default.div`
|
|
1032
|
+
`,He=t=>{const{hamState:a,setHamState:n}=e.useContext(he);return r.default.createElement(Pe,null,r.default.createElement(ze,{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(Re,{role:t.role,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)},Ne=o.default.div`
|
|
1033
1033
|
justify-self: flex-end;
|
|
1034
1034
|
display: flex;
|
|
1035
1035
|
align-items: center;
|
|
@@ -1040,10 +1040,10 @@
|
|
|
1040
1040
|
align-items: center;
|
|
1041
1041
|
gap: 1rem;
|
|
1042
1042
|
|
|
1043
|
-
@media ${
|
|
1043
|
+
@media ${T} {
|
|
1044
1044
|
display: none;
|
|
1045
1045
|
}
|
|
1046
|
-
`,De=t=>{const{hamState:a,setHamState:n}=e.useContext(he);return r.default.createElement(Ne,null,r.default.createElement(Fe,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(Re,
|
|
1046
|
+
`,De=t=>{const{hamState:a,setHamState:n}=e.useContext(he);return r.default.createElement(Ne,null,r.default.createElement(Fe,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(Re,{role:t.role,text_Title_Main:t.text_Title_Main,text_Theme_Main:t.text_Theme_Main,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,onCLick_Login:t.onCLick_Login,text_Login:t.text_Login}):null)},Ve=o.default.nav`
|
|
1047
1047
|
display: grid;
|
|
1048
1048
|
align-items: center;
|
|
1049
1049
|
grid-gap: 1rem;
|
|
@@ -1057,7 +1057,7 @@
|
|
|
1057
1057
|
background: ${e=>e.theme.background};
|
|
1058
1058
|
box-shadow: 0 1px 3px ${e=>e.theme.overlay};
|
|
1059
1059
|
|
|
1060
|
-
@media ${
|
|
1060
|
+
@media ${T} {
|
|
1061
1061
|
padding: 1rem 2rem;
|
|
1062
1062
|
}
|
|
1063
|
-
`;exports.Builder_Group=e=>r.default.createElement(se,null,r.default.createElement("h4",null,e.title),e.children),exports.Confirmation_=e=>r.default.createElement(Z,null,r.default.createElement($,null,r.default.createElement("h4",null,e.question),r.default.createElement(B,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=L,exports.FormInput=M,exports.FormLabel=C,exports.Form_Input=e=>r.default.createElement(L,null,r.default.createElement(M,{placeholder:e.placeholder}),r.default.createElement(C,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=he,exports.IconSvg=d,exports.LangContext=me,exports.Main_=v,exports.Main_Plain=E,exports.MenuContext=fe,exports.Nav_=e=>r.default.createElement(Ve,null,r.default.createElement(Ee,{onClick_Logo:e.onClick_Logo}),r.default.createElement(
|
|
1063
|
+
`;exports.Builder_Group=e=>r.default.createElement(se,null,r.default.createElement("h4",null,e.title),e.children),exports.Confirmation_=e=>r.default.createElement(Z,null,r.default.createElement($,null,r.default.createElement("h4",null,e.question),r.default.createElement(B,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=L,exports.FormInput=M,exports.FormLabel=C,exports.Form_Input=e=>r.default.createElement(L,null,r.default.createElement(M,{placeholder:e.placeholder}),r.default.createElement(C,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=he,exports.IconSvg=d,exports.LangContext=me,exports.Main_=v,exports.Main_Plain=E,exports.MenuContext=fe,exports.Nav_=e=>r.default.createElement(Ve,null,r.default.createElement(Ee,{onClick_Logo:e.onClick_Logo}),r.default.createElement(_e,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?r.default.createElement(He,{role:e.role,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(De,{role:e.role,onClick_Login:e.onClick_Login,text_Login:e.text_Login,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main})),exports.On_Click_Card=e=>r.default.createElement(w,{variant_CardText:e.variant_CardText},e.svg_Card||e.text_Card?r.default.createElement("header",null,e.svg_Card?r.default.createElement("figure",null,r.default.createElement(d,{Icon:e.svg_Card})):r.default.createElement("span",null,e.text_Card)):e.img_Card?r.default.createElement("picture",null,r.default.createElement("img",{src:e.img_Card})):null,e.text_CardTitle||e.text_CardSub?r.default.createElement("footer",null,e.text_CardTitle&&r.default.createElement("h2",null,e.text_CardTitle),e.text_CardSub&&r.default.createElement("h5",null,e.text_CardSub),e.children):null),exports.Page=P,exports.PageAlwaysVisible=H,exports.PageCards=W,exports.PageDesktopOnly=N,exports.PageDesktopPadding=F,exports.PageSingle=V,exports.PageSingleHeader=K,exports.PageSingleRight=U,exports.PageSingleleft=X,exports.PageSub=j,exports.PageSubActions=O,exports.PageSubTitle=q,exports.PageTitle=D,exports.PageTools=z,exports.PageToolsCards=J,exports.RegionContext=ge,exports.SideNav=G,exports.Slider=oe,exports.SliderContainer=de,exports.SliderGrid=ue,exports.SliderOverlay=le,exports.SliderTitle=ie,exports.SliderWrapper=ce,exports.Slider_=e=>r.default.createElement(oe,null,r.default.createElement(le,{onClick:e.onClose}),r.default.createElement(ce,null,r.default.createElement(ie,null,r.default.createElement("h2",null,e.title),r.default.createElement(v,{size:"normal",buttonText:"Done",buttonIconRight:"Check",onClick:e.onClose})),r.default.createElement(de,null,e.children))),exports.Steps=Q,exports.StepsActions=re,exports.StepsComplete=te,exports.StepsContainer=ae,exports.StepsCurrent=ee,exports.StepsWrapper=ne,exports.Theme=Y,exports.ThemeContext=pe,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(G,null,r.default.createElement("ul",null,e.children)),exports.Tool_Box_Button=e=>r.default.createElement(R,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.1.
|
|
3
|
+
"version": "3.1.4",
|
|
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",
|
|
@@ -37,6 +37,7 @@ export const Nav_ = (props) => {
|
|
|
37
37
|
/>
|
|
38
38
|
{props.role === 'Protected' ?
|
|
39
39
|
<Nav_Protected
|
|
40
|
+
role ={props.role}
|
|
40
41
|
img_Account = {props.img_Account}
|
|
41
42
|
img_Account_Main = {props.img_Account}
|
|
42
43
|
imgAlt_Account = {props.imgAlt_Account}
|
|
@@ -59,8 +60,11 @@ export const Nav_ = (props) => {
|
|
|
59
60
|
/>
|
|
60
61
|
:
|
|
61
62
|
<Nav_Unprotected
|
|
63
|
+
role ={props.role}
|
|
62
64
|
onClick_Login = {props.onClick_Login}
|
|
63
65
|
text_Login = {props.text_Login}
|
|
66
|
+
text_Title_Main = {props.text_Title_Main}
|
|
67
|
+
text_Theme_Main = {props.text_Theme_Main}
|
|
64
68
|
/>
|
|
65
69
|
}
|
|
66
70
|
</Nav>
|
|
@@ -26,6 +26,7 @@ export const Nav_Ham = (props) => {
|
|
|
26
26
|
>
|
|
27
27
|
<div className='Menu'>
|
|
28
28
|
<Nav_Ham_Main
|
|
29
|
+
role = {props.role}
|
|
29
30
|
text_Title_Main = {props.text_Title_Main}
|
|
30
31
|
text_Theme_Main = {props.text_Theme_Main}
|
|
31
32
|
onCLick_Account_Main = {props.onCLick_Account_Main}
|
|
@@ -36,6 +37,8 @@ export const Nav_Ham = (props) => {
|
|
|
36
37
|
text_Settings_Main = {props.text_Settings_Main}
|
|
37
38
|
onCLick_Logout = {props.onCLick_Logout}
|
|
38
39
|
text_Logout = {props.text_Logout}
|
|
40
|
+
onCLick_Login = {props.onCLick_Login}
|
|
41
|
+
text_Login = {props.text_Login}
|
|
39
42
|
/>
|
|
40
43
|
</div>
|
|
41
44
|
</CSSTransition>
|
|
@@ -31,25 +31,33 @@ export const Nav_Ham_Main = (props) => {
|
|
|
31
31
|
<h5>{props.text_Theme_Main}</h5>
|
|
32
32
|
<Nav_Theming />
|
|
33
33
|
</HamTheme>
|
|
34
|
-
|
|
35
|
-
<
|
|
36
|
-
|
|
34
|
+
{props.role === 'Protected' ?
|
|
35
|
+
<HamMobileItem>
|
|
36
|
+
<HamSeparator></HamSeparator>
|
|
37
|
+
<HamItem onClick={props.onCLick_Account_Main}>
|
|
38
|
+
<main>
|
|
39
|
+
<picture>
|
|
40
|
+
<img src={props.img_Account_Main} alt={props.imgAlt_Account_Main} />
|
|
41
|
+
</picture>
|
|
42
|
+
<h5>{props.text_Account_Main}</h5>
|
|
43
|
+
</main>
|
|
44
|
+
</HamItem>
|
|
45
|
+
</HamMobileItem>
|
|
46
|
+
:
|
|
47
|
+
null
|
|
48
|
+
}
|
|
49
|
+
{props.role === 'Protected' ?
|
|
50
|
+
<HamItem onClick={props.onClick_Settings_Main}>
|
|
37
51
|
<main>
|
|
38
52
|
<picture>
|
|
39
|
-
<
|
|
53
|
+
<IconSvg Icon="Settings" />
|
|
40
54
|
</picture>
|
|
41
|
-
<h5>{props.
|
|
55
|
+
<h5>{props.text_Settings_Main}</h5>
|
|
42
56
|
</main>
|
|
43
57
|
</HamItem>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<picture>
|
|
48
|
-
<IconSvg Icon="Settings" />
|
|
49
|
-
</picture>
|
|
50
|
-
<h5>{props.text_Settings_Main}</h5>
|
|
51
|
-
</main>
|
|
52
|
-
</HamItem>
|
|
58
|
+
:
|
|
59
|
+
null
|
|
60
|
+
}
|
|
53
61
|
<HamItem onClick={() => setActiveMenu('Language')}>
|
|
54
62
|
<main>
|
|
55
63
|
<picture>
|
|
@@ -84,17 +92,31 @@ export const Nav_Ham_Main = (props) => {
|
|
|
84
92
|
<IconSvg Icon="Next"/>
|
|
85
93
|
</aside>
|
|
86
94
|
</HamItem>
|
|
87
|
-
|
|
88
|
-
<
|
|
89
|
-
|
|
90
|
-
<
|
|
91
|
-
<
|
|
92
|
-
<
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
{props.role === 'Protected' ?
|
|
96
|
+
<HamComboItem>
|
|
97
|
+
<HamSeparator></HamSeparator>
|
|
98
|
+
<HamItem onClick={props.onCLick_Logout}>
|
|
99
|
+
<main>
|
|
100
|
+
<picture>
|
|
101
|
+
<IconSvg Icon="Logout" />
|
|
102
|
+
</picture>
|
|
103
|
+
<h5>{props.text_Logout}</h5>
|
|
104
|
+
</main>
|
|
105
|
+
</HamItem>
|
|
106
|
+
</HamComboItem>
|
|
107
|
+
:
|
|
108
|
+
<HamMobileItem>
|
|
109
|
+
<HamSeparator></HamSeparator>
|
|
110
|
+
<HamItem onClick={props.onCLick_Login}>
|
|
111
|
+
<main>
|
|
112
|
+
<picture>
|
|
113
|
+
<IconSvg Icon="Logout" />
|
|
114
|
+
</picture>
|
|
115
|
+
<h5>{props.text_Login}</h5>
|
|
116
|
+
</main>
|
|
117
|
+
</HamItem>
|
|
118
|
+
</HamMobileItem>
|
|
119
|
+
}
|
|
98
120
|
</Ham>
|
|
99
121
|
)
|
|
100
122
|
}
|
|
@@ -43,7 +43,18 @@ export const Nav_Unprotected = (props) => {
|
|
|
43
43
|
onClick = {() => setHamState(!hamState)}
|
|
44
44
|
/>
|
|
45
45
|
{hamState ?
|
|
46
|
-
<Nav_Ham
|
|
46
|
+
<Nav_Ham
|
|
47
|
+
role ={props.role}
|
|
48
|
+
text_Title_Main = {props.text_Title_Main}
|
|
49
|
+
text_Theme_Main = {props.text_Theme_Main}
|
|
50
|
+
text_Title_Region = {props.text_Title_Region}
|
|
51
|
+
text_Title_Language = {props.text_Title_Language}
|
|
52
|
+
onClick_Greek_Language = {props.onClick_Greek_Language}
|
|
53
|
+
onClick_English_Language = {props.onClick_English_Language}
|
|
54
|
+
onClick_German_Language = {props.onClick_German_Language}
|
|
55
|
+
onCLick_Login = {props.onCLick_Login}
|
|
56
|
+
text_Login = {props.text_Login}
|
|
57
|
+
/>
|
|
47
58
|
:
|
|
48
59
|
null
|
|
49
60
|
}
|