utopia-ui 3.0.38 → 3.0.40
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/Components/AppShell/AppShell.d.ts +7 -8
- package/dist/Components/AppShell/Content.d.ts +5 -6
- package/dist/Components/AppShell/ContextWrapper.d.ts +6 -6
- package/dist/Components/AppShell/NavBar.d.ts +4 -4
- package/dist/Components/AppShell/SetAppState.d.ts +5 -5
- package/dist/Components/AppShell/SideBar.d.ts +12 -13
- package/dist/Components/AppShell/SidebarSubmenu.d.ts +7 -8
- package/dist/Components/AppShell/Sitemap.d.ts +3 -3
- package/dist/Components/AppShell/hooks/useAppState.d.ts +16 -17
- package/dist/Components/AppShell/hooks/useAssets.d.ts +12 -13
- package/dist/Components/AppShell/index.d.ts +4 -4
- package/dist/Components/Auth/LoginPage.d.ts +1 -1
- package/dist/Components/Auth/RequestPasswordPage.d.ts +3 -3
- package/dist/Components/Auth/SetNewPasswordPage.d.ts +1 -1
- package/dist/Components/Auth/SignupPage.d.ts +1 -1
- package/dist/Components/Auth/index.d.ts +5 -5
- package/dist/Components/Auth/useAuth.d.ts +26 -27
- package/dist/Components/Gaming/Modal.d.ts +4 -5
- package/dist/Components/Gaming/Quests.d.ts +1 -1
- package/dist/Components/Gaming/hooks/useQuests.d.ts +12 -13
- package/dist/Components/Gaming/index.d.ts +2 -2
- package/dist/Components/Input/Autocomplete.d.ts +7 -7
- package/dist/Components/Input/ComboBoxInput.d.ts +8 -8
- package/dist/Components/Input/SelectBox.d.ts +16 -16
- package/dist/Components/Input/TextAreaInput.d.ts +13 -13
- package/dist/Components/Input/TextInput.d.ts +16 -16
- package/dist/Components/Input/index.d.ts +3 -3
- package/dist/Components/Map/ItemForm.d.ts +16 -17
- package/dist/Components/Map/ItemView.d.ts +14 -14
- package/dist/Components/Map/Layer.d.ts +2 -2
- package/dist/Components/Map/Permissions.d.ts +7 -7
- package/dist/Components/Map/Subcomponents/AddButton.d.ts +3 -4
- package/dist/Components/Map/Subcomponents/Controls/Control.d.ts +6 -6
- package/dist/Components/Map/Subcomponents/Controls/FilterControl.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/Controls/LayerControl.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/Controls/LocateControl.d.ts +3 -3
- package/dist/Components/Map/Subcomponents/Controls/QuestControl.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/Controls/SearchControl.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/Controls/TagsControl.d.ts +1 -1
- package/dist/Components/Map/Subcomponents/ItemFormPopup.d.ts +2 -2
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +18 -18
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +8 -8
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +6 -6
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +9 -9
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +7 -7
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +7 -7
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +4 -4
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +7 -7
- package/dist/Components/Map/Subcomponents/ItemViewPopup.d.ts +8 -9
- package/dist/Components/Map/Subcomponents/SelectPosition.d.ts +3 -3
- package/dist/Components/Map/Tags.d.ts +6 -6
- package/dist/Components/Map/UtopiaMap.d.ts +4 -4
- package/dist/Components/Map/UtopiaMapInner.d.ts +4 -4
- package/dist/Components/Map/hooks/useClusterRef.d.ts +11 -12
- package/dist/Components/Map/hooks/useDebounce.d.ts +1 -1
- package/dist/Components/Map/hooks/useFilter.d.ts +40 -41
- package/dist/Components/Map/hooks/useItems.d.ts +26 -27
- package/dist/Components/Map/hooks/useLayers.d.ts +13 -14
- package/dist/Components/Map/hooks/useLeafletRefs.d.ts +21 -22
- package/dist/Components/Map/hooks/usePermissions.d.ts +23 -24
- package/dist/Components/Map/hooks/useSelectPosition.d.ts +23 -24
- package/dist/Components/Map/hooks/useTags.d.ts +23 -24
- package/dist/Components/Map/hooks/useTimeout.d.ts +4 -4
- package/dist/Components/Map/hooks/useWindowDimension.d.ts +4 -4
- package/dist/Components/Map/index.d.ts +13 -13
- package/dist/Components/Map/setItemLocation.d.ts +1 -1
- package/dist/Components/Profile/ProfileForm.d.ts +1 -1
- package/dist/Components/Profile/ProfileView.d.ts +4 -4
- package/dist/Components/Profile/Subcomponents/ActionsButton.d.ts +11 -11
- package/dist/Components/Profile/Subcomponents/AvatarWidget.d.ts +7 -8
- package/dist/Components/Profile/Subcomponents/ColorPicker.d.ts +6 -6
- package/dist/Components/Profile/Subcomponents/ContactInfoForm.d.ts +5 -5
- package/dist/Components/Profile/Subcomponents/ContactInfoView.d.ts +5 -5
- package/dist/Components/Profile/Subcomponents/FormHeader.d.ts +5 -5
- package/dist/Components/Profile/Subcomponents/GalleryView.d.ts +6 -6
- package/dist/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +6 -6
- package/dist/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +18 -18
- package/dist/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +10 -10
- package/dist/Components/Profile/Subcomponents/MarkdownHint.d.ts +1 -1
- package/dist/Components/Profile/Subcomponents/PlusButton.d.ts +7 -7
- package/dist/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +5 -5
- package/dist/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +4 -4
- package/dist/Components/Profile/Subcomponents/ProfileTextForm.d.ts +10 -10
- package/dist/Components/Profile/Subcomponents/ProfileTextView.d.ts +7 -7
- package/dist/Components/Profile/Subcomponents/RelationCard.d.ts +6 -6
- package/dist/Components/Profile/Subcomponents/SocialShareBar.d.ts +6 -6
- package/dist/Components/Profile/Subcomponents/SocialShareButton.d.ts +6 -6
- package/dist/Components/Profile/Subcomponents/TagsWidget.d.ts +6 -6
- package/dist/Components/Profile/Templates/FlexForm.d.ts +7 -7
- package/dist/Components/Profile/Templates/FlexView.d.ts +4 -4
- package/dist/Components/Profile/Templates/OnepagerForm.d.ts +7 -7
- package/dist/Components/Profile/Templates/OnepagerView.d.ts +4 -4
- package/dist/Components/Profile/Templates/SimpleForm.d.ts +4 -4
- package/dist/Components/Profile/Templates/SimpleView.d.ts +4 -4
- package/dist/Components/Profile/Templates/TabsForm.d.ts +10 -10
- package/dist/Components/Profile/Templates/TabsView.d.ts +13 -13
- package/dist/Components/Profile/UserSettings.d.ts +1 -1
- package/dist/Components/Profile/hooks/useClickOutside.d.ts +2 -2
- package/dist/Components/Profile/index.d.ts +4 -4
- package/dist/Components/Profile/itemFunctions.d.ts +5 -5
- package/dist/Components/Templates/AttestationForm.d.ts +4 -4
- package/dist/Components/Templates/CardPage.d.ts +9 -10
- package/dist/Components/Templates/CircleLayout.d.ts +5 -5
- package/dist/Components/Templates/DateUserInfo.d.ts +4 -4
- package/dist/Components/Templates/DialogModal.d.ts +11 -12
- package/dist/Components/Templates/EmojiPicker.d.ts +10 -10
- package/dist/Components/Templates/ItemCard.d.ts +8 -8
- package/dist/Components/Templates/MapOverlayPage.d.ts +6 -7
- package/dist/Components/Templates/MarketView.d.ts +1 -1
- package/dist/Components/Templates/MoonCalendar.d.ts +1 -1
- package/dist/Components/Templates/OverlayItemsIndexPage.d.ts +6 -6
- package/dist/Components/Templates/SelectUser.d.ts +1 -1
- package/dist/Components/Templates/TagView.d.ts +7 -7
- package/dist/Components/Templates/TitleCard.d.ts +10 -11
- package/dist/Components/Templates/index.d.ts +8 -8
- package/dist/Components/Typography/ErrorText.d.ts +5 -5
- package/dist/Components/Typography/Subtitle.d.ts +5 -6
- package/dist/Utils/ContainsUUID.d.ts +1 -1
- package/dist/Utils/FormatTags.d.ts +2 -2
- package/dist/Utils/GetValue.d.ts +1 -1
- package/dist/Utils/HashTagRegex.d.ts +1 -1
- package/dist/Utils/MarkerIconFactory.d.ts +2 -2
- package/dist/Utils/Moon.d.ts +7 -7
- package/dist/Utils/RandomColor.d.ts +1 -1
- package/dist/Utils/ReplaceURLs.d.ts +3 -3
- package/dist/Utils/ReverseGeocoder.d.ts +1 -1
- package/dist/Utils/TimeAgo.d.ts +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.js +4216 -4933
- package/dist/index.js.map +1 -1
- package/dist/setupTest.d.ts +1 -0
- package/dist/src/Components/AppShell/AppShell.d.ts +7 -0
- package/dist/src/Components/AppShell/Content.d.ts +5 -0
- package/dist/src/Components/AppShell/ContextWrapper.d.ts +6 -0
- package/dist/src/Components/AppShell/NavBar.d.ts +4 -0
- package/dist/src/Components/AppShell/SetAppState.d.ts +5 -0
- package/dist/src/Components/AppShell/SideBar.d.ts +12 -0
- package/dist/src/Components/AppShell/SidebarSubmenu.d.ts +7 -0
- package/dist/src/Components/AppShell/Sitemap.d.ts +3 -0
- package/dist/src/Components/AppShell/hooks/useAppState.d.ts +16 -0
- package/dist/src/Components/AppShell/hooks/useAssets.d.ts +12 -0
- package/dist/src/Components/AppShell/index.d.ts +4 -0
- package/dist/src/Components/Auth/LoginPage.d.ts +1 -0
- package/dist/src/Components/Auth/RequestPasswordPage.d.ts +3 -0
- package/dist/src/Components/Auth/SetNewPasswordPage.d.ts +1 -0
- package/dist/src/Components/Auth/SignupPage.d.ts +1 -0
- package/dist/src/Components/Auth/index.d.ts +5 -0
- package/dist/src/Components/Auth/useAuth.d.ts +26 -0
- package/dist/src/Components/Gaming/Modal.d.ts +4 -0
- package/dist/src/Components/Gaming/Quests.d.ts +1 -0
- package/dist/src/Components/Gaming/hooks/useQuests.d.ts +12 -0
- package/dist/src/Components/Gaming/index.d.ts +2 -0
- package/dist/src/Components/Input/Autocomplete.d.ts +7 -0
- package/dist/src/Components/Input/ComboBoxInput.d.ts +8 -0
- package/dist/src/Components/Input/SelectBox.d.ts +16 -0
- package/dist/src/Components/Input/TextAreaInput.d.ts +13 -0
- package/dist/src/Components/Input/TextInput.d.ts +16 -0
- package/dist/src/Components/Input/TextInput.spec.d.ts +1 -0
- package/dist/src/Components/Input/index.d.ts +3 -0
- package/dist/src/Components/Map/ItemForm.d.ts +16 -0
- package/dist/src/Components/Map/ItemView.d.ts +14 -0
- package/dist/src/Components/Map/Layer.d.ts +2 -0
- package/dist/src/Components/Map/Permissions.d.ts +7 -0
- package/dist/src/Components/Map/Subcomponents/AddButton.d.ts +3 -0
- package/dist/src/Components/Map/Subcomponents/Controls/Control.d.ts +6 -0
- package/dist/src/Components/Map/Subcomponents/Controls/FilterControl.d.ts +1 -0
- package/dist/src/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +1 -0
- package/dist/src/Components/Map/Subcomponents/Controls/LayerControl.d.ts +1 -0
- package/dist/src/Components/Map/Subcomponents/Controls/LocateControl.d.ts +3 -0
- package/dist/src/Components/Map/Subcomponents/Controls/QuestControl.d.ts +1 -0
- package/dist/src/Components/Map/Subcomponents/Controls/SearchControl.d.ts +1 -0
- package/dist/src/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +1 -0
- package/dist/src/Components/Map/Subcomponents/Controls/TagsControl.d.ts +1 -0
- package/dist/src/Components/Map/Subcomponents/ItemFormPopup.d.ts +2 -0
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +18 -0
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +8 -0
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +6 -0
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +9 -0
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +7 -0
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +7 -0
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +4 -0
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +7 -0
- package/dist/src/Components/Map/Subcomponents/ItemViewPopup.d.ts +8 -0
- package/dist/src/Components/Map/Subcomponents/SelectPosition.d.ts +3 -0
- package/dist/src/Components/Map/Tags.d.ts +6 -0
- package/dist/src/Components/Map/UtopiaMap.d.ts +4 -0
- package/dist/src/Components/Map/UtopiaMapInner.d.ts +4 -0
- package/dist/src/Components/Map/hooks/useClusterRef.d.ts +11 -0
- package/dist/src/Components/Map/hooks/useDebounce.d.ts +1 -0
- package/dist/src/Components/Map/hooks/useFilter.d.ts +40 -0
- package/dist/src/Components/Map/hooks/useItems.d.ts +26 -0
- package/dist/src/Components/Map/hooks/useLayers.d.ts +13 -0
- package/dist/src/Components/Map/hooks/useLeafletRefs.d.ts +21 -0
- package/dist/src/Components/Map/hooks/usePermissions.d.ts +23 -0
- package/dist/src/Components/Map/hooks/useSelectPosition.d.ts +23 -0
- package/dist/src/Components/Map/hooks/useTags.d.ts +23 -0
- package/dist/src/Components/Map/hooks/useTimeout.d.ts +4 -0
- package/dist/src/Components/Map/hooks/useWindowDimension.d.ts +4 -0
- package/dist/src/Components/Map/index.d.ts +13 -0
- package/dist/src/Components/Map/setItemLocation.d.ts +1 -0
- package/dist/src/Components/Profile/ProfileForm.d.ts +1 -0
- package/dist/src/Components/Profile/ProfileView.d.ts +4 -0
- package/dist/src/Components/Profile/Subcomponents/ActionsButton.d.ts +11 -0
- package/dist/src/Components/Profile/Subcomponents/AvatarWidget.d.ts +7 -0
- package/dist/src/Components/Profile/Subcomponents/ColorPicker.d.ts +6 -0
- package/dist/src/Components/Profile/Subcomponents/ContactInfoForm.d.ts +5 -0
- package/dist/src/Components/Profile/Subcomponents/ContactInfoView.d.ts +5 -0
- package/dist/src/Components/Profile/Subcomponents/FormHeader.d.ts +5 -0
- package/dist/src/Components/Profile/Subcomponents/GalleryView.d.ts +6 -0
- package/dist/src/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +6 -0
- package/dist/src/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +18 -0
- package/dist/src/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +10 -0
- package/dist/src/Components/Profile/Subcomponents/MarkdownHint.d.ts +1 -0
- package/dist/src/Components/Profile/Subcomponents/PlusButton.d.ts +7 -0
- package/dist/src/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +5 -0
- package/dist/src/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +4 -0
- package/dist/src/Components/Profile/Subcomponents/ProfileTextForm.d.ts +10 -0
- package/dist/src/Components/Profile/Subcomponents/ProfileTextView.d.ts +7 -0
- package/dist/src/Components/Profile/Subcomponents/RelationCard.d.ts +6 -0
- package/dist/src/Components/Profile/Subcomponents/SocialShareBar.d.ts +6 -0
- package/dist/src/Components/Profile/Subcomponents/SocialShareButton.d.ts +6 -0
- package/dist/src/Components/Profile/Subcomponents/TagsWidget.d.ts +6 -0
- package/dist/src/Components/Profile/Templates/FlexForm.d.ts +7 -0
- package/dist/src/Components/Profile/Templates/FlexView.d.ts +4 -0
- package/dist/src/Components/Profile/Templates/OnepagerForm.d.ts +7 -0
- package/dist/src/Components/Profile/Templates/OnepagerView.d.ts +4 -0
- package/dist/src/Components/Profile/Templates/SimpleForm.d.ts +4 -0
- package/dist/src/Components/Profile/Templates/SimpleView.d.ts +4 -0
- package/dist/src/Components/Profile/Templates/TabsForm.d.ts +10 -0
- package/dist/src/Components/Profile/Templates/TabsView.d.ts +13 -0
- package/dist/src/Components/Profile/UserSettings.d.ts +1 -0
- package/dist/src/Components/Profile/hooks/useClickOutside.d.ts +2 -0
- package/dist/src/Components/Profile/index.d.ts +4 -0
- package/dist/src/Components/Profile/itemFunctions.d.ts +5 -0
- package/dist/src/Components/Templates/AttestationForm.d.ts +4 -0
- package/dist/src/Components/Templates/CardPage.d.ts +9 -0
- package/dist/src/Components/Templates/CircleLayout.d.ts +5 -0
- package/dist/src/Components/Templates/DateUserInfo.d.ts +4 -0
- package/dist/src/Components/Templates/DialogModal.d.ts +11 -0
- package/dist/src/Components/Templates/EmojiPicker.d.ts +10 -0
- package/dist/src/Components/Templates/ItemCard.d.ts +8 -0
- package/dist/src/Components/Templates/MapOverlayPage.d.ts +6 -0
- package/dist/src/Components/Templates/MarketView.d.ts +1 -0
- package/dist/src/Components/Templates/MoonCalendar.d.ts +1 -0
- package/dist/src/Components/Templates/OverlayItemsIndexPage.d.ts +6 -0
- package/dist/src/Components/Templates/SelectUser.d.ts +1 -0
- package/dist/src/Components/Templates/TagView.d.ts +7 -0
- package/dist/src/Components/Templates/TitleCard.d.ts +10 -0
- package/dist/src/Components/Templates/index.d.ts +8 -0
- package/dist/src/Components/Typography/ErrorText.d.ts +5 -0
- package/dist/src/Components/Typography/Subtitle.d.ts +5 -0
- package/dist/src/Utils/ContainsUUID.d.ts +1 -0
- package/dist/src/Utils/FormatTags.d.ts +2 -0
- package/dist/src/Utils/GetValue.d.ts +1 -0
- package/dist/src/Utils/HashTagRegex.d.ts +1 -0
- package/dist/src/Utils/MarkerIconFactory.d.ts +2 -0
- package/dist/src/Utils/Moon.d.ts +7 -0
- package/dist/src/Utils/RandomColor.d.ts +1 -0
- package/dist/src/Utils/ReplaceURLs.d.ts +3 -0
- package/dist/src/Utils/ReverseGeocoder.d.ts +1 -0
- package/dist/src/Utils/TimeAgo.d.ts +1 -0
- package/dist/src/index.d.ts +15 -0
- package/dist/vite.config.d.ts +2 -0
- package/package.json +19 -5
@@ -0,0 +1,23 @@
|
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
import type { ItemFormPopupProps } from '#types/ItemFormPopupProps';
|
3
|
+
import type { LayerProps } from '#types/LayerProps';
|
4
|
+
import type { LatLng } from 'leaflet';
|
5
|
+
interface PolygonClickedProps {
|
6
|
+
position: LatLng;
|
7
|
+
setItemFormPopup: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
8
|
+
}
|
9
|
+
type UseSelectPositionManagerResult = ReturnType<typeof useSelectPositionManager>;
|
10
|
+
declare function useSelectPositionManager(): {
|
11
|
+
selectPosition: Item | LayerProps | null;
|
12
|
+
setSelectPosition: React.Dispatch<React.SetStateAction<Item | LayerProps | null>>;
|
13
|
+
setMarkerClicked: React.Dispatch<React.SetStateAction<Item>>;
|
14
|
+
setMapClicked: React.Dispatch<React.SetStateAction<PolygonClickedProps | undefined>>;
|
15
|
+
};
|
16
|
+
export declare const SelectPositionProvider: React.FunctionComponent<{
|
17
|
+
children?: React.ReactNode;
|
18
|
+
}>;
|
19
|
+
export declare const useSelectPosition: () => Item | LayerProps | null;
|
20
|
+
export declare const useSetSelectPosition: () => UseSelectPositionManagerResult["setSelectPosition"];
|
21
|
+
export declare const useSetMarkerClicked: () => UseSelectPositionManagerResult["setMarkerClicked"];
|
22
|
+
export declare const useSetMapClicked: () => UseSelectPositionManagerResult["setMapClicked"];
|
23
|
+
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
import type { ItemsApi } from '#types/ItemsApi';
|
3
|
+
import type { Tag } from '#types/Tag';
|
4
|
+
type UseTagManagerResult = ReturnType<typeof useTagsManager>;
|
5
|
+
declare function useTagsManager(initialTags: Tag[]): {
|
6
|
+
tags: Tag[];
|
7
|
+
addTag: (tag: Tag) => void;
|
8
|
+
setTagApi: (api: ItemsApi<Tag>) => void;
|
9
|
+
setTagData: (data: Tag[]) => void;
|
10
|
+
getItemTags: (item: Item) => Tag[];
|
11
|
+
allTagsLoaded: boolean;
|
12
|
+
};
|
13
|
+
export declare const TagsProvider: React.FunctionComponent<{
|
14
|
+
initialTags: Tag[];
|
15
|
+
children?: React.ReactNode;
|
16
|
+
}>;
|
17
|
+
export declare const useTags: () => Tag[];
|
18
|
+
export declare const useAddTag: () => UseTagManagerResult["addTag"];
|
19
|
+
export declare const useSetTagApi: () => UseTagManagerResult["setTagApi"];
|
20
|
+
export declare const useSetTagData: () => UseTagManagerResult["setTagData"];
|
21
|
+
export declare const useGetItemTags: () => UseTagManagerResult["getItemTags"];
|
22
|
+
export declare const useAllTagsLoaded: () => UseTagManagerResult["allTagsLoaded"];
|
23
|
+
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 type { Item } from '#types/Item';
|
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,18 @@
|
|
1
|
+
import type { FormState } from '#types/FormState';
|
2
|
+
import type { Item } from '#types/Item';
|
3
|
+
interface groupType {
|
4
|
+
groupTypes_id: {
|
5
|
+
name: string;
|
6
|
+
color: string;
|
7
|
+
image: string;
|
8
|
+
markerIcon: string;
|
9
|
+
};
|
10
|
+
}
|
11
|
+
export declare const GroupSubheaderForm: ({ state, setState, groupStates, groupTypes, }: {
|
12
|
+
state: FormState;
|
13
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
14
|
+
item: Item;
|
15
|
+
groupStates?: string[];
|
16
|
+
groupTypes?: groupType[];
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
18
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { Item } from '#types/Item';
|
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,7 @@
|
|
1
|
+
import type { LayerProps } from '#types/LayerProps';
|
2
|
+
export declare function PlusButton({ layer, triggerAction, color, collection, }: {
|
3
|
+
layer?: LayerProps;
|
4
|
+
triggerAction: any;
|
5
|
+
color: string;
|
6
|
+
collection?: string;
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { FormState } from '#types/FormState';
|
2
|
+
export declare const ProfileTextForm: ({ state, setState, dataField, heading, size, hideInputLabel, required, }: {
|
3
|
+
state: FormState;
|
4
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
5
|
+
dataField?: string;
|
6
|
+
heading: string;
|
7
|
+
size: string;
|
8
|
+
hideInputLabel: boolean;
|
9
|
+
required?: boolean;
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { FormState } from '#types/FormState';
|
2
|
+
import type { Item } from '#types/Item';
|
3
|
+
export declare const FlexForm: ({ item, state, setState, }: {
|
4
|
+
state: FormState;
|
5
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
6
|
+
item: Item;
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { FormState } from '#types/FormState';
|
2
|
+
import type { Item } from '#types/Item';
|
3
|
+
export declare const OnepagerForm: ({ item, state, setState, }: {
|
4
|
+
state: FormState;
|
5
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
6
|
+
item: Item;
|
7
|
+
}) => 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,13 @@
|
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
import type { Tag } from '#types/Tag';
|
3
|
+
export declare const TabsView: ({ attestations, item, offers, needs, relations, updatePermission, loading, linkItem, unlinkItem, }: {
|
4
|
+
attestations: any[];
|
5
|
+
item: Item;
|
6
|
+
offers: Tag[];
|
7
|
+
needs: Tag[];
|
8
|
+
relations: Item[];
|
9
|
+
updatePermission: boolean;
|
10
|
+
loading: boolean;
|
11
|
+
linkItem: (id: string) => Promise<void>;
|
12
|
+
unlinkItem: (id: string) => Promise<void>;
|
13
|
+
}) => 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,11 @@
|
|
1
|
+
interface Props {
|
2
|
+
title: string;
|
3
|
+
isOpened: boolean;
|
4
|
+
onClose: () => void;
|
5
|
+
children: React.ReactNode;
|
6
|
+
showCloseButton?: boolean;
|
7
|
+
closeOnClickOutside?: boolean;
|
8
|
+
className?: string;
|
9
|
+
}
|
10
|
+
declare const DialogModal: ({ title, isOpened, onClose, children, showCloseButton, closeOnClickOutside, className, }: Props) => import("react/jsx-runtime").JSX.Element;
|
11
|
+
export default DialogModal;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
interface Props {
|
2
|
+
selectedEmoji: string;
|
3
|
+
selectedColor: string;
|
4
|
+
selectedShape: string;
|
5
|
+
setSelectedEmoji: (emoji: string) => void;
|
6
|
+
setSelectedColor: (color: string) => void;
|
7
|
+
setSelectedShape: (shape: string) => void;
|
8
|
+
}
|
9
|
+
export declare const EmojiPicker: ({ selectedEmoji, selectedColor, selectedShape, setSelectedEmoji, setSelectedColor, setSelectedShape, }: Props) => import("react/jsx-runtime").JSX.Element;
|
10
|
+
export {};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { Item } from '#types/Item';
|
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,10 @@
|
|
1
|
+
interface TitleCardProps {
|
2
|
+
title?: string;
|
3
|
+
hideTitle?: boolean;
|
4
|
+
children?: React.ReactNode;
|
5
|
+
topMargin?: string;
|
6
|
+
className?: string;
|
7
|
+
TopSideButtons?: any;
|
8
|
+
}
|
9
|
+
export declare function TitleCard({ title, hideTitle, children, topMargin, TopSideButtons, className, }: TitleCardProps): import("react/jsx-runtime").JSX.Element;
|
10
|
+
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 containsUUID(str: string): boolean;
|
@@ -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,15 @@
|
|
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, 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: {
|
12
|
+
showModal(): void;
|
13
|
+
};
|
14
|
+
}
|
15
|
+
}
|