Skip to content
Snippets Groups Projects
Commit c02a42a9 authored by Dorine Lambinet's avatar Dorine Lambinet Committed by Emmanuel Raviart
Browse files

UI des caractéristiques du cas type (identité de l'entreprise en commentaire)

parent bfadb559
No related branches found
No related tags found
No related merge requests found
<svg
width="20"
height="21"
viewBox="0 0 20 21"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12 19.0722C12 20.4917 11.1045 21 10 21C8.8955 21 8 20.4917 8 19.0722L8.5 13.2886C8.5 11.8691 8.8955 12.0034 10 12.0034C11.1045 12.0034 11.5 11.8691 11.5 13.2886L12 19.0722Z"
fill="#662113"
/>
<path
d="M19 9.37931C19 14.2549 14.9708 16 10 16C5.02975 16 1 14.2549 1 9.37931C1 4.50428 6.0625 0 10 0C13.9375 0 19 4.50428 19 9.37931Z"
fill="#5C913B"
/>
<path
d="M3.48662 12.6155C4.11997 12.6155 4.6334 12.3588 4.6334 12.0421C4.6334 11.7255 4.11997 11.4688 3.48662 11.4688C2.85327 11.4688 2.33984 11.7255 2.33984 12.0421C2.33984 12.3588 2.85327 12.6155 3.48662 12.6155Z"
fill="#3E721D"
/>
<path
d="M17.2483 12.6155C17.8817 12.6155 18.3951 12.3588 18.3951 12.0421C18.3951 11.7255 17.8817 11.4688 17.2483 11.4688C16.615 11.4688 16.1016 11.7255 16.1016 12.0421C16.1016 12.3588 16.615 12.6155 17.2483 12.6155Z"
fill="#3E721D"
/>
<path
d="M5.78057 14.9085C6.41392 14.9085 6.92735 14.6518 6.92735 14.3351C6.92735 14.0184 6.41392 13.7617 5.78057 13.7617C5.14722 13.7617 4.63379 14.0184 4.63379 14.3351C4.63379 14.6518 5.14722 14.9085 5.78057 14.9085Z"
fill="#3E721D"
/>
<path
d="M8.07354 13.1898C8.70689 13.1898 9.22032 12.933 9.22032 12.6164C9.22032 12.2997 8.70689 12.043 8.07354 12.043C7.44019 12.043 6.92676 12.2997 6.92676 12.6164C6.92676 12.933 7.44019 13.1898 8.07354 13.1898Z"
fill="#3E721D"
/>
<path
d="M5.78057 9.74639C6.41392 9.74639 6.92735 9.48968 6.92735 9.173C6.92735 8.85633 6.41392 8.59961 5.78057 8.59961C5.14722 8.59961 4.63379 8.85633 4.63379 9.173C4.63379 9.48968 5.14722 9.74639 5.78057 9.74639Z"
fill="#3E721D"
/>
<path
d="M4.06084 7.45343C4.69419 7.45343 5.20763 7.19671 5.20763 6.88003C5.20763 6.56336 4.69419 6.30664 4.06084 6.30664C3.42749 6.30664 2.91406 6.56336 2.91406 6.88003C2.91406 7.19671 3.42749 7.45343 4.06084 7.45343Z"
fill="#3E721D"
/>
<path
d="M16.6741 7.45343C17.3075 7.45343 17.8209 7.19671 17.8209 6.88003C17.8209 6.56336 17.3075 6.30664 16.6741 6.30664C16.0408 6.30664 15.5273 6.56336 15.5273 6.88003C15.5273 7.19671 16.0408 7.45343 16.6741 7.45343Z"
fill="#3E721D"
/>
<path
d="M8.07354 6.30889C8.70689 6.30889 9.22032 6.05218 9.22032 5.7355C9.22032 5.41883 8.70689 5.16211 8.07354 5.16211C7.44019 5.16211 6.92676 5.41883 6.92676 5.7355C6.92676 6.05218 7.44019 6.30889 8.07354 6.30889Z"
fill="#3E721D"
/>
<path
d="M12.6614 6.30889C13.2948 6.30889 13.8082 6.05218 13.8082 5.7355C13.8082 5.41883 13.2948 5.16211 12.6614 5.16211C12.0281 5.16211 11.5146 5.41883 11.5146 5.7355C11.5146 6.05218 12.0281 6.30889 12.6614 6.30889Z"
fill="#3E721D"
/>
<path
d="M14.9544 9.74639C15.5877 9.74639 16.1012 9.48968 16.1012 9.173C16.1012 8.85633 15.5877 8.59961 14.9544 8.59961C14.321 8.59961 13.8076 8.85633 13.8076 9.173C13.8076 9.48968 14.321 9.74639 14.9544 9.74639Z"
fill="#3E721D"
/>
<path
d="M10.3675 10.3226C11.0008 10.3226 11.5143 10.0658 11.5143 9.74917C11.5143 9.4325 11.0008 9.17578 10.3675 9.17578C9.73413 9.17578 9.2207 9.4325 9.2207 9.74917C9.2207 10.0658 9.73413 10.3226 10.3675 10.3226Z"
fill="#3E721D"
/>
<path
d="M12.6614 13.1898C13.2948 13.1898 13.8082 12.933 13.8082 12.6164C13.8082 12.2997 13.2948 12.043 12.6614 12.043C12.0281 12.043 11.5146 12.2997 11.5146 12.6164C11.5146 12.933 12.0281 13.1898 12.6614 13.1898Z"
fill="#3E721D"
/>
<path
d="M10.3675 15.4827C11.0008 15.4827 11.5143 15.226 11.5143 14.9093C11.5143 14.5927 11.0008 14.3359 10.3675 14.3359C9.73413 14.3359 9.2207 14.5927 9.2207 14.9093C9.2207 15.226 9.73413 15.4827 10.3675 15.4827Z"
fill="#3E721D"
/>
<path
d="M14.9544 14.9085C15.5877 14.9085 16.1012 14.6518 16.1012 14.3351C16.1012 14.0184 15.5877 13.7617 14.9544 13.7617C14.321 13.7617 13.8076 14.0184 13.8076 14.3351C13.8076 14.6518 14.321 14.9085 14.9544 14.9085Z"
fill="#3E721D"
/>
</svg>
<svg
width="21"
height="20"
viewBox="0 0 21 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M18 12.709C18 12.0261 17.5958 11.4573 17.0529 11.2986C16.4863 8.19148 13.7708 5.83398 10.5 5.83398C7.22917 5.83398 4.51375 8.19148 3.94708 11.2986C3.40417 11.4573 3 12.0261 3 12.709C3 13.4323 3.45292 14.029 4.04583 14.1432C4.77875 17.029 7.38625 19.1673 10.5 19.1673C13.6137 19.1673 16.2213 17.029 16.9542 14.1432C17.5467 14.029 18 13.4323 18 12.709Z"
fill="#FFDC5D"
/>
<path
d="M10.4997 15.4167C9.24967 15.4167 8.83301 15 8.83301 15.8333C8.83301 16.6667 9.66634 17.5 10.4997 17.5C11.333 17.5 12.1663 16.6667 12.1663 15.8333C12.1663 15 11.7497 15.4167 10.4997 15.4167Z"
fill="#662214"
/>
<path
d="M12.3747 13.7493C12.95 13.7493 13.4163 13.283 13.4163 12.7077C13.4163 12.1324 12.95 11.666 12.3747 11.666C11.7994 11.666 11.333 12.1324 11.333 12.7077C11.333 13.283 11.7994 13.7493 12.3747 13.7493Z"
fill="#662214"
/>
<path
d="M8.62467 13.7493C9.19997 13.7493 9.66634 13.283 9.66634 12.7077C9.66634 12.1324 9.19997 11.666 8.62467 11.666C8.04938 11.666 7.58301 12.1324 7.58301 12.7077C7.58301 13.283 8.04938 13.7493 8.62467 13.7493Z"
fill="#662214"
/>
<path
d="M10.5 15.832H11.3333V16.2487C11.3333 16.2487 11.3333 16.6654 10.9167 16.6654C10.5 16.6654 10.5 16.2487 10.5 16.2487V15.832Z"
fill="white"
/>
<path
d="M10.4923 9.58375H10.4793C10.2364 9.5851 9.99555 9.53772 9.77119 9.44439C9.54682 9.35107 9.34345 9.2137 9.1731 9.04041C9.01937 8.88517 8.90001 8.69934 8.82277 8.49497C8.74553 8.2906 8.71214 8.07227 8.72477 7.85416C8.72778 7.79955 8.74161 7.74609 8.76545 7.69686C8.78928 7.64763 8.82265 7.60363 8.86361 7.56739C8.90458 7.53115 8.95233 7.50341 9.00409 7.48576C9.05586 7.46811 9.11061 7.46091 9.16518 7.46458C9.39477 7.47833 9.57018 7.67625 9.55643 7.90625C9.54435 8.1125 9.62102 8.31583 9.76602 8.46291C9.8597 8.55866 9.97149 8.63482 10.0949 8.68697C10.2183 8.73912 10.3508 8.7662 10.4848 8.76666C10.7568 8.75166 11.0139 8.66375 11.2077 8.47291C11.4674 8.216 11.6146 7.86659 11.6171 7.50129C11.6196 7.13599 11.4772 6.78461 11.221 6.52416C10.8804 6.17971 10.417 5.98443 9.93255 5.98115C9.44811 5.97787 8.98214 6.16686 8.63685 6.50666C8.59789 6.54507 8.55175 6.57544 8.50105 6.59602C8.45036 6.61659 8.39611 6.62699 8.3414 6.6266C8.23091 6.62582 8.12526 6.58118 8.04768 6.5025C7.97011 6.42381 7.92696 6.31754 7.92774 6.20705C7.92853 6.09656 7.97317 5.99091 8.05185 5.91333C8.55468 5.4187 9.23313 5.14366 9.93844 5.1485C10.6438 5.15334 11.3184 5.43768 11.8143 5.93916C12.0179 6.1453 12.1788 6.38954 12.2879 6.65791C12.397 6.92629 12.4521 7.21354 12.4501 7.50324C12.4481 7.79293 12.389 8.07939 12.2762 8.34623C12.1634 8.61306 11.9991 8.85504 11.7927 9.05833C11.4443 9.4025 10.9823 9.58375 10.4923 9.58375V9.58375Z"
fill="#EF9645"
/>
</svg>
<svg
width="20"
height="21"
viewBox="0 0 20 21"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g clip-path="url(#clip0)">
<path
d="M0.988244 15.7289C0.838327 15.8024 0.694244 15.674 0.626577 15.5994C0.434077 15.3864 0.281827 14.8749 0.453911 14.3114C0.627161 13.7426 0.701244 13.0595 1.13874 11.9722C1.18949 11.8456 1.21399 10.3464 1.52374 9.35943C1.60716 9.09284 2.33574 8.84901 2.64491 8.89918C2.95349 8.94934 2.71724 9.46618 2.71024 9.55776C2.63791 10.5389 2.26808 12.0153 2.20916 12.2154C1.88483 13.3208 1.25599 13.7478 1.29566 14.5173C1.31666 14.9209 1.27583 15.2768 1.04308 15.2733C1.01508 15.485 1.04308 15.702 0.988244 15.7289Z"
fill="#FFDC5D"
/>
<path
d="M8.65043 15.4281C8.80034 15.5016 8.94443 15.3732 9.01209 15.2986C9.20459 15.0857 9.35684 14.5741 9.18476 14.0106C9.01151 13.4418 8.93743 12.7587 8.49993 11.6714C8.44918 11.5448 8.42468 10.0456 8.11493 9.05865C8.03151 8.79206 7.30293 8.54823 6.99376 8.5984C6.68518 8.64856 6.92143 9.1654 6.92843 9.25698C7.00076 10.2381 7.37059 11.7146 7.42951 11.9147C7.75384 13.0201 8.38268 13.4471 8.34301 14.2165C8.32201 14.6202 8.36284 14.976 8.59559 14.9725C8.62359 15.1842 8.59559 15.4012 8.65043 15.4281Z"
fill="#FFDC5D"
/>
<path
d="M2.82971 17.2097C2.53805 15.6149 2.6763 13.4297 2.6763 13.4297H7.1353C7.1353 13.4297 7.27413 15.6149 6.98246 17.2097C6.94571 17.4104 6.8728 19.1604 7.04605 20.418C7.08455 20.6974 5.36255 20.9646 5.38705 20.3451C5.43255 19.1965 5.23305 18.2959 5.19571 17.7201C5.1753 17.401 5.04988 16.6264 4.99505 15.8488C4.98863 15.8383 4.82296 15.8383 4.81655 15.8488C4.76171 16.6264 4.63688 17.401 4.61588 17.7201C4.57855 18.2959 4.37905 19.1965 4.42455 20.3451C4.44905 20.9646 2.72705 20.6974 2.76555 20.418C2.9388 19.1604 2.86588 17.4104 2.82971 17.2097V17.2097Z"
fill="#5C913B"
/>
<path
d="M2.25496 21.0009C1.96388 20.7641 2.27888 20.3237 3.08329 20.1831C3.76171 20.0647 4.36663 20.1644 4.46171 20.3873C4.58538 20.6749 4.49088 21.0009 4.49088 21.0009H2.25496ZM7.57321 21.0009C7.86429 20.7641 7.54929 20.3237 6.74488 20.1831C6.06646 20.0647 5.46154 20.1644 5.36646 20.3873C5.24279 20.6749 5.33729 21.0009 5.33729 21.0009H7.57321Z"
fill="#292F33"
/>
<path
d="M2.10467 8.61285C2.81575 8.16602 3.73625 8.16602 3.73625 8.16602H6.06959C6.06959 8.16602 6.99009 8.16602 7.70117 8.61285C8.40175 9.05268 8.66717 10.3628 8.66717 10.3628L7.28292 10.7642L7.22167 13.9883H2.58417L2.52292 10.7642L1.13867 10.3628C1.13867 10.3628 1.40409 9.05268 2.10467 8.61285V8.61285Z"
fill="#99AAB5"
/>
<path
d="M6.17152 0.285892C5.5281 0.0776418 4.01435 0.134225 3.63577 0.626558C2.65168 0.645225 1.49727 1.53481 1.3456 2.70848C1.19568 3.86989 1.52993 4.40889 1.64835 5.28214C1.7831 6.27148 2.33902 6.58823 2.7841 6.72064C3.42402 7.56589 4.10418 7.52973 5.24577 7.52973C7.47585 7.52973 8.5381 6.03756 8.63201 3.50356C8.6886 1.96998 7.7891 0.809142 6.17152 0.285892V0.285892Z"
fill="#FFAC33"
/>
<path
d="M3.97168 6.76562V8.19946C3.97168 8.72738 4.37301 9.78613 4.92718 9.78613C5.48135 9.78613 5.88268 8.72738 5.88268 8.19946V6.76562H3.97168Z"
fill="#FFDC5D"
/>
<path
d="M3.97168 8.00178C4.26218 8.3302 4.5346 8.41245 4.9266 8.41245C5.31801 8.41245 5.59276 8.32961 5.88326 8.00178V7.61328H3.97168V8.00178Z"
fill="#F9CA55"
/>
<path
d="M7.44743 3.61075C7.2316 3.31208 6.95568 3.07117 6.3496 2.986C6.57652 3.08983 6.7941 3.44975 6.82268 3.64808C6.85127 3.847 6.87927 4.00742 6.6996 3.80908C5.97918 3.01283 5.19518 3.32667 4.4176 2.84017C3.8751 2.50067 3.71002 2.125 3.71002 2.125C3.71002 2.125 3.64352 2.62667 2.82043 3.13767C2.58185 3.28583 2.29718 3.61542 2.1391 4.10308C2.02535 4.45308 2.06093 4.76575 2.06093 5.29892C2.06093 6.85642 3.34485 8.166 4.92802 8.166C6.51118 8.166 7.7951 6.84475 7.7951 5.29892C7.7951 4.33 7.6936 3.95142 7.44743 3.61075V3.61075Z"
fill="#FFDC5D"
/>
<path
d="M6.04525 7H3.71191C3.71191 7 3.71191 7.58333 4.87858 7.58333C6.04525 7.58333 6.04525 7 6.04525 7Z"
fill="#C1694F"
/>
<path
d="M3.4196 5.24935C3.58068 5.24935 3.71126 5.11877 3.71126 4.95768C3.71126 4.7966 3.58068 4.66602 3.4196 4.66602C3.25851 4.66602 3.12793 4.7966 3.12793 4.95768C3.12793 5.11877 3.25851 5.24935 3.4196 5.24935Z"
fill="#662113"
/>
<path
d="M6.33659 5.24935C6.49767 5.24935 6.62826 5.11877 6.62826 4.95768C6.62826 4.7966 6.49767 4.66602 6.33659 4.66602C6.17551 4.66602 6.04492 4.7966 6.04492 4.95768C6.04492 5.11877 6.17551 5.24935 6.33659 5.24935Z"
fill="#662113"
/>
<path
d="M4.2959 5.83398H5.46257C5.46257 5.83398 5.46257 6.41732 4.87923 6.41732C4.2959 6.41732 4.2959 5.83398 4.2959 5.83398Z"
fill="#C1694F"
/>
<path
d="M19.0572 15.7289C19.2071 15.8024 19.3512 15.674 19.4189 15.5994C19.6114 15.3864 19.7636 14.8749 19.5915 14.3114C19.4183 13.7426 19.3442 13.0595 18.9067 11.9722C18.856 11.8456 18.8315 10.3464 18.5217 9.35943C18.4383 9.09284 17.7097 8.84901 17.4005 8.89918C17.092 8.94934 17.3282 9.46618 17.3352 9.55776C17.4075 10.5389 17.7774 12.0153 17.8363 12.2154C18.1606 13.3208 18.7895 13.7478 18.7498 14.5173C18.7288 14.9209 18.7696 15.2768 19.0024 15.2733C19.0304 15.485 19.0024 15.702 19.0572 15.7289Z"
fill="#FFDC5D"
/>
<path
d="M11.1098 15.7289C10.9599 15.8024 10.8158 15.674 10.7481 15.5994C10.5556 15.3864 10.4034 14.8749 10.5754 14.3114C10.7487 13.7426 10.8228 13.0595 11.2603 11.9722C11.311 11.8456 11.3355 10.3464 11.6453 9.35943C11.7287 9.09284 12.4573 8.84901 12.7664 8.89918C13.075 8.94934 12.8388 9.46618 12.8318 9.55776C12.7594 10.5389 12.3896 12.0153 12.3307 12.2154C12.0064 13.3208 11.3775 13.7478 11.4172 14.5173C11.4382 14.9209 11.3974 15.2768 11.1646 15.2733C11.1366 15.485 11.1646 15.702 11.1098 15.7289Z"
fill="#FFDC5D"
/>
<path
d="M17.2156 17.2097C17.5072 15.6149 17.369 13.4297 17.369 13.4297H12.91C12.91 13.4297 12.7711 15.6149 13.0628 17.2097C13.0996 17.4104 13.1725 19.1604 12.9992 20.418C12.9607 20.6974 14.6827 20.9646 14.6582 20.3451C14.6127 19.1965 14.8122 18.2959 14.8496 17.7201C14.87 17.401 14.9954 16.6264 15.0502 15.8488C15.0566 15.8383 15.2223 15.8383 15.2287 15.8488C15.2836 16.6264 15.4084 17.401 15.4294 17.7201C15.4667 18.2959 15.6662 19.1965 15.6207 20.3451C15.5962 20.9646 17.3182 20.6974 17.2797 20.418C17.1065 19.1604 17.1794 17.4104 17.2156 17.2097V17.2097Z"
fill="#4289C1"
/>
<path
d="M17.791 21.0009C18.0821 20.7641 17.7671 20.3237 16.9627 20.1831C16.2842 20.0647 15.6793 20.1644 15.5842 20.3873C15.4606 20.6749 15.5551 21.0009 15.5551 21.0009H17.791ZM12.4727 21.0009C12.1817 20.7641 12.4967 20.3237 13.3011 20.1831C13.9795 20.0647 14.5844 20.1644 14.6795 20.3873C14.8032 20.6754 14.7087 21.0015 14.7087 21.0015L12.4727 21.0009Z"
fill="#292F33"
/>
<path
d="M17.9395 8.61285C17.2284 8.16602 16.3079 8.16602 16.3079 8.16602H13.9745C13.9745 8.16602 13.054 8.16602 12.343 8.61285C11.6424 9.05268 11.377 10.3628 11.377 10.3628L12.7612 10.7642L12.8225 13.9883H17.46L17.5212 10.7642L18.9055 10.3628C18.9055 10.3628 18.64 9.05268 17.9395 8.61285V8.61285Z"
fill="#FA743E"
/>
<path
d="M16.3414 0.285892C15.698 0.0776418 14.1837 0.134225 13.8057 0.626558C12.8216 0.645225 11.6672 1.53481 11.5155 2.70848C11.3656 3.86989 11.6999 4.40889 11.8183 5.28214C11.953 6.27148 12.5089 6.58823 12.954 6.72064C13.5939 7.56589 14.2741 7.52973 15.4157 7.52973C17.6458 7.52973 18.708 6.03756 18.8019 3.50356C18.8585 1.96998 17.959 0.809142 16.3414 0.285892V0.285892Z"
fill="#FFAC33"
/>
<path
d="M14.1396 6.76562V8.19946C14.1396 8.72738 14.541 9.78613 15.0951 9.78613C15.6493 9.78613 16.0506 8.72738 16.0506 8.19946V6.76562H14.1396Z"
fill="#FFDC5D"
/>
<path
d="M14.1396 8.00178C14.4301 8.3302 14.7026 8.41245 15.0946 8.41245C15.486 8.41245 15.7607 8.32961 16.0512 8.00178V7.61328H14.1396V8.00178Z"
fill="#F9CA55"
/>
<path
d="M17.617 3.61075C17.4011 3.31208 17.1246 3.07117 16.5191 2.986C16.746 3.08983 16.9636 3.44975 16.9922 3.64808C17.0208 3.847 17.0488 4.00742 16.8691 3.80908C16.1487 3.01283 15.3647 3.32667 14.5871 2.84017C14.044 2.50067 13.879 2.125 13.879 2.125C13.879 2.125 13.8125 2.62667 12.9894 3.13767C12.7508 3.28583 12.4661 3.61542 12.308 4.10308C12.1943 4.45308 12.2299 4.76575 12.2299 5.29892C12.2299 6.85642 13.5138 8.166 15.097 8.166C16.6801 8.166 17.964 6.84475 17.964 5.29892C17.9646 4.33 17.8631 3.95142 17.617 3.61075V3.61075Z"
fill="#FFDC5D"
/>
<path
d="M16.3333 7H14C14 7 14 7.58333 15.1667 7.58333C16.3333 7.58333 16.3333 7 16.3333 7Z"
fill="#C1694F"
/>
<path
d="M13.7087 5.24935C13.8697 5.24935 14.0003 5.11877 14.0003 4.95768C14.0003 4.7966 13.8697 4.66602 13.7087 4.66602C13.5476 4.66602 13.417 4.7966 13.417 4.95768C13.417 5.11877 13.5476 5.24935 13.7087 5.24935Z"
fill="#662113"
/>
<path
d="M16.6257 5.24935C16.7867 5.24935 16.9173 5.11877 16.9173 4.95768C16.9173 4.7966 16.7867 4.66602 16.6257 4.66602C16.4646 4.66602 16.334 4.7966 16.334 4.95768C16.334 5.11877 16.4646 5.24935 16.6257 5.24935Z"
fill="#662113"
/>
<path
d="M14.583 5.83398H15.7497C15.7497 5.83398 15.7497 6.41732 15.1663 6.41732C14.583 6.41732 14.583 5.83398 14.583 5.83398Z"
fill="#C1694F"
/>
</g>
<defs>
<clipPath id="clip0">
<rect width="20" height="21" fill="white" />
</clipPath>
</defs>
</svg>
......@@ -4,9 +4,12 @@
import Latchkey from "$lib/components/latchkeys/Latchkey.svelte"
import ScholarWaterfall from "$lib/components/scholar_waterfalls/ScholarWaterfall.svelte"
import type { Axis, Situation } from "$lib/situations"
import PictoArbreMetropole from "../latchkeys/PictoArbreMetropole.svelte"
import PictoEntreprise from "../latchkeys/PictoEntreprise.svelte"
import PictoFemme from "../latchkeys/PictoFemme.svelte"
import PictoEnfant from "../latchkeys/PictoEnfant.svelte"
import PictoEtat from "../latchkeys/PictoEtat.svelte"
import PictoNombreSalaries from "../latchkeys/PictoNombreSalaries.svelte"
interface AxisDescription {
index: number // index of adulte or index of enfant used for axis
......@@ -209,7 +212,8 @@
<div class="place-self-start w-full shadow-md rounded-t-sm bg-white mb-5 ">
<div class="bg-gray-100 border border-gray-200 border-b-2 p-2 rounded-t-md">
<div class="flex justify-end space-x-2">
<div class="flex justify-between space-x-2">
<h1 class="font-bold text-gray-600">Salariée travaillant dans une PME</h1>
<button on:click={() => dispatch("edit")}>
<!-- Material-icon : Edit mode -->
<svg
......@@ -224,16 +228,41 @@
></button
>
</div>
<div class="grid grid-cols-2">
<div>
<div class="flex">
<div>
<!--Composition du foyer-->
<div class="flex space-x-2 mt-2">
<div class="flex">
<!-- Localité du cas type-->
<PictoArbreMetropole />
</div>
<div class="flex">
<!-- Nombre adultes et salaires-->
<p>
Nombre d'adultes : {adultes.length}
{adultes.length}
</p>
<PictoFemme />
</div>
<div class="flex">
<!-- Nombre Enfant et âge et salaires-->
<p>
{enfants.length}
</p>
<PictoEnfant />
</div>
</div>
<!-- Salaire brut-->
<ul>
{#each adultes as _adulte, index}
<li>
{#each [...iterVariablesDefinition(false)] as { allowSlider, name, label, max, min }}
{#if allowSlider && isAxis(axisDescription, false, index, name)}
<label>
<label class="font-light text-sm">
{label}
<input
class="mt-2 mx-2"
......@@ -248,12 +277,13 @@
>{Math.round(vectorIndex * stepValue)}</span
>
{:else}
<p>
{label} : {getVariableValue(false, index, name)}
<p class="font-light text-sm pt-2">
{label} :
</p>
<p>{getVariableValue(false, index, name)}</p>
{/if}
{#if allowSlider}
<label>
<label class="text-xs">
<input
checked={isAxis(axisDescription, false, index, name)}
on:click={() => toggleAxis(false, index, name)}
......@@ -266,11 +296,9 @@
</li>
{/each}
</ul>
</div>
<p>
Nombre d'enfants : {enfants.length}
</p>
<!-- Age des enfants-->
<ul>
{#each enfants as _enfant, index}
<li>
......@@ -307,6 +335,32 @@
{/each}
</ul>
</div>
</div>
<!--Identité de l'entreprise
<div class="flex space-x-2 mt-2">
<div class="flex">
<PictoEntreprise />
</div>
<div class="flex ">
<div class="flex space-x-1">
<div>
<p class="text-xs">100</p>
<p class="text-xs">50</p>
</div>
<PictoNombreSalaries />
</div>
<div class="flex">
<PictoArbreMetropole />
</div>
</div>
</div>
-->
</div>
</div>
<div class="flex-wrap ">
{#if open}
{#if index % 2 === 0}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment