Compare commits
13 Commits
master
...
eef5055bfa
| Author | SHA1 | Date | |
|---|---|---|---|
| eef5055bfa | |||
| c6e6480cd2 | |||
| 1b36efb176 | |||
| e7357bd78a | |||
| 544c9e8237 | |||
| c1a133c61e | |||
| 69f2dee309 | |||
| 06cc41ef8b | |||
| 5afe4f4745 | |||
| d8bef12f30 | |||
| 755f78ef9d | |||
| ecafebae7f | |||
| 1a949051ca |
3
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
# Specific to the EFCore-Blazor sample app
|
||||
*.db
|
||||
*.db3
|
||||
*.db-shm
|
||||
*.db-wal
|
||||
|
||||
@@ -32,6 +33,8 @@ bld/
|
||||
# Visual Studo 2015 cache/options directory
|
||||
.vs/
|
||||
|
||||
.idea
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
[Bb]uild[Ll]og.*
|
||||
|
||||
15
.idea/.idea.SteUp/.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Rider ignored files
|
||||
/modules.xml
|
||||
/projectSettingsUpdater.xml
|
||||
/.idea.SteUp.iml
|
||||
/contentModel.xml
|
||||
# Ignored default folder with query files
|
||||
/queries/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
1
.idea/.idea.SteUp/.idea/.name
generated
Normal file
@@ -0,0 +1 @@
|
||||
SteUp
|
||||
6
.idea/.idea.SteUp/.idea/AndroidProjectSystem.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AndroidProjectSystem">
|
||||
<option name="providerId" value="RiderAndroidProjectSystem" />
|
||||
</component>
|
||||
</project>
|
||||
12
.idea/.idea.SteUp/.idea/dataSources.xml
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||
<data-source source="LOCAL" name="design-time" uuid="3ba1249b-165e-400b-a102-6ea88e0757ff">
|
||||
<driver-ref>sqlite.xerial</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>org.sqlite.JDBC</jdbc-driver>
|
||||
<jdbc-url>jdbc:sqlite:$PROJECT_DIR$/SteUp.Data/design-time.db3</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
||||
10
.idea/.idea.SteUp/.idea/deploymentTargetSelector.xml
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="deploymentTargetSelector">
|
||||
<selectionStates>
|
||||
<SelectionState runConfigName="SteUp.Maui">
|
||||
<option name="selectionMode" value="DROPDOWN" />
|
||||
</SelectionState>
|
||||
</selectionStates>
|
||||
</component>
|
||||
</project>
|
||||
4
.idea/.idea.SteUp/.idea/encodings.xml
generated
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||
</project>
|
||||
8
.idea/.idea.SteUp/.idea/indexLayout.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="UserContentModel">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
</component>
|
||||
</project>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_annotation_annotation.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.annotation.annotation">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.annotation/1.6.0.4/jar/androidx.annotation.annotation.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_annotation_annotation_jvm.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.annotation.annotation-jvm">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.annotation.jvm/1.6.0.2/jar/androidx.annotation.annotation-jvm.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_arch_core_core_common.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.arch.core.core-common">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.arch.core.common/2.2.0.3/jar/androidx.arch.core.core-common.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_collection_collection.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.collection.collection">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.collection/1.2.0.9/jar/androidx.collection.collection.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_collection_collection_jvm.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.collection.collection-jvm">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.collection.jvm/1.5.0.1/jar/androidx.collection.collection-jvm.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_collection_collection_ktx.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.collection.collection-ktx">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.collection.ktx/1.2.0.9/jar/androidx.collection.collection-ktx.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_concurrent_concurrent_futures.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.concurrent.concurrent-futures">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.concurrent.futures/1.1.0.14/jar/androidx.concurrent.concurrent-futures.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_constraintlayout_constraintlayout_core.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.constraintlayout.constraintlayout-core">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.constraintlayout.core/1.0.4.6/jar/androidx.constraintlayout.constraintlayout-core.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_lifecycle_lifecycle_common.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.lifecycle.lifecycle-common">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.lifecycle.common/2.6.1.3/jar/androidx.lifecycle.lifecycle-common.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_lifecycle_lifecycle_common_java8.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.lifecycle.lifecycle-common-java8">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.lifecycle.common.java8/2.8.7.2/jar/androidx.lifecycle.lifecycle-common-java8.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_lifecycle_lifecycle_common_jvm.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.lifecycle.lifecycle-common-jvm">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.lifecycle.common.jvm/2.8.7.3/jar/androidx.lifecycle.lifecycle-common-jvm.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/androidx_resourceinspection_resourceinspection_annotation.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="androidx.resourceinspection.resourceinspection-annotation">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.androidx.resourceinspection.annotation/1.0.1.7/jar/androidx.resourceinspection.resourceinspection-annotation.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/annotations.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="annotations">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.android.glide.annotations/4.15.1.2/jar/annotations.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/disklrucache.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="disklrucache">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.android.glide.disklrucache/4.15.1.2/jar/disklrucache.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/guava_listenablefuture.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="guava-listenablefuture">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.google.guava.listenablefuture/1.0.0.14/jar/guava-listenablefuture.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/org_jetbrains_annotations_24_0_1.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="org.jetbrains.annotations-24.0.1">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.jetbrains.annotations/24.0.1.3/jar/org.jetbrains.annotations-24.0.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/org_jetbrains_kotlin_kotlin_stdlib_1_9_0.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="org.jetbrains.kotlin.kotlin-stdlib-1.9.0">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.kotlin.stdlib/1.9.0.1/jar/org.jetbrains.kotlin.kotlin-stdlib-1.9.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/org_jetbrains_kotlin_kotlin_stdlib_common_1_9_0.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="org.jetbrains.kotlin.kotlin-stdlib-common-1.9.0">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.kotlin.stdlib.common/1.9.0.1/jar/org.jetbrains.kotlin.kotlin-stdlib-common-1.9.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/org_jetbrains_kotlin_kotlin_stdlib_jdk7_1_9_0.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="org.jetbrains.kotlin.kotlin-stdlib-jdk7-1.9.0">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.kotlin.stdlib.jdk7/1.9.0.1/jar/org.jetbrains.kotlin.kotlin-stdlib-jdk7-1.9.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/org_jetbrains_kotlin_kotlin_stdlib_jdk7_2_0_0.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="org.jetbrains.kotlin.kotlin-stdlib-jdk7-2.0.0">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.kotlin.stdlib.jdk7/2.0.0/jar/org.jetbrains.kotlin.kotlin-stdlib-jdk7-2.0.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/org_jetbrains_kotlin_kotlin_stdlib_jdk8_1_9_0.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="org.jetbrains.kotlin.kotlin-stdlib-jdk8-1.9.0">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.kotlin.stdlib.jdk8/1.9.0.1/jar/org.jetbrains.kotlin.kotlin-stdlib-jdk8-1.9.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/org_jetbrains_kotlin_kotlin_stdlib_jdk8_2_0_0.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="org.jetbrains.kotlin.kotlin-stdlib-jdk8-2.0.0">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.kotlin.stdlib.jdk8/2.0.0/jar/org.jetbrains.kotlin.kotlin-stdlib-jdk8-2.0.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/org_jetbrains_kotlinx_kotlinx_coroutines_android_1_7_2.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="org.jetbrains.kotlinx.kotlinx-coroutines-android-1.7.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.kotlinx.coroutines.android/1.7.2.1/jar/org.jetbrains.kotlinx.kotlinx-coroutines-android-1.7.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
9
.idea/.idea.SteUp/.idea/libraries/org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm_1_7_2.xml
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
<component name="libraryTable">
|
||||
<library name="org.jetbrains.kotlinx.kotlinx-coroutines-core-jvm-1.7.2">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.nuget/packages/xamarin.kotlinx.coroutines.core.jvm/1.7.2.1/jar/org.jetbrains.kotlinx.kotlinx-coroutines-core-jvm-1.7.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
7
.idea/.idea.SteUp/.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
|
Before Width: | Height: | Size: 205 KiB |
|
Before Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 154 KiB |
|
Before Width: | Height: | Size: 121 KiB |
@@ -1,275 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 28.4.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 522.92 500" style="enable-background:new 0 0 522.92 500;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{clip-path:url(#SVGID_00000023275264634511008070000003220646107616116611_);fill:#F4D160;}
|
||||
.st1{fill:none;stroke:#FFFFFF;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
|
||||
.st2{fill:#F4D160;}
|
||||
.st3{fill:#808183;}
|
||||
.st4{fill:#A6A8AA;}
|
||||
.st5{fill:#929496;}
|
||||
.st6{fill:#4E67AD;}
|
||||
.st7{fill:#E6E6E7;}
|
||||
.st8{fill:#FFFFFF;}
|
||||
.st9{fill:#FFFFFF;stroke:#F4D160;stroke-width:2.1553;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
|
||||
.st10{opacity:0.5;fill:#F4D160;}
|
||||
.st11{fill:#FFFFFF;stroke:#F4D160;stroke-width:1.0776;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
|
||||
.st12{opacity:0.5;}
|
||||
.st13{fill:#A53A0A;}
|
||||
.st14{fill:#D5652C;}
|
||||
.st15{fill:#BBBCBF;}
|
||||
.st16{font-family:'Rubik-Bold';}
|
||||
.st17{font-size:20.8057px;}
|
||||
.st18{fill:#BC3C15;}
|
||||
.st19{fill:#6D6E70;}
|
||||
.st20{fill:#D35B30;}
|
||||
.st21{fill:#C1451F;}
|
||||
.st22{fill:#434244;}
|
||||
.st23{fill:#F1F1F2;}
|
||||
.st24{fill:#D0D1D3;}
|
||||
.st25{fill:#512D0D;}
|
||||
.st26{fill:#603B16;}
|
||||
.st27{opacity:0.35;fill:#603B16;}
|
||||
.st28{fill:#845225;}
|
||||
</style>
|
||||
<g id="Background">
|
||||
<g>
|
||||
<defs>
|
||||
<path id="SVGID_1_" d="M476.16,235.41c26.1,59.8,17.3,111.85-8.43,147.15c-24.28,33.31-51.72,54.89-106.19,60.71
|
||||
c-55.72,5.95-72.73-19.05-126.95-28.04c-43.3-7.18-78.36,0.75-113.12,20.74c-36.79,21.16-78.39,42.22-97.98,0.42
|
||||
c-36.89-78.73-19.46-172.14-7.55-211.57c15.21-50.36,42.12-81.55,88.98-113.83c41.3-28.45,60.32-34.92,106.35-51.85
|
||||
c16.75-6.16,115.93-27.4,145.63,3.7c36.91,38.65-11.01,52.09,23.15,88.36C416.78,190.2,452.49,181.17,476.16,235.41z"/>
|
||||
</defs>
|
||||
<clipPath id="SVGID_00000088812324151204080360000018176712255185552313_">
|
||||
<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
|
||||
</clipPath>
|
||||
|
||||
<rect style="clip-path:url(#SVGID_00000088812324151204080360000018176712255185552313_);fill:#F4D160;" width="522.92" height="500"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="Design">
|
||||
<g>
|
||||
<g>
|
||||
<path class="st1" d="M152.26,394.1L49.09,413.5c-3.26,0.61-6.39-1.53-7-4.79l-19.4-103.16c-0.61-3.26,1.53-6.39,4.79-7
|
||||
l103.16-19.4c3.26-0.61,6.39,1.53,7,4.79l19.4,103.16C157.66,390.35,155.51,393.49,152.26,394.1z"/>
|
||||
<g>
|
||||
<line class="st1" x1="28.77" y1="309.89" x2="77.83" y2="300.66"/>
|
||||
<line class="st1" x1="31.16" y1="322.57" x2="80.22" y2="313.35"/>
|
||||
<line class="st1" x1="33.54" y1="335.25" x2="82.6" y2="326.03"/>
|
||||
<line class="st1" x1="35.93" y1="347.94" x2="84.99" y2="338.71"/>
|
||||
<line class="st1" x1="38.31" y1="360.62" x2="87.37" y2="351.4"/>
|
||||
<line class="st1" x1="40.69" y1="373.31" x2="89.76" y2="364.08"/>
|
||||
<line class="st1" x1="43.08" y1="385.99" x2="92.14" y2="376.76"/>
|
||||
<line class="st1" x1="45.46" y1="398.67" x2="94.53" y2="389.45"/>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path class="st1" d="M383.31,329.59l-86.11-60.04c-2.72-1.89-3.38-5.63-1.49-8.35l60.04-86.11c1.89-2.72,5.63-3.38,8.35-1.49
|
||||
l86.11,60.04c2.72,1.89,3.38,5.63,1.49,8.35l-60.04,86.11C389.77,330.82,386.03,331.49,383.31,329.59z"/>
|
||||
<g>
|
||||
<line class="st1" x1="356.91" y1="182.47" x2="397.86" y2="211.03"/>
|
||||
<line class="st1" x1="349.53" y1="193.06" x2="390.48" y2="221.61"/>
|
||||
<line class="st1" x1="342.15" y1="203.65" x2="383.1" y2="232.2"/>
|
||||
<line class="st1" x1="334.77" y1="214.23" x2="375.72" y2="242.79"/>
|
||||
<line class="st1" x1="327.39" y1="224.82" x2="368.34" y2="253.37"/>
|
||||
<line class="st1" x1="320" y1="235.41" x2="360.96" y2="263.96"/>
|
||||
<line class="st1" x1="312.62" y1="245.99" x2="353.57" y2="274.55"/>
|
||||
<line class="st1" x1="305.24" y1="256.58" x2="346.19" y2="285.13"/>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
<ellipse transform="matrix(0.1586 -0.9874 0.9874 0.1586 -5.1546 348.5406)" class="st1" cx="201.91" cy="177.29" rx="64.97" ry="64.97"/>
|
||||
<g>
|
||||
<path class="st2" d="M88.19,188.86c0.82-2.05,0.53-3.62-4.15-5.64c-3.81-1.64-5.97-1.19-6.98,0.94c-0.82,0.03-1.6,0.51-1.95,1.32
|
||||
c-0.3,0.69-0.21,1.45,0.16,2.04c-0.25,0.58-0.54,1.25-0.85,1.98c-1.97-0.38-4.57-0.43-5.45,1.6
|
||||
c-0.95,2.21-16.29,41.51-14.42,42.31c0,0,15.54-37.63,16.49-38.2c0.25-0.15,0.47,0.14,0.65,0.64
|
||||
c-4.29,9.98-10.97,25.56-18.07,42.23c-0.76,0.08-1.45,0.55-1.78,1.3c-0.33,0.76-0.19,1.6,0.29,2.21
|
||||
c-13.97,32.86-28.98,68.71-30.24,73.89c-1.72,7.08-0.81,9.63-0.16,10.52l-0.69,1.59c-0.13,0.31,0.01,0.67,0.32,0.8
|
||||
c0.31,0.13,0.67-0.01,0.8-0.32l0.69-1.59c1.09-0.13,3.58-1.23,7.55-7.33c2.9-4.46,18.66-39.89,32.99-72.56
|
||||
c0.88,0.03,1.73-0.46,2.1-1.32c0.37-0.85,0.15-1.8-0.46-2.42c9.78-22.32,18.61-42.73,21.84-50.18c0.8-0.04,1.56-0.52,1.9-1.31
|
||||
C89.15,190.48,88.89,189.47,88.19,188.86z"/>
|
||||
<g>
|
||||
<path class="st3" d="M70.11,184.49c0,0-6.49-2.1-7.77,1.38c-0.83,2.26-13.89,42.37-11.98,43.07c0,0,13.36-38.46,14.28-39.08
|
||||
c0.92-0.62,1.64,4.98,1.64,4.98L70.11,184.49z"/>
|
||||
<path d="M22.66,325.66L22.66,325.66c-0.32-0.12-0.48-0.47-0.36-0.78l1.26-3.44c0.12-0.32,0.47-0.48,0.78-0.36l0,0
|
||||
c0.32,0.12,0.48,0.47,0.36,0.78l-1.26,3.44C23.33,325.61,22.98,325.78,22.66,325.66z"/>
|
||||
<path class="st4" d="M81.32,182.77c0.81-2.21,0.58-3.81-4.38-5.62c-3.98-1.46-6.13-0.83-6.98,1.47
|
||||
c-0.07,0.18-0.31,0.24-0.46,0.4c0,0-45.22,123.74-47.05,133.72c-1.83,9.98,0.94,10.92,0.94,10.92s2.73,1.07,7.76-7.74
|
||||
c5.04-8.81,50.26-132.55,50.26-132.55C81.4,183.16,81.25,182.95,81.32,182.77z"/>
|
||||
<line class="st1" x1="63.29" y1="203.47" x2="56.77" y2="221.67"/>
|
||||
<line class="st1" x1="69.23" y1="186.88" x2="67.04" y2="192.98"/>
|
||||
<path class="st5" d="M81.32,182.77c0.81-2.21,0.58-3.81-4.38-5.62c-2.74-1-4.6-1-5.78-0.16c0.17,0.06,0.32,0.09,0.5,0.16
|
||||
c4.96,1.81,5.19,3.41,4.38,5.62c-0.07,0.18,0.08,0.39,0.1,0.6c0,0-45.22,123.74-50.26,132.55c-1.46,2.56-2.73,4.28-3.79,5.44
|
||||
c0.44,2,1.31,2.3,1.31,2.3s2.73,1.07,7.76-7.74c5.04-8.81,50.26-132.55,50.26-132.55C81.4,183.16,81.25,182.95,81.32,182.77z"/>
|
||||
<path class="st3" d="M59.14,241.47l-9.83-3.59c-1.14-0.42-1.72-1.68-1.31-2.82l0,0c0.42-1.14,1.68-1.73,2.82-1.31l9.83,3.59
|
||||
c1.14,0.42,1.72,1.68,1.31,2.82v0C61.54,241.3,60.28,241.89,59.14,241.47z"/>
|
||||
<path class="st3" d="M79.3,186.32l-9.83-3.59c-1.14-0.42-1.72-1.68-1.31-2.82l0,0c0.42-1.14,1.68-1.72,2.82-1.31l9.83,3.59
|
||||
c1.14,0.42,1.72,1.68,1.31,2.82l0,0C81.7,186.15,80.44,186.74,79.3,186.32z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path class="st2" d="M92.64,244.48l-1.36,3.21c-0.89,2.11-0.82,4.52,0.2,6.56c8.1,16.25,44.33,90.68,55.15,143.31
|
||||
c1.02,4.95,6.37,7.54,10.76,5.23c16.78-8.83,56.12-26.58,108.76-31.33c1.32-0.12,2.59-0.58,3.67-1.37
|
||||
c9.76-7.06,61.57-43.35,105-50.83c4.51-0.78,7.33-5.45,5.94-9.92l-43.3-140.23c-1.26-4.07-5.5-6.31-9.46-5.01l-230.78,76.1
|
||||
C95.17,240.89,93.5,242.45,92.64,244.48z"/>
|
||||
<path class="st6" d="M75.39,225.85l-1.48,3.4c-0.97,2.24-0.89,4.79,0.22,6.97c8.82,17.24,48.25,96.21,60.03,152.07
|
||||
c1.11,5.25,6.93,8,11.71,5.55c18.27-9.37,61.08-28.21,118.37-33.24c1.44-0.13,2.82-0.62,4-1.45c10.62-7.49,67.01-46,114.28-53.93
|
||||
c4.91-0.82,7.97-5.78,6.47-10.53l-47.13-148.8c-1.37-4.32-5.98-6.7-10.29-5.31L80.38,221.32
|
||||
C78.14,222.04,76.32,223.69,75.39,225.85z"/>
|
||||
<path class="st7" d="M329.52,104.75c17.25,43.58,33.21,92.68,45.62,147.04c3.09,13.54,5.83,26.83,8.25,39.86
|
||||
c0.78,4.18-1.95,8.2-6.13,9.02c-2.55,0.5-5.14,1.05-7.76,1.65c-19.93,4.57-37.22,11.17-51.75,18.14
|
||||
C321.67,248.55,325.6,176.65,329.52,104.75z"/>
|
||||
<path class="st7" d="M71.42,223.64c-1.26-2.23-1.32-4.96-0.09-7.21c0.65-1.19,1.39-2.41,2.25-3.64
|
||||
c5.48-7.9,12.57-12.05,16.89-14.09c17.33,61.42,46.66,121.31,63.99,182.73l-10.29,2.13c-3.8,0.78-7.57-1.47-8.66-5.2
|
||||
c-13.83-47.62-31.61-95.37-58.41-144.52C75.22,230.41,73.33,227.01,71.42,223.64z"/>
|
||||
<path class="st8" d="M78.38,210.76l59.71,163.88c2.33,6.39,9.5,9.6,15.79,7.03c13.84-5.65,29.96-11.2,48.18-15.72
|
||||
c22.68-5.62,43.26-8.3,60.61-9.47c2.46-0.17,4.8-1.08,6.72-2.64c16.96-13.74,38.62-28.91,65.23-42.67
|
||||
c15.79-8.16,30.87-14.56,44.71-19.6c6.13-2.23,9.38-8.91,7.32-15.1c-19.4-58.3-38.8-116.6-58.2-174.89
|
||||
c-2.12-6.37-9.05-9.78-15.38-7.55c-13.86,4.87-29.35,11.37-45.65,20.13c-24.75,13.31-44.37,28.05-59.17,40.98
|
||||
c-1.98,1.73-4.47,2.77-7.1,2.94c-17.32,1.1-40.3,4.37-65.95,13.28c-21.29,7.39-38.66,16.67-51.97,25.13
|
||||
C78.47,199.52,76.45,205.45,78.38,210.76z"/>
|
||||
<path class="st9" d="M294.94,297.63c0,0,22.11-19.4,45.78-21.73"/>
|
||||
<path class="st9" d="M305.93,295.95c0,0,14.74-9.31,24.05-11.9"/>
|
||||
<path class="st9" d="M248.58,154.13c0,0,22.11-19.4,45.78-21.73"/>
|
||||
<path class="st9" d="M259.57,152.45c0,0,14.74-9.31,24.05-11.9"/>
|
||||
<path class="st10" d="M148.69,229.01l-19.37,8.66c-3.26,1.46-7.08,0-8.53-3.26l-9.51-21.26c-1.46-3.26,0-7.08,3.26-8.53
|
||||
l19.37-8.66c3.26-1.46,7.08,0,8.53,3.26l9.51,21.26C153.4,223.73,151.94,227.55,148.69,229.01z"/>
|
||||
<circle class="st10" cx="176.22" cy="202.45" r="8.73"/>
|
||||
<path class="st10" d="M171.12,326.85c-0.82,4.75-5.34,7.94-10.09,7.11c-4.75-0.82-7.94-5.34-7.11-10.09
|
||||
c0.82-4.75,5.34-7.94,10.09-7.11C168.75,317.59,171.94,322.1,171.12,326.85z"/>
|
||||
<path class="st10" d="M178.04,332.28c-0.82,4.75-5.34,7.94-10.09,7.11c-4.75-0.82-7.94-5.34-7.11-10.09
|
||||
c0.82-4.75,5.34-7.94,10.09-7.11C175.67,323.02,178.86,327.53,178.04,332.28z"/>
|
||||
|
||||
<ellipse transform="matrix(0.7071 -0.7071 0.7071 0.7071 -81.6645 186.4035)" class="st10" cx="184.18" cy="191.78" rx="12.22" ry="12.22"/>
|
||||
<path class="st9" d="M204.15,299.31c0,0,17.3-9.31,34.32-7.24"/>
|
||||
<path class="st9" d="M206.12,308.15c0,0,17.3-9.31,34.32-7.24"/>
|
||||
<path class="st9" d="M208.09,316.99c0,0,17.3-9.31,34.32-7.24"/>
|
||||
<path class="st11" d="M205.18,157.86c0,0,50.65,107.44,61.28,198.39"/>
|
||||
<g>
|
||||
<path class="st9" d="M141.37,251.05c0,0,28.66-19.61,59.37-20.71"/>
|
||||
<path class="st9" d="M144.22,260.55c0,0,28.66-19.61,59.37-20.71"/>
|
||||
<path class="st9" d="M147.06,270.06c0,0,28.66-19.61,59.37-20.71"/>
|
||||
<path class="st9" d="M149.9,279.56c0,0,28.66-19.61,59.37-20.71"/>
|
||||
<path class="st9" d="M152.74,289.06c0,0,28.66-19.61,59.37-20.71"/>
|
||||
<path class="st9" d="M155.59,298.57c0,0,28.66-19.61,59.37-20.71"/>
|
||||
</g>
|
||||
<g class="st12">
|
||||
<g>
|
||||
<path class="st2" d="M335.06,177.05l4.9,18.39c0.7,2.64-1.06,4.62-3.95,4.41l-35.97-2.57l-44.37-3.16l36.86-24.78l36.03,2.56
|
||||
c1.95,0.14,3.9,1.23,5.18,2.74C334.37,175.37,334.84,176.2,335.06,177.05z"/>
|
||||
<path class="st2" d="M339.08,211.36l-29.94-2.14l-36.87,24.8l74.26,5.3c2.89,0.21,4.65-1.77,3.95-4.41l-4.9-18.38
|
||||
C344.88,213.87,341.97,211.56,339.08,211.36z"/>
|
||||
<path class="st2" d="M339.42,212.61l-86.04,57.8l21.8,2.32l-3.62,18.48l75.31-50.65c2.4-1.61,3.78-5.07,3.07-7.71l-4.9-18.38
|
||||
C344.34,211.83,341.82,210.99,339.42,212.61z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<g>
|
||||
<path class="st13" d="M334.26,173.47l4.9,18.39c0.7,2.64-1.06,4.62-3.95,4.41l-35.97-2.57l-44.37-3.16l36.86-24.78l36.03,2.56
|
||||
c1.95,0.14,3.9,1.23,5.18,2.74C333.56,171.79,334.03,172.62,334.26,173.47z"/>
|
||||
<path class="st10" d="M251.14,214.59l86.04-57.8l-21.8-2.32l3.62-18.48l-75.31,50.65c-2.4,1.61-3.78,5.07-3.07,7.71l4.9,18.38
|
||||
C246.22,215.37,248.74,216.2,251.14,214.59z"/>
|
||||
<path class="st13" d="M338.28,207.78l-29.94-2.14l-36.87,24.8l70.8,4.47c2.89,0.21,7.57-2.99,6.86-5.63l-4.35-16.34
|
||||
C344.07,210.29,341.16,207.98,338.28,207.78z"/>
|
||||
<path class="st10" d="M261.61,253.89l75.31-50.65c2.4-1.61,3.78-5.07,3.07-7.71l-4.9-18.38c-0.7-2.64-3.22-3.48-5.62-1.86
|
||||
l-75.31,50.65c-2.4,1.61-3.78,5.07-3.07,7.71l4.9,18.38C256.69,254.67,259.21,255.5,261.61,253.89z"/>
|
||||
<path class="st14" d="M338.61,209.03l-86.04,57.8l21.8,2.32l-3.62,18.48l75.31-50.65c2.4-1.61,3.78-5.07,3.07-7.71l-4.9-18.38
|
||||
C343.53,208.25,341.01,207.41,338.61,209.03z"/>
|
||||
<path class="st14" d="M250.33,211.01l86.04-57.8l-21.8-2.32l3.62-18.48l-75.31,50.65c-2.4,1.61-3.78,5.07-3.07,7.71l4.9,18.38
|
||||
C245.41,211.79,247.93,212.62,250.33,211.01z"/>
|
||||
<path class="st14" d="M260.8,250.31l75.31-50.65c2.4-1.61,3.78-5.07,3.07-7.71l-4.9-18.38c-0.7-2.64-3.22-3.48-5.62-1.86
|
||||
l-75.31,50.65c-2.4,1.61-3.78,5.07-3.07,7.71l4.9,18.38C255.88,251.09,258.4,251.92,260.8,250.31z"/>
|
||||
</g>
|
||||
<g>
|
||||
<g>
|
||||
<text transform="matrix(0.8508 -0.5255 0.5255 0.8508 268.682 189.8981)" class="st15 st16 st17">LOG</text>
|
||||
<text transform="matrix(0.8508 -0.5255 0.5255 0.8508 269.7597 188.8204)" class="st15 st16 st17">LOG</text>
|
||||
</g>
|
||||
<text transform="matrix(0.8508 -0.5255 0.5255 0.8508 269.7597 188.8204)" class="st8 st16 st17">LOG</text>
|
||||
</g>
|
||||
<g>
|
||||
<g>
|
||||
<text transform="matrix(0.8302 -0.5575 0.5575 0.8302 279.1401 231.4013)" class="st15 st16 st17">BOOK</text>
|
||||
<text transform="matrix(0.8302 -0.5575 0.5575 0.8302 280.2178 230.3236)" class="st15 st16 st17">BOOK</text>
|
||||
</g>
|
||||
<text transform="matrix(0.8302 -0.5575 0.5575 0.8302 280.2178 230.3236)" class="st8 st16 st17">BOOK</text>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<path class="st2" d="M341.09,406.33l-1.31-0.83c0.03-1.01-0.59-3.42-5.43-7.83c-1.09-1-4.65-3.51-9.81-7
|
||||
c-0.52-0.88-1.26-1.69-2.19-2.33l-28.36-18.92c-1.31-0.9-2.68-1.36-3.93-1.39c-5.01-3.24-10.12-6.54-15.15-9.78
|
||||
c0.04-0.71-0.28-1.42-0.91-1.81c-0.62-0.39-1.36-0.37-1.96-0.03c-13.61-8.75-26.37-16.9-34.55-22.11
|
||||
c-0.12-0.47-0.11-0.81,0.15-0.83c0.99-0.08,31.37,19.92,31.37,19.92c0.96-1.6-30.12-22.97-31.93-24.12
|
||||
c-1.66-1.06-3.54,0.38-4.79,1.72c-0.61-0.39-1.15-0.73-1.63-1.04c-0.03-0.65-0.35-1.26-0.91-1.62c-0.66-0.42-1.47-0.37-2.08,0.05
|
||||
c-1.25-0.74-2.5-0.58-3.79,0.67l-3.16-2.01c-1.02-0.65-2.37-0.31-3.01,0.77l-0.75,1.27c-0.64,1.07-0.33,2.47,0.69,3.12l3.1,1.97
|
||||
c-0.67,1.99-0.04,2.92,1.15,3.72c-0.2,0.83,0.11,1.73,0.85,2.2c0.65,0.41,1.44,0.37,2.05-0.03c6.12,3.88,22.89,14.51,41.32,26.07
|
||||
c-0.14,0.79,0.19,1.62,0.88,2.07c0.7,0.45,1.57,0.36,2.2-0.13c5.1,3.2,10.28,6.44,15.37,9.61c0.59,1.22,1.6,2.34,2.94,3.12
|
||||
c0,0,0,0,0,0c0,0,0.01,0,0.01,0.01c0,0,0.15,0.08,0.39,0.23l28.85,16.74c0.52,0.3,1.07,0.51,1.61,0.67
|
||||
c5.95,3.56,10.16,5.97,11.61,6.57c5.99,2.47,8.36,1.96,9.22,1.47l1.31,0.83c0.25,0.16,0.59,0.08,0.75-0.19
|
||||
C341.42,406.84,341.34,406.49,341.09,406.33z"/>
|
||||
<g>
|
||||
<g>
|
||||
<path class="st18" d="M234.59,327.36c0,0,3.67-5.08,6.37-3.16c1.75,1.24,31.67,24.2,30.64,25.75c0,0-29.3-21.55-30.29-21.52
|
||||
c-0.99,0.03,1.33,4.61,1.33,4.61L234.59,327.36z"/>
|
||||
<path d="M340.98,407.33L340.98,407.33c0.17-0.26,0.11-0.61-0.13-0.78l-2.66-1.89c-0.25-0.17-0.58-0.11-0.76,0.15l0,0
|
||||
c-0.17,0.26-0.11,0.61,0.13,0.78l2.66,1.89C340.47,407.65,340.81,407.59,340.98,407.33z"/>
|
||||
<path class="st19" d="M230.01,327.63l-0.82,1.23c-0.69,1.04-2.06,1.31-3.04,0.61l-4.74-3.37c-0.99-0.7-1.23-2.11-0.53-3.15
|
||||
l0.82-1.23c0.69-1.04,2.06-1.31,3.04-0.61l4.74,3.37C230.46,325.19,230.7,326.59,230.01,327.63z"/>
|
||||
<path class="st20" d="M225.53,332.13c-1.71-1.22-2.36-2.54,0.34-6.58c2.17-3.24,4.06-3.94,5.84-2.67
|
||||
c0.14,0.1,0.35,0.01,0.54,0.05c0,0,95.91,68.13,102.31,74.61c6.41,6.48,4.86,8.68,4.86,8.68s-1.45,2.27-9.6-1.59
|
||||
c-8.16-3.87-104.06-72-104.06-72C225.67,332.47,225.67,332.23,225.53,332.13z"/>
|
||||
<path class="st21" d="M332.26,402.21c-8.16-3.87-104.06-72-104.06-72c-0.1-0.17-0.1-0.4-0.24-0.5
|
||||
c-1.71-1.22-2.36-2.54,0.34-6.58c0.1-0.15,0.2-0.29,0.3-0.43c-0.86,0.49-1.77,1.42-2.73,2.86c-2.7,4.04-2.06,5.36-0.34,6.58
|
||||
c0.14,0.1,0.14,0.33,0.24,0.5c0,0,95.91,68.13,104.06,72c8.16,3.87,9.6,1.59,9.6,1.59s0.35-0.52,0.01-1.78
|
||||
C338,404.39,335.74,403.86,332.26,402.21z"/>
|
||||
<line class="st1" x1="255.28" y1="342.84" x2="260.61" y2="346.76"/>
|
||||
<line class="st1" x1="237.93" y1="330.07" x2="251.85" y2="340.32"/>
|
||||
<path class="st18" d="M271.56,364.06l5.36-8.01c0.62-0.93,0.41-2.19-0.48-2.81l0,0c-0.88-0.63-2.1-0.38-2.72,0.54l-5.36,8.01
|
||||
c-0.62,0.93-0.41,2.19,0.48,2.81l0,0C269.72,365.23,270.94,364.99,271.56,364.06z"/>
|
||||
<path class="st18" d="M228.81,333.7l5.36-8.01c0.62-0.93,0.41-2.19-0.48-2.81l0,0c-0.88-0.63-2.1-0.38-2.72,0.54l-5.36,8.01
|
||||
c-0.62,0.93-0.41,2.19,0.48,2.81l0,0C226.97,334.87,228.19,334.63,228.81,333.7z"/>
|
||||
</g>
|
||||
<path class="st22" d="M324.67,395.96l0.46-0.69c1.51-2.25,0.6-5.63-2.06-7.67l-27.35-20.37c-2.83-2.17-6.08-2.23-7.69,0.17
|
||||
l-1.9,2.84c-1.61,2.41-0.45,6.06,2.54,8.01L317,396.72C319.79,398.54,323.17,398.21,324.67,395.96z"/>
|
||||
<path class="st19" d="M288.29,376.25l5.38-8.46c0.46-0.73,1.45-0.92,2.15-0.41c4.82,3.54,21.64,16.04,26.14,19.38
|
||||
c0.63,0.47,0.79,1.34,0.37,2l-4.31,6.78c-0.45,0.7-1.38,0.91-2.08,0.45c-5.53-3.6-27.25-17.75-27.25-17.75
|
||||
c0,0-0.01-0.01-0.01-0.01C288.01,377.82,287.87,376.92,288.29,376.25z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
<circle class="st2" cx="436.14" cy="340.38" r="66.73"/>
|
||||
<circle class="st8" cx="444.06" cy="327.42" r="66.73"/>
|
||||
<path class="st7" d="M450.9,390.55c-36.85,0-66.73-29.88-66.73-66.73c0-24.21,12.9-45.41,32.2-57.11
|
||||
c-23.03,10.52-39.04,33.74-39.04,60.71c0,36.85,29.88,66.73,66.73,66.73c12.64,0,24.46-3.52,34.53-9.62
|
||||
C470.15,388.38,460.78,390.55,450.9,390.55z"/>
|
||||
<circle class="st23" cx="444.06" cy="327.42" r="51.99"/>
|
||||
<path class="st7" d="M509.05,332.78h-38.18c-2.96,0-5.37-2.4-5.37-5.37l0,0c0-2.96,2.4-5.37,5.37-5.37h38.18
|
||||
c2.96,0,5.37,2.4,5.37,5.37l0,0C514.42,330.38,512.01,332.78,509.05,332.78z"/>
|
||||
<path class="st24" d="M512.85,331.21c-8.35-0.23-15.07-2.79-20.08-5.72c-3.95-2.31-8.49-3.43-13.07-3.43h-8.6
|
||||
c-2.8,0-5.31,2.05-5.57,4.84c-0.31,3.2,2.2,5.89,5.34,5.89h38.18C510.54,332.78,511.88,332.18,512.85,331.21z"/>
|
||||
<circle class="st7" cx="444.06" cy="327.42" r="43.47"/>
|
||||
<circle class="st25" cx="444.06" cy="327.42" r="37.98"/>
|
||||
<circle class="st26" cx="444.06" cy="327.42" r="32.1"/>
|
||||
<circle class="st27" cx="444.06" cy="327.42" r="30.06"/>
|
||||
<g>
|
||||
<path class="st28" d="M428.11,303.6c-5.07,2.75-10.72,8.73-11.95,21.24c-1.42,14.45,8.1,20.34,10.08,18.36
|
||||
c1.98-1.98-6.6-12.75,1.08-26.16c5.76-10.05,13.45-7.29,12.84-12.84C439.62,299.31,430.61,302.24,428.11,303.6z"/>
|
||||
<path class="st28" d="M428.73,348.45c0.22,0.22,11.52,8.19,12.87,4.59S425.76,345.48,428.73,348.45z"/>
|
||||
<path class="st28" d="M460.77,314.07c-4.26-4.26-12.69-7.11-23.22-0.54c-11.78,7.35-10.42,31.45,6.03,32.22
|
||||
c10.1,0.47,12.43-10.27,3.73-6.45c-1.57,0.69-5.34,2.02-7.12,0.24c-5.47-5.47,0.06-11.5,6.54-12.12
|
||||
c4.29-0.41,10.81,3.17,13.23,1.18C464.4,324.96,463.71,317.01,460.77,314.07z"/>
|
||||
<path class="st28" d="M470.4,320.82c1.23,1.23,2.25,5.67,0,14.85c-2.88,11.73-13.5,15.48-12.87,12.24s5.6-1.56,9.9-15.75
|
||||
C469.23,326.22,469.18,319.61,470.4,320.82z"/>
|
||||
<path class="st28" d="M452.88,301.98c-0.26-0.14-6.89-1.02-6.42,1.02c0.48,2.04,13.08,5.04,12.42,2.58
|
||||
C458.22,303.12,454.42,302.82,452.88,301.98z"/>
|
||||
<path class="st28" d="M463.13,308.46c-0.22-0.11-2.48-1.11-0.59,0.78c1.89,1.89,5.58,5.4,5.16,3.42
|
||||
C467.28,310.68,464.53,309.14,463.13,308.46z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
@@ -1,221 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 28.4.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 401 267" style="enable-background:new 0 0 401 267;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#E6E3FD;}
|
||||
.st1{fill:#C1BBF2;}
|
||||
.st2{fill:#F9B1D9;}
|
||||
.st3{fill:#59CF90;}
|
||||
.st4{fill:#42976B;}
|
||||
.st5{fill:#FDCB9A;}
|
||||
.st6{fill:#4F4E4D;}
|
||||
.st7{fill:#D67CC0;}
|
||||
.st8{fill:#E2F4EB;}
|
||||
.st9{fill:#E5B88D;}
|
||||
.st10{fill:#333233;}
|
||||
.st11{fill:#43966C;}
|
||||
.st12{fill:#BE70AC;}
|
||||
</style>
|
||||
<g>
|
||||
<path class="st0" d="M75.45,258.94c0.61-1.21-58.33-84.42-62.09-91.41c4.02-6.74,5.65-8.75,8.58-12.54
|
||||
c10.91-14.09,26.76-21.15,44.1-24.71c7.94-1.63,16.13-0.94,24.22-0.96c1.25,0,2.13,0.62,2.9,1.47
|
||||
c10.29,11.4,23.97,16.05,38.43,18.71c10.85,2,21.82,3.03,32.92,3.23c14.84,0.27,29.44-0.59,43.61-5.3c3.38-1.12,6.95-1.84,9.98-3.9
|
||||
c1.09,1.08,1.77,2.23,0.68,3.71c-6.9,3.04-14.48,3.4-21.63,5.45c-8.7,0.65-16.61,2.62-20.2,11.92c-0.1,0.23-0.14,0.47-0.11,0.72
|
||||
c0,0,0,0,0,0c-2.82,3.66-2.06,7.87-0.78,11.54c2.59,7.44,8.93,12.44,13.44,18.65c2.37,3.26,5.53,5.97,7.72,9.44
|
||||
c2.02,14.08,4.03,28.15,6.05,42.23c-1.47,0.96-3.2,1.03-4.82,1.5c-3.16,0.91-6.36,1.96-7.39,5.71c-0.8,1.46-0.92,3.03-0.73,4.65
|
||||
C183.23,258.99,86.08,258.88,75.45,258.94z"/>
|
||||
<path class="st0" d="M263.13,111.31c2.8-0.35,4.55-2.49,6.58-4.05c10.05-7.73,21-13.74,33.4-16.58c8.34-1.91,16.84-2.97,25.49-2.72
|
||||
c3.3,0.1,5.34,2.05,7.46,3.79c14.91,12.2,27.96,26.12,38.15,42.55c11.52,18.57,19.01,38.67,22.43,60.26
|
||||
c1.86,11.72,2.49,23.43,0.13,35.19c-1.89,9.41-6.2,17.17-14.43,22.45c-0.11-1.88-1.35-3.09-2.51-4.4
|
||||
c-3.11-3.5-6.04-7.17-9.25-10.58c-3.53-3.75-6.25-8.25-10.52-11.31c-0.14-0.94-0.68-1.48-1.61-1.63c-0.86-2.37-2.62-4.07-4.26-5.89
|
||||
c-2.28-2.51-4.77-4.88-6.32-7.97c6.82-4.35,11.18-10.26,11.26-18.63c0.09-8.98,0.18-17.96-0.05-26.93
|
||||
c-0.23-8.88-4.43-15.37-12.67-19.03c-13.18-7.22-30.38,3.98-30.09,19.04c0.06,2.87-0.04,5.74-0.06,8.62
|
||||
c-1.14,0.05-1.82-0.73-2.47-1.47c-6.13-6.98-12.26-13.96-18.36-20.96c-6.42-7.37-12.41-15.12-19.51-21.89
|
||||
C271.65,123.22,267.39,117.26,263.13,111.31z"/>
|
||||
<path class="st1" d="M275.91,129.17c7.1,6.76,13.09,14.52,19.51,21.89c6.1,7,12.23,13.98,18.36,20.96
|
||||
c0.65,0.74,1.33,1.52,2.47,1.47c0.09,6.26,0.18,12.53,0.27,18.79c-0.32,2.54,0.26,4.88,1.29,7.23c3.51,8.03,9.65,12.36,18.25,13.36
|
||||
c0.23,3.84-0.27,7.72,0.59,11.54c-5.69,0.02-11.38,0.01-17.07,0.07c-3.66,0.04-5.4,2.21-4.63,5.76c0.51,2.32,3.01,2.04,4.42,3.2
|
||||
c0.02,0.26,0.05,0.52,0.07,0.78c0.02,1.85-0.4,3.84,0.14,5.52c2.03,6.27,1.49,12.88,2.83,19.22c0,0-0.02,0.06-0.02,0.06
|
||||
c-0.26,0.01-0.51,0.01-0.77,0.02c-0.74,0-1.48,0-2.22,0c-19.5,0-39,0-58.5,0c-0.48-0.02-0.96-0.03-1.44-0.05
|
||||
c-0.04-1.52-0.08-3.03-0.11-4.55c0.04-0.24,0.03-0.48,0-0.72c0.01-3.85,0.11-7.71,0.01-11.56c-0.11-4.07-2.3-6.67-5.8-7.23
|
||||
c-0.11-0.74-0.01-1.61-0.38-2.19c-3.21-5.14-5.52-10.77-9.07-15.73c-3.54-4.95-6.69-10.18-9.9-15.35
|
||||
c-3.98-6.42-7.87-12.91-11.76-19.39c-0.74-1.23-0.91-2.46,0.95-2.79c1.37-0.24,2.13-1.82,3.68-1.56c2.46,4.74,6.12,5.67,10.8,3.42
|
||||
c0.54-0.26,1.22-0.2,1.83-0.34c12.39-2.99,24.57-6.52,34.58-14.95c6.31-5.31,8.74-12.17,7.55-20.32c-0.13-0.87-0.58-1.33-1.41-1.48
|
||||
c0.49-3.11-0.9-5.65-2.28-8.28C277.03,133.85,275.39,131.84,275.91,129.17z"/>
|
||||
<path class="st2" d="M275.91,129.17c-0.51,2.66,1.13,4.68,2.22,6.78c1.37,2.63,2.76,5.17,2.28,8.28c-0.02,0.24-0.06,0.48-0.1,0.72
|
||||
c-1.46-0.06-2.49-1.03-3.68-1.68c-7.59-4.14-15.57-6.59-24.29-4.75c-5.84,1.23-11.53,3.09-17.28,4.66
|
||||
c-5.36,1.46-10.37,4.43-16.19,4.01c1.09-1.48,0.41-2.63-0.68-3.71c-0.27-0.74-0.54-1.47-0.81-2.21
|
||||
c-3.64-7.51-9.06-13.68-14.82-19.58c5.45-4.67,11.56-8.94,12.47-16.82c0.2-1.69,1.95-0.82,1.94-2.37
|
||||
c-7.6-0.82-15.19-1.79-22.8-2.37c-2.97-0.23-6-2.11-9.01-0.09c-2.21-1.91-4.96-2.37-7.69-3.04c-3.04-0.75-6.94-0.17-8.05-4.47
|
||||
c0.8-0.15,1.34-0.54,1.42-1.44c0.55-6.45,2.44-12.81,1.42-19.38c3.56-1.91,7.66-1.92,11.4-3.18c0.51-0.02,1.01-0.05,1.52-0.07
|
||||
c9.43-1.54,18.73-5.56,28.43-1.36c0.13,0.1,0.26,0.2,0.39,0.3c-0.1-0.13-0.21-0.25-0.31-0.38c-0.41-0.85-1.17-1.18-2.01-1.52
|
||||
c-4.3-1.7-8.63-1.94-13.15-0.88c-1.89,0.45-4.16,0.96-3.16-2.77c0.65-2.41,1.56-4.93,1.1-7.57c0.97-0.98,1.93-1.97,2.9-2.95
|
||||
c5.73,1.1,11.9,0.13,16.86,4.68c4.59,4.2,9.01,8.53,13.15,13.15c8.22,9.18,14.55,19.84,22.77,29.01
|
||||
c3.44,3.84,5.87,8.56,10.15,11.66c0.28,0.49,0.55,0.98,0.83,1.48C267.39,117.26,271.65,123.22,275.91,129.17z M215.2,68.89
|
||||
c0.5,0.37,0.84,0.79,1.26,0.89c0.73,0.17,0.83-0.43,0.56-0.87c-0.22-0.36-0.7-0.59-1.12-0.76
|
||||
C215.81,68.11,215.51,68.56,215.2,68.89z"/>
|
||||
<path class="st3" d="M83.81,230.47c-2.43,6.17-16.85,31.11-29.75,19.48c-20.03-18.07-45.38-73.65-42.98-78.68
|
||||
c0.87-1.82,1.37-2.44,2.37-3.8c5.71,0.04,11.39-0.84,17.16-0.11c5.36,0.67,10.46,2.06,15.5,3.85c2.68,0.95,4.52,2.22,2.48,5.88
|
||||
c5.25-4.27,8.45-0.25,11.7,2.37C76.51,192.57,84.98,209.31,83.81,230.47z"/>
|
||||
<path class="st4" d="M83.62,230.47c0.15,8.86-2.55,16.99-6.35,24.84c-0.59,1.22-1.21,2.42-1.82,3.63
|
||||
c-11.47,0.76-21.95-2.7-32.13-7.49c-4.69-3.26-13.13-8.22-19.01-14.36c-4.35-3.87-6.68-7.73-9.52-11.17
|
||||
c-8.86-15.57-11.01-32.88-5.99-49.22c0.58-1.87,1.29-3.48,2.28-5.44c3.04,0.56,6.08,1.1,9.11,1.68c2.15,0.41,3.89,0.9,3.77,3.91
|
||||
c-0.08,2.07,1.14,4.15,3.54,4.75c2.05,0.51,3.97,0.12,5.53-1.43c3.05-3.01,6.05-2.27,7.25,1.86c0.64,2.21,2.21,3.34,4.19,2.55
|
||||
c2.42-0.97,4.21-0.02,5.86,1.2c8.16,6,15.5,12.83,21.46,21.11C77.03,214.14,80.35,222.28,83.62,230.47z M65.04,228.2
|
||||
c-0.01-3.15-2-5.23-4.98-5.19c-2.89,0.04-4.82,2.03-4.82,4.97c0,3.13,2.05,5.42,4.88,5.46C63.07,233.49,65.05,231.38,65.04,228.2z
|
||||
M71.78,239.62c-0.06-1.59-0.94-2.91-2.81-3.03c-1.87-0.13-3.1,1.01-3.11,2.9c-0.02,1.9,1.19,2.89,3.07,3
|
||||
C70.74,242.58,71.72,241.74,71.78,239.62z M63.24,246.18c-0.25-0.97-0.88-1.45-1.85-1.32c-0.78,0.1-1.41,0.59-1.33,1.44
|
||||
c0.1,1.01,0.83,1.46,1.8,1.32C62.64,247.51,63.19,247.05,63.24,246.18z"/>
|
||||
<path class="st0" d="M202.56,121.69c5.76,5.91,11.19,12.07,14.82,19.58c-9.63,3.33-19.27,6.57-29.49,7.75
|
||||
c-9.79,1.12-19.5,1.62-29.37,0.7c-8.66-0.81-17.29-1.69-25.83-3.23c-12.23-2.21-23.94-5.81-33.74-13.93
|
||||
c-0.82-0.68-2.22-1.37-1.81-2.56c0.45-1.31,1.97-0.63,3.01-0.69c6.59-0.35,13.17,0.39,19.78-0.66c10.56-1.68,16.08-8.46,19.48-17.8
|
||||
c2.45-6.75,4.16-13.7,6.05-20.61c4.97,0.86,9.98,0.94,15.01,0.79c2.79,1.66,5.91,1.38,8.95,1.5c1.11,4.3,5.01,3.72,8.05,4.47
|
||||
c2.72,0.67,5.47,1.13,7.69,3.04C189.49,108.44,196.68,114.53,202.56,121.69z"/>
|
||||
<path class="st0" d="M262.3,109.83c-4.28-3.1-6.7-7.82-10.15-11.66c-8.22-9.16-14.55-19.83-22.77-29.01
|
||||
c-4.14-4.63-8.57-8.95-13.15-13.15c-4.96-4.54-11.12-3.57-16.86-4.68c-0.02-0.45-0.03-0.9-0.05-1.35
|
||||
c1.94-4.36,2.32-9.14,3.71-13.65c11.28-0.13,22.17,2.29,33.01,5.08c14.1,3.62,27.64,8.92,40.9,14.75
|
||||
c13.52,5.94,26.39,13.29,38.88,21.23c3.41,2.16,6.8,4.34,10.67,7.66c-8.71-0.3-16.24,1.06-23.68,2.71
|
||||
c-12.87,2.87-24.09,9.25-34.45,17.22C266.32,106.55,263.69,107.43,262.3,109.83z"/>
|
||||
<path class="st5" d="M160.47,91.02c-5.02,0.15-10.04,0.07-15.01-0.79c-5.13-1.21-10.3-2.22-15.41-3.54
|
||||
c-5.62-1.45-11.15-3.09-16.47-5.34c-6.39-2.7-12.68-5.57-19.8-5.65c0.47-0.27,0.95-0.54,1.97-1.12c-1.86,0-3.14,0-4.42,0
|
||||
c-0.47-0.03-0.94-0.05-1.42-0.08c-2.45-1.59-5.21-2.69-7.23-4.97c-2.44-2.75-5.66-4.36-9.09-5.54c-3.28-1.12-6.57-2.2-9.85-3.3
|
||||
c-1.17-0.39-2.48-0.65-2.32-2.35c6-0.24,11.79,1.33,17.6,2.33c16.82,2.9,33.64,5.58,50.71,6.55c7.52,0.43,14.98,1.81,22.47,2.76
|
||||
c6.09,1.93,12.45,1.36,18.68,1.94C170.54,80,166.86,86.25,160.47,91.02z"/>
|
||||
<path class="st6" d="M203.04,36.34c-1.39,4.51-1.77,9.29-3.71,13.64c-0.68,0.3-1.34,0.67-2.04,0.89c-2.34,0.75-4.77,1.1-6.67-0.79
|
||||
c-1.98-1.97-1.46-4.14-0.14-6.44c1.2-2.12,1.03-4.62,0.5-6.94c-0.5-2.18-2.23-3.45-4.41-3.25c-2.06,0.19-2.14,2.15-2.22,3.77
|
||||
c-0.1,2.11-0.04,4.23-0.1,6.35c-0.02,0.61-0.23,1.32-0.91,1.45c-0.72,0.14-1.26-0.48-1.3-1.07c-0.34-4.34-4.93-6.03-6.07-9.86
|
||||
c-0.53-2.02-1.71-3.16-3.92-3.21c-2.34-0.05-4.67-0.28-7-0.43c-9.58-2.12-13.03-8.39-9.09-16.46c1.5-3.08,3.86-4.78,7.24-3.6
|
||||
c4.47,1.56,8.43,0.57,12.63-1.11c10.67-4.27,15.21-2.64,21.31,7.26c0.51,0.83,1.01,0.81,1.76,0.91c3.87,0.53,5.44,2.36,5.25,6.59
|
||||
C203.92,28.16,203.41,32.25,203.04,36.34z"/>
|
||||
<path class="st5" d="M175.94,34.1c1.14,3.82,5.73,5.51,6.07,9.86c0.05,0.59,0.58,1.21,1.3,1.07c0.68-0.13,0.9-0.84,0.91-1.45
|
||||
c0.06-2.11,0-4.23,0.1-6.35c0.08-1.62,0.16-3.58,2.22-3.77c2.18-0.2,3.91,1.06,4.41,3.25c0.53,2.31,0.71,4.82-0.5,6.94
|
||||
c-1.31,2.31-1.84,4.48,0.14,6.44c1.9,1.89,4.33,1.54,6.67,0.79c0.7-0.23,1.36-0.59,2.04-0.89c0.01,0.45,0.03,0.9,0.05,1.36
|
||||
c-0.97,0.98-1.93,1.97-2.9,2.95c-3.11,1.64-4.87,4.76-7.54,6.88c-1.26-0.81-1.17-3.58-3.18-2.96c-2.7,0.83-5.63-0.07-8.18,1.37
|
||||
c-5.43-0.65-12,2.52-15.52-4.6c-0.02-0.44-0.04-0.88-0.06-1.32c0.19-0.28,0.38-0.56,0.57-0.84c0.62-6.27,0.19-12.67,2.23-18.78
|
||||
C168.5,34.63,172.22,35.19,175.94,34.1z"/>
|
||||
<path class="st1" d="M360.05,225.92c4.27,3.06,6.99,7.57,10.52,11.31c3.21,3.41,6.14,7.07,9.25,10.58c1.16,1.3,2.4,2.51,2.51,4.4
|
||||
c-9.35,5.1-19.56,6.39-29.97,6.74c1.26-7.95,2.89-15.86,2.99-23.95c0.27-0.73,0.54-1.47,0.8-2.2c2.88,0.23,4.05-1.1,3.74-3.94
|
||||
C359.79,227.89,359.99,226.9,360.05,225.92z"/>
|
||||
<path class="st2" d="M322.39,258.98c-1.34-6.34-0.8-12.95-2.83-19.22c-0.54-1.68-0.12-3.67-0.14-5.52
|
||||
c7.11,0.01,14.23,0.1,21.34-0.02c2.99-0.05,3.88,0.57,2.37,3.56c-3.54,7-6.86,14.12-10.26,21.2
|
||||
C329.37,258.97,325.88,258.97,322.39,258.98z"/>
|
||||
<path class="st7" d="M332.86,258.97c3.41-7.07,6.72-14.19,10.26-21.2c1.52-2.99,0.62-3.61-2.37-3.56
|
||||
c-7.11,0.12-14.23,0.03-21.34,0.02c-0.02-0.26-0.05-0.52-0.07-0.78c1.12-1.18,2.57-0.68,3.88-0.7c7.2-0.06,14.39-0.05,21.59-0.07
|
||||
c-0.06,1.7,0.74,2.38,2.46,2.32c2.69-0.09,5.38-0.02,8.07-0.01c-0.1,8.1-1.73,16-2.99,23.95c-0.26,0.08-0.51,0.15-0.77,0.23
|
||||
c-2.72,0.01-5.45,0.01-8.17,0.02C339.89,259.12,336.38,259.04,332.86,258.97z"/>
|
||||
<path class="st0" d="M162.05,54.98c3.52,7.12,10.09,3.95,15.52,4.6c1.41,3.41,4.41,5.72,6.09,8.94c-3.74,1.26-7.84,1.28-11.4,3.18
|
||||
c-0.46,0.07-0.92,0.15-1.38,0.22c-6.23-0.58-12.59-0.01-18.68-1.94C155.61,65.06,157.01,58.83,162.05,54.98z"/>
|
||||
<path class="st6" d="M259.33,254.45c0.04,1.52,0.08,3.03,0.11,4.55c-20.27-0.06-40.54-0.11-60.81-0.17
|
||||
c0.01-1.45,0.02-2.9,0.04-4.35C218.89,254.47,239.11,254.46,259.33,254.45z"/>
|
||||
<path class="st8" d="M24.51,237.09c-0.28-4.38-0.91-7.94-1.03-11.4c-0.07-1.84-0.71-5.08,0.95-5.11c2.16-0.05,1.47,2.52,1.75,4.86
|
||||
c0.16,1.33,0.05,2.74,1.07,4.45c1.98-4.03,4.65-7.1,3.79-12.07c-0.46-2.65-0.59-4.94-0.79-7.43c-0.09-1.15-0.7-2.91,1.06-3
|
||||
c1.63-0.08,1.4,1.75,1.55,2.92c0.26,2.08,0.02,4.23,1.08,6.93c1.79-3.44,3.4-6.41,4.87-9.45c0.49-1,0.74-2.51,2.07-1.99
|
||||
c1.59,0.63,0.65,1.68,0.25,2.63c-2.47,5.86-7.28,13.16-10.15,20.38c3.45-0.92,5.42-1.26,8.48-2.14c1.06-0.31,2.4-0.94,2.79,0.64
|
||||
c0.3,1.24-1,1.48-1.96,1.76c-3.1,0.93-6.19,1.9-9.3,2.8c-0.95,0.28-1.84,0.45-2.53,1.36c-3.04,4.04-2.23,4.82-1.19,6.47
|
||||
C25.3,237.87,25.55,238.22,24.51,237.09z"/>
|
||||
<path class="st9" d="M61.41,58.34c-0.16,1.71,1.15,1.96,2.32,2.35c3.28,1.1,6.57,2.18,9.85,3.3c3.43,1.18,6.65,2.79,9.09,5.54
|
||||
c2.02,2.28,4.78,3.38,7.23,4.97c-2.66,0.78-4.6-1.29-6.91-1.88c-3.6-0.92-7-2.59-10.81-2.76c-0.91-0.04-2.23-0.38-2.05-1.2
|
||||
c1.03-4.65-3.21-4.05-5.31-5.51c-1.21-0.84-2.77-1.2-3.92-2.1C59.7,60.11,59.1,58.84,61.41,58.34z"/>
|
||||
<path class="st0" d="M260.88,259.05c19.5,0,39,0,58.5,0c-0.91,0.94-2.08,0.65-3.17,0.65c-17.39,0.01-34.78,0.01-52.17,0
|
||||
C262.96,259.71,261.79,260,260.88,259.05z"/>
|
||||
<path class="st9" d="M175.94,34.1c-3.73,1.1-7.44,0.54-11.16-0.06c0.08-1.19,0.15-2.38,0.23-3.57c2.34,0.15,4.67,0.37,7.01,0.43
|
||||
C174.23,30.94,175.41,32.08,175.94,34.1z"/>
|
||||
<path class="st10" d="M198.67,254.48c-0.01,1.45-0.02,2.9-0.04,4.35c-2.74,0.05-5.48,0.1-8.22,0.14c-0.19-1.62-0.06-3.19,0.73-4.65
|
||||
C193.66,254.38,196.16,254.43,198.67,254.48z"/>
|
||||
<path class="st0" d="M343.41,259.19c2.72-0.01,5.45-0.01,8.17-0.02C348.86,260.07,346.14,260.04,343.41,259.19z"/>
|
||||
<path class="st9" d="M91.32,74.58c1.28,0,2.56,0,4.42,0c-1.01,0.58-1.49,0.85-1.97,1.12C92.68,75.94,91.69,75.96,91.32,74.58z"/>
|
||||
<path class="st0" d="M162.56,52.82c-0.19,0.28-0.38,0.56-0.57,0.84C162.18,53.38,162.37,53.1,162.56,52.82z"/>
|
||||
<path class="st0" d="M321.6,259.06c0.26-0.01,0.51-0.01,0.77-0.02C322.13,259.44,321.87,259.43,321.6,259.06z"/>
|
||||
<path class="st5" d="M227.05,177.9c-1.55-0.25-2.31,1.32-3.68,1.56c-1.86,0.33-1.69,1.56-0.95,2.79
|
||||
c3.9,6.48,7.78,12.97,11.76,19.39c3.21,5.18,6.37,10.4,9.9,15.35c3.55,4.97,5.87,10.6,9.07,15.73c0.36,0.58,0.26,1.46,0.37,2.19
|
||||
c0.19,2.43-0.96,3.23-3.33,3.11c-3.22-0.16-6.45-0.03-9.67-0.03c-2.39-0.01-4.88,0.51-5.84-2.86c-0.41-1.44-2.15-1.91-3.78-1.65
|
||||
c-4.36-6.72-10.07-12.32-15.56-18.02c-10.45-10.85-21.12-21.48-31.1-32.78c-4.39-4.97-8.81-9.97-7.33-17.43c0,0,0,0,0,0
|
||||
c0.1-0.06,0.28-0.13,0.27-0.18c-0.02-0.18-0.1-0.36-0.16-0.54c3.59-9.3,11.5-11.27,20.2-11.92c0.88,2.53,3.64,2.05,5.39,3.32
|
||||
c7.92,5.76,16.06,11.22,22.33,18.93C225.65,175.89,226.35,176.9,227.05,177.9z"/>
|
||||
<path class="st7" d="M211.36,159.47c4.67,3.44,8.81,7.47,12.97,11.49c1.43,1.38,1.51,2.44,0.61,3.92
|
||||
c-6.27-7.7-14.41-13.16-22.33-18.92c-1.74-1.27-4.51-0.79-5.39-3.32c7.15-2.05,14.73-2.4,21.63-5.45
|
||||
c5.82,0.42,10.84-2.56,16.19-4.01c5.76-1.57,11.44-3.43,17.28-4.66c8.72-1.84,16.7,0.61,24.29,4.75c1.2,0.65,2.22,1.62,3.68,1.68
|
||||
c0.58,11.03-8.43,19.18-18.09,23.61c-9.25,4.24-19.37,5.91-29.33,7.88c-1.63,0.32-2.74-0.24-3.72-1.73
|
||||
c-2.45-3.75-5.57-7.06-8.99-9.86"/>
|
||||
<path class="st1" d="M203.36,247.13c-2.02-14.08-4.03-28.15-6.05-42.23c3.06,2.38,5.54,5.4,7.73,8.45
|
||||
c5.15,7.17,11.2,13.54,16.9,20.22c-0.11,1.58,0.22,3.23-1.22,4.51C215.68,242.53,210.37,246.45,203.36,247.13z"/>
|
||||
<path class="st9" d="M221.94,233.57c-5.7-6.68-11.75-13.05-16.9-20.22c-2.19-3.05-4.68-6.08-7.73-8.45
|
||||
c-2.19-3.47-5.35-6.18-7.72-9.44c-4.51-6.21-10.85-11.22-13.44-18.65c-1.28-3.67-2.05-7.87,0.78-11.54
|
||||
c-1.48,7.46,2.94,12.46,7.33,17.43c9.97,11.3,20.64,21.93,31.1,32.78c5.49,5.7,11.2,11.3,15.56,18.02
|
||||
c-0.53,0.99-1.06,1.99-1.6,2.98C227.1,234.91,225.13,232.7,221.94,233.57z"/>
|
||||
<path class="st7" d="M221.94,233.57c3.19-0.86,5.15,1.35,7.37,2.92c0.11,1.47-1.02,2.21-1.88,3.06
|
||||
c-5.49,5.36-12.44,7.58-19.73,8.89c-3.34,0.6-6,1.91-8.16,5.3c20.27,0,40.03,0,59.78,0c0.04,0.24,0.04,0.48,0,0.72
|
||||
c-20.22,0.01-40.44,0.02-60.66,0.03c-2.51-0.05-5.02-0.1-7.52-0.15c1.03-3.75,4.23-4.8,7.39-5.71c1.62-0.47,3.35-0.53,4.82-1.5
|
||||
c7.01-0.67,12.32-4.59,17.36-9.05C222.16,236.8,221.84,235.15,221.94,233.57z"/>
|
||||
<path class="st9" d="M177.03,164.55c0.06,0.18,0.14,0.35,0.16,0.54c0.01,0.05-0.17,0.12-0.27,0.18
|
||||
C176.9,165.02,176.93,164.78,177.03,164.55z"/>
|
||||
<path class="st11" d="M346.39,145.84c8.25,3.66,12.44,10.15,12.67,19.03c0.23,8.97,0.15,17.95,0.05,26.93
|
||||
c-0.09,8.37-4.44,14.28-11.26,18.63c-2.89,1.17-5.75,2.52-9.02,2.09c-0.02-3.37,0.05-6.74-0.11-10.11
|
||||
c-0.14-2.88,0.97-4.73,3.34-6.48c1.72-1.26,3.93-2.35,5.15-4.85c-3.7,0.27-5.23,3.57-8.46,4.55c0-1.83,0.16-3.54-0.03-5.21
|
||||
c-0.43-3.76,0.48-6.65,3.89-8.87c1.69-1.1,4.02-2.2,4.45-5.21c-3.31,1.18-5.16,3.85-8.31,5.49c0-5.82,0.01-11.14-0.01-16.46
|
||||
c0-0.85,0.08-2.06-1.01-2.1c-1.12-0.04-1.1,1.15-1.11,2.01c-0.02,3.04-0.01,6.08-0.01,9.82c-2.35-2.01-4.91-2.35-6.06-4.67
|
||||
c1-1.42,1.82-3.02,3.02-4.22c2.63-2.63,2.52-7.86,7.73-8.11c0.69-0.03,0.76-1.35,0.4-1.97c-1.05-1.83,0.05-2.93,1.03-4.29
|
||||
C344.12,149.94,345.19,147.85,346.39,145.84z M350.09,163.64c-0.29-2.02-1.32-3.49-3.29-3.46c-1.98,0.04-3.59,1.06-3.41,3.46
|
||||
c0.15,2.06,1.37,3.11,3.39,3.1C348.83,166.74,349.9,165.58,350.09,163.64z"/>
|
||||
<path class="st3" d="M346.39,145.84c-1.2,2.01-2.27,4.1-3.63,6c-0.98,1.36-2.08,2.46-1.03,4.29c0.36,0.62,0.29,1.94-0.4,1.97
|
||||
c-5.21,0.25-5.1,5.48-7.73,8.11c-1.21,1.21-2.03,2.8-3.02,4.22c-0.82-0.37-2.16-1.19-2.46-0.56c-0.67,1.4,1.25,1.79,1.78,2.8
|
||||
c-1.82,1.72-3.15,3.78-4.43,5.91c-2.82,4.67-5.34,9.54-8.94,13.7c-0.09-6.26-0.18-12.53-0.27-18.79c0.02-2.87,0.12-5.75,0.06-8.62
|
||||
C316.01,149.82,333.21,138.62,346.39,145.84z"/>
|
||||
<path class="st1" d="M338.84,212.52c3.27,0.43,6.12-0.92,9.02-2.09c1.55,3.1,4.04,5.46,6.32,7.97c1.65,1.82,3.4,3.52,4.26,5.89
|
||||
c-3.52,0.08-7.04,0.15-10.56,0.22c-3.01-0.03-6.02-0.07-9.03-0.1C338.84,220.45,338.84,216.49,338.84,212.52z"/>
|
||||
<path class="st7" d="M347.88,224.52c3.52-0.07,7.04-0.15,10.56-0.22c0.94,0.15,1.47,0.69,1.62,1.63c-0.06,0.98-0.26,1.97-0.16,2.93
|
||||
c0.3,2.84-0.86,4.18-3.74,3.94c-3.76-0.27-7.57,0.16-11.34-0.11C345.82,230.2,346.87,227,347.88,224.52z"/>
|
||||
<path class="st2" d="M259.33,253.73c-19.76,0-39.52,0-59.78,0c2.16-3.39,4.82-4.7,8.16-5.3c7.29-1.31,14.24-3.53,19.73-8.89
|
||||
c0.87-0.85,2-1.58,1.88-3.06c0.53-0.99,1.06-1.99,1.59-2.98c1.63-0.26,3.37,0.21,3.78,1.65c0.96,3.37,3.45,2.85,5.84,2.86
|
||||
c3.22,0.01,6.46-0.13,9.67,0.03c2.37,0.12,3.52-0.68,3.33-3.11c3.51,0.56,5.69,3.17,5.8,7.23
|
||||
C259.44,246.02,259.34,249.88,259.33,253.73z"/>
|
||||
<path class="st11" d="M316.51,192.29c3.6-4.16,6.12-9.03,8.94-13.7c1.29-2.13,2.62-4.19,4.44-5.91c7.14,3.31,7.85,9.15,6.25,16.22
|
||||
c-1.41-1.11-2.65-2.12-3.93-3.07c-0.87-0.64-2.06-1.85-2.86-0.73c-0.89,1.25,0.97,1.67,1.67,2.39c1.79,1.83,5.01,2.57,5.47,5.28
|
||||
c0.54,3.19,0.13,6.54,0.13,10.12c-3.41-1.28-5.05-4.81-8.92-4.42c1.57,2.4,3.76,3.74,5.79,5.05c3.82,2.47,3.71,5.7,2.57,9.37
|
||||
c-8.61-1.01-14.75-5.33-18.26-13.37C316.77,197.17,316.18,194.83,316.51,192.29z M324.63,194.33c-0.01-1-0.14-1.96-1.48-2.02
|
||||
c-1.3-0.06-2.09,0.57-2.25,1.86c-0.15,1.17,0.48,1.93,1.57,2.07C323.76,196.4,324.52,195.7,324.63,194.33z"/>
|
||||
<path class="st12" d="M209.51,156.69c4.84,0.94,7.2,5.31,10.67,8.14c3.43,2.8,6.54,6.1,8.99,9.86c0.98,1.5,2.09,2.06,3.72,1.73
|
||||
c9.96-1.97,20.08-3.64,29.33-7.88c9.66-4.42,18.67-12.58,18.09-23.61c0.04-0.24,0.07-0.48,0.1-0.72c0.83,0.15,1.28,0.61,1.41,1.48
|
||||
c1.18,8.15-1.24,15.01-7.55,20.32c-10.01,8.43-22.19,11.96-34.58,14.95c-0.6,0.15-1.29,0.09-1.83,0.34
|
||||
c-4.69,2.25-8.34,1.33-10.8-3.42c-0.7-1.01-1.4-2.02-2.1-3.03c0.9-1.48,0.82-2.54-0.61-3.92c-4.17-4.02-8.3-8.04-12.97-11.49
|
||||
c-0.87-0.64-1.65-1.36-2.38-2.19L209.51,156.69z"/>
|
||||
<path class="st2" d="M347.88,224.52c-1,2.49-2.29,6.49-3.06,8.17c-7.2,0.02-14.39,0.01-21.59,0.07c-1.31,0.01-2.76-0.48-3.88,0.7
|
||||
c-1.41-1.15-3.91-0.88-4.42-3.2c-0.78-3.55,0.96-5.72,4.63-5.76c5.69-0.06,11.38-0.05,17.07-0.07c0.74,0,1.47,0,2.21,0
|
||||
C341.85,224.45,344.86,224.48,347.88,224.52z"/>
|
||||
<path class="st8" d="M338.84,224.42c-0.74,0-1.47,0-2.21,0c-0.85-3.81-0.36-7.69-0.59-11.54c0.26-4.76-0.02-7.74-2.57-9.37
|
||||
c-2.03-1.31-4.22-2.65-5.79-5.05c3.86-0.38,5.51,3.14,8.92,4.42c0-3.58,0.41-6.93-0.13-10.12c-0.46-2.71-3.68-3.45-5.47-5.28
|
||||
c-0.7-0.72-2.56-1.14-1.67-2.39c0.79-1.12,1.99,0.09,2.86,0.73c1.28,0.95,2.52,1.96,3.93,3.07c0.5-7.63,0.89-12.91-6.25-16.22
|
||||
c-0.54-1.02-2.46-1.41-1.78-2.8c0.3-0.63,1.65,0.18,2.46,0.56c1.16,2.32,3.71,2.65,6.06,4.66c0-3.74-0.02-6.78,0.01-9.82
|
||||
c0.01-0.86-0.01-2.05,1.11-2.01c1.09,0.04,1.01,1.25,1.01,2.1c0.02,5.32,0.01,10.64,0.01,16.46c3.15-1.64,5-4.31,8.31-5.49
|
||||
c-0.43,3.01-2.76,4.11-4.45,5.21c-3.42,2.23-4.32,5.11-3.89,8.87c0.19,1.67,0.03,3.38,0.03,5.21c3.23-0.98,4.76-4.28,8.46-4.55
|
||||
c-1.22,2.5-3.44,3.59-5.15,4.85c-2.37,1.75-3.47,3.6-3.34,6.48c0.16,3.36,0.08,6.74,0.11,10.11
|
||||
C338.84,216.49,338.84,220.45,338.84,224.42z"/>
|
||||
<path class="st7" d="M202.56,121.69c-5.87-7.16-13.07-13.25-17.4-21.66c3.01-2.01,6.04-0.13,9.01,0.09
|
||||
c7.62,0.58,15.2,1.55,22.8,2.37c0.01,1.55-1.75,0.68-1.94,2.37C214.12,112.75,208.01,117.02,202.56,121.69z"/>
|
||||
<path class="st7" d="M188.93,61.17c2.68-2.11,4.43-5.24,7.54-6.88c0.46,2.64-0.45,5.16-1.1,7.57c-1.01,3.73,1.27,3.21,3.16,2.77
|
||||
c4.51-1.07,8.85-0.82,13.15,0.88c0.84,0.33,1.6,0.66,2.01,1.52l-0.07,0.08c-9.7-4.19-19.01-0.18-28.43,1.36
|
||||
C186.43,66.03,187.68,63.6,188.93,61.17z"/>
|
||||
<path class="st9" d="M170.88,71.93c0.46-0.07,0.92-0.15,1.38-0.22c1.02,6.57-0.88,12.92-1.42,19.38c-0.08,0.9-0.61,1.29-1.42,1.44
|
||||
c-3.05-0.12-6.16,0.16-8.95-1.5C166.86,86.25,170.54,80,170.88,71.93z"/>
|
||||
<path class="st9" d="M188.93,61.17c-1.25,2.43-2.5,4.86-3.75,7.29c-0.51,0.02-1.01,0.04-1.52,0.07c-1.68-3.22-4.69-5.54-6.09-8.94
|
||||
c2.54-1.44,5.47-0.54,8.18-1.37C187.76,57.59,187.67,60.35,188.93,61.17z"/>
|
||||
<path class="st7" d="M215.2,68.89c0.31-0.34,0.6-0.79,0.7-0.75c0.42,0.17,0.9,0.4,1.12,0.76c0.27,0.44,0.17,1.04-0.56,0.87
|
||||
C216.04,69.68,215.7,69.26,215.2,68.89z"/>
|
||||
<path class="st7" d="M213.69,67.02c0.1,0.13,0.21,0.25,0.31,0.38c-0.13-0.1-0.26-0.2-0.39-0.3
|
||||
C213.62,67.09,213.69,67.02,213.69,67.02z"/>
|
||||
<path class="st3" d="M18.92,176.76c0,1.22-0.74,1.92-1.89,1.86c-1.15-0.06-1.69-0.87-1.7-1.99c-0.01-1.04,0.54-1.58,1.58-1.56
|
||||
C18.05,175.1,18.77,175.56,18.92,176.76z"/>
|
||||
<path class="st3" d="M26.12,185.41c1.07,0.16,1.81,0.84,1.95,1.84c0.14,1-0.67,1.48-1.6,1.59c-1.19,0.14-1.87-0.39-1.81-1.63
|
||||
C24.69,186.28,25.09,185.58,26.12,185.41z"/>
|
||||
<path class="st12" d="M344.82,232.68C344.82,232.45,344.79,232.92,344.82,232.68c3.76,0.27,7.57-0.16,11.34,0.11
|
||||
c-0.27,0.73-0.54,1.47-0.8,2.2c-2.69,0-5.39-0.08-8.07,0.01C345.55,235.06,344.76,234.39,344.82,232.68z"/>
|
||||
<path class="st7" d="M123.61,247.1c0.79-0.01,1.58-0.02,2.37-0.03"/>
|
||||
<path class="st12" d="M211.74,156.99c-0.54-0.1-0.9-0.35-0.84-1.17c0.01-0.09,0.15-0.23,0.23-0.23c0.82-0.05,1.05,0.17,1.14,0.72
|
||||
C212.28,156.31,211.74,156.99,211.74,156.99z"/>
|
||||
<path class="st3" d="M350.09,163.64c-0.19,1.93-1.26,3.09-3.31,3.1c-2.02,0.01-3.24-1.04-3.39-3.1c-0.17-2.4,1.44-3.42,3.41-3.46
|
||||
C348.77,160.15,349.8,161.62,350.09,163.64z"/>
|
||||
<path class="st3" d="M324.63,194.33c-0.11,1.37-0.87,2.07-2.16,1.91c-1.09-0.14-1.72-0.89-1.57-2.07c0.16-1.3,0.95-1.92,2.25-1.86
|
||||
C324.5,192.37,324.63,193.33,324.63,194.33z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 21 KiB |
27
SteUp.Data/LocalDb/AppDbContext.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using SteUp.Shared.Core.Entities;
|
||||
|
||||
namespace SteUp.Data.LocalDb;
|
||||
|
||||
public class AppDbContext(DbContextOptions<AppDbContext> options) : DbContext(options)
|
||||
{
|
||||
public DbSet<Ispezione> Ispezioni => Set<Ispezione>();
|
||||
public DbSet<Scheda> Schede => Set<Scheda>();
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
base.OnModelCreating(modelBuilder);
|
||||
|
||||
modelBuilder.Entity<Ispezione>()
|
||||
.HasKey(x => new { x.CodMdep, x.Data, x.Rilevatore });
|
||||
|
||||
modelBuilder.Entity<Scheda>()
|
||||
.HasOne(x => x.Ispezione)
|
||||
.WithMany(x => x.Schede)
|
||||
.HasForeignKey(x => new { x.CodMdep, x.Data, x.Rilevatore })
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
modelBuilder.Entity<Scheda>()
|
||||
.HasIndex(x => new { x.CodMdep, x.Data, x.Rilevatore });
|
||||
}
|
||||
}
|
||||
16
SteUp.Data/LocalDb/AppDbContextFactory.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Design;
|
||||
|
||||
namespace SteUp.Data.LocalDb;
|
||||
|
||||
public class AppDbContextFactory : IDesignTimeDbContextFactory<AppDbContext>
|
||||
{
|
||||
public AppDbContext CreateDbContext(string[] args)
|
||||
{
|
||||
var options = new DbContextOptionsBuilder<AppDbContext>()
|
||||
.UseSqlite("Data Source=design-time.db3")
|
||||
.Options;
|
||||
|
||||
return new AppDbContext(options);
|
||||
}
|
||||
}
|
||||
12
SteUp.Data/LocalDb/DbInitializer.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using SteUp.Shared.Core.Interface.LocalDb;
|
||||
|
||||
namespace SteUp.Data.LocalDb;
|
||||
|
||||
public class DbInitializer(AppDbContext db) : IDbInitializer
|
||||
{
|
||||
public async Task InitializeAsync()
|
||||
{
|
||||
await db.Database.MigrateAsync();
|
||||
}
|
||||
}
|
||||
17
SteUp.Data/LocalDb/DbPathProvider.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Microsoft.Maui.Storage;
|
||||
|
||||
namespace SteUp.Data.LocalDb;
|
||||
|
||||
|
||||
public interface IDbPathProvider
|
||||
{
|
||||
string GetDbPath();
|
||||
}
|
||||
|
||||
public class DbPathProvider : IDbPathProvider
|
||||
{
|
||||
private const string DbName = "steup_db.db3";
|
||||
|
||||
public string GetDbPath() =>
|
||||
Path.Combine(FileSystem.AppDataDirectory, DbName);
|
||||
}
|
||||
127
SteUp.Data/LocalDb/EntityServices/IspezioniService.cs
Normal file
@@ -0,0 +1,127 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using SteUp.Shared.Core.Entities;
|
||||
using SteUp.Shared.Core.Interface.LocalDb;
|
||||
|
||||
namespace SteUp.Data.LocalDb.EntityServices;
|
||||
|
||||
public class IspezioniService(AppDbContext db) : IIspezioniService
|
||||
{
|
||||
public Task<Ispezione?> GetIspezioneAsync(string codMdep, DateOnly data, string rilevatore) =>
|
||||
db.Ispezioni
|
||||
.Include(x => x.Schede)
|
||||
.FirstOrDefaultAsync(x =>
|
||||
x.CodMdep == codMdep &&
|
||||
x.Data == data &&
|
||||
x.Rilevatore == rilevatore);
|
||||
|
||||
public Task<List<Ispezione>> GetAllIspezioniWithSchedeAsync() =>
|
||||
db.Ispezioni
|
||||
.Include(x => x.Schede)
|
||||
.AsNoTracking()
|
||||
.OrderByDescending(x => x.Data)
|
||||
.ToListAsync();
|
||||
|
||||
public async Task AddIspezioneAsync(Ispezione ispezione)
|
||||
{
|
||||
db.Ispezioni.Add(ispezione);
|
||||
await db.SaveChangesAsync();
|
||||
}
|
||||
|
||||
public async Task<Ispezione> GetOrCreateIspezioneAsync(string codMdep, DateOnly data, string rilevatore)
|
||||
{
|
||||
var existing = await db.Ispezioni
|
||||
.Include(x => x.Schede)
|
||||
.FirstOrDefaultAsync(x =>
|
||||
x.CodMdep == codMdep &&
|
||||
x.Data == data &&
|
||||
x.Rilevatore == rilevatore);
|
||||
|
||||
if (existing != null)
|
||||
return existing;
|
||||
|
||||
var created = new Ispezione
|
||||
{
|
||||
CodMdep = codMdep,
|
||||
Data = data,
|
||||
Rilevatore = rilevatore
|
||||
};
|
||||
|
||||
db.Ispezioni.Add(created);
|
||||
await db.SaveChangesAsync();
|
||||
|
||||
return created;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cancella l'ispezione e tutte le schede collegate.
|
||||
/// </summary>
|
||||
public async Task<bool> DeleteIspezioneAsync(string codMdep, DateOnly data, string rilevatore)
|
||||
{
|
||||
var ispezione = await db.Ispezioni
|
||||
.FirstOrDefaultAsync(x =>
|
||||
x.CodMdep == codMdep &&
|
||||
x.Data == data &&
|
||||
x.Rilevatore == rilevatore);
|
||||
|
||||
if (ispezione is null)
|
||||
return false;
|
||||
|
||||
db.Ispezioni.Remove(ispezione);
|
||||
await db.SaveChangesAsync();
|
||||
return true;
|
||||
}
|
||||
|
||||
public async Task AddSchedaAsync(string codMdep, DateOnly data, string rilevatore, Scheda scheda)
|
||||
{
|
||||
// assicura che il parent esista
|
||||
await GetOrCreateIspezioneAsync(codMdep, data, rilevatore);
|
||||
|
||||
scheda.CodMdep = codMdep;
|
||||
scheda.Data = data;
|
||||
scheda.Rilevatore = rilevatore;
|
||||
|
||||
db.Schede.Add(scheda);
|
||||
await db.SaveChangesAsync();
|
||||
}
|
||||
|
||||
public Task<Scheda?> GetSchedaAsync(int schedaId) =>
|
||||
db.Schede
|
||||
.AsNoTracking()
|
||||
.FirstOrDefaultAsync(x => x.Id == schedaId);
|
||||
|
||||
public Task<Scheda?> GetSchedaWithIspezioneAsync(int schedaId) =>
|
||||
db.Schede
|
||||
.Include(x => x.Ispezione)
|
||||
.AsNoTracking()
|
||||
.FirstOrDefaultAsync(x => x.Id == schedaId);
|
||||
|
||||
public async Task<bool> DeleteSchedaAsync(int schedaId)
|
||||
{
|
||||
var scheda = await db.Schede.FirstOrDefaultAsync(x => x.Id == schedaId);
|
||||
if (scheda is null)
|
||||
return false;
|
||||
|
||||
db.Schede.Remove(scheda);
|
||||
await db.SaveChangesAsync();
|
||||
return true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cancella tutte le schede di una ispezione senza cancellare l'ispezione.
|
||||
/// </summary>
|
||||
public async Task<int> DeleteAllSchedeOfIspezioneAsync(string codMdep, DateOnly data, string rilevatore)
|
||||
{
|
||||
var schede = await db.Schede
|
||||
.Where(s =>
|
||||
s.CodMdep == codMdep &&
|
||||
s.Data == data &&
|
||||
s.Rilevatore == rilevatore)
|
||||
.ToListAsync();
|
||||
|
||||
if (schede.Count == 0)
|
||||
return 0;
|
||||
|
||||
db.Schede.RemoveRange(schede);
|
||||
return await db.SaveChangesAsync();
|
||||
}
|
||||
}
|
||||
102
SteUp.Data/Migrations/20260217143326_InitialCreate.Designer.cs
generated
Normal file
@@ -0,0 +1,102 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using SteUp.Data.LocalDb;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace SteUp.Data.Migrations
|
||||
{
|
||||
[DbContext(typeof(AppDbContext))]
|
||||
[Migration("20260217143326_InitialCreate")]
|
||||
partial class InitialCreate
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.13");
|
||||
|
||||
modelBuilder.Entity("SteUp.Shared.Core.Entities.Ispezione", b =>
|
||||
{
|
||||
b.Property<string>("CodMdep")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<DateOnly>("Data")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Rilevatore")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int>("Stato")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.HasKey("CodMdep", "Data", "Rilevatore");
|
||||
|
||||
b.ToTable("Ispezioni");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("SteUp.Shared.Core.Entities.Scheda", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("ActivityTypeId")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("CodJfas")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("CodMdep")
|
||||
.IsRequired()
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<DateOnly>("Data")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("DescrizioneReparto")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Note")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Responsabile")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Rilevatore")
|
||||
.IsRequired()
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int>("Scadenza")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("CodMdep", "Data", "Rilevatore");
|
||||
|
||||
b.ToTable("Schede");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("SteUp.Shared.Core.Entities.Scheda", b =>
|
||||
{
|
||||
b.HasOne("SteUp.Shared.Core.Entities.Ispezione", "Ispezione")
|
||||
.WithMany("Schede")
|
||||
.HasForeignKey("CodMdep", "Data", "Rilevatore")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Ispezione");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("SteUp.Shared.Core.Entities.Ispezione", b =>
|
||||
{
|
||||
b.Navigation("Schede");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
71
SteUp.Data/Migrations/20260217143326_InitialCreate.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace SteUp.Data.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class InitialCreate : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Ispezioni",
|
||||
columns: table => new
|
||||
{
|
||||
CodMdep = table.Column<string>(type: "TEXT", nullable: false),
|
||||
Data = table.Column<DateOnly>(type: "TEXT", nullable: false),
|
||||
Rilevatore = table.Column<string>(type: "TEXT", nullable: false),
|
||||
Stato = table.Column<int>(type: "INTEGER", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Ispezioni", x => new { x.CodMdep, x.Data, x.Rilevatore });
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Schede",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(type: "INTEGER", nullable: false)
|
||||
.Annotation("Sqlite:Autoincrement", true),
|
||||
CodJfas = table.Column<string>(type: "TEXT", nullable: true),
|
||||
CodMdep = table.Column<string>(type: "TEXT", nullable: false),
|
||||
Data = table.Column<DateOnly>(type: "TEXT", nullable: false),
|
||||
Rilevatore = table.Column<string>(type: "TEXT", nullable: false),
|
||||
DescrizioneReparto = table.Column<string>(type: "TEXT", nullable: true),
|
||||
ActivityTypeId = table.Column<string>(type: "TEXT", nullable: true),
|
||||
Note = table.Column<string>(type: "TEXT", nullable: true),
|
||||
Responsabile = table.Column<string>(type: "TEXT", nullable: true),
|
||||
Scadenza = table.Column<int>(type: "INTEGER", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Schede", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_Schede_Ispezioni_CodMdep_Data_Rilevatore",
|
||||
columns: x => new { x.CodMdep, x.Data, x.Rilevatore },
|
||||
principalTable: "Ispezioni",
|
||||
principalColumns: new[] { "CodMdep", "Data", "Rilevatore" },
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Schede_CodMdep_Data_Rilevatore",
|
||||
table: "Schede",
|
||||
columns: new[] { "CodMdep", "Data", "Rilevatore" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "Schede");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "Ispezioni");
|
||||
}
|
||||
}
|
||||
}
|
||||
99
SteUp.Data/Migrations/AppDbContextModelSnapshot.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using SteUp.Data.LocalDb;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace SteUp.Data.Migrations
|
||||
{
|
||||
[DbContext(typeof(AppDbContext))]
|
||||
partial class AppDbContextModelSnapshot : ModelSnapshot
|
||||
{
|
||||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.13");
|
||||
|
||||
modelBuilder.Entity("SteUp.Shared.Core.Entities.Ispezione", b =>
|
||||
{
|
||||
b.Property<string>("CodMdep")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<DateOnly>("Data")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Rilevatore")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int>("Stato")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.HasKey("CodMdep", "Data", "Rilevatore");
|
||||
|
||||
b.ToTable("Ispezioni");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("SteUp.Shared.Core.Entities.Scheda", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("ActivityTypeId")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("CodJfas")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("CodMdep")
|
||||
.IsRequired()
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<DateOnly>("Data")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("DescrizioneReparto")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Note")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Responsabile")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("Rilevatore")
|
||||
.IsRequired()
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int>("Scadenza")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("CodMdep", "Data", "Rilevatore");
|
||||
|
||||
b.ToTable("Schede");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("SteUp.Shared.Core.Entities.Scheda", b =>
|
||||
{
|
||||
b.HasOne("SteUp.Shared.Core.Entities.Ispezione", "Ispezione")
|
||||
.WithMany("Schede")
|
||||
.HasForeignKey("CodMdep", "Data", "Rilevatore")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Ispezione");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("SteUp.Shared.Core.Entities.Ispezione", b =>
|
||||
{
|
||||
b.Navigation("Schede");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
23
SteUp.Data/SteUp.Data.csproj
Normal file
@@ -0,0 +1,23 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="10.0.3" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.3">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.3" />
|
||||
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.11" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SteUp.Shared\SteUp.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,12 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:Template.Maui"
|
||||
x:Class="Template.Maui.App">
|
||||
xmlns:android="clr-namespace:Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific;assembly=Microsoft.Maui.Controls"
|
||||
android:Application.WindowSoftInputModeAdjust="Pan"
|
||||
x:Class="SteUp.Maui.App">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
|
||||
<Color x:Key="PageBackgroundColor">#512bdf</Color>
|
||||
<Color x:Key="PageBackgroundColor">#FDECEA</Color>
|
||||
<Color x:Key="PrimaryTextColor">White</Color>
|
||||
|
||||
<Style TargetType="Label">
|
||||
@@ -17,7 +18,7 @@
|
||||
<Style TargetType="Button">
|
||||
<Setter Property="TextColor" Value="{DynamicResource PrimaryTextColor}" />
|
||||
<Setter Property="FontFamily" Value="OpenSansRegular" />
|
||||
<Setter Property="BackgroundColor" Value="#2b0b98" />
|
||||
<Setter Property="BackgroundColor" Value="#FDECEA" />
|
||||
<Setter Property="Padding" Value="14,10" />
|
||||
</Style>
|
||||
|
||||
15
SteUp.Maui/App.xaml.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace SteUp.Maui
|
||||
{
|
||||
public partial class App
|
||||
{
|
||||
public App()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override Window CreateWindow(IActivationState? activationState)
|
||||
{
|
||||
return new Window(new MainPage());
|
||||
}
|
||||
}
|
||||
}
|
||||
61
SteUp.Maui/Core/CoreModule.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
using System.Data;
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using SteUp.Data.LocalDb;
|
||||
using SteUp.Data.LocalDb.EntityServices;
|
||||
using SteUp.Maui.Core.Services;
|
||||
using SteUp.Maui.Core.System;
|
||||
using SteUp.Maui.Core.System.Network;
|
||||
using SteUp.Shared.Core.Data;
|
||||
using SteUp.Shared.Core.Data.Contracts;
|
||||
using SteUp.Shared.Core.Interface;
|
||||
using SteUp.Shared.Core.Interface.IntegryApi;
|
||||
using SteUp.Shared.Core.Interface.LocalDb;
|
||||
using SteUp.Shared.Core.Interface.System;
|
||||
using SteUp.Shared.Core.Interface.System.Network;
|
||||
using SteUp.Shared.Core.Services;
|
||||
|
||||
namespace SteUp.Maui.Core;
|
||||
|
||||
public static class CoreModule
|
||||
{
|
||||
public static void RegisterAppServices(this MauiAppBuilder builder)
|
||||
{
|
||||
builder.Services.AddSingleton<IFormFactor, FormFactor>();
|
||||
builder.Services.AddSingleton<IGenericSystemService, GenericSystemService>();
|
||||
|
||||
builder.Services.AddScoped<ISteupDataService, SteupDataService>();
|
||||
}
|
||||
|
||||
public static void RegisterIntegryServices(this MauiAppBuilder builder)
|
||||
{
|
||||
builder.Services.AddScoped<IIntegryApiService, IntegryApiService>();
|
||||
builder.Services.AddScoped<IIntegrySteupService, IntegrySteupService>();
|
||||
}
|
||||
|
||||
public static void RegisterSystemService(this MauiAppBuilder builder)
|
||||
{
|
||||
builder.Services.AddSingleton<INetworkService, NetworkService>();
|
||||
builder.Services.AddSingleton<IAttachedService, AttachedService>();
|
||||
}
|
||||
|
||||
public static void AddAuthorizationCore(this MauiAppBuilder builder)
|
||||
{
|
||||
builder.Services.AddAuthorizationCore();
|
||||
builder.Services.AddScoped<AppAuthenticationStateProvider>();
|
||||
builder.Services.AddScoped<AuthenticationStateProvider>(provider =>
|
||||
provider.GetRequiredService<AppAuthenticationStateProvider>());
|
||||
}
|
||||
|
||||
public static void RegisterDbServices(this MauiAppBuilder builder)
|
||||
{
|
||||
builder.Services.AddSingleton<IDbPathProvider, DbPathProvider>();
|
||||
builder.Services.AddDbContext<AppDbContext>((sp, options) =>
|
||||
{
|
||||
var dbPath = sp.GetRequiredService<IDbPathProvider>().GetDbPath();
|
||||
options.UseSqlite($"Filename={dbPath}");
|
||||
});
|
||||
builder.Services.AddSingleton<IDbInitializer, DbInitializer>();
|
||||
builder.Services.AddSingleton<IIspezioniService, IspezioniService>();
|
||||
}
|
||||
}
|
||||
101
SteUp.Maui/Core/Services/AttachedService.cs
Normal file
@@ -0,0 +1,101 @@
|
||||
using SteUp.Shared.Core.Dto;
|
||||
using SteUp.Shared.Core.Interface.System;
|
||||
|
||||
namespace SteUp.Maui.Core.Services;
|
||||
|
||||
public class AttachedService : IAttachedService
|
||||
{
|
||||
public async Task<AttachedDto?> SelectImageFromCamera()
|
||||
{
|
||||
var cameraPerm = await Permissions.RequestAsync<Permissions.Camera>();
|
||||
var storagePerm = await Permissions.RequestAsync<Permissions.StorageWrite>();
|
||||
|
||||
if (cameraPerm != PermissionStatus.Granted || storagePerm != PermissionStatus.Granted)
|
||||
return null;
|
||||
|
||||
FileResult? result;
|
||||
|
||||
try
|
||||
{
|
||||
result = await MediaPicker.Default.CapturePhotoAsync();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine($"Errore cattura foto: {ex.Message}");
|
||||
SentrySdk.CaptureException(ex);
|
||||
return null;
|
||||
}
|
||||
|
||||
return result is null ? null : await ConvertToDto(result, AttachedDto.TypeAttached.Image);
|
||||
}
|
||||
|
||||
public async Task<AttachedDto?> SelectImageFromGallery()
|
||||
{
|
||||
var storagePerm = await Permissions.RequestAsync<Permissions.StorageRead>();
|
||||
if (storagePerm != PermissionStatus.Granted)
|
||||
return null;
|
||||
|
||||
FileResult? result;
|
||||
|
||||
try
|
||||
{
|
||||
result = await MediaPicker.Default.PickPhotoAsync();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine($"Errore selezione galleria: {ex.Message}");
|
||||
SentrySdk.CaptureException(ex);
|
||||
return null;
|
||||
}
|
||||
|
||||
return result is null ? null : await ConvertToDto(result, AttachedDto.TypeAttached.Image);
|
||||
}
|
||||
|
||||
private static async Task<AttachedDto> ConvertToDto(FileResult file, AttachedDto.TypeAttached type)
|
||||
{
|
||||
var stream = await file.OpenReadAsync();
|
||||
using var ms = new MemoryStream();
|
||||
await stream.CopyToAsync(ms);
|
||||
|
||||
return new AttachedDto
|
||||
{
|
||||
Name = file.FileName,
|
||||
Path = file.FullPath,
|
||||
MimeType = file.ContentType,
|
||||
DimensionBytes = ms.Length,
|
||||
FileBytes = ms.ToArray(),
|
||||
Type = type
|
||||
};
|
||||
}
|
||||
|
||||
public async Task<string> SaveToTempStorage(Stream file, string fileName, CancellationToken ct = default)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(file);
|
||||
|
||||
if (file.CanSeek)
|
||||
file.Position = 0;
|
||||
|
||||
fileName = Path.GetFileName(fileName);
|
||||
|
||||
var dir = FileSystem.CacheDirectory;
|
||||
var filePath = Path.Combine(dir, fileName);
|
||||
|
||||
await using var fileStream = File.Create(filePath);
|
||||
await file.CopyToAsync(fileStream, ct);
|
||||
|
||||
return filePath;
|
||||
}
|
||||
|
||||
public Task OpenFile(string fileName, string filePath)
|
||||
{
|
||||
#if IOS
|
||||
throw new NotImplementedException();
|
||||
#else
|
||||
return Launcher.OpenAsync(new OpenFileRequest
|
||||
{
|
||||
Title = "Apri file",
|
||||
File = new ReadOnlyFile(filePath)
|
||||
});
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
using Template.Shared.Interfaces;
|
||||
using SteUp.Shared.Core.Interface;
|
||||
|
||||
namespace Template.Maui.Services;
|
||||
namespace SteUp.Maui.Core.Services;
|
||||
|
||||
public class FormFactor : IFormFactor
|
||||
{
|
||||
15
SteUp.Maui/Core/System/GenericSystemService.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using SteUp.Shared.Core.Interface.System;
|
||||
|
||||
namespace SteUp.Maui.Core.System;
|
||||
|
||||
public class GenericSystemService : IGenericSystemService
|
||||
{
|
||||
public string GetCurrentAppVersion()
|
||||
{
|
||||
#if DEBUG
|
||||
return $"v{AppInfo.VersionString} [DEBUG]";
|
||||
#else
|
||||
return $"v{AppInfo.VersionString}";
|
||||
#endif
|
||||
}
|
||||
}
|
||||
12
SteUp.Maui/Core/System/Network/NetworkService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using SteUp.Shared.Core.Interface.System.Network;
|
||||
|
||||
namespace SteUp.Maui.Core.System.Network;
|
||||
|
||||
public class NetworkService : INetworkService
|
||||
{
|
||||
public bool ConnectionAvailable { get; set; }
|
||||
|
||||
public bool IsNetworkAvailable() =>
|
||||
Connectivity.Current.NetworkAccess == NetworkAccess.Internet;
|
||||
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:Template.Maui"
|
||||
xmlns:shared="clr-namespace:Template.Shared;assembly=Template.Shared"
|
||||
x:Class="Template.Maui.MainPage"
|
||||
xmlns:shared="clr-namespace:SteUp.Shared;assembly=SteUp.Shared"
|
||||
x:Class="SteUp.Maui.MainPage"
|
||||
SafeAreaEdges="All"
|
||||
BackgroundColor="{DynamicResource PageBackgroundColor}">
|
||||
|
||||
<BlazorWebView x:Name="blazorWebView" HostPage="wwwroot/index.html">
|
||||
<BlazorWebView HostPage="wwwroot/index.html">
|
||||
<BlazorWebView.RootComponents>
|
||||
<RootComponent Selector="#app" ComponentType="{x:Type shared:Components.Routes}" />
|
||||
</BlazorWebView.RootComponents>
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Template.Maui
|
||||
namespace SteUp.Maui
|
||||
{
|
||||
public partial class MainPage : ContentPage
|
||||
{
|
||||
54
SteUp.Maui/MauiProgram.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using CommunityToolkit.Maui;
|
||||
using IntegryApiClient.MAUI;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using MudBlazor.Services;
|
||||
using MudExtensions.Services;
|
||||
using SteUp.Maui.Core;
|
||||
using SteUp.Maui.Core.Services;
|
||||
using SteUp.Shared;
|
||||
using SteUp.Shared.Core.Interface;
|
||||
|
||||
namespace SteUp.Maui
|
||||
{
|
||||
public static class MauiProgram
|
||||
{
|
||||
private const string AppToken = "4fef1843-793d-499b-a7ed-1edd8cac465c";
|
||||
|
||||
public static MauiApp CreateMauiApp()
|
||||
{
|
||||
InteractiveRenderSettings.ConfigureBlazorHybridRenderModes();
|
||||
|
||||
var builder = MauiApp.CreateBuilder();
|
||||
builder
|
||||
.UseMauiApp<App>()
|
||||
.UseIntegry(appToken: AppToken, useLoginAzienda: true)
|
||||
.UseMauiCommunityToolkit()
|
||||
.UseSentry(options =>
|
||||
{
|
||||
options.Dsn = "https://c1ff03e3d1d2dd973a1ce73c58f92a8d@o4508499810254848.ingest.de.sentry.io/4510900455866448";
|
||||
#if DEBUG
|
||||
options.Debug = true;
|
||||
#endif
|
||||
options.TracesSampleRate = 1.0;
|
||||
})
|
||||
.ConfigureFonts(fonts => { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); });
|
||||
|
||||
builder.Services.AddMauiBlazorWebView();
|
||||
builder.Services.AddMudServices();
|
||||
builder.Services.AddMudExtensions();
|
||||
|
||||
#if DEBUG
|
||||
builder.Services.AddBlazorWebViewDeveloperTools();
|
||||
builder.Logging.AddDebug();
|
||||
#endif
|
||||
|
||||
builder.AddAuthorizationCore();
|
||||
builder.RegisterAppServices();
|
||||
builder.RegisterIntegryServices();
|
||||
builder.RegisterSystemService();
|
||||
builder.RegisterDbServices();
|
||||
|
||||
return builder.Build();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<application android:allowBackup="true" android:icon="@mipmap/appicon" android:roundIcon="@mipmap/appicon_round" android:supportsRtl="true"></application>
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/appicon"
|
||||
android:usesCleartextTraffic="true"
|
||||
android:supportsRtl="true">
|
||||
</application>
|
||||
|
||||
<!-- Rete -->
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
</manifest>
|
||||
14
SteUp.Maui/Platforms/Android/MainActivity.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Android.App;
|
||||
using Android.Content.PM;
|
||||
|
||||
namespace SteUp.Maui
|
||||
{
|
||||
[Activity(
|
||||
Theme = "@style/Maui.SplashTheme",
|
||||
MainLauncher = true,
|
||||
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode |
|
||||
ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
|
||||
public class MainActivity : MauiAppCompatActivity
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
using Android.App;
|
||||
using Android.Runtime;
|
||||
|
||||
namespace Template.Maui
|
||||
namespace SteUp.Maui
|
||||
{
|
||||
[Application]
|
||||
public class MainApplication : MauiApplication
|
||||
6
SteUp.Maui/Platforms/Android/Resources/values/colors.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#ec4c41</color>
|
||||
<color name="colorPrimaryDark">#d02315</color>
|
||||
<color name="colorAccent">#d02315</color>
|
||||
</resources>
|
||||
@@ -1,7 +1,7 @@
|
||||
using Foundation;
|
||||
using Template.Maui;
|
||||
using SteUp.Maui;
|
||||
|
||||
namespace Template.Maui
|
||||
namespace SteUp.Maui
|
||||
{
|
||||
[Register("AppDelegate")]
|
||||
public class AppDelegate : MauiUIApplicationDelegate
|
||||
@@ -1,7 +1,7 @@
|
||||
using ObjCRuntime;
|
||||
using UIKit;
|
||||
|
||||
namespace Template.Maui
|
||||
namespace SteUp.Maui
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
@@ -2,7 +2,7 @@ using System;
|
||||
using Microsoft.Maui;
|
||||
using Microsoft.Maui.Hosting;
|
||||
|
||||
namespace Template.Maui
|
||||
namespace SteUp.Maui
|
||||
{
|
||||
internal class Program : MauiApplication
|
||||
{
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest package="maui-application-id-placeholder" version="0.0.0" api-version="8" xmlns="http://tizen.org/ns/packages">
|
||||
<profile name="common" />
|
||||
<ui-application appid="maui-application-id-placeholder" exec="Template.Maui.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
|
||||
<ui-application appid="maui-application-id-placeholder" exec="SteUp.Maui.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
|
||||
<label>maui-application-title-placeholder</label>
|
||||
<icon>maui-appicon-placeholder</icon>
|
||||
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
|
||||
@@ -3,7 +3,7 @@ using Microsoft.UI.Xaml;
|
||||
// To learn more about WinUI, the WinUI project structure,
|
||||
// and more about our project templates, see: http://aka.ms/winui-project-info.
|
||||
|
||||
namespace Template.Maui.WinUI
|
||||
namespace SteUp.Maui.WinUI
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides application-specific behavior to supplement the default Application class.
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="Template.Maui.WinUI.app"/>
|
||||
<assemblyIdentity version="1.0.0.0" name="SteUp.Maui.WinUI.app"/>
|
||||
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
@@ -1,6 +1,6 @@
|
||||
using Foundation;
|
||||
|
||||
namespace Template.Maui
|
||||
namespace SteUp.Maui
|
||||
{
|
||||
[Register("AppDelegate")]
|
||||
public class AppDelegate : MauiUIApplicationDelegate
|
||||
@@ -1,7 +1,7 @@
|
||||
using ObjCRuntime;
|
||||
using UIKit;
|
||||
|
||||
namespace Template.Maui
|
||||
namespace SteUp.Maui
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
1
SteUp.Maui/Resources/AppIcon/appicon.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 456 456" width="456" height="456"><defs><image width="456" height="456" id="img1" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcgAAAHIAQMAAADwb+ipAAAAAXNSR0IB2cksfwAAAANQTFRF/ezqqHJq3wAAAGhJREFUeJztyzENAAAMA6DVv+l5aHrCT64V0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN0zRN05zNB6OcAcm2KNubAAAAAElFTkSuQmCC"/></defs><style></style><use href="#img1" x="0" y="0"/></svg>
|
||||
|
After Width: | Height: | Size: 493 B |
1
SteUp.Maui/Resources/AppIcon/appiconfg.svg
Normal file
|
After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
1
SteUp.Maui/Resources/Splash/splash.svg
Normal file
|
After Width: | Height: | Size: 33 KiB |
131
SteUp.Maui/SteUp.Maui.csproj
Normal file
@@ -0,0 +1,131 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>$(TargetFrameworks);net10.0-android</TargetFrameworks>
|
||||
<TargetFrameworks>$(TargetFrameworks);net10.0-ios</TargetFrameworks>
|
||||
<!-- <TargetFrameworks>$(TargetFrameworks);net10.0-maccatalyst</TargetFrameworks>-->
|
||||
<!-- <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks>-->
|
||||
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
|
||||
<!-- <TargetFrameworks>$(TargetFrameworks);net10.0-tizen</TargetFrameworks> -->
|
||||
|
||||
<!-- Note for MacCatalyst:
|
||||
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
|
||||
When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>.
|
||||
The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated;
|
||||
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
|
||||
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
|
||||
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>SteUp.Maui</RootNamespace>
|
||||
<UseMaui>true</UseMaui>
|
||||
<SingleProject>true</SingleProject>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<EnableDefaultCssItems>false</EnableDefaultCssItems>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
<!-- Display name -->
|
||||
<ApplicationTitle>SteUP</ApplicationTitle>
|
||||
|
||||
<!-- App Identifier -->
|
||||
<ApplicationId>it.integry.SteUp</ApplicationId>
|
||||
|
||||
<!-- Versions -->
|
||||
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
||||
<ApplicationVersion>1</ApplicationVersion>
|
||||
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
|
||||
<!-- <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">-->
|
||||
<!-- 14.0-->
|
||||
<!-- </SupportedOSPlatformVersion>-->
|
||||
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion>
|
||||
<!-- <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>-->
|
||||
<!-- <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>-->
|
||||
<!--slower build, faster runtime in DEBUG-->
|
||||
<!-- <_MauiForceXamlCForDebug Condition="'$(Configuration)' == 'Debug'">true</_MauiForceXamlCForDebug> -->
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
|
||||
<DefineConstants>$(DefineConstants);PLATFORM</DefineConstants>
|
||||
<SupportedOSPlatformVersion>26.0</SupportedOSPlatformVersion>
|
||||
<TargetPlatformVersion>36</TargetPlatformVersion>
|
||||
|
||||
<!--<EmbedAssembliesIntoApk Condition="'$(Configuration)' == 'Debug'">true</EmbedAssembliesIntoApk>
|
||||
<AndroidPackageFormats Condition="'$(Configuration)' == 'Release'">aab</AndroidPackageFormats>
|
||||
<AndroidLinkTool>r8</AndroidLinkTool>
|
||||
<AndroidLinkTool>proguard</AndroidLinkTool>-->
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android' AND '$(Configuration)' == 'Debug'">
|
||||
|
||||
<!--these help speed up android builds-->
|
||||
<!--
|
||||
<RuntimeIdentifier>android-arm64</RuntimeIdentifier>
|
||||
<AndroidEnableProfiler>true</AndroidEnableProfiler>
|
||||
<AndroidPackageFormat>aab</AndroidPackageFormat>
|
||||
-->
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios' AND '$(Configuration)' == 'Debug'">
|
||||
<!--forces the simulator to pickup entitlements-->
|
||||
<EnableCodeSigning>true</EnableCodeSigning>
|
||||
<CodesignRequireProvisioningProfile>true</CodesignRequireProvisioningProfile>
|
||||
<DisableCodesignVerification>true</DisableCodesignVerification>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios' OR $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
|
||||
<SupportedOSPlatformVersion>14.2</SupportedOSPlatformVersion>
|
||||
<DefineConstants>$(DefineConstants);APPLE;PLATFORM</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)'=='net10.0-ios'">
|
||||
<CodesignKey>Apple Development: Massimo Fausto Morelli (6C2CUM53BT)</CodesignKey>
|
||||
<CodesignProvision>VS: WildCard Development</CodesignProvision>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios' OR $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
|
||||
<!--
|
||||
<BundleResource Include="Platforms\iOS\PrivacyInfo.xcprivacy" LogicalName="PrivacyInfo.xcprivacy" />
|
||||
|
||||
<CustomEntitlements Include="keychain-access-groups" Type="StringArray" Value="%24(AppIdentifierPrefix)$(ApplicationId)" Visible="false" />
|
||||
<CustomEntitlements Include="aps-environment" Type="string" Value="development" Condition="'$(Configuration)' == 'Debug'" Visible="false" />
|
||||
<CustomEntitlements Include="aps-environment" Type="string" Value="production" Condition="'$(Configuration)' == 'Release'" Visible="false" />
|
||||
-->
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- App Icon -->
|
||||
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#FDECEA" />
|
||||
|
||||
<!-- Splash Screen -->
|
||||
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#FDECEA" BaseSize="128,128" />
|
||||
|
||||
<!-- Images -->
|
||||
<MauiImage Include="Resources\Images\*" />
|
||||
<MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />
|
||||
|
||||
<!-- Custom Fonts -->
|
||||
<MauiFont Include="Resources\Fonts\*" />
|
||||
|
||||
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
|
||||
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CommunityToolkit.Maui" Version="14.0.0" />
|
||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
|
||||
<PackageReference Include="IntegryApiClient.MAUI" Version="2.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.3" />
|
||||
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.40" />
|
||||
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="10.0.40" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="10.0.40" />
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.3" />
|
||||
<PackageReference Include="Sentry.Maui" Version="6.1.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SteUp.Shared\SteUp.Shared.csproj" />
|
||||
<ProjectReference Include="..\SteUp.Data\SteUp.Data.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
53
SteUp.Maui/wwwroot/index.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"/>
|
||||
<title>SteUp.Maui</title>
|
||||
<base href="/"/>
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap"
|
||||
rel="stylesheet">
|
||||
|
||||
<link href="_content/SteUp.Shared/css/bootstrap/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="_content/SteUp.Shared/css/bootstrap/bootstrap-icons.min.css" rel="stylesheet"/>
|
||||
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet"/>
|
||||
|
||||
<link href="_content/CodeBeam.MudBlazor.Extensions/MudExtensions.min.css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="_content/SteUp.Shared/css/remixicon/remixicon.css"/>
|
||||
<link rel="stylesheet" href="_content/SteUp.Shared/css/app.css"/>
|
||||
<link rel="stylesheet" href="_content/SteUp.Shared/css/form.css"/>
|
||||
<link rel="stylesheet" href="_content/SteUp.Shared/css/default-theme.css"/>
|
||||
<link rel="stylesheet" href="_content/SteUp.Shared/css/custom-mudBlazor.css"/>
|
||||
<link rel="stylesheet" href="SteUp.Maui.styles.css"/>
|
||||
<link rel="icon" type="image/png" href="favicon.png"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="status-bar-safe-area"></div>
|
||||
|
||||
<div id="app">
|
||||
<div class="spinner-container">
|
||||
<span class="loader"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="blazor-error-ui">
|
||||
An unhandled error has occurred.
|
||||
<a href="" class="reload">Reload</a>
|
||||
<a class="dismiss">🗙</a>
|
||||
</div>
|
||||
|
||||
<script src="_framework/blazor.webview.js" autostart="false"></script>
|
||||
<script src="_content/SteUp.Shared/js/bootstrap/bootstrap.bundle.min.js"></script>
|
||||
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
|
||||
<script src="_content/CodeBeam.MudBlazor.Extensions/MudExtensions.min.js"></script>
|
||||
<script src="_content/SteUp.Shared/js/main.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
78
SteUp.Shared/Components/Layout/HeaderLayout.razor
Normal file
@@ -0,0 +1,78 @@
|
||||
@using SteUp.Shared.Core.Helpers
|
||||
@inject IJSRuntime Js
|
||||
|
||||
<div class="@(Back ? "" : "container") header">
|
||||
<div class="header-content @(Back ? "with-back" : "no-back")">
|
||||
@if (!SmallHeader)
|
||||
{
|
||||
if (Back)
|
||||
{
|
||||
<div class="left-section">
|
||||
<MudButton StartIcon="@(!Cancel ? Icons.Material.Outlined.ArrowBackIosNew : "")"
|
||||
OnClick="@GoBack"
|
||||
Color="Color.Info"
|
||||
Style="text-transform: none"
|
||||
Variant="Variant.Text">
|
||||
@BackTo
|
||||
</MudButton>
|
||||
</div>
|
||||
}
|
||||
|
||||
<h3 class="page-title">@Title</h3>
|
||||
|
||||
<div class="right-section">
|
||||
@if (!LabelSave.IsNullOrEmpty())
|
||||
{
|
||||
<MudButton OnClick="@OnSave"
|
||||
Color="Color.Info"
|
||||
Style="text-transform: none"
|
||||
Variant="Variant.Text">
|
||||
@LabelSave
|
||||
</MudButton>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="title">
|
||||
<MudText Typo="Typo.h6">
|
||||
<b>@Title</b>
|
||||
</MudText>
|
||||
<MudIconButton Icon="@Icons.Material.Filled.Close" OnClick="@GoBack" />
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@code{
|
||||
[Parameter] public string? Title { get; set; }
|
||||
[Parameter] public bool Back { get; set; }
|
||||
[Parameter] public string BackTo { get; set; } = "";
|
||||
|
||||
[Parameter] public EventCallback OnFilterToggle { get; set; }
|
||||
|
||||
[Parameter] public bool Cancel { get; set; }
|
||||
[Parameter] public EventCallback OnCancel { get; set; }
|
||||
[Parameter] public string? LabelSave { get; set; }
|
||||
[Parameter] public EventCallback OnSave { get; set; }
|
||||
|
||||
[Parameter] public bool SmallHeader { get; set; }
|
||||
|
||||
protected override void OnParametersSet()
|
||||
{
|
||||
Back = !Back ? !Back && Cancel : Back;
|
||||
BackTo = Cancel ? "Annulla" : BackTo;
|
||||
}
|
||||
|
||||
private async Task GoBack()
|
||||
{
|
||||
if (Cancel)
|
||||
{
|
||||
await OnCancel.InvokeAsync();
|
||||
return;
|
||||
}
|
||||
|
||||
await Js.InvokeVoidAsync("goBack");
|
||||
}
|
||||
|
||||
}
|
||||
31
SteUp.Shared/Components/Layout/HeaderLayout.razor.css
Normal file
@@ -0,0 +1,31 @@
|
||||
.header {
|
||||
min-height: var(--mh-header);
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header-content {
|
||||
width: 100%;
|
||||
line-height: normal;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.header-content > .title { width: 100%; }
|
||||
|
||||
.header-content.with-back .page-title {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
margin: 0;
|
||||
font-size: larger;
|
||||
}
|
||||
|
||||
.left-section ::deep button, .right-section ::deep button { font-size: 1.1rem; }
|
||||
|
||||
.left-section ::deep .mud-button-icon-start { margin-right: 3px !important; }
|
||||
|
||||
.header-content.no-back .page-title { margin: 0; }
|
||||
173
SteUp.Shared/Components/Layout/MainLayout.razor
Normal file
@@ -0,0 +1,173 @@
|
||||
@using System.Globalization
|
||||
@using SteUp.Shared.Components.SingleElements
|
||||
@using SteUp.Shared.Core.Interface.IntegryApi
|
||||
@using SteUp.Shared.Core.Interface.System.Network
|
||||
@inherits LayoutComponentBase
|
||||
@inject INetworkService NetworkService
|
||||
@inject IIntegryApiService IntegryApiService
|
||||
|
||||
<MudThemeProvider Theme="_currentTheme" @ref="@_mudThemeProvider" @bind-IsDarkMode="@IsDarkMode" />
|
||||
<MudPopoverProvider/>
|
||||
<MudDialogProvider/>
|
||||
<MudSnackbarProvider/>
|
||||
|
||||
<ConnectionState IsNetworkAvailable="IsNetworkAvailable" ServicesIsDown="ServicesIsDown" ShowWarning="ShowWarning" />
|
||||
|
||||
<div class="page">
|
||||
<NavMenu/>
|
||||
|
||||
<main>
|
||||
<article>
|
||||
@Body
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private MudThemeProvider _mudThemeProvider = null!;
|
||||
private bool IsDarkMode { get; set; }
|
||||
private string _mainContentClass = "";
|
||||
|
||||
//Connection state
|
||||
private bool _isNetworkAvailable;
|
||||
private bool _servicesIsDown;
|
||||
private bool _showWarning;
|
||||
|
||||
private DateTime _lastApiCheck = DateTime.MinValue;
|
||||
private const int DelaySeconds = 90;
|
||||
|
||||
private CancellationTokenSource? _cts;
|
||||
|
||||
private bool ServicesIsDown
|
||||
{
|
||||
get => _servicesIsDown;
|
||||
set
|
||||
{
|
||||
if (_servicesIsDown == value) return;
|
||||
_servicesIsDown = value;
|
||||
StateHasChanged();
|
||||
}
|
||||
}
|
||||
|
||||
private bool IsNetworkAvailable
|
||||
{
|
||||
get => _isNetworkAvailable;
|
||||
set
|
||||
{
|
||||
if (_isNetworkAvailable == value) return;
|
||||
_isNetworkAvailable = value;
|
||||
StateHasChanged();
|
||||
}
|
||||
}
|
||||
|
||||
private bool ShowWarning
|
||||
{
|
||||
get => _showWarning;
|
||||
set
|
||||
{
|
||||
if (_showWarning == value) return;
|
||||
_showWarning = value;
|
||||
StateHasChanged();
|
||||
}
|
||||
}
|
||||
|
||||
private readonly MudTheme _currentTheme = new()
|
||||
{
|
||||
PaletteLight = new PaletteLight()
|
||||
{
|
||||
Primary = "#ec4c41",
|
||||
Secondary = "#002339",
|
||||
Tertiary = "#dff2ff",
|
||||
TextPrimary = "#000"
|
||||
},
|
||||
PaletteDark = new PaletteDark
|
||||
{
|
||||
Primary = "#ec4c41",
|
||||
Secondary = "#002339",
|
||||
Tertiary = "#dff2ff",
|
||||
Surface = "#000406",
|
||||
Background = "#000406",
|
||||
TextPrimary = "#fff",
|
||||
GrayDark = "#E0E0E0"
|
||||
}
|
||||
};
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
// if (firstRender)
|
||||
// {
|
||||
// var isDarkMode = LocalStorage.GetString("isDarkMode");
|
||||
|
||||
// if (isDarkMode == null && _mudThemeProvider != null)
|
||||
// {
|
||||
// IsDarkMode = await _mudThemeProvider.GetSystemPreference();
|
||||
// await _mudThemeProvider.WatchSystemPreference(OnSystemPreferenceChanged);
|
||||
// LocalStorage.SetString("isDarkMode", IsDarkMode.ToString());
|
||||
// StateHasChanged();
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// IsDarkMode = bool.Parse(isDarkMode!);
|
||||
// }
|
||||
|
||||
// if (IsDarkMode)
|
||||
// {
|
||||
// _mainContentClass += "is-dark";
|
||||
// StateHasChanged();
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
private async Task OnSystemPreferenceChanged(bool newValue)
|
||||
{
|
||||
IsDarkMode = newValue;
|
||||
}
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
_cts = new CancellationTokenSource();
|
||||
_ = CheckConnectionState(_cts.Token);
|
||||
|
||||
var culture = new CultureInfo("it-IT", false);
|
||||
|
||||
CultureInfo.CurrentCulture = culture;
|
||||
CultureInfo.CurrentUICulture = culture;
|
||||
}
|
||||
|
||||
private Task CheckConnectionState(CancellationToken token)
|
||||
{
|
||||
return Task.Run(async () =>
|
||||
{
|
||||
while (!token.IsCancellationRequested)
|
||||
{
|
||||
var isNetworkAvailable = NetworkService.IsNetworkAvailable();
|
||||
var servicesDown = ServicesIsDown;
|
||||
|
||||
if (isNetworkAvailable && (DateTime.UtcNow - _lastApiCheck).TotalSeconds >= DelaySeconds)
|
||||
{
|
||||
servicesDown = !await IntegryApiService.SystemOk();
|
||||
_lastApiCheck = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
await InvokeAsync(async () =>
|
||||
{
|
||||
IsNetworkAvailable = isNetworkAvailable;
|
||||
ServicesIsDown = servicesDown;
|
||||
|
||||
await Task.Delay(1500, token);
|
||||
ShowWarning = !(IsNetworkAvailable && !ServicesIsDown);
|
||||
NetworkService.ConnectionAvailable = !ShowWarning;
|
||||
});
|
||||
|
||||
await Task.Delay(500, token);
|
||||
}
|
||||
}, token);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_cts?.Cancel();
|
||||
_cts?.Dispose();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -21,20 +21,20 @@ main {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.top-row ::deep a, .top-row ::deep .btn-link {
|
||||
.top-row ::deep a, .top-row ::deep .btn-link {
|
||||
white-space: nowrap;
|
||||
margin-left: 1.5rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
|
||||
.top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.top-row ::deep a:first-child {
|
||||
.top-row ::deep a:first-child {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640.98px) {
|
||||
.top-row {
|
||||
99
SteUp.Shared/Components/Layout/NavMenu.razor
Normal file
@@ -0,0 +1,99 @@
|
||||
@using SteUp.Shared.Core.Interface.System.Network
|
||||
@inject INetworkService NetworkService
|
||||
@inject IDialogService Dialog
|
||||
|
||||
<div
|
||||
class="container animated-navbar @(IsVisible ? "show-nav" : "hide-nav") @(IsVisible ? PlusVisible ? "with-plus" : "without-plus" : "with-plus")">
|
||||
<nav class="navbar @(IsVisible ? PlusVisible ? "with-plus" : "without-plus" : "with-plus")">
|
||||
<div class="container-navbar">
|
||||
<ul class="navbar-nav flex-row nav-justified align-items-center w-100 text-center">
|
||||
<li class="nav-item">
|
||||
<NavLink class="nav-link" href="ispezioni" Match="NavLinkMatch.All">
|
||||
<div class="d-flex flex-column">
|
||||
<i class="ri-file-list-3-line"></i>
|
||||
<span>Ispezioni</span>
|
||||
</div>
|
||||
</NavLink>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<NavLink class="nav-link" href="user" Match="NavLinkMatch.All">
|
||||
<div class="d-flex flex-column">
|
||||
<i class="ri-user-line"></i>
|
||||
<span>Profilo</span>
|
||||
</div>
|
||||
</NavLink>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@if (PlusVisible)
|
||||
{
|
||||
<MudMenu PopoverClass="custom_popover" AnchorOrigin="Origin.TopLeft" TransformOrigin="Origin.BottomRight">
|
||||
<ActivatorContent>
|
||||
<MudFab Class="custom-plus-button" OnClick="OnOpenMenu" Color="Color.Surface" Size="Size.Medium" IconSize="Size.Medium"
|
||||
IconColor="Color.Primary" StartIcon="@Icons.Material.Filled.Add"/>
|
||||
</ActivatorContent>
|
||||
<ChildContent>
|
||||
@if (SchedaVisible)
|
||||
{
|
||||
<MudMenuItem Disabled="!NetworkService.IsNetworkAvailable()" OnClick="@NewScheda">
|
||||
Nuova scheda
|
||||
</MudMenuItem>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudMenuItem Disabled="!NetworkService.IsNetworkAvailable()" OnClick="@NewActivity">
|
||||
Nuova ispezione
|
||||
</MudMenuItem>
|
||||
}
|
||||
</ChildContent>
|
||||
</MudMenu>
|
||||
}
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
@code
|
||||
{
|
||||
private bool IsVisible { get; set; } = true;
|
||||
private bool PlusVisible { get; set; } = true;
|
||||
private bool SchedaVisible { get; set; }
|
||||
|
||||
protected override Task OnInitializedAsync()
|
||||
{
|
||||
NavigationManager.LocationChanged += (_, args) =>
|
||||
{
|
||||
var location = args.Location.Remove(0, NavigationManager.BaseUri.Length);
|
||||
|
||||
var newIsVisible = new List<string> { "ispezioni", "ispezione", "user" }
|
||||
.Contains(location);
|
||||
|
||||
var newPlusVisible = new List<string> { "ispezioni", "ispezione", "user" }
|
||||
.Contains(location);
|
||||
|
||||
if (IsVisible == newIsVisible && PlusVisible == newPlusVisible) return;
|
||||
|
||||
IsVisible = newIsVisible;
|
||||
PlusVisible = newPlusVisible;
|
||||
StateHasChanged();
|
||||
};
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
private void NewActivity()
|
||||
{
|
||||
_ = ModalHelper.OpenSelectShop(Dialog);
|
||||
}
|
||||
|
||||
private void NewScheda()
|
||||
{
|
||||
_ = ModalHelper.OpenFormScheda(Dialog);
|
||||
}
|
||||
|
||||
private void OnOpenMenu()
|
||||
{
|
||||
var location = NavigationManager.Uri.Remove(0, NavigationManager.BaseUri.Length);
|
||||
|
||||
SchedaVisible = new List<string> { "ispezione" }.Contains(location);
|
||||
StateHasChanged();
|
||||
}
|
||||
}
|
||||
97
SteUp.Shared/Components/Layout/NavMenu.razor.css
Normal file
@@ -0,0 +1,97 @@
|
||||
.animated-navbar {
|
||||
background: transparent;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
z-index: 1001;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.animated-navbar.show-nav { transform: translateY(0); }
|
||||
|
||||
.animated-navbar.hide-nav { transform: translateY(150%); }
|
||||
|
||||
.animated-navbar.with-plus { margin-left: 30px; }
|
||||
|
||||
.navbar {
|
||||
padding-bottom: 1rem;
|
||||
padding-top: 0 !important;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: end;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.navbar.with-plus { transform: translateX(-30px); }
|
||||
|
||||
.navbar.without-plus {
|
||||
transform: translateX(0);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.container-navbar {
|
||||
background: var(--mud-palette-surface);
|
||||
border-radius: 50px;
|
||||
padding: 0 10px;
|
||||
box-shadow: var(--custom-box-shadow);
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.nav-item { font-size: 0.9rem; }
|
||||
|
||||
.nav-item.plus-button {
|
||||
position: relative;
|
||||
bottom: 15px;
|
||||
}
|
||||
|
||||
.navbar ::deep .custom-plus-button .mud-icon-root {
|
||||
transition: .5s;
|
||||
transform: rotate(0);
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.navbar ::deep .custom-plus-button {
|
||||
background: var(--mud-palette-surface);
|
||||
box-shadow: var(--custom-box-shadow);
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.navbar ::deep .custom-plus-button:focus .mud-icon-root { transform: rotate(225deg); }
|
||||
|
||||
.nav-item ::deep a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 1.2;
|
||||
justify-content: center;
|
||||
padding-top: .25rem !important;
|
||||
padding-bottom: .25rem !important;
|
||||
}
|
||||
|
||||
.nav-item ::deep a > div {
|
||||
-webkit-transition: all .1s ease-out;
|
||||
transition: all .1s ease-out;
|
||||
min-width: 75px;
|
||||
}
|
||||
|
||||
.nav-item ::deep a.active > div { color: var(--mud-palette-primary); }
|
||||
|
||||
.nav-item ::deep a.active > div > i {
|
||||
/*background-color: color-mix(in srgb, var(--mud-palette-primary) 20%, transparent);*/
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.nav-item ::deep a.active > div > span { font-weight: 800; }
|
||||
|
||||
.nav-item ::deep a:not(.active) > div {
|
||||
color: var(--mud-palette-text-primary);
|
||||
}
|
||||
|
||||
.nav-item ::deep a i { font-size: 1.65rem; }
|
||||
|
||||
.nav-item ::deep a span {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@supports (-webkit-touch-callout: none) { .navbar { padding-bottom: env(safe-area-inset-bottom); } }
|
||||
24
SteUp.Shared/Components/Layout/Overlay/SpinnerOverlay.razor
Normal file
@@ -0,0 +1,24 @@
|
||||
@using SteUp.Shared.Components.Layout.Spinner
|
||||
|
||||
<MudOverlay Visible="VisibleOverlay" LightBackground="true">
|
||||
@if (SuccessAnimation)
|
||||
{
|
||||
<div class="success-checkmark">
|
||||
<div class="check-icon">
|
||||
<span class="icon-line line-tip"></span>
|
||||
<span class="icon-line line-long"></span>
|
||||
<div class="icon-circle"></div>
|
||||
<div class="icon-fix"></div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<SpinnerLayout/>
|
||||
}
|
||||
</MudOverlay>
|
||||
|
||||
@code {
|
||||
[Parameter] public required bool SuccessAnimation { get; set; }
|
||||
[Parameter] public required bool VisibleOverlay { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<div class="spinner-container @(FullScreen ? "" : "not-fullScreen")">
|
||||
<span class="loader"></span>
|
||||
</div>
|
||||
|
||||
@code
|
||||
{
|
||||
[Parameter] public bool FullScreen { get; set; } = true;
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
.spinner-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
height: calc(100vh - 10.1rem);
|
||||
align-items: center;
|
||||
color: var(--mud-palette-primary);
|
||||
}
|
||||
|
||||
.not-fullScreen {
|
||||
height: auto !important;
|
||||
padding: 2rem 0 !important;
|
||||
}
|
||||
|
||||
.loader {
|
||||
width: 50px;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 50%;
|
||||
border: 8px solid #0000;
|
||||
border-right-color: var(--mud-palette-primary);
|
||||
position: relative;
|
||||
animation: l24 1s infinite linear;
|
||||
}
|
||||
|
||||
.loader:before,
|
||||
.loader:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: -8px;
|
||||
border-radius: 50%;
|
||||
border: inherit;
|
||||
animation: inherit;
|
||||
animation-duration: 2s;
|
||||
}
|
||||
|
||||
.loader:after {
|
||||
animation-duration: 4s;
|
||||
}
|
||||
|
||||
@keyframes l24 {
|
||||
100% {
|
||||
transform: rotate(1turn)
|
||||
}
|
||||
}
|
||||
12
SteUp.Shared/Components/Pages/Index.razor
Normal file
@@ -0,0 +1,12 @@
|
||||
@page "/"
|
||||
@using SteUp.Shared.Components.Layout.Spinner
|
||||
@attribute [Authorize]
|
||||
|
||||
<SpinnerLayout FullScreen="true"/>
|
||||
|
||||
@code {
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
NavigationManager.NavigateTo("/ispezioni");
|
||||
}
|
||||
}
|
||||
17
SteUp.Shared/Components/Pages/IspezionePage.razor
Normal file
@@ -0,0 +1,17 @@
|
||||
@page "/ispezione"
|
||||
@using SteUp.Shared.Components.Layout
|
||||
@using SteUp.Shared.Components.SingleElements.Card
|
||||
|
||||
<HeaderLayout Title="Ispezione" BackTo="Indietro" Back="true"/>
|
||||
|
||||
<div class="container content pb-safe-area">
|
||||
<InspectionCard Ispezione="SteupDataService.InspectionPageState.Ispezione"/>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||