utopia-ui 3.0.42 → 3.0.44
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/package.json +1 -1
- package/dist/Components/AppShell/AppShell.d.ts +0 -7
- package/dist/Components/AppShell/Content.d.ts +0 -5
- package/dist/Components/AppShell/ContextWrapper.d.ts +0 -6
- package/dist/Components/AppShell/NavBar.d.ts +0 -4
- package/dist/Components/AppShell/SetAppState.d.ts +0 -5
- package/dist/Components/AppShell/SetAssetsApi.d.ts +0 -4
- package/dist/Components/AppShell/SideBar.d.ts +0 -12
- package/dist/Components/AppShell/SidebarSubmenu.d.ts +0 -7
- package/dist/Components/AppShell/Sitemap.d.ts +0 -3
- package/dist/Components/AppShell/hooks/useAppState.d.ts +0 -16
- package/dist/Components/AppShell/hooks/useAssets.d.ts +0 -12
- package/dist/Components/AppShell/index.d.ts +0 -4
- package/dist/Components/Auth/LoginPage.d.ts +0 -1
- package/dist/Components/Auth/RequestPasswordPage.d.ts +0 -3
- package/dist/Components/Auth/SetNewPasswordPage.d.ts +0 -1
- package/dist/Components/Auth/SignupPage.d.ts +0 -1
- package/dist/Components/Auth/index.d.ts +0 -5
- package/dist/Components/Auth/useAuth.d.ts +0 -26
- package/dist/Components/Gaming/Modal.d.ts +0 -4
- package/dist/Components/Gaming/Quests.d.ts +0 -1
- package/dist/Components/Gaming/hooks/useQuests.d.ts +0 -12
- package/dist/Components/Gaming/index.d.ts +0 -2
- package/dist/Components/Input/Autocomplete.d.ts +0 -7
- package/dist/Components/Input/ComboBoxInput.d.ts +0 -8
- package/dist/Components/Input/SelectBox.d.ts +0 -16
- package/dist/Components/Input/TextAreaInput.d.ts +0 -13
- package/dist/Components/Input/TextInput.d.ts +0 -16
- package/dist/Components/Input/index.d.ts +0 -3
- package/dist/Components/Map/ItemForm.d.ts +0 -16
- package/dist/Components/Map/ItemView.d.ts +0 -14
- package/dist/Components/Map/Layer.d.ts +0 -2
- package/dist/Components/Map/Permissions.d.ts +0 -7
- package/dist/Components/Map/Subcomponents/AddButton.d.ts +0 -3
- package/dist/Components/Map/Subcomponents/Controls/Control.d.ts +0 -6
- package/dist/Components/Map/Subcomponents/Controls/FilterControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/LayerControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/LocateControl.d.ts +0 -3
- package/dist/Components/Map/Subcomponents/Controls/QuestControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/SearchControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/TagsControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/ItemFormPopup.d.ts +0 -2
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +0 -18
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +0 -7
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +0 -6
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +0 -9
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +0 -7
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +0 -7
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +0 -4
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +0 -6
- package/dist/Components/Map/Subcomponents/ItemViewPopup.d.ts +0 -8
- package/dist/Components/Map/Subcomponents/SelectPosition.d.ts +0 -3
- package/dist/Components/Map/Tags.d.ts +0 -6
- package/dist/Components/Map/UtopiaMap.d.ts +0 -4
- package/dist/Components/Map/UtopiaMapInner.d.ts +0 -4
- package/dist/Components/Map/hooks/useClusterRef.d.ts +0 -11
- package/dist/Components/Map/hooks/useDebounce.d.ts +0 -1
- package/dist/Components/Map/hooks/useFilter.d.ts +0 -40
- package/dist/Components/Map/hooks/useItems.d.ts +0 -26
- package/dist/Components/Map/hooks/useLayers.d.ts +0 -13
- package/dist/Components/Map/hooks/useLeafletRefs.d.ts +0 -21
- package/dist/Components/Map/hooks/usePermissions.d.ts +0 -23
- package/dist/Components/Map/hooks/useSelectPosition.d.ts +0 -23
- package/dist/Components/Map/hooks/useTags.d.ts +0 -23
- package/dist/Components/Map/hooks/useTimeout.d.ts +0 -4
- package/dist/Components/Map/hooks/useWindowDimension.d.ts +0 -4
- package/dist/Components/Map/index.d.ts +0 -13
- package/dist/Components/Map/setItemLocation.d.ts +0 -1
- package/dist/Components/Profile/ProfileForm.d.ts +0 -1
- package/dist/Components/Profile/ProfileView.d.ts +0 -4
- package/dist/Components/Profile/Subcomponents/ActionsButton.d.ts +0 -10
- package/dist/Components/Profile/Subcomponents/AvatarWidget.d.ts +0 -7
- package/dist/Components/Profile/Subcomponents/ColorPicker.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/ContactInfo.d.ts +0 -8
- package/dist/Components/Profile/Subcomponents/ContactInfoForm.d.ts +0 -5
- package/dist/Components/Profile/Subcomponents/ContactInfoView.d.ts +0 -5
- package/dist/Components/Profile/Subcomponents/FormHeader.d.ts +0 -5
- package/dist/Components/Profile/Subcomponents/GalleryView.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +0 -18
- package/dist/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +0 -7
- package/dist/Components/Profile/Subcomponents/MarkdownHint.d.ts +0 -1
- package/dist/Components/Profile/Subcomponents/PlusButton.d.ts +0 -7
- package/dist/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +0 -5
- package/dist/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +0 -4
- package/dist/Components/Profile/Subcomponents/ProfileSubHeader.d.ts +0 -7
- package/dist/Components/Profile/Subcomponents/ProfileTextForm.d.ts +0 -10
- package/dist/Components/Profile/Subcomponents/ProfileTextView.d.ts +0 -7
- package/dist/Components/Profile/Subcomponents/RelationCard.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/SocialShareBar.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/SocialShareButton.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/TagsWidget.d.ts +0 -6
- package/dist/Components/Profile/Templates/FlexForm.d.ts +0 -7
- package/dist/Components/Profile/Templates/FlexView.d.ts +0 -4
- package/dist/Components/Profile/Templates/OnepagerForm.d.ts +0 -7
- package/dist/Components/Profile/Templates/OnepagerView.d.ts +0 -4
- package/dist/Components/Profile/Templates/SimpleForm.d.ts +0 -4
- package/dist/Components/Profile/Templates/SimpleView.d.ts +0 -4
- package/dist/Components/Profile/Templates/TabsForm.d.ts +0 -10
- package/dist/Components/Profile/Templates/TabsView.d.ts +0 -13
- package/dist/Components/Profile/UserSettings.d.ts +0 -1
- package/dist/Components/Profile/hooks/useClickOutside.d.ts +0 -2
- package/dist/Components/Profile/index.d.ts +0 -4
- package/dist/Components/Profile/itemFunctions.d.ts +0 -5
- package/dist/Components/Templates/AttestationForm.d.ts +0 -4
- package/dist/Components/Templates/CardPage.d.ts +0 -9
- package/dist/Components/Templates/CircleLayout.d.ts +0 -5
- package/dist/Components/Templates/DateUserInfo.d.ts +0 -4
- package/dist/Components/Templates/DialogModal.d.ts +0 -11
- package/dist/Components/Templates/EmojiPicker.d.ts +0 -10
- package/dist/Components/Templates/ItemCard.d.ts +0 -7
- package/dist/Components/Templates/MapOverlayPage.d.ts +0 -6
- package/dist/Components/Templates/MarketView.d.ts +0 -1
- package/dist/Components/Templates/MoonCalendar.d.ts +0 -1
- package/dist/Components/Templates/OverlayItemsIndexPage.d.ts +0 -5
- package/dist/Components/Templates/SelectUser.d.ts +0 -1
- package/dist/Components/Templates/TagView.d.ts +0 -7
- package/dist/Components/Templates/TitleCard.d.ts +0 -10
- package/dist/Components/Templates/index.d.ts +0 -8
- package/dist/Components/Typography/ErrorText.d.ts +0 -5
- package/dist/Components/Typography/Subtitle.d.ts +0 -5
- package/dist/Utils/ContainsUUID.d.ts +0 -1
- package/dist/Utils/FormatTags.d.ts +0 -2
- package/dist/Utils/GetValue.d.ts +0 -1
- package/dist/Utils/HashTagRegex.d.ts +0 -1
- package/dist/Utils/MarkerIconFactory.d.ts +0 -2
- package/dist/Utils/Moon.d.ts +0 -7
- package/dist/Utils/RandomColor.d.ts +0 -1
- package/dist/Utils/ReplaceURLs.d.ts +0 -3
- package/dist/Utils/ReverseGeocoder.d.ts +0 -1
- package/dist/Utils/TimeAgo.d.ts +0 -1
- package/dist/index.d.ts +0 -15
- package/dist/types/Components/AppShell/AppShell.d.ts +0 -8
- package/dist/types/Components/AppShell/Content.d.ts +0 -6
- package/dist/types/Components/AppShell/ContextWrapper.d.ts +0 -6
- package/dist/types/Components/AppShell/NavBar.d.ts +0 -4
- package/dist/types/Components/AppShell/SetAppState.d.ts +0 -5
- package/dist/types/Components/AppShell/SideBar.d.ts +0 -13
- package/dist/types/Components/AppShell/SidebarSubmenu.d.ts +0 -8
- package/dist/types/Components/AppShell/Sitemap.d.ts +0 -3
- package/dist/types/Components/AppShell/hooks/useAppState.d.ts +0 -17
- package/dist/types/Components/AppShell/hooks/useAssets.d.ts +0 -13
- package/dist/types/Components/AppShell/index.d.ts +0 -4
- package/dist/types/Components/Auth/LoginPage.d.ts +0 -1
- package/dist/types/Components/Auth/RequestPasswordPage.d.ts +0 -3
- package/dist/types/Components/Auth/SetNewPasswordPage.d.ts +0 -1
- package/dist/types/Components/Auth/SignupPage.d.ts +0 -1
- package/dist/types/Components/Auth/index.d.ts +0 -5
- package/dist/types/Components/Auth/useAuth.d.ts +0 -26
- package/dist/types/Components/Gaming/Modal.d.ts +0 -5
- package/dist/types/Components/Gaming/Quests.d.ts +0 -1
- package/dist/types/Components/Gaming/hooks/useQuests.d.ts +0 -13
- package/dist/types/Components/Gaming/index.d.ts +0 -2
- package/dist/types/Components/Input/Autocomplete.d.ts +0 -7
- package/dist/types/Components/Input/ComboBoxInput.d.ts +0 -8
- package/dist/types/Components/Input/SelectBox.d.ts +0 -16
- package/dist/types/Components/Input/TextAreaInput.d.ts +0 -12
- package/dist/types/Components/Input/TextInput.d.ts +0 -16
- package/dist/types/Components/Input/index.d.ts +0 -3
- package/dist/types/Components/Map/ItemForm.d.ts +0 -17
- package/dist/types/Components/Map/ItemView.d.ts +0 -14
- package/dist/types/Components/Map/Layer.d.ts +0 -2
- package/dist/types/Components/Map/Permissions.d.ts +0 -6
- package/dist/types/Components/Map/Subcomponents/AddButton.d.ts +0 -4
- package/dist/types/Components/Map/Subcomponents/Controls/Control.d.ts +0 -6
- package/dist/types/Components/Map/Subcomponents/Controls/FilterControl.d.ts +0 -1
- package/dist/types/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +0 -1
- package/dist/types/Components/Map/Subcomponents/Controls/LayerControl.d.ts +0 -1
- package/dist/types/Components/Map/Subcomponents/Controls/LocateControl.d.ts +0 -3
- package/dist/types/Components/Map/Subcomponents/Controls/QuestControl.d.ts +0 -1
- package/dist/types/Components/Map/Subcomponents/Controls/SearchControl.d.ts +0 -1
- package/dist/types/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +0 -1
- package/dist/types/Components/Map/Subcomponents/Controls/TagsControl.d.ts +0 -1
- package/dist/types/Components/Map/Subcomponents/ItemFormPopup.d.ts +0 -2
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +0 -17
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +0 -8
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +0 -6
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +0 -9
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +0 -7
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +0 -7
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +0 -4
- package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +0 -7
- package/dist/types/Components/Map/Subcomponents/ItemViewPopup.d.ts +0 -8
- package/dist/types/Components/Map/Subcomponents/SelectPosition.d.ts +0 -3
- package/dist/types/Components/Map/Tags.d.ts +0 -5
- package/dist/types/Components/Map/UtopiaMap.d.ts +0 -4
- package/dist/types/Components/Map/UtopiaMapInner.d.ts +0 -4
- package/dist/types/Components/Map/hooks/useClusterRef.d.ts +0 -12
- package/dist/types/Components/Map/hooks/useDebounce.d.ts +0 -1
- package/dist/types/Components/Map/hooks/useFilter.d.ts +0 -40
- package/dist/types/Components/Map/hooks/useItems.d.ts +0 -26
- package/dist/types/Components/Map/hooks/useLayers.d.ts +0 -14
- package/dist/types/Components/Map/hooks/useLeafletRefs.d.ts +0 -22
- package/dist/types/Components/Map/hooks/usePermissions.d.ts +0 -20
- package/dist/types/Components/Map/hooks/useSelectPosition.d.ts +0 -22
- package/dist/types/Components/Map/hooks/useTags.d.ts +0 -22
- package/dist/types/Components/Map/hooks/useTimeout.d.ts +0 -4
- package/dist/types/Components/Map/hooks/useWindowDimension.d.ts +0 -4
- package/dist/types/Components/Map/index.d.ts +0 -13
- package/dist/types/Components/Map/setItemLocation.d.ts +0 -1
- package/dist/types/Components/Profile/ProfileForm.d.ts +0 -1
- package/dist/types/Components/Profile/ProfileView.d.ts +0 -4
- package/dist/types/Components/Profile/Subcomponents/ActionsButton.d.ts +0 -11
- package/dist/types/Components/Profile/Subcomponents/AvatarWidget.d.ts +0 -8
- package/dist/types/Components/Profile/Subcomponents/ColorPicker.d.ts +0 -6
- package/dist/types/Components/Profile/Subcomponents/ContactInfoForm.d.ts +0 -5
- package/dist/types/Components/Profile/Subcomponents/ContactInfoView.d.ts +0 -5
- package/dist/types/Components/Profile/Subcomponents/FormHeader.d.ts +0 -5
- package/dist/types/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +0 -6
- package/dist/types/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +0 -17
- package/dist/types/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +0 -10
- package/dist/types/Components/Profile/Subcomponents/MarkdownHint.d.ts +0 -1
- package/dist/types/Components/Profile/Subcomponents/PlusButton.d.ts +0 -7
- package/dist/types/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +0 -5
- package/dist/types/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +0 -4
- package/dist/types/Components/Profile/Subcomponents/ProfileTextForm.d.ts +0 -9
- package/dist/types/Components/Profile/Subcomponents/ProfileTextView.d.ts +0 -7
- package/dist/types/Components/Profile/Subcomponents/RelationCard.d.ts +0 -6
- package/dist/types/Components/Profile/Subcomponents/SocialShareBar.d.ts +0 -6
- package/dist/types/Components/Profile/Subcomponents/SocialShareButton.d.ts +0 -6
- package/dist/types/Components/Profile/Subcomponents/TagsWidget.d.ts +0 -6
- package/dist/types/Components/Profile/Templates/FlexForm.d.ts +0 -6
- package/dist/types/Components/Profile/Templates/FlexView.d.ts +0 -4
- package/dist/types/Components/Profile/Templates/OnepagerForm.d.ts +0 -6
- package/dist/types/Components/Profile/Templates/OnepagerView.d.ts +0 -4
- package/dist/types/Components/Profile/Templates/SimpleForm.d.ts +0 -4
- package/dist/types/Components/Profile/Templates/SimpleView.d.ts +0 -4
- package/dist/types/Components/Profile/Templates/TabsForm.d.ts +0 -10
- package/dist/types/Components/Profile/Templates/TabsView.d.ts +0 -12
- package/dist/types/Components/Profile/UserSettings.d.ts +0 -1
- package/dist/types/Components/Profile/hooks/useClickOutside.d.ts +0 -2
- package/dist/types/Components/Profile/index.d.ts +0 -4
- package/dist/types/Components/Profile/itemFunctions.d.ts +0 -5
- package/dist/types/Components/Templates/AttestationForm.d.ts +0 -4
- package/dist/types/Components/Templates/CardPage.d.ts +0 -10
- package/dist/types/Components/Templates/CircleLayout.d.ts +0 -5
- package/dist/types/Components/Templates/DateUserInfo.d.ts +0 -4
- package/dist/types/Components/Templates/DialogModal.d.ts +0 -12
- package/dist/types/Components/Templates/EmojiPicker.d.ts +0 -8
- package/dist/types/Components/Templates/ItemCard.d.ts +0 -8
- package/dist/types/Components/Templates/MapOverlayPage.d.ts +0 -7
- package/dist/types/Components/Templates/MarketView.d.ts +0 -1
- package/dist/types/Components/Templates/MoonCalendar.d.ts +0 -1
- package/dist/types/Components/Templates/OverlayItemsIndexPage.d.ts +0 -6
- package/dist/types/Components/Templates/SelectUser.d.ts +0 -1
- package/dist/types/Components/Templates/TagView.d.ts +0 -7
- package/dist/types/Components/Templates/TitleCard.d.ts +0 -11
- package/dist/types/Components/Templates/index.d.ts +0 -8
- package/dist/types/Components/Typography/ErrorText.d.ts +0 -5
- package/dist/types/Components/Typography/Subtitle.d.ts +0 -6
- package/dist/types/Utils/FormatTags.d.ts +0 -2
- package/dist/types/Utils/GetValue.d.ts +0 -1
- package/dist/types/Utils/HashTagRegex.d.ts +0 -1
- package/dist/types/Utils/MarkerIconFactory.d.ts +0 -2
- package/dist/types/Utils/Moon.d.ts +0 -7
- package/dist/types/Utils/RandomColor.d.ts +0 -1
- package/dist/types/Utils/ReplaceURLs.d.ts +0 -3
- package/dist/types/Utils/ReverseGeocoder.d.ts +0 -1
- package/dist/types/Utils/TimeAgo.d.ts +0 -1
- package/dist/types/index.d.ts +0 -13
- package/dist/types/types.d.ts +0 -169
- package/dist/types.d.ts +0 -169
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "utopia-ui",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.44",
|
4
4
|
"description": "Reuseable React Components to build mapping apps for real life communities and networks",
|
5
5
|
"repository": "https://github.com/utopia-os/utopia-ui",
|
6
6
|
"homepage:": "https://utopia-os.org/",
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { AssetsApi } from '#types/AssetsApi';
|
2
|
-
export declare function AppShell({ appName, children, assetsApi, userType, }: {
|
3
|
-
appName: string;
|
4
|
-
children: React.ReactNode;
|
5
|
-
assetsApi: AssetsApi;
|
6
|
-
userType: string;
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
type route = {
|
2
|
-
path: string;
|
3
|
-
icon: JSX.Element;
|
4
|
-
name: string;
|
5
|
-
submenu?: route;
|
6
|
-
blank?: boolean;
|
7
|
-
};
|
8
|
-
export declare function SideBar({ routes, bottomRoutes }: {
|
9
|
-
routes: route[];
|
10
|
-
bottomRoutes?: route[];
|
11
|
-
}): import("react/jsx-runtime").JSX.Element;
|
12
|
-
export {};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import type { AssetsApi } from '#types/AssetsApi';
|
2
|
-
interface AppState {
|
3
|
-
assetsApi: AssetsApi;
|
4
|
-
userType: string;
|
5
|
-
}
|
6
|
-
type UseAppManagerResult = ReturnType<typeof useAppManager>;
|
7
|
-
declare function useAppManager(): {
|
8
|
-
state: AppState;
|
9
|
-
setAppState: (newState: Partial<AppState>) => void;
|
10
|
-
};
|
11
|
-
export declare const AppStateProvider: React.FunctionComponent<{
|
12
|
-
children?: React.ReactNode;
|
13
|
-
}>;
|
14
|
-
export declare const useAppState: () => AppState;
|
15
|
-
export declare const useSetAppState: () => UseAppManagerResult["setAppState"];
|
16
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import type { AssetsApi } from '#types/AssetsApi';
|
2
|
-
type UseAssetManagerResult = ReturnType<typeof useAssetsManager>;
|
3
|
-
declare function useAssetsManager(): {
|
4
|
-
api: AssetsApi;
|
5
|
-
setAssetsApi: (api: AssetsApi) => void;
|
6
|
-
};
|
7
|
-
export declare const AssetsProvider: React.FunctionComponent<{
|
8
|
-
children?: React.ReactNode;
|
9
|
-
}>;
|
10
|
-
export declare const useAssetApi: () => AssetsApi;
|
11
|
-
export declare const useSetAssetApi: () => UseAssetManagerResult["setAssetsApi"];
|
12
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function LoginPage(): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function SetNewPasswordPage(): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function SignupPage(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import type { UserApi } from '#types/UserApi';
|
2
|
-
import type { UserItem } from '#types/UserItem';
|
3
|
-
interface AuthProviderProps {
|
4
|
-
userApi: UserApi;
|
5
|
-
children?: React.ReactNode;
|
6
|
-
}
|
7
|
-
interface AuthCredentials {
|
8
|
-
email: string;
|
9
|
-
password: string;
|
10
|
-
otp?: string | undefined;
|
11
|
-
}
|
12
|
-
interface AuthContextProps {
|
13
|
-
isAuthenticated: boolean;
|
14
|
-
user: UserItem | null;
|
15
|
-
login: (credentials: AuthCredentials) => Promise<UserItem | undefined>;
|
16
|
-
register: (credentials: AuthCredentials, userName: string) => Promise<UserItem | undefined>;
|
17
|
-
loading: boolean;
|
18
|
-
logout: () => Promise<any>;
|
19
|
-
updateUser: (user: UserItem) => any;
|
20
|
-
token: string | null;
|
21
|
-
requestPasswordReset: (email: string, reset_url: string) => Promise<any>;
|
22
|
-
passwordReset: (token: string, new_password: string) => Promise<any>;
|
23
|
-
}
|
24
|
-
export declare const AuthProvider: ({ userApi, children }: AuthProviderProps) => import("react/jsx-runtime").JSX.Element;
|
25
|
-
export declare const useAuth: () => AuthContextProps;
|
26
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function Quests(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
type UseQuestManagerResult = ReturnType<typeof useQuestsManager>;
|
2
|
-
declare function useQuestsManager(initialOpen: boolean): {
|
3
|
-
open: boolean;
|
4
|
-
setQuestsOpen: (open: boolean) => void;
|
5
|
-
};
|
6
|
-
export declare const QuestsProvider: React.FunctionComponent<{
|
7
|
-
initialOpen: boolean;
|
8
|
-
children?: React.ReactNode;
|
9
|
-
}>;
|
10
|
-
export declare const useQuestsOpen: () => boolean;
|
11
|
-
export declare const useSetQuestOpen: () => UseQuestManagerResult["setQuestsOpen"];
|
12
|
-
export {};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export declare const Autocomplete: ({ inputProps, suggestions, onSelected, pushFilteredSuggestions, setFocus, }: {
|
2
|
-
inputProps: any;
|
3
|
-
suggestions: any[];
|
4
|
-
onSelected: (suggestion: any) => void;
|
5
|
-
pushFilteredSuggestions?: any[];
|
6
|
-
setFocus?: boolean;
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
interface ComboBoxProps {
|
2
|
-
id?: string;
|
3
|
-
options: string[];
|
4
|
-
value: string;
|
5
|
-
onValueChange: (newValue: string) => void;
|
6
|
-
}
|
7
|
-
declare const ComboBoxInput: ({ id, options, value, onValueChange }: ComboBoxProps) => import("react/jsx-runtime").JSX.Element;
|
8
|
-
export default ComboBoxInput;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
type SelectBoxProps = {
|
2
|
-
labelTitle?: string;
|
3
|
-
labelStyle?: string;
|
4
|
-
type?: string;
|
5
|
-
containerStyle?: string;
|
6
|
-
defaultValue: string;
|
7
|
-
placeholder?: string;
|
8
|
-
updateFormValue: (value: string) => void;
|
9
|
-
options: {
|
10
|
-
name: string;
|
11
|
-
value: string;
|
12
|
-
}[];
|
13
|
-
labelDescription?: string;
|
14
|
-
};
|
15
|
-
export declare function SelectBox(props: SelectBoxProps): import("react/jsx-runtime").JSX.Element;
|
16
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
type TextAreaProps = {
|
2
|
-
labelTitle?: string;
|
3
|
-
labelStyle?: string;
|
4
|
-
containerStyle?: string;
|
5
|
-
dataField?: string;
|
6
|
-
inputStyle?: string;
|
7
|
-
defaultValue: string;
|
8
|
-
placeholder?: string;
|
9
|
-
required?: boolean;
|
10
|
-
updateFormValue?: (value: string) => void;
|
11
|
-
};
|
12
|
-
export declare function TextAreaInput({ labelTitle, dataField, labelStyle, containerStyle, inputStyle, defaultValue, placeholder, required, updateFormValue, }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
|
13
|
-
export {};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
type InputTextProps = {
|
2
|
-
labelTitle?: string;
|
3
|
-
labelStyle?: string;
|
4
|
-
type?: string;
|
5
|
-
dataField?: string;
|
6
|
-
containerStyle?: string;
|
7
|
-
inputStyle?: string;
|
8
|
-
defaultValue?: string;
|
9
|
-
placeholder?: string;
|
10
|
-
autocomplete?: string;
|
11
|
-
pattern?: string;
|
12
|
-
required?: boolean;
|
13
|
-
updateFormValue?: (value: string) => void;
|
14
|
-
};
|
15
|
-
export declare function TextInput({ labelTitle, labelStyle, type, dataField, containerStyle, inputStyle, defaultValue, placeholder, autocomplete, pattern, required, updateFormValue, }: InputTextProps): import("react/jsx-runtime").JSX.Element;
|
16
|
-
export {};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
export declare const ItemForm: {
|
3
|
-
({ children, item, title, setPopupTitle, }: {
|
4
|
-
children?: React.ReactNode;
|
5
|
-
item?: Item;
|
6
|
-
title?: string;
|
7
|
-
setPopupTitle?: React.Dispatch<React.SetStateAction<string>>;
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
9
|
-
propTypes: {
|
10
|
-
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
11
|
-
__TYPE: import("prop-types").Requireable<string>;
|
12
|
-
};
|
13
|
-
defaultProps: {
|
14
|
-
__TYPE: string;
|
15
|
-
};
|
16
|
-
};
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
export declare const ItemView: {
|
3
|
-
({ children, item }: {
|
4
|
-
children?: React.ReactNode;
|
5
|
-
item?: Item;
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
7
|
-
propTypes: {
|
8
|
-
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
9
|
-
__TYPE: import("prop-types").Requireable<string>;
|
10
|
-
};
|
11
|
-
defaultProps: {
|
12
|
-
__TYPE: string;
|
13
|
-
};
|
14
|
-
};
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import type { LayerProps } from '#types/LayerProps';
|
2
|
-
export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, markerDefaultColor2, api, itemType, onlyOnePerOwner, customEditLink, customEditParameter, public_edit_items, listed, setItemFormPopup, itemFormPopup, clusterRef, }: LayerProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { ItemsApi } from '#types/ItemsApi';
|
2
|
-
import type { Permission } from '#types/Permission';
|
3
|
-
export declare function Permissions({ data, api, adminRole, }: {
|
4
|
-
data?: Permission[];
|
5
|
-
api?: ItemsApi<Permission>;
|
6
|
-
adminRole?: string;
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function FilterControl(): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const GratitudeControl: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function LayerControl(): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function QuestControl(): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const SearchControl: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const SidebarControl: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const TagsControl: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
import type { ItemsApi } from '#types/ItemsApi';
|
3
|
-
export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, loading, hideMenu, big, truncateSubname, hideSubname, showAddress, }: {
|
4
|
-
item: Item;
|
5
|
-
api?: ItemsApi<any>;
|
6
|
-
editCallback?: any;
|
7
|
-
deleteCallback?: any;
|
8
|
-
setPositionCallback?: any;
|
9
|
-
itemNameField?: string;
|
10
|
-
itemAvatarField?: string;
|
11
|
-
itemSubnameField?: string;
|
12
|
-
loading?: boolean;
|
13
|
-
hideMenu?: boolean;
|
14
|
-
big?: boolean;
|
15
|
-
hideSubname?: boolean;
|
16
|
-
truncateSubname?: boolean;
|
17
|
-
showAddress?: boolean;
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
interface StartEndInputProps {
|
3
|
-
item?: Item;
|
4
|
-
showLabels?: boolean;
|
5
|
-
updateStartValue?: (value: string) => void;
|
6
|
-
updateEndValue?: (value: string) => void;
|
7
|
-
}
|
8
|
-
export declare const PopupStartEndInput: ({ item, showLabels, updateStartValue, updateEndValue, }: StartEndInputProps) => import("react/jsx-runtime").JSX.Element;
|
9
|
-
export {};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
import type { ItemFormPopupProps } from '#types/ItemFormPopupProps';
|
3
|
-
export interface ItemViewPopupProps {
|
4
|
-
item: Item;
|
5
|
-
children?: React.ReactNode;
|
6
|
-
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
|
7
|
-
}
|
8
|
-
export declare const ItemViewPopup: import("react").ForwardRefExoticComponent<ItemViewPopupProps & import("react").RefAttributes<unknown>>;
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import type { UtopiaMapProps } from '#types/UtopiaMapProps';
|
2
|
-
import 'react-toastify/dist/ReactToastify.css';
|
3
|
-
declare function UtopiaMap({ height, width, center, zoom, children, geo, showFilterControl, showGratitudeControl, showLayerControl, infoText, }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
|
4
|
-
export { UtopiaMap };
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import 'leaflet/dist/leaflet.css';
|
2
|
-
import './UtopiaMap.css';
|
3
|
-
import type { UtopiaMapProps } from '#types/UtopiaMapProps';
|
4
|
-
export declare function UtopiaMapInner({ children, geo, showFilterControl, showGratitudeControl, showLayerControl, infoText, }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
type UseClusterRefManagerResult = ReturnType<typeof useClusterRefManager>;
|
2
|
-
declare function useClusterRefManager(): {
|
3
|
-
clusterRef: any;
|
4
|
-
setClusterRef: React.Dispatch<React.SetStateAction<React.MutableRefObject<undefined>>>;
|
5
|
-
};
|
6
|
-
export declare const ClusterRefProvider: React.FunctionComponent<{
|
7
|
-
children?: React.ReactNode;
|
8
|
-
}>;
|
9
|
-
export declare const useClusterRef: () => any;
|
10
|
-
export declare const useSetClusterRef: () => UseClusterRefManagerResult["setClusterRef"];
|
11
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useDebounce: (callback: any, delay: any, deps: any) => void;
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import type { LayerProps } from '#types/LayerProps';
|
2
|
-
import type { Tag } from '#types/Tag';
|
3
|
-
type UseFilterManagerResult = ReturnType<typeof useFilterManager>;
|
4
|
-
declare function useFilterManager(initialTags: Tag[]): {
|
5
|
-
filterTags: Tag[];
|
6
|
-
searchPhrase: string;
|
7
|
-
visibleLayers: LayerProps[];
|
8
|
-
visibleGroupTypes: string[];
|
9
|
-
addFilterTag: (tag: Tag) => void;
|
10
|
-
removeFilterTag: (name: string) => void;
|
11
|
-
resetFilterTags: () => void;
|
12
|
-
setSearchPhrase: (phrase: string) => void;
|
13
|
-
addVisibleLayer: (layer: LayerProps) => void;
|
14
|
-
toggleVisibleLayer: (layer: LayerProps) => void;
|
15
|
-
resetVisibleLayers: () => void;
|
16
|
-
isLayerVisible: (layer: LayerProps) => boolean;
|
17
|
-
addVisibleGroupType: (groupType: string) => void;
|
18
|
-
toggleVisibleGroupType: (groupType: string) => void;
|
19
|
-
isGroupTypeVisible: (groupType: string) => boolean;
|
20
|
-
};
|
21
|
-
export declare const FilterProvider: React.FunctionComponent<{
|
22
|
-
initialTags: Tag[];
|
23
|
-
children?: React.ReactNode;
|
24
|
-
}>;
|
25
|
-
export declare const useFilterTags: () => Tag[];
|
26
|
-
export declare const useAddFilterTag: () => UseFilterManagerResult["addFilterTag"];
|
27
|
-
export declare const useRemoveFilterTag: () => UseFilterManagerResult["removeFilterTag"];
|
28
|
-
export declare const useResetFilterTags: () => UseFilterManagerResult["resetFilterTags"];
|
29
|
-
export declare const useSearchPhrase: () => UseFilterManagerResult["searchPhrase"];
|
30
|
-
export declare const useSetSearchPhrase: () => UseFilterManagerResult["setSearchPhrase"];
|
31
|
-
export declare const useVisibleLayer: () => UseFilterManagerResult["visibleLayers"];
|
32
|
-
export declare const useAddVisibleLayer: () => UseFilterManagerResult["addVisibleLayer"];
|
33
|
-
export declare const useToggleVisibleLayer: () => UseFilterManagerResult["toggleVisibleLayer"];
|
34
|
-
export declare const useResetVisibleLayers: () => UseFilterManagerResult["resetVisibleLayers"];
|
35
|
-
export declare const useIsLayerVisible: () => UseFilterManagerResult["isLayerVisible"];
|
36
|
-
export declare const useAddVisibleGroupType: () => UseFilterManagerResult["addVisibleGroupType"];
|
37
|
-
export declare const useToggleVisibleGroupType: () => UseFilterManagerResult["toggleVisibleGroupType"];
|
38
|
-
export declare const useIsGroupTypeVisible: () => UseFilterManagerResult["isGroupTypeVisible"];
|
39
|
-
export declare const useVisibleGroupType: () => UseFilterManagerResult["visibleGroupTypes"];
|
40
|
-
export {};
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
import type { LayerProps } from '#types/LayerProps';
|
3
|
-
type UseItemManagerResult = ReturnType<typeof useItemsManager>;
|
4
|
-
declare function useItemsManager(initialItems: Item[]): {
|
5
|
-
items: Item[];
|
6
|
-
addItem: (item: Item) => void;
|
7
|
-
updateItem: (item: Item) => void;
|
8
|
-
removeItem: (item: Item) => void;
|
9
|
-
resetItems: (layer: LayerProps) => void;
|
10
|
-
setItemsApi: (layer: LayerProps) => void;
|
11
|
-
setItemsData: (layer: LayerProps) => void;
|
12
|
-
allItemsLoaded: boolean;
|
13
|
-
};
|
14
|
-
export declare const ItemsProvider: React.FunctionComponent<{
|
15
|
-
initialItems: Item[];
|
16
|
-
children?: React.ReactNode;
|
17
|
-
}>;
|
18
|
-
export declare const useItems: () => Item[];
|
19
|
-
export declare const useAddItem: () => UseItemManagerResult["addItem"];
|
20
|
-
export declare const useUpdateItem: () => UseItemManagerResult["updateItem"];
|
21
|
-
export declare const useRemoveItem: () => UseItemManagerResult["removeItem"];
|
22
|
-
export declare const useResetItems: () => UseItemManagerResult["resetItems"];
|
23
|
-
export declare const useSetItemsApi: () => UseItemManagerResult["setItemsApi"];
|
24
|
-
export declare const useSetItemsData: () => UseItemManagerResult["setItemsData"];
|
25
|
-
export declare const useAllItemsLoaded: () => UseItemManagerResult["allItemsLoaded"];
|
26
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { LayerProps } from '#types/LayerProps';
|
2
|
-
type UseItemManagerResult = ReturnType<typeof useLayerManager>;
|
3
|
-
declare function useLayerManager(initialLayers: LayerProps[]): {
|
4
|
-
layers: LayerProps[];
|
5
|
-
addLayer: (layer: LayerProps) => void;
|
6
|
-
};
|
7
|
-
export declare const LayersProvider: React.FunctionComponent<{
|
8
|
-
initialLayers: LayerProps[];
|
9
|
-
children?: React.ReactNode;
|
10
|
-
}>;
|
11
|
-
export declare const useLayers: () => LayerProps[];
|
12
|
-
export declare const useAddLayer: () => UseItemManagerResult["addLayer"];
|
13
|
-
export {};
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
import type { Marker, Popup } from 'leaflet';
|
3
|
-
interface LeafletRef {
|
4
|
-
item: Item;
|
5
|
-
marker: Marker;
|
6
|
-
popup: Popup;
|
7
|
-
}
|
8
|
-
type UseLeafletRefsManagerResult = ReturnType<typeof useLeafletRefsManager>;
|
9
|
-
declare function useLeafletRefsManager(initialLeafletRefs: {}): {
|
10
|
-
leafletRefs: Record<string, LeafletRef>;
|
11
|
-
addMarker: (item: Item, marker: Marker) => void;
|
12
|
-
addPopup: (item: Item, popup: Popup) => void;
|
13
|
-
};
|
14
|
-
export declare const LeafletRefsProvider: React.FunctionComponent<{
|
15
|
-
initialLeafletRefs: {};
|
16
|
-
children?: React.ReactNode;
|
17
|
-
}>;
|
18
|
-
export declare const useLeafletRefs: () => Record<string, LeafletRef>;
|
19
|
-
export declare const useAddMarker: () => UseLeafletRefsManagerResult["addMarker"];
|
20
|
-
export declare const useAddPopup: () => UseLeafletRefsManagerResult["addPopup"];
|
21
|
-
export {};
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
import type { ItemsApi } from '#types/ItemsApi';
|
3
|
-
import type { LayerProps } from '#types/LayerProps';
|
4
|
-
import type { Permission } from '#types/Permission';
|
5
|
-
import type { PermissionAction } from '#types/PermissionAction';
|
6
|
-
type UsePermissionManagerResult = ReturnType<typeof usePermissionsManager>;
|
7
|
-
declare function usePermissionsManager(initialPermissions: Permission[]): {
|
8
|
-
permissions: Permission[];
|
9
|
-
setPermissionApi: (api: ItemsApi<any>) => void;
|
10
|
-
setPermissionData: (data: Permission[]) => void;
|
11
|
-
setAdminRole: (adminRole: string) => void;
|
12
|
-
hasUserPermission: (collectionName: string, action: PermissionAction, item?: Item, layer?: LayerProps) => boolean;
|
13
|
-
};
|
14
|
-
export declare const PermissionsProvider: React.FunctionComponent<{
|
15
|
-
initialPermissions: Permission[];
|
16
|
-
children?: React.ReactNode;
|
17
|
-
}>;
|
18
|
-
export declare const usePermissions: () => Permission[];
|
19
|
-
export declare const useSetPermissionApi: () => UsePermissionManagerResult["setPermissionApi"];
|
20
|
-
export declare const useSetPermissionData: () => UsePermissionManagerResult["setPermissionData"];
|
21
|
-
export declare const useHasUserPermission: () => UsePermissionManagerResult["hasUserPermission"];
|
22
|
-
export declare const useSetAdminRole: () => UsePermissionManagerResult["setAdminRole"];
|
23
|
-
export {};
|