1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/// GENERATED FILE

use leptos::*;
use crate::IconWeight;

#[component]
pub fn EscalatorDown(
    #[prop(into, default = MaybeSignal::Static(IconWeight::Regular))] weight: MaybeSignal<IconWeight>,
    #[prop(into, default = MaybeSignal::Static("1em".to_string()))] size: MaybeSignal<String>,
    #[prop(into, default = MaybeSignal::Static("currentColor".to_string()))] color: MaybeSignal<String>,
    #[prop(into, default = MaybeSignal::Static(false))] mirrored: MaybeSignal<bool>
) -> impl IntoView {
    let body = move || {
        match weight.get() {
            IconWeight::Fill => view!{ <path d="M170.34,85.66a8,8,0,0,1,11.32-11.32L192,84.69V48a8,8,0,0,1,16,0V84.69l10.34-10.35a8,8,0,0,1,11.32,11.32l-24,24a8,8,0,0,1-11.32,0ZM224,144H187.5L96.26,45.15A16.06,16.06,0,0,0,84.5,40H32A16,16,0,0,0,16,56V96a16,16,0,0,0,16,16H68.5l91.24,98.85A16.06,16.06,0,0,0,171.5,216H224a16,16,0,0,0,16-16V160A16,16,0,0,0,224,144Z"/> }.into_view(),
IconWeight::Duotone => view!{ <path d="M232,160v40a8,8,0,0,1-8,8H171.5a8,8,0,0,1-5.88-2.57L74.38,106.57A8,8,0,0,0,68.5,104H32a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H84.5a8,8,0,0,1,5.88,2.57l91.24,98.86A8,8,0,0,0,187.5,152H224A8,8,0,0,1,232,160Z" opacity="0.2"/><path d="M170.34,85.66a8,8,0,0,1,11.32-11.32L192,84.69V48a8,8,0,0,1,16,0V84.69l10.34-10.35a8,8,0,0,1,11.32,11.32l-24,24a8,8,0,0,1-11.32,0ZM240,160v40a16,16,0,0,1-16,16H171.5a16.06,16.06,0,0,1-11.76-5.15L68.5,112H32A16,16,0,0,1,16,96V56A16,16,0,0,1,32,40H84.5a16.06,16.06,0,0,1,11.76,5.15L187.5,144H224A16,16,0,0,1,240,160Zm-16,0H187.5a16.06,16.06,0,0,1-11.76-5.15L84.5,56H32V96H68.5a16.06,16.06,0,0,1,11.76,5.15L171.5,200H224Z"/> }.into_view(),
IconWeight::Thin => view!{ <path d="M173.17,82.83a4,4,0,0,1,5.66-5.66L196,94.34V48a4,4,0,0,1,8,0V94.34l17.17-17.17a4,4,0,1,1,5.66,5.66l-24,24a4,4,0,0,1-5.66,0ZM236,160v40a12,12,0,0,1-12,12H171.5a12.06,12.06,0,0,1-8.82-3.86L71.44,109.29A4,4,0,0,0,68.5,108H32A12,12,0,0,1,20,96V56A12,12,0,0,1,32,44H84.5a12.06,12.06,0,0,1,8.82,3.86l91.24,98.85A4,4,0,0,0,187.5,148H224A12,12,0,0,1,236,160Zm-8,0a4,4,0,0,0-4-4H187.5a12.06,12.06,0,0,1-8.82-3.86L87.44,53.29A4,4,0,0,0,84.5,52H32a4,4,0,0,0-4,4V96a4,4,0,0,0,4,4H68.5a12.06,12.06,0,0,1,8.82,3.86l91.24,98.85A4,4,0,0,0,171.5,204H224a4,4,0,0,0,4-4Z"/> }.into_view(),
IconWeight::Bold => view!{ <path d="M167.51,88.49a12,12,0,0,1,17-17L188,75V48a12,12,0,0,1,24,0V75l3.51-3.52a12,12,0,0,1,17,17l-24,24a12,12,0,0,1-17,0ZM244,160v40a20,20,0,0,1-20,20H171.5a20.08,20.08,0,0,1-14.7-6.44L66.75,116H32A20,20,0,0,1,12,96V56A20,20,0,0,1,32,36H84.5a20.08,20.08,0,0,1,14.7,6.44L189.25,140H224A20,20,0,0,1,244,160Zm-24,4H187.5a20.08,20.08,0,0,1-14.7-6.44L82.75,60H36V92H68.5a20.08,20.08,0,0,1,14.7,6.44L173.25,196H220Z"/> }.into_view(),
IconWeight::Light => view!{ <path d="M171.76,84.24a6,6,0,0,1,8.48-8.48L194,89.51V48a6,6,0,0,1,12,0V89.51l13.76-13.75a6,6,0,0,1,8.48,8.48l-24,24a6,6,0,0,1-8.48,0ZM238,160v40a14,14,0,0,1-14,14H171.5a14,14,0,0,1-10.29-4.51L70,110.64A2,2,0,0,0,68.5,110H32A14,14,0,0,1,18,96V56A14,14,0,0,1,32,42H84.5a14,14,0,0,1,10.29,4.51L186,145.36a2,2,0,0,0,1.47.64H224A14,14,0,0,1,238,160Zm-12,0a2,2,0,0,0-2-2H187.5a14,14,0,0,1-10.29-4.51L86,54.64A2,2,0,0,0,84.5,54H32a2,2,0,0,0-2,2V96a2,2,0,0,0,2,2H68.5a14,14,0,0,1,10.29,4.51L170,201.36a2,2,0,0,0,1.47.64H224a2,2,0,0,0,2-2Z"/> }.into_view(),
IconWeight::Regular => view!{ <path d="M170.34,85.66a8,8,0,0,1,11.32-11.32L192,84.69V48a8,8,0,0,1,16,0V84.69l10.34-10.35a8,8,0,0,1,11.32,11.32l-24,24a8,8,0,0,1-11.32,0ZM240,160v40a16,16,0,0,1-16,16H171.5a16.06,16.06,0,0,1-11.76-5.15L68.5,112H32A16,16,0,0,1,16,96V56A16,16,0,0,1,32,40H84.5a16.06,16.06,0,0,1,11.76,5.15L187.5,144H224A16,16,0,0,1,240,160Zm-16,0H187.5a16.06,16.06,0,0,1-11.76-5.15L84.5,56H32V96H68.5a16.06,16.06,0,0,1,11.76,5.15L171.5,200H224Z"/> }.into_view()
        }
    };

    let transform = move || if mirrored.get() { "scale(-1, 1)" } else { "" };

    view! {
        <svg 
            xmlns="http://www.w3.org/2000/svg" 
            width=size.clone()
            height=size
            fill=color
            transform=transform
            viewBox="0 0 256 256"
        >
            {body}
        </svg>
    }
}