utopia-ui 3.0.44 → 3.0.46
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/index.js +4795 -4795
- package/dist/index.js.map +1 -1
- package/dist/setupTest.d.ts +1 -1
- package/dist/src/Components/AppShell/AppShell.d.ts +8 -7
- package/dist/src/Components/AppShell/Content.d.ts +6 -5
- package/dist/src/Components/AppShell/ContextWrapper.d.ts +6 -6
- package/dist/src/Components/AppShell/NavBar.d.ts +4 -4
- package/dist/src/Components/AppShell/SetAppState.d.ts +5 -5
- package/dist/src/Components/AppShell/SideBar.d.ts +13 -12
- package/dist/src/Components/AppShell/SidebarSubmenu.d.ts +8 -7
- package/dist/src/Components/AppShell/Sitemap.d.ts +3 -3
- package/dist/src/Components/AppShell/hooks/useAppState.d.ts +17 -16
- package/dist/src/Components/AppShell/hooks/useAssets.d.ts +13 -12
- package/dist/src/Components/AppShell/index.d.ts +4 -4
- package/dist/src/Components/Auth/LoginPage.d.ts +1 -1
- package/dist/src/Components/Auth/RequestPasswordPage.d.ts +3 -3
- package/dist/src/Components/Auth/SetNewPasswordPage.d.ts +1 -1
- package/dist/src/Components/Auth/SignupPage.d.ts +1 -1
- package/dist/src/Components/Auth/index.d.ts +5 -5
- package/dist/src/Components/Auth/useAuth.d.ts +27 -26
- package/dist/src/Components/Gaming/Modal.d.ts +5 -4
- package/dist/src/Components/Gaming/Quests.d.ts +1 -1
- package/dist/src/Components/Gaming/hooks/useQuests.d.ts +13 -12
- package/dist/src/Components/Gaming/index.d.ts +2 -2
- package/dist/src/Components/Input/Autocomplete.d.ts +7 -7
- package/dist/src/Components/Input/ComboBoxInput.d.ts +8 -8
- package/dist/src/Components/Input/SelectBox.d.ts +16 -16
- package/dist/src/Components/Input/TextAreaInput.d.ts +13 -13
- package/dist/src/Components/Input/TextInput.d.ts +16 -16
- package/dist/src/Components/Input/TextInput.spec.d.ts +1 -1
- package/dist/src/Components/Input/index.d.ts +3 -3
- package/dist/src/Components/Map/ItemForm.d.ts +17 -16
- package/dist/src/Components/Map/ItemView.d.ts +14 -14
- package/dist/src/Components/Map/Layer.d.ts +2 -2
- package/dist/src/Components/Map/Permissions.d.ts +7 -7
- package/dist/src/Components/Map/Subcomponents/AddButton.d.ts +4 -3
- package/dist/src/Components/Map/Subcomponents/Controls/Control.d.ts +6 -6
- package/dist/src/Components/Map/Subcomponents/Controls/FilterControl.d.ts +1 -1
- package/dist/src/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +1 -1
- package/dist/src/Components/Map/Subcomponents/Controls/LayerControl.d.ts +1 -1
- package/dist/src/Components/Map/Subcomponents/Controls/LocateControl.d.ts +3 -3
- package/dist/src/Components/Map/Subcomponents/Controls/QuestControl.d.ts +1 -1
- package/dist/src/Components/Map/Subcomponents/Controls/SearchControl.d.ts +1 -1
- package/dist/src/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +1 -1
- package/dist/src/Components/Map/Subcomponents/Controls/TagsControl.d.ts +1 -1
- package/dist/src/Components/Map/Subcomponents/ItemFormPopup.d.ts +2 -2
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +18 -18
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +8 -8
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +6 -6
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +9 -9
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +7 -7
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +7 -7
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +4 -4
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +7 -7
- package/dist/src/Components/Map/Subcomponents/ItemViewPopup.d.ts +9 -8
- package/dist/src/Components/Map/Subcomponents/SelectPosition.d.ts +3 -3
- package/dist/src/Components/Map/Tags.d.ts +6 -6
- package/dist/src/Components/Map/UtopiaMap.d.ts +4 -4
- package/dist/src/Components/Map/UtopiaMapInner.d.ts +4 -4
- package/dist/src/Components/Map/hooks/useClusterRef.d.ts +12 -11
- package/dist/src/Components/Map/hooks/useDebounce.d.ts +1 -1
- package/dist/src/Components/Map/hooks/useFilter.d.ts +41 -40
- package/dist/src/Components/Map/hooks/useItems.d.ts +27 -26
- package/dist/src/Components/Map/hooks/useLayers.d.ts +14 -13
- package/dist/src/Components/Map/hooks/useLeafletRefs.d.ts +22 -21
- package/dist/src/Components/Map/hooks/usePermissions.d.ts +24 -23
- package/dist/src/Components/Map/hooks/useSelectPosition.d.ts +24 -23
- package/dist/src/Components/Map/hooks/useTags.d.ts +24 -23
- package/dist/src/Components/Map/hooks/useTimeout.d.ts +4 -4
- package/dist/src/Components/Map/hooks/useWindowDimension.d.ts +4 -4
- package/dist/src/Components/Map/index.d.ts +13 -13
- package/dist/src/Components/Map/setItemLocation.d.ts +1 -1
- package/dist/src/Components/Profile/ProfileForm.d.ts +1 -1
- package/dist/src/Components/Profile/ProfileView.d.ts +4 -4
- package/dist/src/Components/Profile/Subcomponents/ActionsButton.d.ts +11 -11
- package/dist/src/Components/Profile/Subcomponents/AvatarWidget.d.ts +8 -7
- package/dist/src/Components/Profile/Subcomponents/ColorPicker.d.ts +6 -6
- package/dist/src/Components/Profile/Subcomponents/ContactInfoForm.d.ts +5 -5
- package/dist/src/Components/Profile/Subcomponents/ContactInfoView.d.ts +5 -5
- package/dist/src/Components/Profile/Subcomponents/FormHeader.d.ts +5 -5
- package/dist/src/Components/Profile/Subcomponents/GalleryView.d.ts +6 -6
- package/dist/src/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +6 -6
- package/dist/src/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +18 -18
- package/dist/src/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +10 -10
- package/dist/src/Components/Profile/Subcomponents/MarkdownHint.d.ts +1 -1
- package/dist/src/Components/Profile/Subcomponents/PlusButton.d.ts +7 -7
- package/dist/src/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +5 -5
- package/dist/src/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +4 -4
- package/dist/src/Components/Profile/Subcomponents/ProfileTextForm.d.ts +10 -10
- package/dist/src/Components/Profile/Subcomponents/ProfileTextView.d.ts +7 -7
- package/dist/src/Components/Profile/Subcomponents/RelationCard.d.ts +6 -6
- package/dist/src/Components/Profile/Subcomponents/SocialShareBar.d.ts +6 -6
- package/dist/src/Components/Profile/Subcomponents/SocialShareButton.d.ts +6 -6
- package/dist/src/Components/Profile/Subcomponents/TagsWidget.d.ts +6 -6
- package/dist/src/Components/Profile/Templates/FlexForm.d.ts +7 -7
- package/dist/src/Components/Profile/Templates/FlexView.d.ts +4 -4
- package/dist/src/Components/Profile/Templates/OnepagerForm.d.ts +7 -7
- package/dist/src/Components/Profile/Templates/OnepagerView.d.ts +4 -4
- package/dist/src/Components/Profile/Templates/SimpleForm.d.ts +4 -4
- package/dist/src/Components/Profile/Templates/SimpleView.d.ts +4 -4
- package/dist/src/Components/Profile/Templates/TabsForm.d.ts +10 -10
- package/dist/src/Components/Profile/Templates/TabsView.d.ts +13 -13
- package/dist/src/Components/Profile/UserSettings.d.ts +1 -1
- package/dist/src/Components/Profile/hooks/useClickOutside.d.ts +2 -2
- package/dist/src/Components/Profile/index.d.ts +4 -4
- package/dist/src/Components/Profile/itemFunctions.d.ts +5 -5
- package/dist/src/Components/Templates/AttestationForm.d.ts +4 -4
- package/dist/src/Components/Templates/CardPage.d.ts +10 -9
- package/dist/src/Components/Templates/CircleLayout.d.ts +5 -5
- package/dist/src/Components/Templates/DateUserInfo.d.ts +4 -4
- package/dist/src/Components/Templates/DialogModal.d.ts +12 -11
- package/dist/src/Components/Templates/EmojiPicker.d.ts +10 -10
- package/dist/src/Components/Templates/ItemCard.d.ts +8 -8
- package/dist/src/Components/Templates/MapOverlayPage.d.ts +7 -6
- package/dist/src/Components/Templates/MarketView.d.ts +1 -1
- package/dist/src/Components/Templates/MoonCalendar.d.ts +1 -1
- package/dist/src/Components/Templates/OverlayItemsIndexPage.d.ts +6 -6
- package/dist/src/Components/Templates/SelectUser.d.ts +1 -1
- package/dist/src/Components/Templates/TagView.d.ts +7 -7
- package/dist/src/Components/Templates/TitleCard.d.ts +11 -10
- package/dist/src/Components/Templates/index.d.ts +8 -8
- package/dist/src/Components/Typography/ErrorText.d.ts +5 -5
- package/dist/src/Components/Typography/Subtitle.d.ts +6 -5
- package/dist/src/Utils/ContainsUUID.d.ts +1 -1
- package/dist/src/Utils/FormatTags.d.ts +2 -2
- package/dist/src/Utils/GetValue.d.ts +1 -1
- package/dist/src/Utils/HashTagRegex.d.ts +1 -1
- package/dist/src/Utils/MarkerIconFactory.d.ts +2 -2
- package/dist/src/Utils/Moon.d.ts +7 -7
- package/dist/src/Utils/RandomColor.d.ts +1 -1
- package/dist/src/Utils/ReplaceURLs.d.ts +3 -3
- package/dist/src/Utils/ReverseGeocoder.d.ts +1 -1
- package/dist/src/Utils/TimeAgo.d.ts +1 -1
- package/dist/src/index.d.ts +15 -15
- package/dist/vite.config.d.ts +2 -2
- package/package.json +2 -2
package/dist/setupTest.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import '@testing-library/jest-dom';
|
1
|
+
import '@testing-library/jest-dom';
|
@@ -1,7 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { AssetsApi } from '#types/AssetsApi';
|
3
|
+
export declare function AppShell({ appName, children, assetsApi, userType, }: {
|
4
|
+
appName: string;
|
5
|
+
children: React.ReactNode;
|
6
|
+
assetsApi: AssetsApi;
|
7
|
+
userType: string;
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1,5 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
export {};
|
1
|
+
/// <reference types="react" />
|
2
|
+
type ContentProps = {
|
3
|
+
children?: React.ReactNode;
|
4
|
+
};
|
5
|
+
export declare function Content({ children }: ContentProps): import("react/jsx-runtime").JSX.Element;
|
6
|
+
export {};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export declare const ContextWrapper: ({ children }: {
|
2
|
-
children: any;
|
3
|
-
}) => any;
|
4
|
-
export declare const Wrappers: ({ children }: {
|
5
|
-
children: any;
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare const ContextWrapper: ({ children }: {
|
2
|
+
children: any;
|
3
|
+
}) => any;
|
4
|
+
export declare const Wrappers: ({ children }: {
|
5
|
+
children: any;
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export default function NavBar({ appName, userType }: {
|
2
|
-
appName: string;
|
3
|
-
userType: string;
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export default function NavBar({ appName, userType }: {
|
2
|
+
appName: string;
|
3
|
+
userType: string;
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { AssetsApi } from '#types/AssetsApi';
|
2
|
-
export declare const SetAppState: ({ assetsApi, userType, }: {
|
3
|
-
assetsApi: AssetsApi;
|
4
|
-
userType: string;
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { AssetsApi } from '#types/AssetsApi';
|
2
|
+
export declare const SetAppState: ({ assetsApi, userType, }: {
|
3
|
+
assetsApi: AssetsApi;
|
4
|
+
userType: string;
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,12 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
type route = {
|
3
|
+
path: string;
|
4
|
+
icon: JSX.Element;
|
5
|
+
name: string;
|
6
|
+
submenu?: route;
|
7
|
+
blank?: boolean;
|
8
|
+
};
|
9
|
+
export declare function SideBar({ routes, bottomRoutes }: {
|
10
|
+
routes: route[];
|
11
|
+
bottomRoutes?: route[];
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
13
|
+
export {};
|
@@ -1,7 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare function SidebarSubmenu({ submenu, name, icon, }: {
|
3
|
+
path: string;
|
4
|
+
icon: JSX.Element;
|
5
|
+
name: string;
|
6
|
+
submenu?: any | undefined;
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
8
|
+
export default SidebarSubmenu;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export declare const Sitemap: ({ url }: {
|
2
|
-
url: string;
|
3
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare const Sitemap: ({ url }: {
|
2
|
+
url: string;
|
3
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,16 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
export declare const
|
16
|
-
export
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { AssetsApi } from '#types/AssetsApi';
|
3
|
+
interface AppState {
|
4
|
+
assetsApi: AssetsApi;
|
5
|
+
userType: string;
|
6
|
+
}
|
7
|
+
type UseAppManagerResult = ReturnType<typeof useAppManager>;
|
8
|
+
declare function useAppManager(): {
|
9
|
+
state: AppState;
|
10
|
+
setAppState: (newState: Partial<AppState>) => void;
|
11
|
+
};
|
12
|
+
export declare const AppStateProvider: React.FunctionComponent<{
|
13
|
+
children?: React.ReactNode;
|
14
|
+
}>;
|
15
|
+
export declare const useAppState: () => AppState;
|
16
|
+
export declare const useSetAppState: () => UseAppManagerResult['setAppState'];
|
17
|
+
export {};
|
@@ -1,12 +1,13 @@
|
|
1
|
-
|
2
|
-
type
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
export declare const
|
12
|
-
export
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { AssetsApi } from '#types/AssetsApi';
|
3
|
+
type UseAssetManagerResult = ReturnType<typeof useAssetsManager>;
|
4
|
+
declare function useAssetsManager(): {
|
5
|
+
api: AssetsApi;
|
6
|
+
setAssetsApi: (api: AssetsApi) => void;
|
7
|
+
};
|
8
|
+
export declare const AssetsProvider: React.FunctionComponent<{
|
9
|
+
children?: React.ReactNode;
|
10
|
+
}>;
|
11
|
+
export declare const useAssetApi: () => AssetsApi;
|
12
|
+
export declare const useSetAssetApi: () => UseAssetManagerResult['setAssetsApi'];
|
13
|
+
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { AppShell } from './AppShell';
|
2
|
-
export { SideBar } from './SideBar';
|
3
|
-
export { Content } from './Content';
|
4
|
-
export { Sitemap } from './Sitemap';
|
1
|
+
export { AppShell } from './AppShell';
|
2
|
+
export { SideBar } from './SideBar';
|
3
|
+
export { Content } from './Content';
|
4
|
+
export { Sitemap } from './Sitemap';
|
@@ -1 +1 @@
|
|
1
|
-
export declare function LoginPage(): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare function LoginPage(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export declare function RequestPasswordPage({ resetUrl }: {
|
2
|
-
resetUrl: any;
|
3
|
-
}): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare function RequestPasswordPage({ resetUrl }: {
|
2
|
+
resetUrl: any;
|
3
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +1 @@
|
|
1
|
-
export declare function SetNewPasswordPage(): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare function SetNewPasswordPage(): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +1 @@
|
|
1
|
-
export declare function SignupPage(): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare function SignupPage(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export { AuthProvider, useAuth } from './useAuth';
|
2
|
-
export { LoginPage } from './LoginPage';
|
3
|
-
export { SignupPage } from './SignupPage';
|
4
|
-
export { RequestPasswordPage } from './RequestPasswordPage';
|
5
|
-
export { SetNewPasswordPage } from './SetNewPasswordPage';
|
1
|
+
export { AuthProvider, useAuth } from './useAuth';
|
2
|
+
export { LoginPage } from './LoginPage';
|
3
|
+
export { SignupPage } from './SignupPage';
|
4
|
+
export { RequestPasswordPage } from './RequestPasswordPage';
|
5
|
+
export { SetNewPasswordPage } from './SetNewPasswordPage';
|
@@ -1,26 +1,27 @@
|
|
1
|
-
|
2
|
-
import type {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
export declare const
|
26
|
-
export
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { UserApi } from '#types/UserApi';
|
3
|
+
import type { UserItem } from '#types/UserItem';
|
4
|
+
interface AuthProviderProps {
|
5
|
+
userApi: UserApi;
|
6
|
+
children?: React.ReactNode;
|
7
|
+
}
|
8
|
+
interface AuthCredentials {
|
9
|
+
email: string;
|
10
|
+
password: string;
|
11
|
+
otp?: string | undefined;
|
12
|
+
}
|
13
|
+
interface AuthContextProps {
|
14
|
+
isAuthenticated: boolean;
|
15
|
+
user: UserItem | null;
|
16
|
+
login: (credentials: AuthCredentials) => Promise<UserItem | undefined>;
|
17
|
+
register: (credentials: AuthCredentials, userName: string) => Promise<UserItem | undefined>;
|
18
|
+
loading: boolean;
|
19
|
+
logout: () => Promise<any>;
|
20
|
+
updateUser: (user: UserItem) => any;
|
21
|
+
token: string | null;
|
22
|
+
requestPasswordReset: (email: string, reset_url: string) => Promise<any>;
|
23
|
+
passwordReset: (token: string, new_password: string) => Promise<any>;
|
24
|
+
}
|
25
|
+
export declare const AuthProvider: ({ userApi, children }: AuthProviderProps) => import("react/jsx-runtime").JSX.Element;
|
26
|
+
export declare const useAuth: () => AuthContextProps;
|
27
|
+
export {};
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare function Modal({ children, showOnStartup, }: {
|
3
|
+
children: React.ReactNode;
|
4
|
+
showOnStartup?: boolean;
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +1 @@
|
|
1
|
-
export declare function Quests(): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare function Quests(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,12 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
export declare const
|
12
|
-
export
|
1
|
+
/// <reference types="react" />
|
2
|
+
type UseQuestManagerResult = ReturnType<typeof useQuestsManager>;
|
3
|
+
declare function useQuestsManager(initialOpen: boolean): {
|
4
|
+
open: boolean;
|
5
|
+
setQuestsOpen: (open: boolean) => void;
|
6
|
+
};
|
7
|
+
export declare const QuestsProvider: React.FunctionComponent<{
|
8
|
+
initialOpen: boolean;
|
9
|
+
children?: React.ReactNode;
|
10
|
+
}>;
|
11
|
+
export declare const useQuestsOpen: () => boolean;
|
12
|
+
export declare const useSetQuestOpen: () => UseQuestManagerResult['setQuestsOpen'];
|
13
|
+
export {};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { Modal } from './Modal';
|
2
|
-
export { Quests } from './Quests';
|
1
|
+
export { Modal } from './Modal';
|
2
|
+
export { Quests } from './Quests';
|
@@ -1,7 +1,7 @@
|
|
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
|
+
export declare const Autocomplete: ({ inputProps, suggestions, onSelected, pushFilteredSuggestions, setFocus, }: {
|
2
|
+
inputProps: any;
|
3
|
+
suggestions: any[];
|
4
|
+
onSelected: (suggestion: any) => void;
|
5
|
+
pushFilteredSuggestions?: any[] | undefined;
|
6
|
+
setFocus?: boolean | undefined;
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,8 +1,8 @@
|
|
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
|
+
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 +1,16 @@
|
|
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
|
+
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 +1,13 @@
|
|
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
|
+
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 +1,16 @@
|
|
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
|
+
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 +1 @@
|
|
1
|
-
export {};
|
1
|
+
export {};
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { TextAreaInput } from './TextAreaInput';
|
2
|
-
export { TextInput } from './TextInput';
|
3
|
-
export { SelectBox } from './SelectBox';
|
1
|
+
export { TextAreaInput } from './TextAreaInput';
|
2
|
+
export { TextInput } from './TextInput';
|
3
|
+
export { SelectBox } from './SelectBox';
|
@@ -1,16 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
};
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { Item } from '#types/Item';
|
3
|
+
export declare const ItemForm: {
|
4
|
+
({ children, item, title, setPopupTitle, }: {
|
5
|
+
children?: React.ReactNode;
|
6
|
+
item?: Item | undefined;
|
7
|
+
title?: string | undefined;
|
8
|
+
setPopupTitle?: import("react").Dispatch<import("react").SetStateAction<string>> | undefined;
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
10
|
+
propTypes: {
|
11
|
+
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
12
|
+
__TYPE: import("prop-types").Requireable<string>;
|
13
|
+
};
|
14
|
+
defaultProps: {
|
15
|
+
__TYPE: string;
|
16
|
+
};
|
17
|
+
};
|
@@ -1,14 +1,14 @@
|
|
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
|
+
import type { Item } from '#types/Item';
|
2
|
+
export declare const ItemView: {
|
3
|
+
({ children, item }: {
|
4
|
+
children?: React.ReactNode;
|
5
|
+
item?: Item | undefined;
|
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 +1,2 @@
|
|
1
|
-
import type { LayerProps } from '#types/LayerProps';
|
2
|
-
export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, markerDefaultColor2, api, itemType, itemNameField, itemSubnameField, itemTextField, itemAvatarField, itemColorField, itemOwnerField, itemLatitudeField, itemLongitudeField, itemTagsField, itemOffersField, itemNeedsField, onlyOnePerOwner, customEditLink, customEditParameter, public_edit_items, listed, setItemFormPopup, itemFormPopup, clusterRef, }: LayerProps) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { LayerProps } from '#types/LayerProps';
|
2
|
+
export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, markerDefaultColor2, api, itemType, itemNameField, itemSubnameField, itemTextField, itemAvatarField, itemColorField, itemOwnerField, itemLatitudeField, itemLongitudeField, itemTagsField, itemOffersField, itemNeedsField, onlyOnePerOwner, customEditLink, customEditParameter, public_edit_items, listed, setItemFormPopup, itemFormPopup, clusterRef, }: LayerProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,7 +1,7 @@
|
|
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
|
+
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,3 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
export default function AddButton({ triggerAction, }: {
|
3
|
+
triggerAction: React.Dispatch<React.SetStateAction<any>>;
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export declare const Control: ({ position, children, zIndex, absolute, }: {
|
2
|
-
position:
|
3
|
-
children: React.ReactNode;
|
4
|
-
zIndex: string;
|
5
|
-
absolute: boolean;
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare const Control: ({ position, children, zIndex, absolute, }: {
|
2
|
+
position: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
3
|
+
children: React.ReactNode;
|
4
|
+
zIndex: string;
|
5
|
+
absolute: boolean;
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1 +1 @@
|
|
1
|
-
export declare function FilterControl(): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare function FilterControl(): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const GratitudeControl: () => import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare const GratitudeControl: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1 +1 @@
|
|
1
|
-
export declare function LayerControl(): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare function LayerControl(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import 'leaflet.locatecontrol';
|
2
|
-
import 'leaflet.locatecontrol/dist/L.Control.Locate.css';
|
3
|
-
export declare const LocateControl: () => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import 'leaflet.locatecontrol';
|
2
|
+
import 'leaflet.locatecontrol/dist/L.Control.Locate.css';
|
3
|
+
export declare const LocateControl: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1 +1 @@
|
|
1
|
-
export declare function QuestControl(): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare function QuestControl(): import("react/jsx-runtime").JSX.Element;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const SearchControl: () => import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare const SearchControl: () => import("react/jsx-runtime").JSX.Element;
|