utopia-ui 3.0.30 → 3.0.32
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/README.md +2 -1
- package/dist/Components/Profile/Subcomponents/MarkdownHint.d.ts +1 -0
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/types/Components/AppShell/AppShell.d.ts +8 -0
- package/dist/types/Components/AppShell/Content.d.ts +6 -0
- package/dist/types/Components/AppShell/ContextWrapper.d.ts +6 -0
- package/dist/types/Components/AppShell/NavBar.d.ts +4 -0
- package/dist/types/Components/AppShell/SetAppState.d.ts +5 -0
- package/dist/types/Components/AppShell/SideBar.d.ts +13 -0
- package/dist/types/Components/AppShell/SidebarSubmenu.d.ts +8 -0
- package/dist/types/Components/AppShell/Sitemap.d.ts +3 -0
- package/dist/types/Components/AppShell/hooks/useAppState.d.ts +17 -0
- package/dist/types/Components/AppShell/hooks/useAssets.d.ts +13 -0
- package/dist/types/Components/AppShell/index.d.ts +4 -0
- package/dist/types/Components/Auth/LoginPage.d.ts +1 -0
- package/dist/types/Components/Auth/RequestPasswordPage.d.ts +3 -0
- package/dist/types/Components/Auth/SetNewPasswordPage.d.ts +1 -0
- package/dist/types/Components/Auth/SignupPage.d.ts +1 -0
- package/dist/types/Components/Auth/index.d.ts +5 -0
- package/dist/types/Components/Auth/useAuth.d.ts +26 -0
- package/dist/types/Components/Gaming/Modal.d.ts +5 -0
- package/dist/types/Components/Gaming/Quests.d.ts +1 -0
- package/dist/types/Components/Gaming/hooks/useQuests.d.ts +13 -0
- package/dist/types/Components/Gaming/index.d.ts +2 -0
- package/dist/types/Components/Input/Autocomplete.d.ts +7 -0
- package/dist/types/Components/Input/ComboBoxInput.d.ts +8 -0
- package/dist/types/Components/Input/SelectBox.d.ts +16 -0
- package/dist/types/Components/Input/TextAreaInput.d.ts +12 -0
- package/dist/types/Components/Input/TextInput.d.ts +16 -0
- package/dist/types/Components/Input/index.d.ts +3 -0
- package/dist/types/Components/Map/ItemForm.d.ts +17 -0
- package/dist/types/Components/Map/ItemView.d.ts +14 -0
- package/dist/types/Components/Map/Layer.d.ts +2 -0
- package/dist/types/Components/Map/Permissions.d.ts +6 -0
- package/dist/types/Components/Map/Subcomponents/AddButton.d.ts +4 -0
- package/dist/types/Components/Map/Subcomponents/Controls/Control.d.ts +6 -0
- package/dist/types/Components/Map/Subcomponents/Controls/FilterControl.d.ts +1 -0
- package/dist/types/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +1 -0
- package/dist/types/Components/Map/Subcomponents/Controls/LayerControl.d.ts +1 -0
- package/dist/types/Components/Map/Subcomponents/Controls/LocateControl.d.ts +3 -0
- package/dist/types/Components/Map/Subcomponents/Controls/QuestControl.d.ts +1 -0
- package/dist/types/Components/Map/Subcomponents/Controls/SearchControl.d.ts +1 -0
- package/dist/types/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +1 -0
- package/dist/types/Components/Map/Subcomponents/Controls/TagsControl.d.ts +1 -0
- package/dist/types/Components/Map/Subcomponents/ItemFormPopup.d.ts +2 -0
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +17 -0
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +8 -0
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +6 -0
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +9 -0
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +7 -0
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +7 -0
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +4 -0
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +7 -0
- package/dist/types/Components/Map/Subcomponents/ItemViewPopup.d.ts +8 -0
- package/dist/types/Components/Map/Subcomponents/SelectPosition.d.ts +3 -0
- package/dist/types/Components/Map/Tags.d.ts +5 -0
- package/dist/types/Components/Map/UtopiaMap.d.ts +4 -0
- package/dist/types/Components/Map/UtopiaMapInner.d.ts +4 -0
- package/dist/types/Components/Map/hooks/useClusterRef.d.ts +12 -0
- package/dist/types/Components/Map/hooks/useDebounce.d.ts +1 -0
- package/dist/types/Components/Map/hooks/useFilter.d.ts +40 -0
- package/dist/types/Components/Map/hooks/useItems.d.ts +26 -0
- package/dist/types/Components/Map/hooks/useLayers.d.ts +14 -0
- package/dist/types/Components/Map/hooks/useLeafletRefs.d.ts +22 -0
- package/dist/types/Components/Map/hooks/usePermissions.d.ts +20 -0
- package/dist/types/Components/Map/hooks/useSelectPosition.d.ts +22 -0
- package/dist/types/Components/Map/hooks/useTags.d.ts +22 -0
- package/dist/types/Components/Map/hooks/useTimeout.d.ts +4 -0
- package/dist/types/Components/Map/hooks/useWindowDimension.d.ts +4 -0
- package/dist/types/Components/Map/index.d.ts +13 -0
- package/dist/types/Components/Map/setItemLocation.d.ts +1 -0
- package/dist/types/Components/Profile/ProfileForm.d.ts +1 -0
- package/dist/types/Components/Profile/ProfileView.d.ts +4 -0
- package/dist/types/Components/Profile/Subcomponents/ActionsButton.d.ts +11 -0
- package/dist/types/Components/Profile/Subcomponents/AvatarWidget.d.ts +8 -0
- package/dist/types/Components/Profile/Subcomponents/ColorPicker.d.ts +6 -0
- package/dist/types/Components/Profile/Subcomponents/ContactInfoForm.d.ts +5 -0
- package/dist/types/Components/Profile/Subcomponents/ContactInfoView.d.ts +5 -0
- package/dist/types/Components/Profile/Subcomponents/FormHeader.d.ts +5 -0
- package/dist/types/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +6 -0
- package/dist/types/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +17 -0
- package/dist/types/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +10 -0
- package/dist/types/Components/Profile/Subcomponents/MarkdownHint.d.ts +1 -0
- package/dist/types/Components/Profile/Subcomponents/PlusButton.d.ts +7 -0
- package/dist/types/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +5 -0
- package/dist/types/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +4 -0
- package/dist/types/Components/Profile/Subcomponents/ProfileTextForm.d.ts +9 -0
- package/dist/types/Components/Profile/Subcomponents/ProfileTextView.d.ts +7 -0
- package/dist/types/Components/Profile/Subcomponents/RelationCard.d.ts +6 -0
- package/dist/types/Components/Profile/Subcomponents/SocialShareBar.d.ts +6 -0
- package/dist/types/Components/Profile/Subcomponents/SocialShareButton.d.ts +6 -0
- package/dist/types/Components/Profile/Subcomponents/TagsWidget.d.ts +6 -0
- package/dist/types/Components/Profile/Templates/FlexForm.d.ts +6 -0
- package/dist/types/Components/Profile/Templates/FlexView.d.ts +4 -0
- package/dist/types/Components/Profile/Templates/OnepagerForm.d.ts +6 -0
- package/dist/types/Components/Profile/Templates/OnepagerView.d.ts +4 -0
- package/dist/types/Components/Profile/Templates/SimpleForm.d.ts +4 -0
- package/dist/types/Components/Profile/Templates/SimpleView.d.ts +4 -0
- package/dist/types/Components/Profile/Templates/TabsForm.d.ts +10 -0
- package/dist/types/Components/Profile/Templates/TabsView.d.ts +12 -0
- package/dist/types/Components/Profile/UserSettings.d.ts +1 -0
- package/dist/types/Components/Profile/hooks/useClickOutside.d.ts +2 -0
- package/dist/types/Components/Profile/index.d.ts +4 -0
- package/dist/types/Components/Profile/itemFunctions.d.ts +5 -0
- package/dist/types/Components/Templates/AttestationForm.d.ts +4 -0
- package/dist/types/Components/Templates/CardPage.d.ts +10 -0
- package/dist/types/Components/Templates/CircleLayout.d.ts +5 -0
- package/dist/types/Components/Templates/DateUserInfo.d.ts +4 -0
- package/dist/types/Components/Templates/DialogModal.d.ts +12 -0
- package/dist/types/Components/Templates/EmojiPicker.d.ts +8 -0
- package/dist/types/Components/Templates/ItemCard.d.ts +8 -0
- package/dist/types/Components/Templates/MapOverlayPage.d.ts +7 -0
- package/dist/types/Components/Templates/MarketView.d.ts +1 -0
- package/dist/types/Components/Templates/MoonCalendar.d.ts +1 -0
- package/dist/types/Components/Templates/OverlayItemsIndexPage.d.ts +6 -0
- package/dist/types/Components/Templates/SelectUser.d.ts +1 -0
- package/dist/types/Components/Templates/TagView.d.ts +7 -0
- package/dist/types/Components/Templates/TitleCard.d.ts +11 -0
- package/dist/types/Components/Templates/index.d.ts +8 -0
- package/dist/types/Components/Typography/ErrorText.d.ts +5 -0
- package/dist/types/Components/Typography/Subtitle.d.ts +6 -0
- package/dist/types/Utils/FormatTags.d.ts +2 -0
- package/dist/types/Utils/GetValue.d.ts +1 -0
- package/dist/types/Utils/HashTagRegex.d.ts +1 -0
- package/dist/types/Utils/MarkerIconFactory.d.ts +2 -0
- package/dist/types/Utils/Moon.d.ts +7 -0
- package/dist/types/Utils/RandomColor.d.ts +1 -0
- package/dist/types/Utils/ReplaceURLs.d.ts +3 -0
- package/dist/types/Utils/ReverseGeocoder.d.ts +1 -0
- package/dist/types/Utils/TimeAgo.d.ts +1 -0
- package/dist/types/index.d.ts +13 -0
- package/dist/types/types.d.ts +169 -0
- package/package.json +1 -1
@@ -0,0 +1,22 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { LatLng } from 'leaflet';
|
3
|
+
import { Item, LayerProps, ItemFormPopupProps } from '#src/types';
|
4
|
+
interface PolygonClickedProps {
|
5
|
+
position: LatLng;
|
6
|
+
setItemFormPopup: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
7
|
+
}
|
8
|
+
declare type UseSelectPositionManagerResult = ReturnType<typeof useSelectPositionManager>;
|
9
|
+
declare function useSelectPositionManager(): {
|
10
|
+
selectPosition: Item | LayerProps | null;
|
11
|
+
setSelectPosition: React.Dispatch<React.SetStateAction<Item | LayerProps | null>>;
|
12
|
+
setMarkerClicked: React.Dispatch<React.SetStateAction<Item>>;
|
13
|
+
setMapClicked: React.Dispatch<React.SetStateAction<PolygonClickedProps | undefined>>;
|
14
|
+
};
|
15
|
+
export declare const SelectPositionProvider: React.FunctionComponent<{
|
16
|
+
children?: React.ReactNode;
|
17
|
+
}>;
|
18
|
+
export declare const useSelectPosition: () => Item | LayerProps | null;
|
19
|
+
export declare const useSetSelectPosition: () => UseSelectPositionManagerResult['setSelectPosition'];
|
20
|
+
export declare const useSetMarkerClicked: () => UseSelectPositionManagerResult['setMarkerClicked'];
|
21
|
+
export declare const useSetMapClicked: () => UseSelectPositionManagerResult['setMapClicked'];
|
22
|
+
export {};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Item, ItemsApi, Tag } from '#src/types';
|
3
|
+
declare type UseTagManagerResult = ReturnType<typeof useTagsManager>;
|
4
|
+
declare function useTagsManager(initialTags: Tag[]): {
|
5
|
+
tags: Tag[];
|
6
|
+
addTag: (tag: Tag) => void;
|
7
|
+
setTagApi: (api: ItemsApi<Tag>) => void;
|
8
|
+
setTagData: (data: Tag[]) => void;
|
9
|
+
getItemTags: (item: Item) => Tag[];
|
10
|
+
allTagsLoaded: boolean;
|
11
|
+
};
|
12
|
+
export declare const TagsProvider: React.FunctionComponent<{
|
13
|
+
initialTags: Tag[];
|
14
|
+
children?: React.ReactNode;
|
15
|
+
}>;
|
16
|
+
export declare const useTags: () => Tag[];
|
17
|
+
export declare const useAddTag: () => UseTagManagerResult['addTag'];
|
18
|
+
export declare const useSetTagApi: () => UseTagManagerResult['setTagApi'];
|
19
|
+
export declare const useSetTagData: () => UseTagManagerResult['setTagData'];
|
20
|
+
export declare const useGetItemTags: () => UseTagManagerResult['getItemTags'];
|
21
|
+
export declare const useAllTagsLoaded: () => UseTagManagerResult['allTagsLoaded'];
|
22
|
+
export {};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export { UtopiaMap } from './UtopiaMap';
|
2
|
+
export { Layer } from './Layer';
|
3
|
+
export { Tags } from './Tags';
|
4
|
+
export { Permissions } from './Permissions';
|
5
|
+
export { ItemForm } from './ItemForm';
|
6
|
+
export { ItemView } from './ItemView';
|
7
|
+
export { PopupTextAreaInput } from './Subcomponents/ItemPopupComponents/PopupTextAreaInput';
|
8
|
+
export { PopupStartEndInput } from './Subcomponents/ItemPopupComponents/PopupStartEndInput';
|
9
|
+
export { PopupTextInput } from './Subcomponents/ItemPopupComponents/PopupTextInput';
|
10
|
+
export { PopupCheckboxInput } from './Subcomponents/ItemPopupComponents/PopupCheckboxInput';
|
11
|
+
export { TextView } from './Subcomponents/ItemPopupComponents/TextView';
|
12
|
+
export { StartEndView } from './Subcomponents/ItemPopupComponents/StartEndView';
|
13
|
+
export { PopupButton } from './Subcomponents/ItemPopupComponents/PopupButton';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const setItemLocation: () => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function ProfileForm(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Item } from '#src/types';
|
2
|
+
export declare function ActionButton({ item, triggerAddButton, triggerItemSelected, existingRelations, itemType, colorField, collection, customStyle, }: {
|
3
|
+
triggerAddButton?: any;
|
4
|
+
triggerItemSelected?: any;
|
5
|
+
existingRelations: Item[];
|
6
|
+
itemType?: string;
|
7
|
+
colorField?: string;
|
8
|
+
collection?: string;
|
9
|
+
customStyle?: string;
|
10
|
+
item: Item;
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import 'react-image-crop/dist/ReactCrop.css';
|
3
|
+
interface AvatarWidgetProps {
|
4
|
+
avatar: string;
|
5
|
+
setAvatar: React.Dispatch<React.SetStateAction<any>>;
|
6
|
+
}
|
7
|
+
export declare const AvatarWidget: React.FC<AvatarWidgetProps>;
|
8
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Item, FormState } from '#src/types';
|
2
|
+
interface groupType {
|
3
|
+
groupTypes_id: {
|
4
|
+
name: string;
|
5
|
+
color: string;
|
6
|
+
image: string;
|
7
|
+
markerIcon: string;
|
8
|
+
};
|
9
|
+
}
|
10
|
+
export declare const GroupSubheaderForm: ({ state, setState, groupStates, groupTypes, }: {
|
11
|
+
state: FormState;
|
12
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
13
|
+
item: Item;
|
14
|
+
groupStates?: string[] | undefined;
|
15
|
+
groupTypes?: groupType[] | undefined;
|
16
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
17
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Item } from '#src/types';
|
2
|
+
export declare function LinkedItemsHeaderView({ item, unlinkCallback, itemNameField, itemAvatarField, loading, unlinkPermission, itemSubnameField, }: {
|
3
|
+
item: Item;
|
4
|
+
unlinkCallback?: any;
|
5
|
+
itemNameField?: string;
|
6
|
+
itemAvatarField?: string;
|
7
|
+
itemSubnameField?: string;
|
8
|
+
loading?: boolean;
|
9
|
+
unlinkPermission: boolean;
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const MarkdownHint: () => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { FormState } from '#src/types';
|
2
|
+
export declare const ProfileTextForm: ({ state, setState, dataField, heading, size, hideInputLabel, }: {
|
3
|
+
state: FormState;
|
4
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
5
|
+
dataField?: string | undefined;
|
6
|
+
heading: string;
|
7
|
+
size: string;
|
8
|
+
hideInputLabel: boolean;
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare const TabsForm: ({ item, state, setState, updatePermission, linkItem, unlinkItem, loading, setUrlParams, }: {
|
2
|
+
item: any;
|
3
|
+
state: any;
|
4
|
+
setState: any;
|
5
|
+
updatePermission: any;
|
6
|
+
linkItem: any;
|
7
|
+
unlinkItem: any;
|
8
|
+
loading: any;
|
9
|
+
setUrlParams: any;
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { Item, Tag } from '#src/types';
|
2
|
+
export declare const TabsView: ({ attestations, item, offers, needs, relations, updatePermission, loading, linkItem, unlinkItem, }: {
|
3
|
+
attestations: any[];
|
4
|
+
item: Item;
|
5
|
+
offers: Tag[];
|
6
|
+
needs: Tag[];
|
7
|
+
relations: Item[];
|
8
|
+
updatePermission: boolean;
|
9
|
+
loading: boolean;
|
10
|
+
linkItem: (id: string) => Promise<void>;
|
11
|
+
unlinkItem: (id: string) => Promise<void>;
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function UserSettings(): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare const submitNewItem: (evt: any, type: string, item: any, user: any, setLoading: any, tags: any, addTag: any, addItem: any, linkItem: any, resetFilterTags: any, layers: any, addItemPopupType: any, setAddItemPopupType: any) => Promise<void>;
|
2
|
+
export declare const linkItem: (id: string, item: any, updateItem: any) => Promise<void>;
|
3
|
+
export declare const unlinkItem: (id: string, item: any, updateItem: any) => Promise<void>;
|
4
|
+
export declare const handleDelete: (event: React.MouseEvent<HTMLElement>, item: any, setLoading: any, removeItem: any, map: any, navigate: any) => Promise<void>;
|
5
|
+
export declare const onUpdateItem: (state: any, item: any, tags: any, addTag: any, setLoading: any, navigate: any, updateItem: any, addItem: any, user: any, params: any) => Promise<void>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare function CardPage({ title, hideTitle, children, parents, }: {
|
3
|
+
title: string;
|
4
|
+
hideTitle?: boolean;
|
5
|
+
children?: React.ReactNode;
|
6
|
+
parents?: {
|
7
|
+
name: string;
|
8
|
+
path: string;
|
9
|
+
}[];
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
interface Props {
|
3
|
+
title: string;
|
4
|
+
isOpened: boolean;
|
5
|
+
onClose: () => void;
|
6
|
+
children: React.ReactNode;
|
7
|
+
showCloseButton?: boolean;
|
8
|
+
closeOnClickOutside?: boolean;
|
9
|
+
className?: string;
|
10
|
+
}
|
11
|
+
declare const DialogModal: ({ title, isOpened, onClose, children, showCloseButton, closeOnClickOutside, className, }: Props) => import("react/jsx-runtime").JSX.Element;
|
12
|
+
export default DialogModal;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export declare const EmojiPicker: ({ selectedEmoji, selectedColor, selectedShape, setSelectedEmoji, setSelectedColor, setSelectedShape, }: {
|
2
|
+
selectedEmoji: any;
|
3
|
+
selectedColor: any;
|
4
|
+
selectedShape: any;
|
5
|
+
setSelectedEmoji: any;
|
6
|
+
setSelectedColor: any;
|
7
|
+
setSelectedShape: any;
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { Item } from '#src/types';
|
2
|
+
export declare const ItemCard: ({ i, loading, url, parameterField, deleteCallback, }: {
|
3
|
+
i: Item;
|
4
|
+
loading: boolean;
|
5
|
+
url: string;
|
6
|
+
parameterField: string;
|
7
|
+
deleteCallback: any;
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const MarketView: () => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const MoonCalendar: () => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const SelectUser: () => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Tag } from '#src/types';
|
2
|
+
export declare const TagView: ({ tag, heighlight, onClick, count, }: {
|
3
|
+
tag: Tag;
|
4
|
+
heighlight?: boolean | undefined;
|
5
|
+
onClick?: (() => void) | undefined;
|
6
|
+
count?: number | undefined;
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
interface TitleCardProps {
|
3
|
+
title?: string;
|
4
|
+
hideTitle?: boolean;
|
5
|
+
children?: React.ReactNode;
|
6
|
+
topMargin?: string;
|
7
|
+
className?: string;
|
8
|
+
TopSideButtons?: any;
|
9
|
+
}
|
10
|
+
export declare function TitleCard({ title, hideTitle, children, topMargin, TopSideButtons, className, }: TitleCardProps): import("react/jsx-runtime").JSX.Element;
|
11
|
+
export {};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export { CardPage } from './CardPage';
|
2
|
+
export { TitleCard } from './TitleCard';
|
3
|
+
export { MapOverlayPage } from './MapOverlayPage';
|
4
|
+
export { MoonCalendar } from './MoonCalendar';
|
5
|
+
export { SelectUser } from './SelectUser';
|
6
|
+
export { OverlayItemsIndexPage } from './OverlayItemsIndexPage';
|
7
|
+
export { AttestationForm } from './AttestationForm';
|
8
|
+
export { MarketView } from './MarketView';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function getValue(obj: any, path: any): any;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const hashTagRegex: RegExp;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare const LUNAR_MONTH = 29.530588853;
|
2
|
+
export declare const getJulianDate: (date?: Date) => number;
|
3
|
+
export declare const normalize: (value: number) => number;
|
4
|
+
export declare const getLunarAgePercent: (date?: Date) => number;
|
5
|
+
export declare const getLunarAge: (date?: Date) => number;
|
6
|
+
export declare const getNextNewMoon: () => Date;
|
7
|
+
export declare const getLastNewMoon: (date?: Date) => Date;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const randomColor: () => string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function reverseGeocode(lat: number, lon: number): Promise<string>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const timeAgo: (date: string | number | Date) => string;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import './index.css';
|
2
|
+
export { UtopiaMap, Layer, Tags, Permissions, ItemForm, ItemView, PopupTextAreaInput, PopupStartEndInput, PopupTextInput, PopupButton, TextView, StartEndView, PopupCheckboxInput, } from './Components/Map';
|
3
|
+
export { AppShell, Content, SideBar, Sitemap } from './Components/AppShell';
|
4
|
+
export { AuthProvider, useAuth, LoginPage, SignupPage, RequestPasswordPage, SetNewPasswordPage, } from './Components/Auth';
|
5
|
+
export { UserSettings, ProfileView, ProfileForm } from './Components/Profile';
|
6
|
+
export { Quests, Modal } from './Components/Gaming';
|
7
|
+
export { TitleCard, CardPage, MapOverlayPage, OverlayItemsIndexPage, MoonCalendar, SelectUser, AttestationForm, MarketView, } from './Components/Templates';
|
8
|
+
export { TextInput, TextAreaInput, SelectBox } from './Components/Input';
|
9
|
+
declare global {
|
10
|
+
interface Window {
|
11
|
+
my_modal_3: any;
|
12
|
+
}
|
13
|
+
}
|