@homefile/components-v2 2.14.31 → 2.15.0

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.
Files changed (58) hide show
  1. package/dist/components/forms/dynamicForm/fields/TileBodyFields.js +5 -1
  2. package/dist/components/forms/dynamicForm/fields/uiFields/TileBodyDescription.d.ts +3 -0
  3. package/dist/components/forms/dynamicForm/fields/uiFields/TileBodyDescription.js +5 -0
  4. package/dist/components/forms/dynamicForm/fields/uiFields/TileBodyDescription.tsx +16 -0
  5. package/dist/components/forms/dynamicForm/fields/uiFields/TileBodyPartnerImage.d.ts +2 -0
  6. package/dist/components/forms/dynamicForm/fields/uiFields/TileBodyPartnerImage.js +6 -0
  7. package/dist/components/forms/dynamicForm/fields/uiFields/TileBodyPartnerImage.tsx +11 -0
  8. package/dist/components/forms/dynamicForm/fields/uiFields/index.d.ts +2 -0
  9. package/dist/components/forms/dynamicForm/fields/uiFields/index.js +2 -0
  10. package/dist/components/forms/dynamicForm/fields/uiFields/index.ts +3 -1
  11. package/dist/components/homeAssistant/monitorAlerts/WeatherDetail.d.ts +6 -0
  12. package/dist/components/homeAssistant/monitorAlerts/WeatherDetail.js +7 -0
  13. package/dist/components/homeAssistant/monitorAlerts/WeatherWidget.d.ts +2 -0
  14. package/dist/components/homeAssistant/monitorAlerts/WeatherWidget.js +26 -0
  15. package/dist/components/homeAssistant/monitorAlerts/index.d.ts +1 -0
  16. package/dist/components/homeAssistant/monitorAlerts/index.js +1 -0
  17. package/dist/index.d.ts +2 -2
  18. package/dist/index.js +2 -2
  19. package/dist/interfaces/forms/dynamicForm/DynamicForm.interface.d.ts +1 -1
  20. package/dist/interfaces/homeAssistant/WeatherWidget.interface.d.ts +40 -0
  21. package/dist/interfaces/homeAssistant/WeatherWidget.interface.js +1 -0
  22. package/dist/interfaces/homeAssistant/index.d.ts +1 -0
  23. package/dist/interfaces/homeAssistant/index.js +1 -0
  24. package/dist/mocks/homeAssistant/index.d.ts +1 -0
  25. package/dist/mocks/homeAssistant/index.js +1 -0
  26. package/dist/mocks/homeAssistant/weather.d.ts +37 -0
  27. package/dist/mocks/homeAssistant/weather.js +268 -0
  28. package/dist/mocks/partner/dynamicTileForm.mock.d.ts +2 -0
  29. package/dist/mocks/partner/dynamicTileForm.mock.js +65 -0
  30. package/dist/mocks/partner/index.d.ts +1 -0
  31. package/dist/mocks/partner/index.js +1 -0
  32. package/dist/stories/homeAssistant/HomeMonitor.stories.js +6 -4
  33. package/dist/stories/partner/DynamicTile.stories.d.ts +5 -0
  34. package/dist/stories/partner/DynamicTile.stories.js +26 -0
  35. package/dist/utils/Weather.utils.d.ts +3 -0
  36. package/dist/utils/Weather.utils.js +60 -0
  37. package/dist/utils/index.d.ts +1 -0
  38. package/dist/utils/index.js +1 -0
  39. package/package.json +1 -1
  40. package/src/components/forms/dynamicForm/fields/TileBodyFields.tsx +5 -2
  41. package/src/components/forms/dynamicForm/fields/uiFields/TileBodyDescription.tsx +16 -0
  42. package/src/components/forms/dynamicForm/fields/uiFields/TileBodyPartnerImage.tsx +11 -0
  43. package/src/components/forms/dynamicForm/fields/uiFields/index.ts +3 -1
  44. package/src/components/homeAssistant/monitorAlerts/WeatherDetail.tsx +26 -0
  45. package/src/components/homeAssistant/monitorAlerts/WeatherWidget.tsx +141 -0
  46. package/src/components/homeAssistant/monitorAlerts/index.ts +1 -0
  47. package/src/index.ts +6 -1
  48. package/src/interfaces/forms/dynamicForm/DynamicForm.interface.ts +2 -0
  49. package/src/interfaces/homeAssistant/WeatherWidget.interface.ts +39 -0
  50. package/src/interfaces/homeAssistant/index.ts +1 -0
  51. package/src/mocks/homeAssistant/index.ts +1 -0
  52. package/src/mocks/homeAssistant/weather.ts +282 -0
  53. package/src/mocks/partner/dynamicTileForm.mock.ts +67 -0
  54. package/src/mocks/partner/index.ts +1 -0
  55. package/src/stories/homeAssistant/HomeMonitor.stories.tsx +6 -3
  56. package/src/stories/partner/DynamicTile.stories.tsx +33 -0
  57. package/src/utils/Weather.utils.ts +81 -0
  58. package/src/utils/index.ts +1 -0
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { fieldIcons } from '../../../../helpers';
3
- import { VerticalIcon, TileBodySectionGrid } from '../../..';
3
+ import { VerticalIcon, TileBodySectionGrid, TileBodyDescription, TileBodyPartnerImage } from '../../..';
4
4
  export const TileBodyFields = ({ fields }) => {
5
5
  return (_jsx(_Fragment, { children: fields === null || fields === void 0 ? void 0 : fields.map(({ children, id, name, type, value, icon }) => {
6
6
  const baseProps = {
@@ -13,6 +13,10 @@ export const TileBodyFields = ({ fields }) => {
13
13
  switch (type) {
14
14
  case 'tile-body-section-grid':
15
15
  return _jsx(TileBodySectionGrid, { fields: children }, id);
16
+ case 'tile-body-description':
17
+ return _jsx(TileBodyDescription, { description: String(baseProps.value) });
18
+ case 'tile-body-partner-image':
19
+ return _jsx(TileBodyPartnerImage, { imageUrl: String(baseProps.value), partnerName: name });
16
20
  case 'vertical-icon':
17
21
  return (_jsx(VerticalIcon, { icon: baseProps.icon, value: String(baseProps.value) }, id));
18
22
  default:
@@ -0,0 +1,3 @@
1
+ export declare const TileBodyDescription: ({ description }: {
2
+ description: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Box, Text } from '@chakra-ui/react';
3
+ export const TileBodyDescription = ({ description }) => {
4
+ return (_jsx(Box, { px: "base", py: "4", pb: "0", bg: "lightBlue.1", children: _jsx(Text, { fontSize: "sm", fontWeight: "light", lineHeight: "18px", textAlign: "center", children: description }) }));
5
+ };
@@ -0,0 +1,16 @@
1
+ import { Box, Text } from '@chakra-ui/react'
2
+
3
+ export const TileBodyDescription = ({description}: {description: string}) => {
4
+ return (
5
+ <Box px="base" py="4" pb="0" bg="lightBlue.1">
6
+ <Text
7
+ fontSize="sm"
8
+ fontWeight="light"
9
+ lineHeight="18px"
10
+ textAlign="center"
11
+ >
12
+ {description}
13
+ </Text>
14
+ </Box>
15
+ )
16
+ }
@@ -0,0 +1,2 @@
1
+ import { PartnerImageI } from '../../../../../interfaces';
2
+ export declare const TileBodyPartnerImage: ({ imageUrl, partnerName }: PartnerImageI) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Box } from '@chakra-ui/react';
3
+ import { PartnerImage } from '../../../..';
4
+ export const TileBodyPartnerImage = ({ imageUrl, partnerName }) => {
5
+ return (_jsx(Box, { h: "240px", children: _jsx(PartnerImage, { imageUrl: imageUrl, partnerName: partnerName }) }));
6
+ };
@@ -0,0 +1,11 @@
1
+ import { Box, Flex, Stack, Text } from '@chakra-ui/react'
2
+ import { PartnerImage } from '@/components'
3
+ import { PartnerImageI } from '@/interfaces'
4
+
5
+ export const TileBodyPartnerImage = ({ imageUrl, partnerName }: PartnerImageI) => {
6
+ return (
7
+ <Box h="240px">
8
+ <PartnerImage imageUrl={imageUrl} partnerName={partnerName} />
9
+ </Box>
10
+ )
11
+ }
@@ -4,4 +4,6 @@ export * from './TileBodyHeader';
4
4
  export * from './TileBodyLogo';
5
5
  export * from './TileBodySectionGrid';
6
6
  export * from './TileCta';
7
+ export * from './TileBodyDescription';
8
+ export * from './TileBodyPartnerImage';
7
9
  export * from './VerticalIcon';
@@ -4,4 +4,6 @@ export * from './TileBodyHeader';
4
4
  export * from './TileBodyLogo';
5
5
  export * from './TileBodySectionGrid';
6
6
  export * from './TileCta';
7
+ export * from './TileBodyDescription';
8
+ export * from './TileBodyPartnerImage';
7
9
  export * from './VerticalIcon';
@@ -4,4 +4,6 @@ export * from './TileBodyHeader'
4
4
  export * from './TileBodyLogo'
5
5
  export * from './TileBodySectionGrid'
6
6
  export * from './TileCta'
7
- export * from './VerticalIcon'
7
+ export * from './TileBodyDescription'
8
+ export * from './TileBodyPartnerImage'
9
+ export * from './VerticalIcon'
@@ -0,0 +1,6 @@
1
+ interface WeatherDetailProps {
2
+ label: string;
3
+ value?: string | number;
4
+ }
5
+ export declare const WeatherDetail: ({ label, value }: WeatherDetailProps) => import("react/jsx-runtime").JSX.Element | null;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Text, VStack } from '@chakra-ui/react';
3
+ export const WeatherDetail = ({ label, value }) => {
4
+ if (!value)
5
+ return null; // Não renderiza se o valor for undefined ou null
6
+ return (_jsxs(VStack, { spacing: "0", align: "start", fontFamily: "secondary", textTransform: "uppercase", children: [_jsx(Text, { fontSize: "xs", lineHeight: "1", children: label }), _jsx(Text, { fontSize: "xs", lineHeight: "1", children: value })] }));
7
+ };
@@ -0,0 +1,2 @@
1
+ import { WeatherWidgetI } from '../../../interfaces';
2
+ export declare const WeatherWidget: ({ current, details, forecast, header, }: WeatherWidgetI) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Stack, Flex, Text, HStack, VStack, Divider, chakra, } from '@chakra-ui/react';
3
+ import { extractCodeFromUrl } from '../../../utils';
4
+ import { LuSnowflake, LuSun, LuCloudSun, LuCloudy, LuCloud, LuCloudRain, LuCloudLightning, } from 'react-icons/lu';
5
+ import { colors } from '../../../theme/colors';
6
+ const weatherIconMap = {
7
+ skc: LuSun,
8
+ few: LuCloudSun,
9
+ sct: LuCloud,
10
+ bkn: LuCloudy,
11
+ ovc: LuCloudy,
12
+ rain: LuCloudRain,
13
+ tsra: LuCloudLightning,
14
+ snow: LuSnowflake,
15
+ };
16
+ export const WeatherWidget = ({ current, details, forecast, header, }) => {
17
+ return (_jsxs(Stack, { spacing: "base", p: "4", zIndex: "2", children: [_jsxs(Flex, { justify: "space-between", align: "center", children: [_jsx(Text, { fontSize: "sm", fontFamily: "secondary", textTransform: "uppercase", children: header.date }), _jsx(Text, { fontSize: "sm", fontFamily: "secondary", textTransform: "uppercase", children: header.location })] }), _jsxs(Stack, { spacing: "0", align: "end", children: [_jsxs(HStack, { align: "start", spacing: "2", children: [_jsxs(Text, { fontSize: "6xl", fontWeight: "medium", lineHeight: 1, color: "gray.4", children: [current.temp, "\u00B0"] }), getWeatherIcon(current.icon, 50)] }), _jsxs(Text, { fontSize: "md", children: [_jsx(chakra.span, { color: "gray.2", children: "H " }), " ", current.high, "\u00B0 \u00A0", _jsx(chakra.span, { color: "gray.2", children: "L " }), current.low, "\u00B0"] })] }), _jsx(Divider, { borderColor: "gray.2", borderStyle: "dashed" }), _jsxs(Flex, { justify: "space-between", children: [_jsxs(VStack, { spacing: "0", align: "start", children: [_jsx(WeatherDetailText, { children: "Precipitation" }), details.humidity && _jsx(WeatherDetailText, { children: "Humidity" }), _jsx(WeatherDetailText, { children: "Wind" })] }), _jsxs(VStack, { spacing: "0", align: "start", children: [_jsxs(WeatherDetailText, { children: [details.precipitation, "%"] }), details.humidity && (_jsxs(WeatherDetailText, { children: [details.humidity, "%"] })), _jsx(WeatherDetailText, { children: details.wind })] })] }), _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))) })] }));
18
+ };
19
+ const WeatherDetailText = ({ children }) => {
20
+ return (_jsx(Text, { fontFamily: "secondary", textTransform: "uppercase", fontSize: "xs", lineHeight: "1.2", children: children }));
21
+ };
22
+ const getWeatherIcon = (iconUrl, size = 48, color = colors.gray[4]) => {
23
+ const code = extractCodeFromUrl(iconUrl);
24
+ const IconComponent = weatherIconMap[code] || LuSun;
25
+ return _jsx(IconComponent, { size: size, color: color });
26
+ };
@@ -3,6 +3,7 @@ export * from './AlertHeader';
3
3
  export * from './AlertTemplate';
4
4
  export * from './AlertTitle';
5
5
  export * from './BaseAlertCard';
6
+ export * from './WeatherWidget';
6
7
  export * from './HomefileMonitoring';
7
8
  export * from './MonitorAlerts';
8
9
  export * from './Notifications';
@@ -3,6 +3,7 @@ export * from './AlertHeader';
3
3
  export * from './AlertTemplate';
4
4
  export * from './AlertTitle';
5
5
  export * from './BaseAlertCard';
6
+ export * from './WeatherWidget';
6
7
  export * from './HomefileMonitoring';
7
8
  export * from './MonitorAlerts';
8
9
  export * from './Notifications';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { ActivateAccount, ActiveSubscription, AddCardBanner, AddEditContactPanel, AddFolder, AddHomeContent, AddHomeItem, AddHomeItemHeader, AddMedia, AddPropertyRecords, Address, AddPopup, AddTile, AlertBanner, AphwTile, AppBar, AssignableReceipts, BackHeader, BarDivider, CancelAccount, CatalogPopup, CloudsAnimation, ContactList, ContactsContent, ContainerHeader, CreateDocumentHeader, CreateHouseholdItemHeader, CreditCardContainer, CreditCardError, CustomerTile, DeleteBanner, Dialog, DisplayFiles, DisplayFilesDetail, DisplayOptions, DisplayReceipts, DocumentMenu, DocumentNameHeader, DocumentPreview, DynamicForm, EditAccountType, EditHomeBody, EditHomeFooter, EditHomeHeader, EditHomePanel, EmailPermissions, EmailValidation, Feedback, FileDetail, FilesUploader, FlowStep, FolderDetail, FolderDetailBody, FolderDetailContent, FolderDetailFooter, FolderDetailHeader, FolderInfo, FolderSharing, FolderTypeSelection, FooterButtons, FooterDrawer, GenericBackHeader, GroupCard, GroupsContainer, GroupsHeader, Header, HelpContent, HomeAssistant, HomeAssistantPanel, HomeBoardGrid, HomeBoardTour, HomeCard, HomeCardWithRecipent, HomeDetailsContent, HomefileMonitoring, HomeHeader, HomeMonitor, HomeMonitorSteps, HomeSharedWith, InboxForwardBanner, InboxTile, ItemFormPanel, ItemFormTabs, ItemNameHeader, ItemsReviewBanner, ItemSubTypeSelect, Launchpad, LaunchpadAutofilerBanner, LaunchpadReceiptAutofiler, LaunchpadReceiptPanel, LaunchpadTour, LeftPanel, Loading, MediaDetailsStep, MessagePanel, MessageChatPanel, MonitorAlerts, MonthlyCharge, MortgageInfo, MoveModal, MyHomes, MyProfileBody, MyProfileContent, MyProfileFooter, MyProfileHeader, MyProfilePanel, NewCreditCard, NewCreditCardHeader, NewPassword, NotBeChargedBanner, Notifications, NotificationsReminder, NotificationsPanel, NotificationCard, Overlay, PanelHeader, PartnerActiveSubscription, PartnerCatalogPanel, PartnerContent, PartnerCustomerCode, PartnerDetails, PartnerImages, PartnerPanel, PasswordInput, PaymentReceipts, PdfButton, PeopleConnected, ProfileDetailsTab, ProfilePaymentTab, ProjectList, PropertyRecords, PropertyTaxes, ReadOnlyDynamicForm, ReadOnlyImage, ReadOnlyToggle, ReceiptAutofiler, ReceiptBody, ReceiptContent, ReceiptDetails, ReceiptFilters, ReceiptFooter, ReceiptHeader, ReceiptInfos, ReceiptItem, ReceiptItems, ReceiptPDF, ReceiptsDisplayOptions, ReceiptsFiled, ReceiptsHeader, ReceiptsInfo, ReceiptsReceivedContent, RecipientForm, RecipientsToShare, RecipientTab, RecordsInputs, ResendResetPassword, ResetPassword, ReviewBanner, RightPanel, RolePermissionsTab, RoomHeader, RoomsBoardTour, RoomsMenu, RoomsMenuMobile, RoomStep, RoomVideo, SalesTax, SatisfactionTile, SectionHeader, SendCommunication, ShareContactsContent, SharedAccounts, SharedHomeContent, SharedHomeHeader, ShareHome, ShareHomeConnections, ShareHomeForm, ShineTile, ShortPartnerTile, SignIn, SignUp, SkeletonBox, StepHeader, StorageUsed, Subscription, SubscriptionCard, SubscriptionTable, Summary, TabsHeader, TextInput, ToBeDeletedBody, ToBeDeletedContent, ToBeDeletedFooter, ToBeDeletedHeader, TourButton, Trash, TrendingValue, TrialBanner, TutorialsButton, TwoFactor, TwoFactorSetting, UpdateList, UserDetails, ValueMonitor, ViewContactPanel, VideoPlayer, VideoPlayerModal, WellDone, YtdTile, } from './components';
1
+ export { ActivateAccount, ActiveSubscription, AddCardBanner, AddEditContactPanel, AddFolder, AddHomeContent, AddHomeItem, AddHomeItemHeader, AddMedia, AddPropertyRecords, Address, AddPopup, AddTile, AlertBanner, AphwTile, AppBar, AssignableReceipts, BackHeader, BarDivider, CancelAccount, CatalogPopup, CloudsAnimation, ContactList, ContactsContent, ContainerHeader, CreateDocumentHeader, CreateHouseholdItemHeader, CreditCardContainer, CreditCardError, CustomerTile, DeleteBanner, Dialog, DisplayFiles, DisplayFilesDetail, DisplayOptions, DisplayReceipts, DocumentMenu, DocumentNameHeader, DocumentPreview, DynamicForm, EditAccountType, EditHomeBody, EditHomeFooter, EditHomeHeader, EditHomePanel, EmailPermissions, EmailValidation, Feedback, FileDetail, FilesUploader, FlowStep, FolderDetail, FolderDetailBody, FolderDetailContent, FolderDetailFooter, FolderDetailHeader, FolderInfo, FolderSharing, FolderTypeSelection, FooterButtons, FooterDrawer, GenericBackHeader, GroupCard, GroupsContainer, GroupsHeader, Header, HelpContent, HomeAssistant, HomeAssistantPanel, HomeBoardGrid, HomeBoardTour, HomeCard, HomeCardWithRecipent, HomeDetailsContent, HomefileMonitoring, HomeHeader, HomeMonitor, HomeMonitorSteps, HomeSharedWith, InboxForwardBanner, InboxTile, ItemFormPanel, ItemFormTabs, ItemNameHeader, ItemsReviewBanner, ItemSubTypeSelect, Launchpad, LaunchpadAutofilerBanner, LaunchpadReceiptAutofiler, LaunchpadReceiptPanel, LaunchpadTour, LeftPanel, Loading, MediaDetailsStep, MessagePanel, MessageChatPanel, MonitorAlerts, MonthlyCharge, MortgageInfo, MoveModal, MyHomes, MyProfileBody, MyProfileContent, MyProfileFooter, MyProfileHeader, MyProfilePanel, NewCreditCard, NewCreditCardHeader, NewPassword, NotBeChargedBanner, Notifications, NotificationsReminder, NotificationsPanel, NotificationCard, Overlay, PanelHeader, PartnerActiveSubscription, PartnerCatalogPanel, PartnerContent, PartnerCustomerCode, PartnerDetails, PartnerImages, PartnerPanel, PasswordInput, PaymentReceipts, PdfButton, PeopleConnected, ProfileDetailsTab, ProfilePaymentTab, ProjectList, PropertyRecords, PropertyTaxes, ReadOnlyDynamicForm, ReadOnlyImage, ReadOnlyToggle, ReceiptAutofiler, ReceiptBody, ReceiptContent, ReceiptDetails, ReceiptFilters, ReceiptFooter, ReceiptHeader, ReceiptInfos, ReceiptItem, ReceiptItems, ReceiptPDF, ReceiptsDisplayOptions, ReceiptsFiled, ReceiptsHeader, ReceiptsInfo, ReceiptsReceivedContent, RecipientForm, RecipientsToShare, RecipientTab, RecordsInputs, ResendResetPassword, ResetPassword, ReviewBanner, RightPanel, RolePermissionsTab, RoomHeader, RoomsBoardTour, RoomsMenu, RoomsMenuMobile, RoomStep, RoomVideo, SalesTax, SatisfactionTile, SectionHeader, SendCommunication, ShareContactsContent, SharedAccounts, SharedHomeContent, SharedHomeHeader, ShareHome, ShareHomeConnections, ShareHomeForm, ShineTile, ShortPartnerTile, SignIn, SignUp, SkeletonBox, StepHeader, StorageUsed, Subscription, SubscriptionCard, SubscriptionTable, Summary, TabsHeader, TextInput, ToBeDeletedBody, ToBeDeletedContent, ToBeDeletedFooter, ToBeDeletedHeader, TourButton, Trash, TrendingValue, TrialBanner, TutorialsButton, TwoFactor, TwoFactorSetting, UpdateList, UserDetails, ValueMonitor, ViewContactPanel, VideoPlayer, VideoPlayerModal, WeatherWidget, WellDone, YtdTile, } from './components';
2
2
  export { useCustomToast } from './hooks';
3
- export { randomColor, mapApiObjectToFormFields } from './utils';
3
+ export { randomColor, mapApiObjectToFormFields, mapForecastToWidget, } from './utils';
4
4
  export { Contacts, MagnifyingGlassReport, Message, Register, Receipts, Price, BlueFolderShared, Calendar, Create, Notes, } from './assets/images';
5
5
  export { billingProxy, dynamicFormProxy, homeCardProxy, partnerContentProxy, partnerDetailsProxy, paymentMethodProxy, recordsInputsProxy, recordsInputsToDBProxy, userDetailsProxy, confirmAddressProxy, } from './proxies';
6
6
  import theme from './theme';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export { ActivateAccount, ActiveSubscription, AddCardBanner, AddEditContactPanel, AddFolder, AddHomeContent, AddHomeItem, AddHomeItemHeader, AddMedia, AddPropertyRecords, Address, AddPopup, AddTile, AlertBanner, AphwTile, AppBar, AssignableReceipts, BackHeader, BarDivider, CancelAccount, CatalogPopup, CloudsAnimation, ContactList, ContactsContent, ContainerHeader, CreateDocumentHeader, CreateHouseholdItemHeader, CreditCardContainer, CreditCardError, CustomerTile, DeleteBanner, Dialog, DisplayFiles, DisplayFilesDetail, DisplayOptions, DisplayReceipts, DocumentMenu, DocumentNameHeader, DocumentPreview, DynamicForm, EditAccountType, EditHomeBody, EditHomeFooter, EditHomeHeader, EditHomePanel, EmailPermissions, EmailValidation, Feedback, FileDetail, FilesUploader, FlowStep, FolderDetail, FolderDetailBody, FolderDetailContent, FolderDetailFooter, FolderDetailHeader, FolderInfo, FolderSharing, FolderTypeSelection, FooterButtons, FooterDrawer, GenericBackHeader, GroupCard, GroupsContainer, GroupsHeader, Header, HelpContent, HomeAssistant, HomeAssistantPanel, HomeBoardGrid, HomeBoardTour, HomeCard, HomeCardWithRecipent, HomeDetailsContent, HomefileMonitoring, HomeHeader, HomeMonitor, HomeMonitorSteps, HomeSharedWith, InboxForwardBanner, InboxTile, ItemFormPanel, ItemFormTabs, ItemNameHeader, ItemsReviewBanner, ItemSubTypeSelect, Launchpad, LaunchpadAutofilerBanner, LaunchpadReceiptAutofiler, LaunchpadReceiptPanel, LaunchpadTour, LeftPanel, Loading, MediaDetailsStep, MessagePanel, MessageChatPanel, MonitorAlerts, MonthlyCharge, MortgageInfo, MoveModal, MyHomes, MyProfileBody, MyProfileContent, MyProfileFooter, MyProfileHeader, MyProfilePanel, NewCreditCard, NewCreditCardHeader, NewPassword, NotBeChargedBanner, Notifications, NotificationsReminder, NotificationsPanel, NotificationCard, Overlay, PanelHeader, PartnerActiveSubscription, PartnerCatalogPanel, PartnerContent, PartnerCustomerCode, PartnerDetails, PartnerImages, PartnerPanel, PasswordInput, PaymentReceipts, PdfButton, PeopleConnected, ProfileDetailsTab, ProfilePaymentTab, ProjectList, PropertyRecords, PropertyTaxes, ReadOnlyDynamicForm, ReadOnlyImage, ReadOnlyToggle, ReceiptAutofiler, ReceiptBody, ReceiptContent, ReceiptDetails, ReceiptFilters, ReceiptFooter, ReceiptHeader, ReceiptInfos, ReceiptItem, ReceiptItems, ReceiptPDF, ReceiptsDisplayOptions, ReceiptsFiled, ReceiptsHeader, ReceiptsInfo, ReceiptsReceivedContent, RecipientForm, RecipientsToShare, RecipientTab, RecordsInputs, ResendResetPassword, ResetPassword, ReviewBanner, RightPanel, RolePermissionsTab, RoomHeader, RoomsBoardTour, RoomsMenu, RoomsMenuMobile, RoomStep, RoomVideo, SalesTax, SatisfactionTile, SectionHeader, SendCommunication, ShareContactsContent, SharedAccounts, SharedHomeContent, SharedHomeHeader, ShareHome, ShareHomeConnections, ShareHomeForm, ShineTile, ShortPartnerTile, SignIn, SignUp, SkeletonBox, StepHeader, StorageUsed, Subscription, SubscriptionCard, SubscriptionTable, Summary, TabsHeader, TextInput, ToBeDeletedBody, ToBeDeletedContent, ToBeDeletedFooter, ToBeDeletedHeader, TourButton, Trash, TrendingValue, TrialBanner, TutorialsButton, TwoFactor, TwoFactorSetting, UpdateList, UserDetails, ValueMonitor, ViewContactPanel, VideoPlayer, VideoPlayerModal, WellDone, YtdTile, } from './components';
1
+ export { ActivateAccount, ActiveSubscription, AddCardBanner, AddEditContactPanel, AddFolder, AddHomeContent, AddHomeItem, AddHomeItemHeader, AddMedia, AddPropertyRecords, Address, AddPopup, AddTile, AlertBanner, AphwTile, AppBar, AssignableReceipts, BackHeader, BarDivider, CancelAccount, CatalogPopup, CloudsAnimation, ContactList, ContactsContent, ContainerHeader, CreateDocumentHeader, CreateHouseholdItemHeader, CreditCardContainer, CreditCardError, CustomerTile, DeleteBanner, Dialog, DisplayFiles, DisplayFilesDetail, DisplayOptions, DisplayReceipts, DocumentMenu, DocumentNameHeader, DocumentPreview, DynamicForm, EditAccountType, EditHomeBody, EditHomeFooter, EditHomeHeader, EditHomePanel, EmailPermissions, EmailValidation, Feedback, FileDetail, FilesUploader, FlowStep, FolderDetail, FolderDetailBody, FolderDetailContent, FolderDetailFooter, FolderDetailHeader, FolderInfo, FolderSharing, FolderTypeSelection, FooterButtons, FooterDrawer, GenericBackHeader, GroupCard, GroupsContainer, GroupsHeader, Header, HelpContent, HomeAssistant, HomeAssistantPanel, HomeBoardGrid, HomeBoardTour, HomeCard, HomeCardWithRecipent, HomeDetailsContent, HomefileMonitoring, HomeHeader, HomeMonitor, HomeMonitorSteps, HomeSharedWith, InboxForwardBanner, InboxTile, ItemFormPanel, ItemFormTabs, ItemNameHeader, ItemsReviewBanner, ItemSubTypeSelect, Launchpad, LaunchpadAutofilerBanner, LaunchpadReceiptAutofiler, LaunchpadReceiptPanel, LaunchpadTour, LeftPanel, Loading, MediaDetailsStep, MessagePanel, MessageChatPanel, MonitorAlerts, MonthlyCharge, MortgageInfo, MoveModal, MyHomes, MyProfileBody, MyProfileContent, MyProfileFooter, MyProfileHeader, MyProfilePanel, NewCreditCard, NewCreditCardHeader, NewPassword, NotBeChargedBanner, Notifications, NotificationsReminder, NotificationsPanel, NotificationCard, Overlay, PanelHeader, PartnerActiveSubscription, PartnerCatalogPanel, PartnerContent, PartnerCustomerCode, PartnerDetails, PartnerImages, PartnerPanel, PasswordInput, PaymentReceipts, PdfButton, PeopleConnected, ProfileDetailsTab, ProfilePaymentTab, ProjectList, PropertyRecords, PropertyTaxes, ReadOnlyDynamicForm, ReadOnlyImage, ReadOnlyToggle, ReceiptAutofiler, ReceiptBody, ReceiptContent, ReceiptDetails, ReceiptFilters, ReceiptFooter, ReceiptHeader, ReceiptInfos, ReceiptItem, ReceiptItems, ReceiptPDF, ReceiptsDisplayOptions, ReceiptsFiled, ReceiptsHeader, ReceiptsInfo, ReceiptsReceivedContent, RecipientForm, RecipientsToShare, RecipientTab, RecordsInputs, ResendResetPassword, ResetPassword, ReviewBanner, RightPanel, RolePermissionsTab, RoomHeader, RoomsBoardTour, RoomsMenu, RoomsMenuMobile, RoomStep, RoomVideo, SalesTax, SatisfactionTile, SectionHeader, SendCommunication, ShareContactsContent, SharedAccounts, SharedHomeContent, SharedHomeHeader, ShareHome, ShareHomeConnections, ShareHomeForm, ShineTile, ShortPartnerTile, SignIn, SignUp, SkeletonBox, StepHeader, StorageUsed, Subscription, SubscriptionCard, SubscriptionTable, Summary, TabsHeader, TextInput, ToBeDeletedBody, ToBeDeletedContent, ToBeDeletedFooter, ToBeDeletedHeader, TourButton, Trash, TrendingValue, TrialBanner, TutorialsButton, TwoFactor, TwoFactorSetting, UpdateList, UserDetails, ValueMonitor, ViewContactPanel, VideoPlayer, VideoPlayerModal, WeatherWidget, WellDone, YtdTile, } from './components';
2
2
  export { useCustomToast } from './hooks';
3
- export { randomColor, mapApiObjectToFormFields } from './utils';
3
+ export { randomColor, mapApiObjectToFormFields, mapForecastToWidget, } from './utils';
4
4
  export { Contacts, MagnifyingGlassReport, Message, Register, Receipts, Price, BlueFolderShared, Calendar, Create, Notes, } from './assets/images';
5
5
  export { billingProxy, dynamicFormProxy, homeCardProxy, partnerContentProxy, partnerDetailsProxy, paymentMethodProxy, recordsInputsProxy, recordsInputsToDBProxy, userDetailsProxy, confirmAddressProxy, } from './proxies';
6
6
  import theme from './theme';
@@ -1,6 +1,6 @@
1
1
  import { AIGridFieldI, FolderFileI, MenuItemI, PartnerFooterI, TileCtaI } from '../..';
2
2
  export type KindTypes = 'ai-image' | 'ai-grid' | 'checkbox' | 'checkbox-agreement' | 'checkbox-group' | 'currency' | 'date' | 'email' | 'file' | 'grid' | 'group' | 'hidden' | 'notes' | 'number' | 'radio' | 'rating' | 'select' | 'string' | 'switch' | 'telephone' | 'text' | 'textarea' | 'default' | UIKindTypes | HomeItemTypes;
3
- export type UIKindTypes = 'tile-body' | 'tile-body-logo' | 'tile-body-header' | 'tile-body-section' | 'tile-body-section-grid' | 'tile-form' | 'tile-body-action' | 'vertical-icon' | 'primary-cta' | 'secondary-cta';
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
6
  export type UIIconTypes = 'sh-pressure' | 'sh-window' | 'sh-roof' | 'sh-lights' | 'sh-gutter' | 'sh-home' | 'sh-house';
@@ -0,0 +1,40 @@
1
+ export interface ForecastPeriodI {
2
+ number: number;
3
+ name: string;
4
+ startTime: string;
5
+ endTime: string;
6
+ isDaytime: boolean;
7
+ temperature: number;
8
+ temperatureUnit: string;
9
+ probabilityOfPrecipitation: {
10
+ value: number | null;
11
+ };
12
+ windSpeed: string;
13
+ windDirection: string;
14
+ icon: string;
15
+ shortForecast: string;
16
+ detailedForecast: string;
17
+ }
18
+ export interface WeatherWidgetI {
19
+ header: {
20
+ date: string;
21
+ location: string;
22
+ };
23
+ current: {
24
+ temp: number;
25
+ icon: string;
26
+ high: number;
27
+ low: number;
28
+ };
29
+ details: {
30
+ precipitation: number;
31
+ humidity?: number;
32
+ wind: string;
33
+ };
34
+ forecast: Array<{
35
+ day: string;
36
+ icon: string;
37
+ high: number;
38
+ low: number;
39
+ }>;
40
+ }
@@ -8,3 +8,4 @@ export * from './HomeAssistantSteps.interface';
8
8
  export * from './HomeAssistantTutorial.interface';
9
9
  export * from './HomeMonitorSteps.interface';
10
10
  export * from './MonitorAlerts.interface';
11
+ export * from './WeatherWidget.interface';
@@ -8,3 +8,4 @@ export * from './HomeAssistantSteps.interface';
8
8
  export * from './HomeAssistantTutorial.interface';
9
9
  export * from './HomeMonitorSteps.interface';
10
10
  export * from './MonitorAlerts.interface';
11
+ export * from './WeatherWidget.interface';
@@ -1 +1,2 @@
1
1
  export * from './homeAssistantForms';
2
+ export * from './weather';
@@ -1 +1,2 @@
1
1
  export * from './homeAssistantForms';
2
+ export * from './weather';
@@ -0,0 +1,37 @@
1
+ export declare const weatherDataMock: ({
2
+ number: number;
3
+ name: string;
4
+ startTime: string;
5
+ endTime: string;
6
+ isDaytime: boolean;
7
+ temperature: number;
8
+ temperatureUnit: string;
9
+ temperatureTrend: string;
10
+ probabilityOfPrecipitation: {
11
+ unitCode: string;
12
+ value: null;
13
+ };
14
+ windSpeed: string;
15
+ windDirection: string;
16
+ icon: string;
17
+ shortForecast: string;
18
+ detailedForecast: string;
19
+ } | {
20
+ number: number;
21
+ name: string;
22
+ startTime: string;
23
+ endTime: string;
24
+ isDaytime: boolean;
25
+ temperature: number;
26
+ temperatureUnit: string;
27
+ temperatureTrend: string;
28
+ probabilityOfPrecipitation: {
29
+ unitCode: string;
30
+ value: number;
31
+ };
32
+ windSpeed: string;
33
+ windDirection: string;
34
+ icon: string;
35
+ shortForecast: string;
36
+ detailedForecast: string;
37
+ })[];
@@ -0,0 +1,268 @@
1
+ export const weatherDataMock = [
2
+ {
3
+ number: 1,
4
+ name: 'This Afternoon',
5
+ startTime: '2025-05-09T14:00:00-04:00',
6
+ endTime: '2025-05-09T18:00:00-04:00',
7
+ isDaytime: true,
8
+ temperature: 78,
9
+ temperatureUnit: 'F',
10
+ temperatureTrend: '',
11
+ probabilityOfPrecipitation: {
12
+ unitCode: 'wmoUnit:percent',
13
+ value: null,
14
+ },
15
+ windSpeed: '6 mph',
16
+ windDirection: 'NW',
17
+ icon: 'https://api.weather.gov/icons/land/day/sct?size=medium',
18
+ shortForecast: 'Mostly Sunny',
19
+ detailedForecast: 'Mostly sunny, with a high near 78. Northwest wind around 6 mph.',
20
+ },
21
+ {
22
+ number: 2,
23
+ name: 'Tonight',
24
+ startTime: '2025-05-09T18:00:00-04:00',
25
+ endTime: '2025-05-10T06:00:00-04:00',
26
+ isDaytime: false,
27
+ temperature: 46,
28
+ temperatureUnit: 'F',
29
+ temperatureTrend: '',
30
+ probabilityOfPrecipitation: {
31
+ unitCode: 'wmoUnit:percent',
32
+ value: null,
33
+ },
34
+ windSpeed: '2 to 6 mph',
35
+ windDirection: 'N',
36
+ icon: 'https://api.weather.gov/icons/land/night/bkn?size=medium',
37
+ shortForecast: 'Mostly Cloudy',
38
+ detailedForecast: 'Mostly cloudy, with a low around 46. North wind 2 to 6 mph.',
39
+ },
40
+ {
41
+ number: 3,
42
+ name: 'Saturday',
43
+ startTime: '2025-05-10T06:00:00-04:00',
44
+ endTime: '2025-05-10T18:00:00-04:00',
45
+ isDaytime: true,
46
+ temperature: 72,
47
+ temperatureUnit: 'F',
48
+ temperatureTrend: '',
49
+ probabilityOfPrecipitation: {
50
+ unitCode: 'wmoUnit:percent',
51
+ value: null,
52
+ },
53
+ windSpeed: '3 mph',
54
+ windDirection: 'NE',
55
+ icon: 'https://api.weather.gov/icons/land/day/bkn?size=medium',
56
+ shortForecast: 'Mostly Cloudy',
57
+ detailedForecast: 'Mostly cloudy, with a high near 72. Northeast wind around 3 mph.',
58
+ },
59
+ {
60
+ number: 4,
61
+ name: 'Saturday Night',
62
+ startTime: '2025-05-10T18:00:00-04:00',
63
+ endTime: '2025-05-11T06:00:00-04:00',
64
+ isDaytime: false,
65
+ temperature: 52,
66
+ temperatureUnit: 'F',
67
+ temperatureTrend: '',
68
+ probabilityOfPrecipitation: {
69
+ unitCode: 'wmoUnit:percent',
70
+ value: 20,
71
+ },
72
+ windSpeed: '2 mph',
73
+ windDirection: 'NE',
74
+ icon: 'https://api.weather.gov/icons/land/night/rain,20?size=medium',
75
+ shortForecast: 'Slight Chance Light Rain',
76
+ detailedForecast: 'A slight chance of rain between 11pm and 5am, then a slight chance of rain showers. Mostly cloudy, with a low around 52. Northeast wind around 2 mph. Chance of precipitation is 20%. New rainfall amounts less than a tenth of an inch possible.',
77
+ },
78
+ {
79
+ number: 5,
80
+ name: 'Sunday',
81
+ startTime: '2025-05-11T06:00:00-04:00',
82
+ endTime: '2025-05-11T18:00:00-04:00',
83
+ isDaytime: true,
84
+ temperature: 68,
85
+ temperatureUnit: 'F',
86
+ temperatureTrend: '',
87
+ probabilityOfPrecipitation: {
88
+ unitCode: 'wmoUnit:percent',
89
+ value: 30,
90
+ },
91
+ windSpeed: '3 to 7 mph',
92
+ windDirection: 'NE',
93
+ icon: 'https://api.weather.gov/icons/land/day/rain_showers,20/rain,30?size=medium',
94
+ shortForecast: 'Chance Rain Showers then Chance Light Rain',
95
+ detailedForecast: 'A chance of rain showers before 2pm, then a chance of rain between 2pm and 4pm, then a chance of rain showers. Mostly cloudy, with a high near 68. Northeast wind 3 to 7 mph. Chance of precipitation is 30%.',
96
+ },
97
+ {
98
+ number: 6,
99
+ name: 'Sunday Night',
100
+ startTime: '2025-05-11T18:00:00-04:00',
101
+ endTime: '2025-05-12T06:00:00-04:00',
102
+ isDaytime: false,
103
+ temperature: 53,
104
+ temperatureUnit: 'F',
105
+ temperatureTrend: '',
106
+ probabilityOfPrecipitation: {
107
+ unitCode: 'wmoUnit:percent',
108
+ value: 50,
109
+ },
110
+ windSpeed: '6 mph',
111
+ windDirection: 'ENE',
112
+ icon: 'https://api.weather.gov/icons/land/night/rain_showers,30/tsra,50?size=medium',
113
+ shortForecast: 'Chance Rain Showers',
114
+ detailedForecast: 'A chance of rain showers before 2am, then a chance of showers and thunderstorms. Mostly cloudy, with a low around 53. Chance of precipitation is 50%.',
115
+ },
116
+ {
117
+ number: 7,
118
+ name: 'Monday',
119
+ startTime: '2025-05-12T06:00:00-04:00',
120
+ endTime: '2025-05-12T18:00:00-04:00',
121
+ isDaytime: true,
122
+ temperature: 65,
123
+ temperatureUnit: 'F',
124
+ temperatureTrend: '',
125
+ probabilityOfPrecipitation: {
126
+ unitCode: 'wmoUnit:percent',
127
+ value: 80,
128
+ },
129
+ windSpeed: '8 mph',
130
+ windDirection: 'ENE',
131
+ icon: 'https://api.weather.gov/icons/land/day/tsra,70/tsra,80?size=medium',
132
+ shortForecast: 'Showers And Thunderstorms',
133
+ detailedForecast: 'Showers and thunderstorms. Mostly cloudy, with a high near 65. Chance of precipitation is 80%.',
134
+ },
135
+ {
136
+ number: 8,
137
+ name: 'Monday Night',
138
+ startTime: '2025-05-12T18:00:00-04:00',
139
+ endTime: '2025-05-13T06:00:00-04:00',
140
+ isDaytime: false,
141
+ temperature: 59,
142
+ temperatureUnit: 'F',
143
+ temperatureTrend: '',
144
+ probabilityOfPrecipitation: {
145
+ unitCode: 'wmoUnit:percent',
146
+ value: 90,
147
+ },
148
+ windSpeed: '7 mph',
149
+ windDirection: 'E',
150
+ icon: 'https://api.weather.gov/icons/land/night/tsra,90?size=medium',
151
+ shortForecast: 'Showers And Thunderstorms',
152
+ detailedForecast: 'Showers and thunderstorms. Mostly cloudy, with a low around 59. Chance of precipitation is 90%.',
153
+ },
154
+ {
155
+ number: 9,
156
+ name: 'Tuesday',
157
+ startTime: '2025-05-13T06:00:00-04:00',
158
+ endTime: '2025-05-13T18:00:00-04:00',
159
+ isDaytime: true,
160
+ temperature: 73,
161
+ temperatureUnit: 'F',
162
+ temperatureTrend: '',
163
+ probabilityOfPrecipitation: {
164
+ unitCode: 'wmoUnit:percent',
165
+ value: 90,
166
+ },
167
+ windSpeed: '6 mph',
168
+ windDirection: 'ESE',
169
+ icon: 'https://api.weather.gov/icons/land/day/tsra,80/tsra,90?size=medium',
170
+ shortForecast: 'Showers And Thunderstorms',
171
+ detailedForecast: 'Showers and thunderstorms. Mostly cloudy, with a high near 73. Chance of precipitation is 90%.',
172
+ },
173
+ {
174
+ number: 10,
175
+ name: 'Tuesday Night',
176
+ startTime: '2025-05-13T18:00:00-04:00',
177
+ endTime: '2025-05-14T06:00:00-04:00',
178
+ isDaytime: false,
179
+ temperature: 58,
180
+ temperatureUnit: 'F',
181
+ temperatureTrend: '',
182
+ probabilityOfPrecipitation: {
183
+ unitCode: 'wmoUnit:percent',
184
+ value: 90,
185
+ },
186
+ windSpeed: '1 to 5 mph',
187
+ windDirection: 'E',
188
+ icon: 'https://api.weather.gov/icons/land/night/tsra_sct,90/tsra_sct,50?size=medium',
189
+ shortForecast: 'Showers And Thunderstorms',
190
+ detailedForecast: 'Showers and thunderstorms. Mostly cloudy, with a low around 58. Chance of precipitation is 90%.',
191
+ },
192
+ {
193
+ number: 11,
194
+ name: 'Wednesday',
195
+ startTime: '2025-05-14T06:00:00-04:00',
196
+ endTime: '2025-05-14T18:00:00-04:00',
197
+ isDaytime: true,
198
+ temperature: 79,
199
+ temperatureUnit: 'F',
200
+ temperatureTrend: '',
201
+ probabilityOfPrecipitation: {
202
+ unitCode: 'wmoUnit:percent',
203
+ value: 80,
204
+ },
205
+ windSpeed: '3 mph',
206
+ windDirection: 'WSW',
207
+ icon: 'https://api.weather.gov/icons/land/day/rain_showers,50/tsra_hi,80?size=medium',
208
+ shortForecast: 'Showers And Thunderstorms',
209
+ detailedForecast: 'Rain showers likely before 2pm, then showers and thunderstorms. Partly sunny, with a high near 79. Chance of precipitation is 80%.',
210
+ },
211
+ {
212
+ number: 12,
213
+ name: 'Wednesday Night',
214
+ startTime: '2025-05-14T18:00:00-04:00',
215
+ endTime: '2025-05-15T06:00:00-04:00',
216
+ isDaytime: false,
217
+ temperature: 58,
218
+ temperatureUnit: 'F',
219
+ temperatureTrend: '',
220
+ probabilityOfPrecipitation: {
221
+ unitCode: 'wmoUnit:percent',
222
+ value: 70,
223
+ },
224
+ windSpeed: '2 mph',
225
+ windDirection: 'W',
226
+ icon: 'https://api.weather.gov/icons/land/night/tsra_hi,70/tsra_hi?size=medium',
227
+ shortForecast: 'Showers And Thunderstorms Likely',
228
+ detailedForecast: 'Showers and thunderstorms likely before 1am. Partly cloudy, with a low around 58. Chance of precipitation is 70%.',
229
+ },
230
+ {
231
+ number: 13,
232
+ name: 'Thursday',
233
+ startTime: '2025-05-15T06:00:00-04:00',
234
+ endTime: '2025-05-15T18:00:00-04:00',
235
+ isDaytime: true,
236
+ temperature: 85,
237
+ temperatureUnit: 'F',
238
+ temperatureTrend: '',
239
+ probabilityOfPrecipitation: {
240
+ unitCode: 'wmoUnit:percent',
241
+ value: 40,
242
+ },
243
+ windSpeed: '1 to 5 mph',
244
+ windDirection: 'W',
245
+ icon: 'https://api.weather.gov/icons/land/day/few/tsra_hi,40?size=medium',
246
+ shortForecast: 'Sunny then Chance Showers And Thunderstorms',
247
+ detailedForecast: 'A slight chance of rain showers between 1pm and 2pm, then a chance of showers and thunderstorms. Sunny, with a high near 85. Chance of precipitation is 40%.',
248
+ },
249
+ {
250
+ number: 14,
251
+ name: 'Thursday Night',
252
+ startTime: '2025-05-15T18:00:00-04:00',
253
+ endTime: '2025-05-16T06:00:00-04:00',
254
+ isDaytime: false,
255
+ temperature: 62,
256
+ temperatureUnit: 'F',
257
+ temperatureTrend: '',
258
+ probabilityOfPrecipitation: {
259
+ unitCode: 'wmoUnit:percent',
260
+ value: 30,
261
+ },
262
+ windSpeed: '3 mph',
263
+ windDirection: 'W',
264
+ icon: 'https://api.weather.gov/icons/land/night/tsra_hi,30/sct?size=medium',
265
+ shortForecast: 'Chance Showers And Thunderstorms then Partly Cloudy',
266
+ detailedForecast: 'A chance of showers and thunderstorms before 11pm. Partly cloudy, with a low around 62. Chance of precipitation is 30%.',
267
+ },
268
+ ];
@@ -0,0 +1,2 @@
1
+ import { ReportI } from "../../interfaces";
2
+ export declare const dynamicTileFormMock: ReportI[];