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
@@ -1,23 +1,24 @@
|
|
1
|
-
|
2
|
-
import type {
|
3
|
-
import type {
|
4
|
-
type
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
export declare const
|
19
|
-
export declare const
|
20
|
-
export declare const
|
21
|
-
export declare const
|
22
|
-
export declare const
|
23
|
-
export
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { Item } from '#types/Item';
|
3
|
+
import type { ItemsApi } from '#types/ItemsApi';
|
4
|
+
import type { Tag } from '#types/Tag';
|
5
|
+
type UseTagManagerResult = ReturnType<typeof useTagsManager>;
|
6
|
+
declare function useTagsManager(initialTags: Tag[]): {
|
7
|
+
tags: Tag[];
|
8
|
+
addTag: (tag: Tag) => void;
|
9
|
+
setTagApi: (api: ItemsApi<Tag>) => void;
|
10
|
+
setTagData: (data: Tag[]) => void;
|
11
|
+
getItemTags: (item: Item) => Tag[];
|
12
|
+
allTagsLoaded: boolean;
|
13
|
+
};
|
14
|
+
export declare const TagsProvider: React.FunctionComponent<{
|
15
|
+
initialTags: Tag[];
|
16
|
+
children?: React.ReactNode;
|
17
|
+
}>;
|
18
|
+
export declare const useTags: () => Tag[];
|
19
|
+
export declare const useAddTag: () => UseTagManagerResult['addTag'];
|
20
|
+
export declare const useSetTagApi: () => UseTagManagerResult['setTagApi'];
|
21
|
+
export declare const useSetTagData: () => UseTagManagerResult['setTagData'];
|
22
|
+
export declare const useGetItemTags: () => UseTagManagerResult['getItemTags'];
|
23
|
+
export declare const useAllTagsLoaded: () => UseTagManagerResult['allTagsLoaded'];
|
24
|
+
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const useTimeout: (callback: any, delay: any) => {
|
2
|
-
reset: () => void;
|
3
|
-
clear: () => void;
|
4
|
-
};
|
1
|
+
export declare const useTimeout: (callback: any, delay: any) => {
|
2
|
+
reset: () => void;
|
3
|
+
clear: () => void;
|
4
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export default function useWindowDimensions(): {
|
2
|
-
width: number;
|
3
|
-
height: number;
|
4
|
-
};
|
1
|
+
export default function useWindowDimensions(): {
|
2
|
+
width: number;
|
3
|
+
height: number;
|
4
|
+
};
|
@@ -1,13 +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';
|
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';
|
@@ -1 +1 @@
|
|
1
|
-
export declare const setItemLocation: () => import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare const setItemLocation: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1 +1 @@
|
|
1
|
-
export declare function ProfileForm(): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare function ProfileForm(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ItemsApi } from '#types/ItemsApi';
|
2
|
-
export declare function ProfileView({ attestationApi }: {
|
3
|
-
attestationApi?: ItemsApi<any>;
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { ItemsApi } from '#types/ItemsApi';
|
2
|
+
export declare function ProfileView({ attestationApi }: {
|
3
|
+
attestationApi?: ItemsApi<any>;
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -1,11 +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;
|
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;
|
@@ -1,7 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
export
|
1
|
+
/// <reference types="react" />
|
2
|
+
import 'react-image-crop/dist/ReactCrop.css';
|
3
|
+
interface AvatarWidgetProps {
|
4
|
+
avatar: string;
|
5
|
+
setAvatar: React.Dispatch<React.SetStateAction<any>>;
|
6
|
+
}
|
7
|
+
export declare const AvatarWidget: React.FC<AvatarWidgetProps>;
|
8
|
+
export {};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import './ColorPicker.css';
|
2
|
-
export declare const ColorPicker: ({ color, onChange, className }: {
|
3
|
-
color: any;
|
4
|
-
onChange: any;
|
5
|
-
className: any;
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import './ColorPicker.css';
|
2
|
+
export declare const ColorPicker: ({ color, onChange, className }: {
|
3
|
+
color: any;
|
4
|
+
onChange: any;
|
5
|
+
className: any;
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { FormState } from '#types/FormState';
|
2
|
-
export declare const ContactInfoForm: ({ state, setState, }: {
|
3
|
-
state: FormState;
|
4
|
-
setState: React.Dispatch<React.SetStateAction<any>>;
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { FormState } from '#types/FormState';
|
2
|
+
export declare const ContactInfoForm: ({ state, setState, }: {
|
3
|
+
state: FormState;
|
4
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
export declare const ContactInfoView: ({ item, heading }: {
|
3
|
-
item: Item;
|
4
|
-
heading: string;
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
export declare const ContactInfoView: ({ item, heading }: {
|
3
|
+
item: Item;
|
4
|
+
heading: string;
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export declare const FormHeader: ({ item, state, setState }: {
|
2
|
-
item: any;
|
3
|
-
state: any;
|
4
|
-
setState: any;
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare const FormHeader: ({ item, state, setState }: {
|
2
|
+
item: any;
|
3
|
+
state: any;
|
4
|
+
setState: any;
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import 'yet-another-react-lightbox/styles.css';
|
2
|
-
import 'react-photo-album/rows.css';
|
3
|
-
import type { Item } from '#types/Item';
|
4
|
-
export declare const GalleryView: ({ item }: {
|
5
|
-
item: Item;
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import 'yet-another-react-lightbox/styles.css';
|
2
|
+
import 'react-photo-album/rows.css';
|
3
|
+
import type { Item } from '#types/Item';
|
4
|
+
export declare const GalleryView: ({ item }: {
|
5
|
+
item: Item;
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
export declare const GroupSubHeaderView: ({ item, shareBaseUrl, platforms, }: {
|
3
|
-
item: Item;
|
4
|
-
shareBaseUrl: string;
|
5
|
-
platforms?: string[];
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
export declare const GroupSubHeaderView: ({ item, shareBaseUrl, platforms, }: {
|
3
|
+
item: Item;
|
4
|
+
shareBaseUrl: string;
|
5
|
+
platforms?: string[] | undefined;
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,18 +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 {};
|
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[] | undefined;
|
16
|
+
groupTypes?: groupType[] | undefined;
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
18
|
+
export {};
|
@@ -1,10 +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;
|
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;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const MarkdownHint: () => import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare const MarkdownHint: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1,7 +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;
|
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;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
export declare const ProfileStartEndForm: ({ item, setState, }: {
|
3
|
-
item: Item;
|
4
|
-
setState: React.Dispatch<React.SetStateAction<any>>;
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
export declare const ProfileStartEndForm: ({ item, setState, }: {
|
3
|
+
item: Item;
|
4
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
export declare const ProfileStartEndView: ({ item }: {
|
3
|
-
item: Item;
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
export declare const ProfileStartEndView: ({ item }: {
|
3
|
+
item: Item;
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,10 +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;
|
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 | undefined;
|
6
|
+
heading: string;
|
7
|
+
size: string;
|
8
|
+
hideInputLabel: boolean;
|
9
|
+
required?: boolean | undefined;
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
export declare const ProfileTextView: ({ item, dataField, heading, hideWhenEmpty, }: {
|
3
|
-
item: Item;
|
4
|
-
dataField: string;
|
5
|
-
heading: string;
|
6
|
-
hideWhenEmpty: boolean;
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
export declare const ProfileTextView: ({ item, dataField, heading, hideWhenEmpty, }: {
|
3
|
+
item: Item;
|
4
|
+
dataField: string;
|
5
|
+
heading: string;
|
6
|
+
hideWhenEmpty: boolean;
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
declare const RelationCard: ({ title, description, imageSrc }: {
|
2
|
-
title: any;
|
3
|
-
description: any;
|
4
|
-
imageSrc: any;
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
6
|
-
export default RelationCard;
|
1
|
+
declare const RelationCard: ({ title, description, imageSrc }: {
|
2
|
+
title: any;
|
3
|
+
description: any;
|
4
|
+
imageSrc: any;
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
6
|
+
export default RelationCard;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
declare const SocialShareBar: ({ url, title, platforms, }: {
|
2
|
-
url: string;
|
3
|
-
title: string;
|
4
|
-
platforms?: string[];
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
6
|
-
export default SocialShareBar;
|
1
|
+
declare const SocialShareBar: ({ url, title, platforms, }: {
|
2
|
+
url: string;
|
3
|
+
title: string;
|
4
|
+
platforms?: string[] | undefined;
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
6
|
+
export default SocialShareBar;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
declare const SocialShareButton: ({ platform, url, title, }: {
|
2
|
-
platform: string;
|
3
|
-
url: string;
|
4
|
-
title: string;
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element | null;
|
6
|
-
export default SocialShareButton;
|
1
|
+
declare const SocialShareButton: ({ platform, url, title, }: {
|
2
|
+
platform: string;
|
3
|
+
url: string;
|
4
|
+
title: string;
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
6
|
+
export default SocialShareButton;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export declare const TagsWidget: ({ placeholder, containerStyle, defaultTags, onUpdate }: {
|
2
|
-
placeholder: any;
|
3
|
-
containerStyle: any;
|
4
|
-
defaultTags: any;
|
5
|
-
onUpdate: any;
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare const TagsWidget: ({ placeholder, containerStyle, defaultTags, onUpdate }: {
|
2
|
+
placeholder: any;
|
3
|
+
containerStyle: any;
|
4
|
+
defaultTags: any;
|
5
|
+
onUpdate: any;
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,7 +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;
|
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;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
export declare const FlexView: ({ item }: {
|
3
|
-
item: Item;
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
export declare const FlexView: ({ item }: {
|
3
|
+
item: Item;
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,7 +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;
|
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;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
export declare const OnepagerView: ({ item }: {
|
3
|
-
item: Item;
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
export declare const OnepagerView: ({ item }: {
|
3
|
+
item: Item;
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const SimpleForm: ({ state, setState }: {
|
2
|
-
state: any;
|
3
|
-
setState: any;
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare const SimpleForm: ({ state, setState }: {
|
2
|
+
state: any;
|
3
|
+
setState: any;
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Item } from '#types/Item';
|
2
|
-
export declare const SimpleView: ({ item }: {
|
3
|
-
item: Item;
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { Item } from '#types/Item';
|
2
|
+
export declare const SimpleView: ({ item }: {
|
3
|
+
item: Item;
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,10 +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;
|
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;
|
@@ -1,13 +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;
|
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;
|
@@ -1 +1 @@
|
|
1
|
-
export declare function UserSettings(): import("react/jsx-runtime").JSX.Element;
|
1
|
+
export declare function UserSettings(): import("react/jsx-runtime").JSX.Element;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const useClickOutside: (ref: any, handler: any) => void;
|
2
|
-
export default useClickOutside;
|
1
|
+
declare const useClickOutside: (ref: any, handler: any) => void;
|
2
|
+
export default useClickOutside;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { UserSettings } from './UserSettings';
|
2
|
-
export { PlusButton } from './Subcomponents/PlusButton';
|
3
|
-
export { ProfileView } from './ProfileView';
|
4
|
-
export { ProfileForm } from './ProfileForm';
|
1
|
+
export { UserSettings } from './UserSettings';
|
2
|
+
export { PlusButton } from './Subcomponents/PlusButton';
|
3
|
+
export { ProfileView } from './ProfileView';
|
4
|
+
export { ProfileForm } from './ProfileForm';
|
@@ -1,5 +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>;
|
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>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ItemsApi } from '#types/ItemsApi';
|
2
|
-
export declare const AttestationForm: ({ api }: {
|
3
|
-
api?: ItemsApi<unknown
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
1
|
+
import type { ItemsApi } from '#types/ItemsApi';
|
2
|
+
export declare const AttestationForm: ({ api }: {
|
3
|
+
api?: ItemsApi<unknown> | undefined;
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,9 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
}
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare function CardPage({ title, hideTitle, children, parents, }: {
|
3
|
+
title: string;
|
4
|
+
hideTitle?: boolean;
|
5
|
+
children?: React.ReactNode;
|
6
|
+
parents?: {
|
7
|
+
name: string;
|
8
|
+
path: string;
|
9
|
+
}[];
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|