Introduce NotificationManager, NotificationPrompt, NotificationSettings, NotificationSettingsSheet and integrate into the profile panel. Add server GET/POST endpoints for notification preferences. Add lucide-svelte dependency and update CSP connect-src to allow fcm.googleapis.com and android.googleapis.com
37 lines
1.7 KiB
TypeScript
37 lines
1.7 KiB
TypeScript
// Reusable UI Components
|
|
export { default as Input } from './components/Input.svelte';
|
|
export { default as Button } from './components/Button.svelte';
|
|
export { default as ErrorMessage } from './components/ErrorMessage.svelte';
|
|
export { default as ProfilePanel } from './components/ProfilePanel.svelte';
|
|
export { default as ProfilePicture } from './components/ProfilePicture.svelte';
|
|
export { default as ProfilePictureSheet } from './components/ProfilePictureSheet.svelte';
|
|
export { default as Header } from './components/Header.svelte';
|
|
export { default as Modal } from './components/Modal.svelte';
|
|
export { default as Map } from './components/Map.svelte';
|
|
export { default as LocationButton } from './components/LocationButton.svelte';
|
|
export { default as LocationManager } from './components/LocationManager.svelte';
|
|
export { default as NotificationManager } from './components/NotificationManager.svelte';
|
|
export { default as NotificationPrompt } from './components/NotificationPrompt.svelte';
|
|
export { default as NotificationSettings } from './components/NotificationSettings.svelte';
|
|
export { default as NotificationSettingsSheet } from './components/NotificationSettingsSheet.svelte';
|
|
export { default as FindCard } from './components/FindCard.svelte';
|
|
export { default as FindsList } from './components/FindsList.svelte';
|
|
|
|
// Skeleton Loading Components
|
|
export { Skeleton, SkeletonVariants } from './components/skeleton';
|
|
|
|
// Location utilities and stores
|
|
export { geolocationService } from './utils/geolocation';
|
|
export {
|
|
locationActions,
|
|
locationStore,
|
|
coordinates,
|
|
locationStatus,
|
|
locationError,
|
|
isLocationLoading,
|
|
hasLocationAccess,
|
|
isWatching,
|
|
getMapCenter,
|
|
getMapZoom
|
|
} from './stores/location';
|