@homefile/components-v2 2.15.2 → 2.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/images/aalawn/disease.svg +22 -0
- package/dist/assets/images/aalawn/dressing.svg +16 -0
- package/dist/assets/images/aalawn/index.d.ts +7 -0
- package/dist/assets/images/aalawn/index.js +7 -0
- package/dist/assets/images/aalawn/index.ts +15 -0
- package/dist/assets/images/aalawn/lawn.svg +13 -0
- package/dist/assets/images/aalawn/mowing.svg +16 -0
- package/dist/assets/images/aalawn/pest.svg +14 -0
- package/dist/assets/images/aalawn/weed.svg +20 -0
- package/dist/assets/images/index.d.ts +1 -0
- package/dist/assets/images/index.js +1 -0
- package/dist/assets/images/index.ts +1 -0
- package/dist/components/homeAssistant/monitorAlerts/WeatherWidget.d.ts +3 -1
- package/dist/components/homeAssistant/monitorAlerts/WeatherWidget.js +10 -6
- package/dist/helpers/forms/dynamicForm.helper.js +7 -1
- package/dist/interfaces/forms/dynamicForm/DynamicForm.interface.d.ts +1 -1
- package/package.json +1 -1
- package/src/assets/images/aalawn/disease.svg +22 -0
- package/src/assets/images/aalawn/dressing.svg +16 -0
- package/src/assets/images/aalawn/index.ts +15 -0
- package/src/assets/images/aalawn/lawn.svg +13 -0
- package/src/assets/images/aalawn/mowing.svg +16 -0
- package/src/assets/images/aalawn/pest.svg +14 -0
- package/src/assets/images/aalawn/weed.svg +20 -0
- package/src/assets/images/index.ts +1 -0
- package/src/components/homeAssistant/monitorAlerts/WeatherWidget.tsx +88 -25
- package/src/helpers/forms/dynamicForm.helper.ts +12 -0
- package/src/interfaces/forms/dynamicForm/DynamicForm.interface.ts +6 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg id="Group_22972" data-name="Group 22972" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="33.395" height="36.107" viewBox="0 0 33.395 36.107">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25548" data-name="Rectangle 25548" width="33.395" height="36.107" fill="none" stroke="#707070" stroke-width="0.5"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Group_22971" data-name="Group 22971">
|
|
8
|
+
<g id="Group_22970" data-name="Group 22970" clip-path="url(#clip-path)">
|
|
9
|
+
<path id="Path_11317" data-name="Path 11317" d="M170.376,79.589,164.483,90.62c-2.155.653-2,.577-3.686,1.088l7.319-13.7,2.141,1.186a.292.292,0,0,1,.119.393" transform="translate(-137.452 -66.683)" fill="#146330" stroke="#707070" stroke-width="0.5"/>
|
|
10
|
+
<path id="Path_11318" data-name="Path 11318" d="M23.43,6.774,13.757,24.88l-2.1-1.4,9.675-18.1Z" transform="translate(-9.966 -4.593)" fill="#0c673f" stroke="#707070" stroke-width="0.5"/>
|
|
11
|
+
<path id="Path_11319" data-name="Path 11319" d="M33.363,12.558a.722.722,0,0,0-.352-.43l-3.325-1.776L13.67,1.8l-3.2-1.71a.724.724,0,0,0-.982.3L.086,17.979a.725.725,0,0,0,.3.982l3.2,1.71L16.363,27.5a.436.436,0,0,0,.332.033l3.071-.933,1.9-.577,5.493-1.667a.437.437,0,0,0,.258-.212l5.893-11.031a.72.72,0,0,0,.054-.553M10.186.924,12.875,2.36,3.611,19.7.923,18.261Zm9.326,24.84-2.9.881L4.38,20.108,13.643,2.77l15.248,8.145L21.239,25.239Zm7.22-2.191-4.315,1.309L29.66,11.326l2.812,1.5Z" transform="translate(0 0)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
12
|
+
<path id="Path_11320" data-name="Path 11320" d="M79.66,71.814a3.269,3.269,0,0,0-.462-3.732l-.162-.179.1-.218a3.267,3.267,0,0,0-4.285-4.395l-.22.1-.175-.167a3.272,3.272,0,0,0-3.681-.573,3.229,3.229,0,0,0-1.449,1.394c-.048.09-.092.184-.132.279a3.27,3.27,0,0,0-.238,1.616l.026.24-.212.115a3.272,3.272,0,0,0-1.187,1.092c-.05.077-.1.159-.142.241a3.271,3.271,0,0,0,2.211,4.739l.235.05.043.237a3.267,3.267,0,0,0,6.049,1.038l.12-.21.239.032a3.275,3.275,0,0,0,3.318-1.7m-3.2.834-.53-.071a.437.437,0,0,0-.436.216l-.265.465a2.4,2.4,0,0,1-4.435-.764l-.1-.524a.435.435,0,0,0-.339-.347l-.522-.11a2.4,2.4,0,0,1-1.622-3.476c.033-.061.068-.12.1-.177a2.4,2.4,0,0,1,.87-.8l.47-.253a.436.436,0,0,0,.226-.43l-.057-.531A2.4,2.4,0,0,1,70,64.66c.03-.07.062-.14.1-.205a2.385,2.385,0,0,1,2.106-1.261,2.4,2.4,0,0,1,1.655.66l.387.369a.436.436,0,0,0,.48.082l.488-.22a2.4,2.4,0,0,1,3.142,3.223l-.232.482a.436.436,0,0,0,.07.482l.359.4a2.4,2.4,0,0,1-2.095,3.981" transform="translate(-57.323 -53.274)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
13
|
+
<path id="Path_11321" data-name="Path 11321" d="M100.788,89.3a2.623,2.623,0,1,0,1.078,3.551,2.607,2.607,0,0,0-1.078-3.551m.31,3.14a1.754,1.754,0,1,1-.72-2.372,1.754,1.754,0,0,1,.72,2.372" transform="translate(-82.854 -76.07)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
14
|
+
<path id="Path_11322" data-name="Path 11322" d="M135.418,194.361a.871.871,0,1,0,.871.871.872.872,0,0,0-.871-.871" transform="translate(-115.013 -166.143)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
15
|
+
<path id="Path_11323" data-name="Path 11323" d="M166.028,185.895a.871.871,0,1,0,.871.871.872.872,0,0,0-.871-.871" transform="translate(-141.179 -158.906)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
16
|
+
<path id="Path_11324" data-name="Path 11324" d="M135.418,225.376a.871.871,0,1,0,.871.871.872.872,0,0,0-.871-.871" transform="translate(-115.013 -192.655)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
17
|
+
<path id="Path_11325" data-name="Path 11325" d="M189.036,211.78a.871.871,0,1,0,.871.871.872.872,0,0,0-.871-.871" transform="translate(-160.846 -181.033)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
18
|
+
<path id="Path_11326" data-name="Path 11326" d="M163.9,215.322a.871.871,0,1,0-.871.871.872.872,0,0,0,.871-.871" transform="translate(-138.614 -183.316)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
19
|
+
<path id="Path_11327" data-name="Path 11327" d="M166.028,236.7a.871.871,0,1,0,.871.871.872.872,0,0,0-.871-.871" transform="translate(-141.179 -202.334)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
20
|
+
</g>
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="41.153" height="30.93" viewBox="0 0 41.153 30.93">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25547" data-name="Rectangle 25547" width="41.153" height="30.93" fill="none" stroke="#707070" stroke-width="0.5"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Group_22969" data-name="Group 22969" transform="translate(100 14.858)">
|
|
8
|
+
<g id="Group_22968" data-name="Group 22968" transform="translate(-100 -14.858)">
|
|
9
|
+
<g id="Group_22967" data-name="Group 22967" clip-path="url(#clip-path)">
|
|
10
|
+
<path id="Path_11313" data-name="Path 11313" d="M96.466,11.646a.178.178,0,0,1-.144.306,1.67,1.67,0,0,0-.228-.016l-15.424.018,8.122-7.43s5.821,5.386,7.673,7.122" transform="translate(-67.064 -3.761)" fill="#07642b" stroke="#707070" stroke-width="0.5" fill-rule="evenodd"/>
|
|
11
|
+
<path id="Path_11314" data-name="Path 11314" d="M36.264,18.427a4.874,4.874,0,0,0-3.455,1.433l-4-3.243,2.323-6.644a1.465,1.465,0,0,0-.21-1.337l-.011-.012a2.164,2.164,0,0,0-.552-.53c-1.579-1.481-5.98-5.6-7.69-7.19A2.643,2.643,0,0,0,18.762.829c-1.935,1.793-6.864,6.417-7.9,7.4l-.128.118-.062.057-.038.037-.022.023c-.007.008-.012.016-.019.024L7.569,3.694A2.181,2.181,0,0,0,5.714,2.671H.506a.506.506,0,1,0,0,1.012H5.714a1.174,1.174,0,0,1,1,.551l3.5,5.549a1.417,1.417,0,0,0,.051.189l3.078,8.8c.17.487.685,1.969,2.072,1.969h.447c.5,1.151,2.146,4.9,2.791,6.267a2.222,2.222,0,0,0,2.047,1.247,2.274,2.274,0,0,0,2.092-1.284c.656-1.391,2.266-5.171,2.716-6.23h.449c1.422,0,1.92-1.43,2.107-1.968l.4-1.143,3.714,3.014a4.887,4.887,0,1,0,4.092-2.219M19.45,1.572a1.65,1.65,0,0,1,2.534.072c1.367,1.27,4.457,4.161,6.446,6.025h-15.5c1.912-1.795,5.065-4.748,6.521-6.1m2.421,24.97a1.278,1.278,0,0,1-1.176.7,1.229,1.229,0,0,1-1.133-.668c-.577-1.218-1.967-4.385-2.6-5.834H24.4c-.593,1.392-1.957,4.578-2.532,5.8m5.232-8.1c-.4,1.136-.8,1.29-1.152,1.29H15.41c-.33,0-.72-.153-1.116-1.29l-3.078-8.8a.494.494,0,0,1,.141-.5l.062-.057.109-.1.045-.033.047-.033.051-.031.049-.029.054-.027.05-.025.056-.023.051-.02.06-.019.049-.016.065-.015.045-.01c.025,0,.05-.008.074-.011l.035-.005c.036,0,.072-.005.108-.005H29.03a1.171,1.171,0,0,1,.181.015c.021,0,.041.01.062.014.041.008.081.017.122.029.024.007.048.018.073.027s.074.026.109.042.048.025.072.037.062.032.091.05l.2.19.009.008L30,9.135l.036.034.047.045.031.029.01.01a.426.426,0,0,1,.06.387Zm9.161,8.752a3.877,3.877,0,1,1,3.877-3.877,3.881,3.881,0,0,1-3.877,3.877" transform="translate(0 0)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
12
|
+
<path id="Path_11315" data-name="Path 11315" d="M207.77,129.531a1.47,1.47,0,1,0,1.47,1.47,1.471,1.471,0,0,0-1.47-1.47" transform="translate(-171.506 -107.684)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import AADisease from './disease.svg';
|
|
2
|
+
import AADressing from './dressing.svg';
|
|
3
|
+
import AAMowing from './mowing.svg';
|
|
4
|
+
import AApest from './pest.svg';
|
|
5
|
+
import AAWeed from './weed.svg';
|
|
6
|
+
import AALawn from './lawn.svg';
|
|
7
|
+
export { AADisease, AADressing, AALawn, AAMowing, AAWeed, AApest };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import AADisease from './disease.svg';
|
|
2
|
+
import AADressing from './dressing.svg';
|
|
3
|
+
import AAMowing from './mowing.svg';
|
|
4
|
+
import AApest from './pest.svg';
|
|
5
|
+
import AAWeed from './weed.svg';
|
|
6
|
+
import AALawn from './lawn.svg';
|
|
7
|
+
export { AADisease, AADressing, AALawn, AAMowing, AAWeed, AApest };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import AADisease from './disease.svg'
|
|
2
|
+
import AADressing from './dressing.svg'
|
|
3
|
+
import AAMowing from './mowing.svg'
|
|
4
|
+
import AApest from './pest.svg'
|
|
5
|
+
import AAWeed from './weed.svg'
|
|
6
|
+
import AALawn from './lawn.svg'
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
AADisease,
|
|
10
|
+
AADressing,
|
|
11
|
+
AALawn,
|
|
12
|
+
AAMowing,
|
|
13
|
+
AAWeed,
|
|
14
|
+
AApest
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg id="Group_22975" data-name="Group 22975" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="40.313" height="28.634" viewBox="0 0 40.313 28.634">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25550" data-name="Rectangle 25550" width="40.313" height="28.634" fill="none"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Group_22974" data-name="Group 22974">
|
|
8
|
+
<g id="Group_22973" data-name="Group 22973" clip-path="url(#clip-path)">
|
|
9
|
+
<path id="Path_11328" data-name="Path 11328" d="M11.723,148.087c-.319,0,.673-1.065,2.2-1.626,3.045-1.12,7.521-2.564,16.882-2.4,9.319.167,14.055,1.375,17.061,2.435,1.587.56,1.864,1.587,1.546,1.587Z" transform="translate(-9.712 -119.955)" fill="#0b633a" fill-rule="evenodd"/>
|
|
10
|
+
<path id="Path_11329" data-name="Path 11329" d="M38.278,35.189a27.922,27.922,0,0,0-3.169-1.239,8.726,8.726,0,0,1,1.558-6.466.517.517,0,0,0-.612-.805,8.689,8.689,0,0,0-3.691,2.957,11.331,11.331,0,0,1,.335-4.954,7.614,7.614,0,0,1,4.093-4.922.517.517,0,0,0-.369-.965c-2.6.819-7.74,2.436-10.056,7.951C26,23.977,25.91,19.9,29.106,12.919a.518.518,0,0,0-.834-.583,23.669,23.669,0,0,0-7.034,13.44c-.995-4.194-.894-9.548-.141-11.346a.518.518,0,0,0-.919-.47,31.867,31.867,0,0,0-4.112,11.757A41.86,41.86,0,0,0,9.624,13.363c-.244-.3-1.071-1.194-1.416-1.565a.517.517,0,0,0-.845.576c.107.225.648,1.366.82,1.782,1.621,3.917,3.054,9.581,2.368,13.888-1.509-5.3-4.532-8.6-6.931-9.493A.518.518,0,0,0,3,19.3,21.349,21.349,0,0,1,5.964,33.672,25.835,25.835,0,0,0,2,35.145C.5,35.867-.125,37.186.02,37.821a.615.615,0,0,0,.6.5H39.689a.62.62,0,0,0,.6-.511c.141-.645-.48-1.914-2.015-2.622M4.688,20.3c2.16,1.635,4.417,5.15,5.342,9.878a.518.518,0,0,0,1,.076c1.86-5.157-.348-12.307-1.465-15.33a42.66,42.66,0,0,1,5.832,11.992c.207.691.353,1.417.406,1.7a.517.517,0,0,0,1.025-.086c.007-.28.033-1.012.116-1.745A32.682,32.682,0,0,1,19.583,17.2,27.914,27.914,0,0,0,21.051,28.52a.517.517,0,0,0,.994-.211A21.413,21.413,0,0,1,27.1,15.09c-2.55,6.668-1.939,10.54-1.556,12.96.048.3.092.582.127.845a.516.516,0,0,0,1.013.06,11.816,11.816,0,0,1,6.92-8.048,9.366,9.366,0,0,0-1.869,3.487c-.826,2.754-.538,5.707.033,6.613a.515.515,0,0,0,.43.241.536.536,0,0,0,.437-.231l.073-.109a8.182,8.182,0,0,1,2.154-2.391,10.469,10.469,0,0,0-.814,5.115,53.306,53.306,0,0,0-13.712-1.66A50.556,50.556,0,0,0,7.024,33.383,22.253,22.253,0,0,0,4.688,20.3m-3.6,17.02a2.777,2.777,0,0,1,1.34-1.268c2.027-.975,7.828-3.226,17.891-3.075A50.167,50.167,0,0,1,34.5,34.809l.038.012A26.9,26.9,0,0,1,37.857,36.1a2.748,2.748,0,0,1,1.361,1.218Z" transform="translate(0 -9.688)" fill="#1e1f26"/>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg id="Group_22978" data-name="Group 22978" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="38.11" height="32.734" viewBox="0 0 38.11 32.734">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25551" data-name="Rectangle 25551" width="38.11" height="32.734" fill="none"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<path id="Path_11330" data-name="Path 11330" d="M10.161,105.051Z" transform="translate(-8.587 -88.777)" fill="#d0e1f9"/>
|
|
8
|
+
<g id="Group_22977" data-name="Group 22977">
|
|
9
|
+
<g id="Group_22976" data-name="Group 22976" clip-path="url(#clip-path)">
|
|
10
|
+
<path id="Path_11331" data-name="Path 11331" d="M112.248,69.883,99.779,67.364l.092-4.882,13.291,4.161L113.277,69a.86.86,0,0,1-1.029.885" transform="translate(-84.322 -52.802)" fill="#036639" fill-rule="evenodd"/>
|
|
11
|
+
<path id="Path_11332" data-name="Path 11332" d="M62.429,138.6a3.261,3.261,0,1,0,3.261,3.261,3.265,3.265,0,0,0-3.261-3.261m0,5.592a2.331,2.331,0,1,1,2.331-2.331,2.334,2.334,0,0,1-2.331,2.331" transform="translate(-50.002 -117.128)" fill="#1e1f26"/>
|
|
12
|
+
<path id="Path_11333" data-name="Path 11333" d="M201.474,147.581a2.573,2.573,0,1,0,2.572,2.572,2.575,2.575,0,0,0-2.572-2.572m0,4.216a1.643,1.643,0,1,1,1.643-1.643,1.645,1.645,0,0,1-1.643,1.643" transform="translate(-168.088 -124.718)" fill="#1e1f26"/>
|
|
13
|
+
<path id="Path_11334" data-name="Path 11334" d="M33.66,20.719a5.885,5.885,0,0,0-2.773-1.428L25.8,18.225V17.1l1.721.361a1.582,1.582,0,0,0,.325.034,1.567,1.567,0,0,0,1.56-1.644l-.062-1.264a1.571,1.571,0,0,0-1.1-1.419L15.677,9.27a1.566,1.566,0,0,0-2.03,1.467L13.6,13.242A1.567,1.567,0,0,0,14.845,14.8l2.1.441V16.37l-6.8-1.424L6.2.343A.465.465,0,0,0,5.755,0H.465a.465.465,0,0,0,0,.93H5.4l5.058,18.723a5.449,5.449,0,1,0,7.29,6.258H28.686a4.724,4.724,0,1,0,4.974-5.191M14.529,13.26l.047-2.505a.637.637,0,0,1,.825-.6l12.564,3.9a.639.639,0,0,1,.447.577l.062,1.264a.637.637,0,0,1-.767.655L15.035,13.895a.638.638,0,0,1-.506-.635m3.348,2.18,6.991,1.465V18.03l-6.991-1.465Zm-5.45,13.812a4.52,4.52,0,1,1,4.52-4.52,4.525,4.525,0,0,1-4.52,4.52m0-9.97a5.455,5.455,0,0,0-.987.091l-.977-3.412,6.717,1.407a.459.459,0,0,0,.232.064.448.448,0,0,0,.05-.005l7.6,1.592a.455.455,0,0,0,.371.078L30.7,20.2a4.974,4.974,0,0,1,1.6.639,4.734,4.734,0,0,0-3.608,4.14H17.871c0-.083.006-.165.006-.249a5.456,5.456,0,0,0-5.45-5.45m20.959,9.947a3.794,3.794,0,1,1,3.794-3.795,3.8,3.8,0,0,1-3.794,3.795" transform="translate(0 0.001)" fill="#1e1f26"/>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg id="Group_22964" data-name="Group 22964" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="33.28" height="33.698" viewBox="0 0 33.28 33.698">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25544" data-name="Rectangle 25544" width="33.28" height="33.698" fill="none" stroke="#707070" stroke-width="0.5"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Group_22963" data-name="Group 22963">
|
|
8
|
+
<g id="Group_22962" data-name="Group 22962" clip-path="url(#clip-path)">
|
|
9
|
+
<path id="Path_11298" data-name="Path 11298" d="M87.706,93.811l-6.282,6.282-.114-.114c-.724-.718-1.013-3.44.932-5.412a4.573,4.573,0,0,1,5.35-.869Z" transform="translate(-69.562 -80.268)" fill="#4d648d" stroke="#707070" stroke-width="0.5"/>
|
|
10
|
+
<path id="Path_11299" data-name="Path 11299" d="M60.072,65.442l.349-.349a1.686,1.686,0,0,1,1.428-.475l.7.1a.416.416,0,0,0,.12-.823l-.7-.1a2.52,2.52,0,0,0-2.136.71l-.288.288-.059-.062L57.858,63.1l1.779-1.779a.416.416,0,0,0-.588-.588L57.27,62.516l-1.688-1.687.287-.287a2.521,2.521,0,0,0,.71-2.136l-.1-.7a.416.416,0,0,0-.823.12l.1.7a1.684,1.684,0,0,1-.475,1.428l-.292.292A4.823,4.823,0,0,0,51.739,59a4.88,4.88,0,0,0-1.359.193l-.526-1.247a2.076,2.076,0,0,1,.031-1.679l.36-.775a.416.416,0,0,0-.754-.351l-.36.775a2.91,2.91,0,0,0-.043,2.353l.516,1.224a4.883,4.883,0,0,0-2.229,2.229L46.151,61.2a2.912,2.912,0,0,0-2.353.043l-.775.36a.416.416,0,0,0,.351.755l.775-.36a2.074,2.074,0,0,1,1.679-.031l1.247.525a4.875,4.875,0,0,0-.193,1.359,4.823,4.823,0,0,0,1.247,3.249l-.292.292a1.683,1.683,0,0,1-1.428.474l-.7-.1a.416.416,0,0,0-.12.824l.7.1a2.48,2.48,0,0,0,.357.026,2.523,2.523,0,0,0,1.779-.735l.287-.287L50.4,69.387,48.62,71.166a.416.416,0,0,0,.588.588l1.779-1.779L52.614,71.6l.062.059-.288.288a2.52,2.52,0,0,0-.71,2.136l.1.7a.416.416,0,0,0,.411.356.426.426,0,0,0,.06,0,.416.416,0,0,0,.352-.472l-.1-.7a1.685,1.685,0,0,1,.475-1.428l.349-.349a4.858,4.858,0,0,0,6.747-6.747m-.9,5.263L52.441,63.97l2.553-2.553L56.976,63.4,58.9,65.32a4.034,4.034,0,0,1,.279,5.385M47.848,62.823l.655.276a.416.416,0,0,0,.323-.767l-.682-.287a4.044,4.044,0,0,1,1.784-1.784l.287.682a.416.416,0,1,0,.767-.323l-.276-.654a4.058,4.058,0,0,1,1.034-.134,4,4,0,0,1,2.66,1l-5.682,5.682a4,4,0,0,1-1-2.66,4.047,4.047,0,0,1,.134-1.034M53.2,71.014l-3.9-3.9,2.553-2.553,6.735,6.735a4.034,4.034,0,0,1-5.385-.279" transform="translate(-36.85 -47.287)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
11
|
+
<path id="Path_11300" data-name="Path 11300" d="M27.333,16.8a16.009,16.009,0,1,0,0,22.65,16.034,16.034,0,0,0,0-22.65M5.57,39.151l4.269-4.269a.416.416,0,1,0-.588-.588L4.981,38.563a15.2,15.2,0,0,1,0-20.877L8.856,21.56a.416.416,0,0,0,.588-.588L5.57,17.1a15.2,15.2,0,0,1,20.877,0l-4.275,4.275a.416.416,0,1,0,.588.588l4.275-4.275a15.2,15.2,0,0,1,0,20.877l-2.948-2.948a.416.416,0,0,0-.588.588l2.948,2.948a15.2,15.2,0,0,1-20.877,0" transform="translate(0 -10.435)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg id="Group_22966" data-name="Group 22966" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="29.5" height="33.943" viewBox="0 0 29.5 33.943">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25545" data-name="Rectangle 25545" width="29.5" height="33.943" fill="none" stroke="#707070" stroke-width="0.5"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Group_22965" data-name="Group 22965" clip-path="url(#clip-path)">
|
|
8
|
+
<path id="Path_11302" data-name="Path 11302" d="M57.925,224.3H52.686a1.352,1.352,0,0,1-1.358-1.358V221.7h7.955v1.242a1.354,1.354,0,0,1-1.358,1.358" transform="translate(-44.359 -191.595)" fill="#0e683b" stroke="#707070" stroke-width="0.5"/>
|
|
9
|
+
<path id="Path_11303" data-name="Path 11303" d="M22.765,28.219q-.908-.284-1.8-.482l-.121-8.458a.761.761,0,0,0,.5-.715s0-.891,0-1.279a.3.3,0,0,1,.035-.143l1-1.864a.641.641,0,0,0-.245-.859l-.014-.008-.3-.161a.635.635,0,0,0-.485-.057.652.652,0,0,0-.395.317l-1.011,1.915a1.83,1.83,0,0,0-.21.817l-.023,1.315v.007a.76.76,0,0,0,.34.633l.12,8.374a18.749,18.749,0,0,0-4.817-.257V20.251a4.557,4.557,0,0,0-2.859-4.223V14.653l.835-.637a2.315,2.315,0,0,0,.911-1.752l.007-.162a.643.643,0,0,0-.642-.669h-2.84A2.989,2.989,0,0,0,13.313,8.48V8.306a.761.761,0,0,0-.761-.761H8.12a.761.761,0,0,0-.761.761V8.48a2.981,2.981,0,0,0,2.57,2.948s-2.84,0-2.84,0a.643.643,0,0,0-.642.669l.007.162a2.316,2.316,0,0,0,.911,1.752l.835.637v1.375a4.518,4.518,0,0,0-.461.215,3.8,3.8,0,0,0-2.3-2.013A2.756,2.756,0,0,0,3,14.783c-2.031,1.6-1.722,4.294-1.474,6.462.063.549.122,1.067.14,1.526a36.757,36.757,0,0,0,.954,7.123c.09.426.183.864.278,1.332a10.47,10.47,0,0,0-1.693.988C-.471,33.455-.137,35.97.637,37.361a2.1,2.1,0,0,0,1.647,1.285,1.115,1.115,0,0,0,.414-.08c2.556-1.011,2.016-3.195,1.446-5.507-.109-.44-.221-.894-.319-1.361.491-.216,1.007-.421,1.516-.616v6.784A1.767,1.767,0,0,0,7.106,39.63h6.461a1.767,1.767,0,0,0,1.765-1.765V28.132a17.967,17.967,0,0,1,4.829.269l.022,1.535a.894.894,0,0,0-.464.783v.358L18.47,33.74a.407.407,0,1,0,.738.346L19.719,33v4.944a.893.893,0,0,0,.488.795,1.623,1.623,0,0,0,.977,1.63,1.639,1.639,0,0,0,.583.1A3.765,3.765,0,0,0,24.378,39.1c1.177-1.438,1.574-5.384.8-7.966a3.959,3.959,0,0,0-2.415-2.911m-8.248-7.968V36.216H6.155V20.251a3.742,3.742,0,0,1,3.151-3.69h2.06a3.742,3.742,0,0,1,3.151,3.69M8.174,8.48V8.36H12.5v.12a2.162,2.162,0,1,1-4.324,0m-.906,3.768H13.4a1.5,1.5,0,0,1-.591,1.12l-.886.676H8.744l-.885-.676a1.5,1.5,0,0,1-.591-1.12m1.746,3.5v-.888h2.645v.888h-.235a4.571,4.571,0,0,0-.642-.046h-.89a4.573,4.573,0,0,0-.642.046ZM2.4,37.808c-.279.111-.711-.236-1.049-.843-.611-1.1-.924-3.159.342-4.1a9.212,9.212,0,0,1,1.376-.818c.09.413.189.813.285,1.2.617,2.5.855,3.838-.955,4.554M3.66,30.88c-.082-.4-.163-.784-.242-1.156a35.624,35.624,0,0,1-.937-6.985c-.019-.489-.08-1.022-.144-1.587C2.1,19.084,1.831,16.74,3.5,15.424a1.933,1.933,0,0,1,1.731-.405A3.022,3.022,0,0,1,7.054,16.7,4.543,4.543,0,0,0,5.34,20.251V30.21c-.557.211-1.129.433-1.681.671m10.857,6.985a.952.952,0,0,1-.95.95H7.106a.952.952,0,0,1-.95-.95V37.03h8.362Zm6.172-5.826v5.9a.078.078,0,1,1-.156,0v-7.22a.078.078,0,0,1,.156,0Zm3.059,6.541A2.559,2.559,0,0,1,21.471,39.6c-.273-.1-.422-.4-.449-.871a.893.893,0,0,0,.482-.792V33.5H21.8a.544.544,0,0,0,.543-.543v-.78a.544.544,0,0,0-.543-.543H21.5v-.913a.893.893,0,0,0-.507-.8l-.019-1.34q.766.179,1.543.422A3.3,3.3,0,0,1,24.4,31.364c.758,2.533.275,6.085-.651,7.216" transform="translate(0 -6.521)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
10
|
+
<path id="Path_11304" data-name="Path 11304" d="M157.953,33.9a.407.407,0,0,0,.528-.231l.4-1.012a.407.407,0,0,0-.759-.3l-.4,1.012a.407.407,0,0,0,.231.528" transform="translate(-136.282 -27.746)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
11
|
+
<path id="Path_11305" data-name="Path 11305" d="M164.089,17.572a.407.407,0,0,0,.528-.231l.437-1.116a.407.407,0,1,0-.759-.3l-.437,1.116a.407.407,0,0,0,.231.528" transform="translate(-141.585 -13.541)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
12
|
+
<path id="Path_11306" data-name="Path 11306" d="M170.524,1.8a.4.4,0,0,0,.148.028.408.408,0,0,0,.379-.259l.4-1.011a.407.407,0,0,0-.758-.3l-.4,1.011a.407.407,0,0,0,.231.528" transform="translate(-147.146 0)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
13
|
+
<path id="Path_11307" data-name="Path 11307" d="M167.854,37.963a.407.407,0,0,0-.572.066l-.675.851a.407.407,0,0,0,.639.506l.675-.851a.407.407,0,0,0-.066-.572" transform="translate(-143.909 -32.733)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
14
|
+
<path id="Path_11308" data-name="Path 11308" d="M178.809,23.154a.408.408,0,0,0-.572.066l-.8,1.006a.407.407,0,0,0,.639.506l.8-1.005a.407.407,0,0,0-.066-.572" transform="translate(-153.271 -19.934)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
15
|
+
<path id="Path_11309" data-name="Path 11309" d="M189.24,10.967a.407.407,0,0,0,.572-.066l.674-.851a.407.407,0,1,0-.639-.506l-.674.851a.407.407,0,0,0,.066.572" transform="translate(-163.412 -8.114)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
16
|
+
<path id="Path_11310" data-name="Path 11310" d="M174.741,46.636a.407.407,0,0,0,.567.1l.892-.62a.407.407,0,0,0-.465-.669l-.892.62a.407.407,0,0,0-.1.567" transform="translate(-150.951 -39.214)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
17
|
+
<path id="Path_11311" data-name="Path 11311" d="M190.29,34.566l-1.062.739a.407.407,0,0,0,.465.669l1.062-.739a.407.407,0,0,0-.465-.669" transform="translate(-163.383 -29.81)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
18
|
+
<path id="Path_11312" data-name="Path 11312" d="M206.327,24.659a.407.407,0,0,0-.567-.1l-.892.62a.407.407,0,0,0,.465.669l.892-.62a.407.407,0,0,0,.1-.567" transform="translate(-176.9 -21.16)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import { WeatherWidgetI } from '../../../interfaces';
|
|
2
|
-
export declare const WeatherWidget: ({ current, details, forecast, header, }: WeatherWidgetI
|
|
2
|
+
export declare const WeatherWidget: ({ current, details, forecast, header, loading, }: WeatherWidgetI & {
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Stack, Flex, Text, HStack, VStack, Divider,
|
|
2
|
+
import { Stack, Flex, Box, Text, HStack, VStack, Divider, } from '@chakra-ui/react';
|
|
3
3
|
import { extractCodeFromUrl } from '../../../utils';
|
|
4
4
|
import { LuSnowflake, LuSun, LuCloudSun, LuCloudy, LuCloud, LuCloudRain, LuCloudLightning, } from 'react-icons/lu';
|
|
5
5
|
import { colors } from '../../../theme/colors';
|
|
6
|
+
import { SkeletonBox } from '../../loaders';
|
|
6
7
|
const weatherIconMap = {
|
|
7
8
|
skc: LuSun,
|
|
8
9
|
few: LuCloudSun,
|
|
@@ -13,12 +14,15 @@ const weatherIconMap = {
|
|
|
13
14
|
tsra: LuCloudLightning,
|
|
14
15
|
snow: LuSnowflake,
|
|
15
16
|
};
|
|
16
|
-
export const WeatherWidget = ({ current, details, forecast, header, }) => {
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
export const WeatherWidget = ({ current, details, forecast, header, loading = false, }) => {
|
|
18
|
+
if (loading) {
|
|
19
|
+
return (_jsxs(Stack, { spacing: "base", p: "4", zIndex: "2", children: [_jsxs(Flex, { justify: "space-between", align: "center", children: [_jsx(SkeletonBox, { height: "12px", borderRadius: "md", width: "30%" }), _jsx(SkeletonBox, { height: "12px", borderRadius: "md", width: "30%" })] }), _jsxs(Stack, { align: "end", children: [_jsxs(Flex, { justify: "end", align: "start", gap: "base", mt: "4", children: [_jsx(SkeletonBox, { height: "50px", borderRadius: "md", width: "50px" }), _jsx(SkeletonBox, { height: "30px", width: "30px", borderRadius: "full" })] }), _jsx(SkeletonBox, { height: "12px", borderRadius: "md", width: "20%" })] }), _jsx(Divider, { borderColor: "gray.2", borderStyle: "dashed" }), _jsxs(Flex, { justify: "space-between", mt: "4", children: [_jsxs(Stack, { children: [_jsx(SkeletonBox, { height: "8px", borderRadius: "md", width: "70px" }), _jsx(SkeletonBox, { height: "8px", borderRadius: "md", width: "70px" })] }), _jsxs(Stack, { align: "end", children: [_jsx(SkeletonBox, { height: "8px", borderRadius: "md", width: "70px" }), _jsx(SkeletonBox, { height: "8px", borderRadius: "md", width: "70px" })] })] }), _jsx(Flex, { justify: "space-between", mt: "4", gap: "1", children: Array(5)
|
|
20
|
+
.fill(0)
|
|
21
|
+
.map((_, idx) => (_jsxs(VStack, { gap: "1", width: "46px", border: "1px solid", borderColor: "gray.2", py: "2", px: "1", children: [_jsx(SkeletonBox, { height: "6px", borderRadius: "md", width: "60%" }), _jsx(Divider, { borderColor: "gray.2", borderStyle: "solid", my: "0.5" }), _jsx(SkeletonBox, { height: "18px", width: "18px", borderRadius: "full" }), _jsx(SkeletonBox, { height: "8px", borderRadius: "md", width: "70%" }), _jsx(SkeletonBox, { height: "6px", borderRadius: "md", width: "70%" })] }, idx))) })] }));
|
|
22
|
+
}
|
|
23
|
+
return (_jsxs(Stack, { spacing: "base", p: "4", zIndex: "2", children: [header && (_jsxs(Flex, { justify: "space-between", align: "center", children: [header.date && (_jsx(Text, { fontSize: "sm", fontFamily: "secondary", textTransform: "uppercase", children: header.date })), header.location && (_jsx(Text, { fontSize: "sm", fontFamily: "secondary", textTransform: "uppercase", children: header.location }))] })), current && (_jsxs(Stack, { spacing: "0", align: "end", children: [_jsxs(HStack, { align: "start", spacing: "2", children: [current.temp != null && (_jsxs(Text, { fontSize: "6xl", fontWeight: "medium", lineHeight: 1, color: "gray.4", children: [current.temp, "\u00B0"] })), getWeatherIcon(current.icon, 50)] }), _jsxs(Text, { fontSize: "md", children: [_jsxs(Box, { as: "span", color: "gray.2", children: ["H", ' '] }), current.high, "\u00B0", ' ', _jsxs(Box, { as: "span", color: "gray.2", children: ["L", ' '] }), current.low, "\u00B0"] })] })), _jsx(Divider, { borderColor: "gray.2", borderStyle: "dashed" }), details && (_jsxs(Flex, { justify: "space-between", children: [_jsxs(VStack, { spacing: "0", align: "start", children: [_jsx(WeatherDetailText, { children: "Precipitation" }), details.humidity != null && (_jsx(WeatherDetailText, { children: "Humidity" })), _jsx(WeatherDetailText, { children: "Wind" })] }), _jsxs(VStack, { spacing: "0", align: "start", children: [details.precipitation != null && (_jsxs(WeatherDetailText, { children: [details.precipitation, "%"] })), details.humidity != null && (_jsxs(WeatherDetailText, { children: [details.humidity, "%"] })), details.wind && (_jsx(WeatherDetailText, { children: details.wind }))] })] })), forecast && (_jsx(Flex, { justify: "space-between", gap: "1", children: forecast.map((f) => (_jsxs(VStack, { spacing: "0", border: "1px solid", borderColor: "gray.2", borderRadius: "sm", children: [_jsx(Text, { fontFamily: "secondary", textTransform: "uppercase", fontSize: "xxs", color: "gray.2", children: f.day }), _jsx(Divider, { borderColor: "gray.2" }), _jsxs(Stack, { spacing: "0", py: "1", px: "2", align: "center", children: [getWeatherIcon(f.icon, 16, colors.gray[3]), _jsxs(Text, { fontSize: "sm", fontWeight: "medium", mb: "-1", children: [f.high, "\u00B0"] }), _jsxs(WeatherDetailText, { children: ["L ", f.low, "\u00B0"] })] })] }, f.day))) }))] }));
|
|
21
24
|
};
|
|
25
|
+
const WeatherDetailText = ({ children }) => (_jsx(Text, { fontFamily: "secondary", textTransform: "uppercase", fontSize: "xs", lineHeight: "1.2", children: children }));
|
|
22
26
|
const getWeatherIcon = (iconUrl, size = 48, color = colors.gray[4]) => {
|
|
23
27
|
if (!iconUrl)
|
|
24
28
|
return null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paint, Receipt, Barcode, GoldenBars, Heart, Rating, Notes, Book, ImgIcon, Registry, ShareWith, Calendar, Contacts, Tools2, Billing, Calc, CheckPen, GenericField, Price, Battery2, Co2, Detector, Electricity, Sprinkler, SixtyEight, DropCalendar, MobileDrop, SolarPanel, Calendar2, Drop, Wind, Foundation, Heater, Light, Plate, Pool2, Closet, Structure, GlassWater, Roof2, Target, CircleFace, Pressure, WindowCleaning, RoofCleaning, HolidayLights, GutterCleaning, HomeCleaning, HouseWashing, PressureWasher, BookOpened, Company2, } from '../../assets/images';
|
|
1
|
+
import { Paint, Receipt, Barcode, GoldenBars, Heart, Rating, Notes, Book, ImgIcon, Registry, ShareWith, Calendar, Contacts, Tools2, Billing, Calc, CheckPen, GenericField, Price, Battery2, Co2, Detector, Electricity, Sprinkler, SixtyEight, DropCalendar, MobileDrop, SolarPanel, Calendar2, Drop, Wind, Foundation, Heater, Light, Plate, Pool2, Closet, Structure, GlassWater, Roof2, Target, CircleFace, Pressure, WindowCleaning, RoofCleaning, HolidayLights, GutterCleaning, HomeCleaning, HouseWashing, PressureWasher, BookOpened, Company2, AADisease, AADressing, AALawn, AAMowing, AAWeed, AApest } from '../../assets/images';
|
|
2
2
|
export const fieldIcons = {
|
|
3
3
|
barcode: Barcode,
|
|
4
4
|
billing: Billing,
|
|
@@ -53,4 +53,10 @@ export const fieldIcons = {
|
|
|
53
53
|
'sh-pressure': Pressure,
|
|
54
54
|
'sh-roof': RoofCleaning,
|
|
55
55
|
'sh-window': WindowCleaning,
|
|
56
|
+
'aa-mowing': AAMowing,
|
|
57
|
+
'aa-fertilization': AALawn,
|
|
58
|
+
'aa-disease': AADisease,
|
|
59
|
+
'aa-weed': AAWeed,
|
|
60
|
+
'aa-dressing': AADressing,
|
|
61
|
+
'aa-pest': AApest
|
|
56
62
|
};
|
|
@@ -3,7 +3,7 @@ export type KindTypes = 'ai-image' | 'ai-grid' | 'checkbox' | 'checkbox-agreemen
|
|
|
3
3
|
export type UIKindTypes = 'tile-body' | 'tile-body-logo' | 'tile-body-header' | 'tile-body-section' | 'tile-body-section-grid' | 'tile-body-partner-image' | 'tile-body-description' | 'tile-form' | 'tile-body-action' | 'vertical-icon' | 'primary-cta' | 'secondary-cta';
|
|
4
4
|
export type HomeItemTypes = 'appliances' | 'images' | 'guidelines' | 'item-related' | 'item-icon-btn';
|
|
5
5
|
export type IconTypes = 'barcode' | 'battery' | 'billing' | 'book' | 'book-opened' | 'calc' | 'calendar' | 'check' | 'co2' | 'contact' | 'date' | 'default' | 'detector' | 'electricity' | 'goldbars' | 'heart' | 'image' | 'notes' | 'palette' | 'people' | 'price' | 'rating' | 'receipt' | 'registry' | 'sprinkler' | 'tools' | 'wind' | '68' | 'calendar2' | 'water' | 'calendar-drop' | 'umbrella' | 'heater' | 'roof' | 'foundation' | 'solar-panel' | 'pool' | 'drop' | 'mobile-drop' | 'light' | 'plate' | 'pressure-washer' | 'house' | 'target' | 'title' | 'company' | UIIconTypes;
|
|
6
|
-
export type UIIconTypes = 'sh-pressure' | 'sh-window' | 'sh-roof' | 'sh-lights' | 'sh-gutter' | 'sh-home' | 'sh-house';
|
|
6
|
+
export type UIIconTypes = 'sh-pressure' | 'sh-window' | 'sh-roof' | 'sh-lights' | 'sh-gutter' | 'sh-home' | 'sh-house' | 'aa-mowing' | 'aa-fertilization' | 'aa-disease' | 'aa-weed' | 'aa-dressing' | 'aa-pest';
|
|
7
7
|
export type ValueTypes = string | string[] | number | boolean;
|
|
8
8
|
export type OptionsTypes = string[] | number[] | null;
|
|
9
9
|
export interface ReportI {
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg id="Group_22972" data-name="Group 22972" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="33.395" height="36.107" viewBox="0 0 33.395 36.107">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25548" data-name="Rectangle 25548" width="33.395" height="36.107" fill="none" stroke="#707070" stroke-width="0.5"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Group_22971" data-name="Group 22971">
|
|
8
|
+
<g id="Group_22970" data-name="Group 22970" clip-path="url(#clip-path)">
|
|
9
|
+
<path id="Path_11317" data-name="Path 11317" d="M170.376,79.589,164.483,90.62c-2.155.653-2,.577-3.686,1.088l7.319-13.7,2.141,1.186a.292.292,0,0,1,.119.393" transform="translate(-137.452 -66.683)" fill="#146330" stroke="#707070" stroke-width="0.5"/>
|
|
10
|
+
<path id="Path_11318" data-name="Path 11318" d="M23.43,6.774,13.757,24.88l-2.1-1.4,9.675-18.1Z" transform="translate(-9.966 -4.593)" fill="#0c673f" stroke="#707070" stroke-width="0.5"/>
|
|
11
|
+
<path id="Path_11319" data-name="Path 11319" d="M33.363,12.558a.722.722,0,0,0-.352-.43l-3.325-1.776L13.67,1.8l-3.2-1.71a.724.724,0,0,0-.982.3L.086,17.979a.725.725,0,0,0,.3.982l3.2,1.71L16.363,27.5a.436.436,0,0,0,.332.033l3.071-.933,1.9-.577,5.493-1.667a.437.437,0,0,0,.258-.212l5.893-11.031a.72.72,0,0,0,.054-.553M10.186.924,12.875,2.36,3.611,19.7.923,18.261Zm9.326,24.84-2.9.881L4.38,20.108,13.643,2.77l15.248,8.145L21.239,25.239Zm7.22-2.191-4.315,1.309L29.66,11.326l2.812,1.5Z" transform="translate(0 0)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
12
|
+
<path id="Path_11320" data-name="Path 11320" d="M79.66,71.814a3.269,3.269,0,0,0-.462-3.732l-.162-.179.1-.218a3.267,3.267,0,0,0-4.285-4.395l-.22.1-.175-.167a3.272,3.272,0,0,0-3.681-.573,3.229,3.229,0,0,0-1.449,1.394c-.048.09-.092.184-.132.279a3.27,3.27,0,0,0-.238,1.616l.026.24-.212.115a3.272,3.272,0,0,0-1.187,1.092c-.05.077-.1.159-.142.241a3.271,3.271,0,0,0,2.211,4.739l.235.05.043.237a3.267,3.267,0,0,0,6.049,1.038l.12-.21.239.032a3.275,3.275,0,0,0,3.318-1.7m-3.2.834-.53-.071a.437.437,0,0,0-.436.216l-.265.465a2.4,2.4,0,0,1-4.435-.764l-.1-.524a.435.435,0,0,0-.339-.347l-.522-.11a2.4,2.4,0,0,1-1.622-3.476c.033-.061.068-.12.1-.177a2.4,2.4,0,0,1,.87-.8l.47-.253a.436.436,0,0,0,.226-.43l-.057-.531A2.4,2.4,0,0,1,70,64.66c.03-.07.062-.14.1-.205a2.385,2.385,0,0,1,2.106-1.261,2.4,2.4,0,0,1,1.655.66l.387.369a.436.436,0,0,0,.48.082l.488-.22a2.4,2.4,0,0,1,3.142,3.223l-.232.482a.436.436,0,0,0,.07.482l.359.4a2.4,2.4,0,0,1-2.095,3.981" transform="translate(-57.323 -53.274)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
13
|
+
<path id="Path_11321" data-name="Path 11321" d="M100.788,89.3a2.623,2.623,0,1,0,1.078,3.551,2.607,2.607,0,0,0-1.078-3.551m.31,3.14a1.754,1.754,0,1,1-.72-2.372,1.754,1.754,0,0,1,.72,2.372" transform="translate(-82.854 -76.07)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
14
|
+
<path id="Path_11322" data-name="Path 11322" d="M135.418,194.361a.871.871,0,1,0,.871.871.872.872,0,0,0-.871-.871" transform="translate(-115.013 -166.143)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
15
|
+
<path id="Path_11323" data-name="Path 11323" d="M166.028,185.895a.871.871,0,1,0,.871.871.872.872,0,0,0-.871-.871" transform="translate(-141.179 -158.906)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
16
|
+
<path id="Path_11324" data-name="Path 11324" d="M135.418,225.376a.871.871,0,1,0,.871.871.872.872,0,0,0-.871-.871" transform="translate(-115.013 -192.655)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
17
|
+
<path id="Path_11325" data-name="Path 11325" d="M189.036,211.78a.871.871,0,1,0,.871.871.872.872,0,0,0-.871-.871" transform="translate(-160.846 -181.033)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
18
|
+
<path id="Path_11326" data-name="Path 11326" d="M163.9,215.322a.871.871,0,1,0-.871.871.872.872,0,0,0,.871-.871" transform="translate(-138.614 -183.316)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
19
|
+
<path id="Path_11327" data-name="Path 11327" d="M166.028,236.7a.871.871,0,1,0,.871.871.872.872,0,0,0-.871-.871" transform="translate(-141.179 -202.334)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
20
|
+
</g>
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="41.153" height="30.93" viewBox="0 0 41.153 30.93">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25547" data-name="Rectangle 25547" width="41.153" height="30.93" fill="none" stroke="#707070" stroke-width="0.5"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Group_22969" data-name="Group 22969" transform="translate(100 14.858)">
|
|
8
|
+
<g id="Group_22968" data-name="Group 22968" transform="translate(-100 -14.858)">
|
|
9
|
+
<g id="Group_22967" data-name="Group 22967" clip-path="url(#clip-path)">
|
|
10
|
+
<path id="Path_11313" data-name="Path 11313" d="M96.466,11.646a.178.178,0,0,1-.144.306,1.67,1.67,0,0,0-.228-.016l-15.424.018,8.122-7.43s5.821,5.386,7.673,7.122" transform="translate(-67.064 -3.761)" fill="#07642b" stroke="#707070" stroke-width="0.5" fill-rule="evenodd"/>
|
|
11
|
+
<path id="Path_11314" data-name="Path 11314" d="M36.264,18.427a4.874,4.874,0,0,0-3.455,1.433l-4-3.243,2.323-6.644a1.465,1.465,0,0,0-.21-1.337l-.011-.012a2.164,2.164,0,0,0-.552-.53c-1.579-1.481-5.98-5.6-7.69-7.19A2.643,2.643,0,0,0,18.762.829c-1.935,1.793-6.864,6.417-7.9,7.4l-.128.118-.062.057-.038.037-.022.023c-.007.008-.012.016-.019.024L7.569,3.694A2.181,2.181,0,0,0,5.714,2.671H.506a.506.506,0,1,0,0,1.012H5.714a1.174,1.174,0,0,1,1,.551l3.5,5.549a1.417,1.417,0,0,0,.051.189l3.078,8.8c.17.487.685,1.969,2.072,1.969h.447c.5,1.151,2.146,4.9,2.791,6.267a2.222,2.222,0,0,0,2.047,1.247,2.274,2.274,0,0,0,2.092-1.284c.656-1.391,2.266-5.171,2.716-6.23h.449c1.422,0,1.92-1.43,2.107-1.968l.4-1.143,3.714,3.014a4.887,4.887,0,1,0,4.092-2.219M19.45,1.572a1.65,1.65,0,0,1,2.534.072c1.367,1.27,4.457,4.161,6.446,6.025h-15.5c1.912-1.795,5.065-4.748,6.521-6.1m2.421,24.97a1.278,1.278,0,0,1-1.176.7,1.229,1.229,0,0,1-1.133-.668c-.577-1.218-1.967-4.385-2.6-5.834H24.4c-.593,1.392-1.957,4.578-2.532,5.8m5.232-8.1c-.4,1.136-.8,1.29-1.152,1.29H15.41c-.33,0-.72-.153-1.116-1.29l-3.078-8.8a.494.494,0,0,1,.141-.5l.062-.057.109-.1.045-.033.047-.033.051-.031.049-.029.054-.027.05-.025.056-.023.051-.02.06-.019.049-.016.065-.015.045-.01c.025,0,.05-.008.074-.011l.035-.005c.036,0,.072-.005.108-.005H29.03a1.171,1.171,0,0,1,.181.015c.021,0,.041.01.062.014.041.008.081.017.122.029.024.007.048.018.073.027s.074.026.109.042.048.025.072.037.062.032.091.05l.2.19.009.008L30,9.135l.036.034.047.045.031.029.01.01a.426.426,0,0,1,.06.387Zm9.161,8.752a3.877,3.877,0,1,1,3.877-3.877,3.881,3.881,0,0,1-3.877,3.877" transform="translate(0 0)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
12
|
+
<path id="Path_11315" data-name="Path 11315" d="M207.77,129.531a1.47,1.47,0,1,0,1.47,1.47,1.471,1.471,0,0,0-1.47-1.47" transform="translate(-171.506 -107.684)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import AADisease from './disease.svg'
|
|
2
|
+
import AADressing from './dressing.svg'
|
|
3
|
+
import AAMowing from './mowing.svg'
|
|
4
|
+
import AApest from './pest.svg'
|
|
5
|
+
import AAWeed from './weed.svg'
|
|
6
|
+
import AALawn from './lawn.svg'
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
AADisease,
|
|
10
|
+
AADressing,
|
|
11
|
+
AALawn,
|
|
12
|
+
AAMowing,
|
|
13
|
+
AAWeed,
|
|
14
|
+
AApest
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg id="Group_22975" data-name="Group 22975" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="40.313" height="28.634" viewBox="0 0 40.313 28.634">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25550" data-name="Rectangle 25550" width="40.313" height="28.634" fill="none"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Group_22974" data-name="Group 22974">
|
|
8
|
+
<g id="Group_22973" data-name="Group 22973" clip-path="url(#clip-path)">
|
|
9
|
+
<path id="Path_11328" data-name="Path 11328" d="M11.723,148.087c-.319,0,.673-1.065,2.2-1.626,3.045-1.12,7.521-2.564,16.882-2.4,9.319.167,14.055,1.375,17.061,2.435,1.587.56,1.864,1.587,1.546,1.587Z" transform="translate(-9.712 -119.955)" fill="#0b633a" fill-rule="evenodd"/>
|
|
10
|
+
<path id="Path_11329" data-name="Path 11329" d="M38.278,35.189a27.922,27.922,0,0,0-3.169-1.239,8.726,8.726,0,0,1,1.558-6.466.517.517,0,0,0-.612-.805,8.689,8.689,0,0,0-3.691,2.957,11.331,11.331,0,0,1,.335-4.954,7.614,7.614,0,0,1,4.093-4.922.517.517,0,0,0-.369-.965c-2.6.819-7.74,2.436-10.056,7.951C26,23.977,25.91,19.9,29.106,12.919a.518.518,0,0,0-.834-.583,23.669,23.669,0,0,0-7.034,13.44c-.995-4.194-.894-9.548-.141-11.346a.518.518,0,0,0-.919-.47,31.867,31.867,0,0,0-4.112,11.757A41.86,41.86,0,0,0,9.624,13.363c-.244-.3-1.071-1.194-1.416-1.565a.517.517,0,0,0-.845.576c.107.225.648,1.366.82,1.782,1.621,3.917,3.054,9.581,2.368,13.888-1.509-5.3-4.532-8.6-6.931-9.493A.518.518,0,0,0,3,19.3,21.349,21.349,0,0,1,5.964,33.672,25.835,25.835,0,0,0,2,35.145C.5,35.867-.125,37.186.02,37.821a.615.615,0,0,0,.6.5H39.689a.62.62,0,0,0,.6-.511c.141-.645-.48-1.914-2.015-2.622M4.688,20.3c2.16,1.635,4.417,5.15,5.342,9.878a.518.518,0,0,0,1,.076c1.86-5.157-.348-12.307-1.465-15.33a42.66,42.66,0,0,1,5.832,11.992c.207.691.353,1.417.406,1.7a.517.517,0,0,0,1.025-.086c.007-.28.033-1.012.116-1.745A32.682,32.682,0,0,1,19.583,17.2,27.914,27.914,0,0,0,21.051,28.52a.517.517,0,0,0,.994-.211A21.413,21.413,0,0,1,27.1,15.09c-2.55,6.668-1.939,10.54-1.556,12.96.048.3.092.582.127.845a.516.516,0,0,0,1.013.06,11.816,11.816,0,0,1,6.92-8.048,9.366,9.366,0,0,0-1.869,3.487c-.826,2.754-.538,5.707.033,6.613a.515.515,0,0,0,.43.241.536.536,0,0,0,.437-.231l.073-.109a8.182,8.182,0,0,1,2.154-2.391,10.469,10.469,0,0,0-.814,5.115,53.306,53.306,0,0,0-13.712-1.66A50.556,50.556,0,0,0,7.024,33.383,22.253,22.253,0,0,0,4.688,20.3m-3.6,17.02a2.777,2.777,0,0,1,1.34-1.268c2.027-.975,7.828-3.226,17.891-3.075A50.167,50.167,0,0,1,34.5,34.809l.038.012A26.9,26.9,0,0,1,37.857,36.1a2.748,2.748,0,0,1,1.361,1.218Z" transform="translate(0 -9.688)" fill="#1e1f26"/>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg id="Group_22978" data-name="Group 22978" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="38.11" height="32.734" viewBox="0 0 38.11 32.734">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25551" data-name="Rectangle 25551" width="38.11" height="32.734" fill="none"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<path id="Path_11330" data-name="Path 11330" d="M10.161,105.051Z" transform="translate(-8.587 -88.777)" fill="#d0e1f9"/>
|
|
8
|
+
<g id="Group_22977" data-name="Group 22977">
|
|
9
|
+
<g id="Group_22976" data-name="Group 22976" clip-path="url(#clip-path)">
|
|
10
|
+
<path id="Path_11331" data-name="Path 11331" d="M112.248,69.883,99.779,67.364l.092-4.882,13.291,4.161L113.277,69a.86.86,0,0,1-1.029.885" transform="translate(-84.322 -52.802)" fill="#036639" fill-rule="evenodd"/>
|
|
11
|
+
<path id="Path_11332" data-name="Path 11332" d="M62.429,138.6a3.261,3.261,0,1,0,3.261,3.261,3.265,3.265,0,0,0-3.261-3.261m0,5.592a2.331,2.331,0,1,1,2.331-2.331,2.334,2.334,0,0,1-2.331,2.331" transform="translate(-50.002 -117.128)" fill="#1e1f26"/>
|
|
12
|
+
<path id="Path_11333" data-name="Path 11333" d="M201.474,147.581a2.573,2.573,0,1,0,2.572,2.572,2.575,2.575,0,0,0-2.572-2.572m0,4.216a1.643,1.643,0,1,1,1.643-1.643,1.645,1.645,0,0,1-1.643,1.643" transform="translate(-168.088 -124.718)" fill="#1e1f26"/>
|
|
13
|
+
<path id="Path_11334" data-name="Path 11334" d="M33.66,20.719a5.885,5.885,0,0,0-2.773-1.428L25.8,18.225V17.1l1.721.361a1.582,1.582,0,0,0,.325.034,1.567,1.567,0,0,0,1.56-1.644l-.062-1.264a1.571,1.571,0,0,0-1.1-1.419L15.677,9.27a1.566,1.566,0,0,0-2.03,1.467L13.6,13.242A1.567,1.567,0,0,0,14.845,14.8l2.1.441V16.37l-6.8-1.424L6.2.343A.465.465,0,0,0,5.755,0H.465a.465.465,0,0,0,0,.93H5.4l5.058,18.723a5.449,5.449,0,1,0,7.29,6.258H28.686a4.724,4.724,0,1,0,4.974-5.191M14.529,13.26l.047-2.505a.637.637,0,0,1,.825-.6l12.564,3.9a.639.639,0,0,1,.447.577l.062,1.264a.637.637,0,0,1-.767.655L15.035,13.895a.638.638,0,0,1-.506-.635m3.348,2.18,6.991,1.465V18.03l-6.991-1.465Zm-5.45,13.812a4.52,4.52,0,1,1,4.52-4.52,4.525,4.525,0,0,1-4.52,4.52m0-9.97a5.455,5.455,0,0,0-.987.091l-.977-3.412,6.717,1.407a.459.459,0,0,0,.232.064.448.448,0,0,0,.05-.005l7.6,1.592a.455.455,0,0,0,.371.078L30.7,20.2a4.974,4.974,0,0,1,1.6.639,4.734,4.734,0,0,0-3.608,4.14H17.871c0-.083.006-.165.006-.249a5.456,5.456,0,0,0-5.45-5.45m20.959,9.947a3.794,3.794,0,1,1,3.794-3.795,3.8,3.8,0,0,1-3.794,3.795" transform="translate(0 0.001)" fill="#1e1f26"/>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg id="Group_22964" data-name="Group 22964" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="33.28" height="33.698" viewBox="0 0 33.28 33.698">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25544" data-name="Rectangle 25544" width="33.28" height="33.698" fill="none" stroke="#707070" stroke-width="0.5"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Group_22963" data-name="Group 22963">
|
|
8
|
+
<g id="Group_22962" data-name="Group 22962" clip-path="url(#clip-path)">
|
|
9
|
+
<path id="Path_11298" data-name="Path 11298" d="M87.706,93.811l-6.282,6.282-.114-.114c-.724-.718-1.013-3.44.932-5.412a4.573,4.573,0,0,1,5.35-.869Z" transform="translate(-69.562 -80.268)" fill="#4d648d" stroke="#707070" stroke-width="0.5"/>
|
|
10
|
+
<path id="Path_11299" data-name="Path 11299" d="M60.072,65.442l.349-.349a1.686,1.686,0,0,1,1.428-.475l.7.1a.416.416,0,0,0,.12-.823l-.7-.1a2.52,2.52,0,0,0-2.136.71l-.288.288-.059-.062L57.858,63.1l1.779-1.779a.416.416,0,0,0-.588-.588L57.27,62.516l-1.688-1.687.287-.287a2.521,2.521,0,0,0,.71-2.136l-.1-.7a.416.416,0,0,0-.823.12l.1.7a1.684,1.684,0,0,1-.475,1.428l-.292.292A4.823,4.823,0,0,0,51.739,59a4.88,4.88,0,0,0-1.359.193l-.526-1.247a2.076,2.076,0,0,1,.031-1.679l.36-.775a.416.416,0,0,0-.754-.351l-.36.775a2.91,2.91,0,0,0-.043,2.353l.516,1.224a4.883,4.883,0,0,0-2.229,2.229L46.151,61.2a2.912,2.912,0,0,0-2.353.043l-.775.36a.416.416,0,0,0,.351.755l.775-.36a2.074,2.074,0,0,1,1.679-.031l1.247.525a4.875,4.875,0,0,0-.193,1.359,4.823,4.823,0,0,0,1.247,3.249l-.292.292a1.683,1.683,0,0,1-1.428.474l-.7-.1a.416.416,0,0,0-.12.824l.7.1a2.48,2.48,0,0,0,.357.026,2.523,2.523,0,0,0,1.779-.735l.287-.287L50.4,69.387,48.62,71.166a.416.416,0,0,0,.588.588l1.779-1.779L52.614,71.6l.062.059-.288.288a2.52,2.52,0,0,0-.71,2.136l.1.7a.416.416,0,0,0,.411.356.426.426,0,0,0,.06,0,.416.416,0,0,0,.352-.472l-.1-.7a1.685,1.685,0,0,1,.475-1.428l.349-.349a4.858,4.858,0,0,0,6.747-6.747m-.9,5.263L52.441,63.97l2.553-2.553L56.976,63.4,58.9,65.32a4.034,4.034,0,0,1,.279,5.385M47.848,62.823l.655.276a.416.416,0,0,0,.323-.767l-.682-.287a4.044,4.044,0,0,1,1.784-1.784l.287.682a.416.416,0,1,0,.767-.323l-.276-.654a4.058,4.058,0,0,1,1.034-.134,4,4,0,0,1,2.66,1l-5.682,5.682a4,4,0,0,1-1-2.66,4.047,4.047,0,0,1,.134-1.034M53.2,71.014l-3.9-3.9,2.553-2.553,6.735,6.735a4.034,4.034,0,0,1-5.385-.279" transform="translate(-36.85 -47.287)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
11
|
+
<path id="Path_11300" data-name="Path 11300" d="M27.333,16.8a16.009,16.009,0,1,0,0,22.65,16.034,16.034,0,0,0,0-22.65M5.57,39.151l4.269-4.269a.416.416,0,1,0-.588-.588L4.981,38.563a15.2,15.2,0,0,1,0-20.877L8.856,21.56a.416.416,0,0,0,.588-.588L5.57,17.1a15.2,15.2,0,0,1,20.877,0l-4.275,4.275a.416.416,0,1,0,.588.588l4.275-4.275a15.2,15.2,0,0,1,0,20.877l-2.948-2.948a.416.416,0,0,0-.588.588l2.948,2.948a15.2,15.2,0,0,1-20.877,0" transform="translate(0 -10.435)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg id="Group_22966" data-name="Group 22966" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="29.5" height="33.943" viewBox="0 0 29.5 33.943">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="clip-path">
|
|
4
|
+
<rect id="Rectangle_25545" data-name="Rectangle 25545" width="29.5" height="33.943" fill="none" stroke="#707070" stroke-width="0.5"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<g id="Group_22965" data-name="Group 22965" clip-path="url(#clip-path)">
|
|
8
|
+
<path id="Path_11302" data-name="Path 11302" d="M57.925,224.3H52.686a1.352,1.352,0,0,1-1.358-1.358V221.7h7.955v1.242a1.354,1.354,0,0,1-1.358,1.358" transform="translate(-44.359 -191.595)" fill="#0e683b" stroke="#707070" stroke-width="0.5"/>
|
|
9
|
+
<path id="Path_11303" data-name="Path 11303" d="M22.765,28.219q-.908-.284-1.8-.482l-.121-8.458a.761.761,0,0,0,.5-.715s0-.891,0-1.279a.3.3,0,0,1,.035-.143l1-1.864a.641.641,0,0,0-.245-.859l-.014-.008-.3-.161a.635.635,0,0,0-.485-.057.652.652,0,0,0-.395.317l-1.011,1.915a1.83,1.83,0,0,0-.21.817l-.023,1.315v.007a.76.76,0,0,0,.34.633l.12,8.374a18.749,18.749,0,0,0-4.817-.257V20.251a4.557,4.557,0,0,0-2.859-4.223V14.653l.835-.637a2.315,2.315,0,0,0,.911-1.752l.007-.162a.643.643,0,0,0-.642-.669h-2.84A2.989,2.989,0,0,0,13.313,8.48V8.306a.761.761,0,0,0-.761-.761H8.12a.761.761,0,0,0-.761.761V8.48a2.981,2.981,0,0,0,2.57,2.948s-2.84,0-2.84,0a.643.643,0,0,0-.642.669l.007.162a2.316,2.316,0,0,0,.911,1.752l.835.637v1.375a4.518,4.518,0,0,0-.461.215,3.8,3.8,0,0,0-2.3-2.013A2.756,2.756,0,0,0,3,14.783c-2.031,1.6-1.722,4.294-1.474,6.462.063.549.122,1.067.14,1.526a36.757,36.757,0,0,0,.954,7.123c.09.426.183.864.278,1.332a10.47,10.47,0,0,0-1.693.988C-.471,33.455-.137,35.97.637,37.361a2.1,2.1,0,0,0,1.647,1.285,1.115,1.115,0,0,0,.414-.08c2.556-1.011,2.016-3.195,1.446-5.507-.109-.44-.221-.894-.319-1.361.491-.216,1.007-.421,1.516-.616v6.784A1.767,1.767,0,0,0,7.106,39.63h6.461a1.767,1.767,0,0,0,1.765-1.765V28.132a17.967,17.967,0,0,1,4.829.269l.022,1.535a.894.894,0,0,0-.464.783v.358L18.47,33.74a.407.407,0,1,0,.738.346L19.719,33v4.944a.893.893,0,0,0,.488.795,1.623,1.623,0,0,0,.977,1.63,1.639,1.639,0,0,0,.583.1A3.765,3.765,0,0,0,24.378,39.1c1.177-1.438,1.574-5.384.8-7.966a3.959,3.959,0,0,0-2.415-2.911m-8.248-7.968V36.216H6.155V20.251a3.742,3.742,0,0,1,3.151-3.69h2.06a3.742,3.742,0,0,1,3.151,3.69M8.174,8.48V8.36H12.5v.12a2.162,2.162,0,1,1-4.324,0m-.906,3.768H13.4a1.5,1.5,0,0,1-.591,1.12l-.886.676H8.744l-.885-.676a1.5,1.5,0,0,1-.591-1.12m1.746,3.5v-.888h2.645v.888h-.235a4.571,4.571,0,0,0-.642-.046h-.89a4.573,4.573,0,0,0-.642.046ZM2.4,37.808c-.279.111-.711-.236-1.049-.843-.611-1.1-.924-3.159.342-4.1a9.212,9.212,0,0,1,1.376-.818c.09.413.189.813.285,1.2.617,2.5.855,3.838-.955,4.554M3.66,30.88c-.082-.4-.163-.784-.242-1.156a35.624,35.624,0,0,1-.937-6.985c-.019-.489-.08-1.022-.144-1.587C2.1,19.084,1.831,16.74,3.5,15.424a1.933,1.933,0,0,1,1.731-.405A3.022,3.022,0,0,1,7.054,16.7,4.543,4.543,0,0,0,5.34,20.251V30.21c-.557.211-1.129.433-1.681.671m10.857,6.985a.952.952,0,0,1-.95.95H7.106a.952.952,0,0,1-.95-.95V37.03h8.362Zm6.172-5.826v5.9a.078.078,0,1,1-.156,0v-7.22a.078.078,0,0,1,.156,0Zm3.059,6.541A2.559,2.559,0,0,1,21.471,39.6c-.273-.1-.422-.4-.449-.871a.893.893,0,0,0,.482-.792V33.5H21.8a.544.544,0,0,0,.543-.543v-.78a.544.544,0,0,0-.543-.543H21.5v-.913a.893.893,0,0,0-.507-.8l-.019-1.34q.766.179,1.543.422A3.3,3.3,0,0,1,24.4,31.364c.758,2.533.275,6.085-.651,7.216" transform="translate(0 -6.521)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
10
|
+
<path id="Path_11304" data-name="Path 11304" d="M157.953,33.9a.407.407,0,0,0,.528-.231l.4-1.012a.407.407,0,0,0-.759-.3l-.4,1.012a.407.407,0,0,0,.231.528" transform="translate(-136.282 -27.746)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
11
|
+
<path id="Path_11305" data-name="Path 11305" d="M164.089,17.572a.407.407,0,0,0,.528-.231l.437-1.116a.407.407,0,1,0-.759-.3l-.437,1.116a.407.407,0,0,0,.231.528" transform="translate(-141.585 -13.541)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
12
|
+
<path id="Path_11306" data-name="Path 11306" d="M170.524,1.8a.4.4,0,0,0,.148.028.408.408,0,0,0,.379-.259l.4-1.011a.407.407,0,0,0-.758-.3l-.4,1.011a.407.407,0,0,0,.231.528" transform="translate(-147.146 0)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
13
|
+
<path id="Path_11307" data-name="Path 11307" d="M167.854,37.963a.407.407,0,0,0-.572.066l-.675.851a.407.407,0,0,0,.639.506l.675-.851a.407.407,0,0,0-.066-.572" transform="translate(-143.909 -32.733)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
14
|
+
<path id="Path_11308" data-name="Path 11308" d="M178.809,23.154a.408.408,0,0,0-.572.066l-.8,1.006a.407.407,0,0,0,.639.506l.8-1.005a.407.407,0,0,0-.066-.572" transform="translate(-153.271 -19.934)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
15
|
+
<path id="Path_11309" data-name="Path 11309" d="M189.24,10.967a.407.407,0,0,0,.572-.066l.674-.851a.407.407,0,1,0-.639-.506l-.674.851a.407.407,0,0,0,.066.572" transform="translate(-163.412 -8.114)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
16
|
+
<path id="Path_11310" data-name="Path 11310" d="M174.741,46.636a.407.407,0,0,0,.567.1l.892-.62a.407.407,0,0,0-.465-.669l-.892.62a.407.407,0,0,0-.1.567" transform="translate(-150.951 -39.214)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
17
|
+
<path id="Path_11311" data-name="Path 11311" d="M190.29,34.566l-1.062.739a.407.407,0,0,0,.465.669l1.062-.739a.407.407,0,0,0-.465-.669" transform="translate(-163.383 -29.81)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
18
|
+
<path id="Path_11312" data-name="Path 11312" d="M206.327,24.659a.407.407,0,0,0-.567-.1l-.892.62a.407.407,0,0,0,.465.669l.892-.62a.407.407,0,0,0,.1-.567" transform="translate(-176.9 -21.16)" fill="#1e1f26" stroke="#707070" stroke-width="0.5"/>
|
|
19
|
+
</g>
|
|
20
|
+
</svg>
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
HStack,
|
|
9
9
|
VStack,
|
|
10
10
|
Divider,
|
|
11
|
-
chakra,
|
|
12
11
|
} from '@chakra-ui/react'
|
|
13
12
|
import { extractCodeFromUrl } from '@/utils'
|
|
14
13
|
import {
|
|
@@ -21,6 +20,7 @@ import {
|
|
|
21
20
|
LuCloudLightning,
|
|
22
21
|
} from 'react-icons/lu'
|
|
23
22
|
import { colors } from '@/theme/colors'
|
|
23
|
+
import { SkeletonBox } from '@/components/loaders'
|
|
24
24
|
|
|
25
25
|
const weatherIconMap: Record<
|
|
26
26
|
string,
|
|
@@ -41,12 +41,69 @@ export const WeatherWidget = ({
|
|
|
41
41
|
details,
|
|
42
42
|
forecast,
|
|
43
43
|
header,
|
|
44
|
-
|
|
44
|
+
loading = false,
|
|
45
|
+
}: WeatherWidgetI & { loading?: boolean }) => {
|
|
46
|
+
if (loading) {
|
|
47
|
+
return (
|
|
48
|
+
<Stack spacing="base" p="4" zIndex="2">
|
|
49
|
+
{/* Header skeleton */}
|
|
50
|
+
<Flex justify="space-between" align="center">
|
|
51
|
+
<SkeletonBox height="12px" borderRadius="md" width="30%" />
|
|
52
|
+
<SkeletonBox height="12px" borderRadius="md" width="30%" />
|
|
53
|
+
</Flex>
|
|
54
|
+
{/* Current temp skeleton */}
|
|
55
|
+
<Stack align="end">
|
|
56
|
+
<Flex justify="end" align="start" gap="base" mt="4">
|
|
57
|
+
<SkeletonBox height="50px" borderRadius="md" width="50px" />
|
|
58
|
+
<SkeletonBox height="30px" width="30px" borderRadius="full" />
|
|
59
|
+
</Flex>
|
|
60
|
+
<SkeletonBox height="12px" borderRadius="md" width="20%" />
|
|
61
|
+
</Stack>
|
|
62
|
+
|
|
63
|
+
<Divider borderColor="gray.2" borderStyle="dashed" />
|
|
64
|
+
{/* Details skeleton */}
|
|
65
|
+
<Flex justify="space-between" mt="4">
|
|
66
|
+
<Stack>
|
|
67
|
+
<SkeletonBox height="8px" borderRadius="md" width="70px" />
|
|
68
|
+
<SkeletonBox height="8px" borderRadius="md" width="70px" />
|
|
69
|
+
</Stack>
|
|
70
|
+
<Stack align="end">
|
|
71
|
+
<SkeletonBox height="8px" borderRadius="md" width="70px" />
|
|
72
|
+
<SkeletonBox height="8px" borderRadius="md" width="70px" />
|
|
73
|
+
</Stack>
|
|
74
|
+
</Flex>
|
|
75
|
+
{/* Forecast skeleton */}
|
|
76
|
+
<Flex justify="space-between" mt="4" gap="1">
|
|
77
|
+
{Array(5)
|
|
78
|
+
.fill(0)
|
|
79
|
+
.map((_, idx) => (
|
|
80
|
+
<VStack
|
|
81
|
+
key={idx}
|
|
82
|
+
gap="1"
|
|
83
|
+
width="46px"
|
|
84
|
+
border="1px solid"
|
|
85
|
+
borderColor="gray.2"
|
|
86
|
+
py="2"
|
|
87
|
+
px="1"
|
|
88
|
+
>
|
|
89
|
+
<SkeletonBox height="6px" borderRadius="md" width="60%" />
|
|
90
|
+
<Divider borderColor="gray.2" borderStyle="solid" my="0.5" />
|
|
91
|
+
<SkeletonBox height="18px" width="18px" borderRadius="full" />
|
|
92
|
+
<SkeletonBox height="8px" borderRadius="md" width="70%" />
|
|
93
|
+
<SkeletonBox height="6px" borderRadius="md" width="70%" />
|
|
94
|
+
</VStack>
|
|
95
|
+
))}
|
|
96
|
+
</Flex>
|
|
97
|
+
</Stack>
|
|
98
|
+
)
|
|
99
|
+
}
|
|
100
|
+
|
|
45
101
|
return (
|
|
46
102
|
<Stack spacing="base" p="4" zIndex="2">
|
|
103
|
+
{/* Header */}
|
|
47
104
|
{header && (
|
|
48
105
|
<Flex justify="space-between" align="center">
|
|
49
|
-
{header
|
|
106
|
+
{header.date && (
|
|
50
107
|
<Text
|
|
51
108
|
fontSize="sm"
|
|
52
109
|
fontFamily="secondary"
|
|
@@ -55,7 +112,7 @@ export const WeatherWidget = ({
|
|
|
55
112
|
{header.date}
|
|
56
113
|
</Text>
|
|
57
114
|
)}
|
|
58
|
-
{header
|
|
115
|
+
{header.location && (
|
|
59
116
|
<Text
|
|
60
117
|
fontSize="sm"
|
|
61
118
|
fontFamily="secondary"
|
|
@@ -67,10 +124,11 @@ export const WeatherWidget = ({
|
|
|
67
124
|
</Flex>
|
|
68
125
|
)}
|
|
69
126
|
|
|
127
|
+
{/* Current Temperature */}
|
|
70
128
|
{current && (
|
|
71
129
|
<Stack spacing="0" align="end">
|
|
72
130
|
<HStack align="start" spacing="2">
|
|
73
|
-
{current
|
|
131
|
+
{current.temp != null && (
|
|
74
132
|
<Text
|
|
75
133
|
fontSize="6xl"
|
|
76
134
|
fontWeight="medium"
|
|
@@ -83,41 +141,48 @@ export const WeatherWidget = ({
|
|
|
83
141
|
{getWeatherIcon(current.icon, 50)}
|
|
84
142
|
</HStack>
|
|
85
143
|
<Text fontSize="md">
|
|
86
|
-
<
|
|
87
|
-
|
|
88
|
-
|
|
144
|
+
<Box as="span" color="gray.2">
|
|
145
|
+
H{' '}
|
|
146
|
+
</Box>
|
|
147
|
+
{current.high}°{' '}
|
|
148
|
+
<Box as="span" color="gray.2">
|
|
149
|
+
L{' '}
|
|
150
|
+
</Box>
|
|
151
|
+
{current.low}°
|
|
89
152
|
</Text>
|
|
90
153
|
</Stack>
|
|
91
154
|
)}
|
|
92
155
|
|
|
93
156
|
<Divider borderColor="gray.2" borderStyle="dashed" />
|
|
94
157
|
|
|
158
|
+
{/* Details */}
|
|
95
159
|
{details && (
|
|
96
160
|
<Flex justify="space-between">
|
|
97
161
|
<VStack spacing="0" align="start">
|
|
98
162
|
<WeatherDetailText>Precipitation</WeatherDetailText>
|
|
99
|
-
{details
|
|
163
|
+
{details.humidity != null && (
|
|
100
164
|
<WeatherDetailText>Humidity</WeatherDetailText>
|
|
101
165
|
)}
|
|
102
166
|
<WeatherDetailText>Wind</WeatherDetailText>
|
|
103
167
|
</VStack>
|
|
104
168
|
<VStack spacing="0" align="start">
|
|
105
|
-
{details
|
|
169
|
+
{details.precipitation != null && (
|
|
106
170
|
<WeatherDetailText>{details.precipitation}%</WeatherDetailText>
|
|
107
171
|
)}
|
|
108
|
-
{details
|
|
172
|
+
{details.humidity != null && (
|
|
109
173
|
<WeatherDetailText>{details.humidity}%</WeatherDetailText>
|
|
110
174
|
)}
|
|
111
|
-
{details
|
|
175
|
+
{details.wind && (
|
|
112
176
|
<WeatherDetailText>{details.wind}</WeatherDetailText>
|
|
113
177
|
)}
|
|
114
178
|
</VStack>
|
|
115
179
|
</Flex>
|
|
116
180
|
)}
|
|
117
181
|
|
|
182
|
+
{/* 5-Day Forecast */}
|
|
118
183
|
{forecast && (
|
|
119
184
|
<Flex justify="space-between" gap="1">
|
|
120
|
-
{forecast
|
|
185
|
+
{forecast.map((f) => (
|
|
121
186
|
<VStack
|
|
122
187
|
key={f.day}
|
|
123
188
|
spacing="0"
|
|
@@ -149,18 +214,16 @@ export const WeatherWidget = ({
|
|
|
149
214
|
)
|
|
150
215
|
}
|
|
151
216
|
|
|
152
|
-
const WeatherDetailText = ({ children }: PropsWithChildren) =>
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
)
|
|
163
|
-
}
|
|
217
|
+
const WeatherDetailText = ({ children }: PropsWithChildren) => (
|
|
218
|
+
<Text
|
|
219
|
+
fontFamily="secondary"
|
|
220
|
+
textTransform="uppercase"
|
|
221
|
+
fontSize="xs"
|
|
222
|
+
lineHeight="1.2"
|
|
223
|
+
>
|
|
224
|
+
{children}
|
|
225
|
+
</Text>
|
|
226
|
+
)
|
|
164
227
|
|
|
165
228
|
const getWeatherIcon = (iconUrl: string, size = 48, color = colors.gray[4]) => {
|
|
166
229
|
if (!iconUrl) return null
|
|
@@ -51,6 +51,12 @@ import {
|
|
|
51
51
|
PressureWasher,
|
|
52
52
|
BookOpened,
|
|
53
53
|
Company2,
|
|
54
|
+
AADisease,
|
|
55
|
+
AADressing,
|
|
56
|
+
AALawn,
|
|
57
|
+
AAMowing,
|
|
58
|
+
AAWeed,
|
|
59
|
+
AApest
|
|
54
60
|
} from '@/assets/images'
|
|
55
61
|
import { IconTypes } from '@/interfaces'
|
|
56
62
|
|
|
@@ -108,4 +114,10 @@ export const fieldIcons: Record<IconTypes, string> = {
|
|
|
108
114
|
'sh-pressure': Pressure,
|
|
109
115
|
'sh-roof': RoofCleaning,
|
|
110
116
|
'sh-window': WindowCleaning,
|
|
117
|
+
'aa-mowing': AAMowing,
|
|
118
|
+
'aa-fertilization': AALawn,
|
|
119
|
+
'aa-disease': AADisease,
|
|
120
|
+
'aa-weed': AAWeed,
|
|
121
|
+
'aa-dressing': AADressing,
|
|
122
|
+
'aa-pest': AApest
|
|
111
123
|
}
|
|
@@ -111,6 +111,12 @@ export type UIIconTypes =
|
|
|
111
111
|
| 'sh-gutter'
|
|
112
112
|
| 'sh-home'
|
|
113
113
|
| 'sh-house'
|
|
114
|
+
| 'aa-mowing'
|
|
115
|
+
| 'aa-fertilization'
|
|
116
|
+
| 'aa-disease'
|
|
117
|
+
| 'aa-weed'
|
|
118
|
+
| 'aa-dressing'
|
|
119
|
+
| 'aa-pest'
|
|
114
120
|
|
|
115
121
|
export type ValueTypes = string | string[] | number | boolean
|
|
116
122
|
export type OptionsTypes = string[] | number[] | null
|