utopia-ui 3.0.9 → 3.0.11

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.
Files changed (81) hide show
  1. package/dist/Components/AppShell/AppShell.d.ts +1 -1
  2. package/dist/Components/AppShell/SetAppState.d.ts +5 -0
  3. package/dist/Components/AppShell/SidebarSubmenu.d.ts +1 -1
  4. package/dist/Components/AppShell/hooks/useAppState.d.ts +17 -0
  5. package/dist/Components/AppShell/hooks/useAssets.d.ts +2 -2
  6. package/dist/Components/AppShell/index.d.ts +4 -4
  7. package/dist/Components/Auth/RequestPasswordPage.d.ts +2 -2
  8. package/dist/Components/Auth/index.d.ts +2 -2
  9. package/dist/Components/Auth/useAuth.d.ts +2 -2
  10. package/dist/Components/Gaming/Modal.d.ts +2 -2
  11. package/dist/Components/Gaming/hooks/useQuests.d.ts +2 -2
  12. package/dist/Components/Input/Autocomplete.d.ts +1 -1
  13. package/dist/Components/Input/ComboBoxInput.d.ts +1 -4
  14. package/dist/Components/Input/TextAreaInput.d.ts +1 -1
  15. package/dist/Components/Input/TextInput.d.ts +1 -1
  16. package/dist/Components/Input/index.d.ts +3 -3
  17. package/dist/Components/Map/ItemForm.d.ts +1 -1
  18. package/dist/Components/Map/Layer.d.ts +1 -1
  19. package/dist/Components/Map/Permissions.d.ts +1 -1
  20. package/dist/Components/Map/Subcomponents/AddButton.d.ts +1 -1
  21. package/dist/Components/Map/Subcomponents/Controls/Control.d.ts +2 -2
  22. package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +2 -2
  23. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +1 -1
  24. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +1 -1
  25. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +1 -1
  26. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +1 -1
  27. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +1 -1
  28. package/dist/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +1 -1
  29. package/dist/Components/Map/UtopiaMap.d.ts +1 -1
  30. package/dist/Components/Map/UtopiaMapInner.d.ts +4 -4
  31. package/dist/Components/Map/hooks/useClusterRef.d.ts +1 -1
  32. package/dist/Components/Map/hooks/useFilter.d.ts +16 -16
  33. package/dist/Components/Map/hooks/useItems.d.ts +9 -9
  34. package/dist/Components/Map/hooks/useLayers.d.ts +3 -3
  35. package/dist/Components/Map/hooks/useLeafletRefs.d.ts +5 -5
  36. package/dist/Components/Map/hooks/usePermissions.d.ts +6 -6
  37. package/dist/Components/Map/hooks/useSelectPosition.d.ts +5 -5
  38. package/dist/Components/Map/hooks/useTags.d.ts +7 -7
  39. package/dist/Components/Map/index.d.ts +2 -2
  40. package/dist/Components/Profile/ProfileForm.d.ts +1 -3
  41. package/dist/Components/Profile/ProfileView.d.ts +1 -2
  42. package/dist/Components/Profile/Subcomponents/ActionsButton.d.ts +2 -2
  43. package/dist/Components/Profile/Subcomponents/AvatarWidget.d.ts +1 -1
  44. package/dist/Components/Profile/Subcomponents/ColorPicker.d.ts +1 -1
  45. package/dist/Components/Profile/Subcomponents/ContactInfo.d.ts +3 -6
  46. package/dist/Components/Profile/Subcomponents/ContactInfoForm.d.ts +6 -0
  47. package/dist/Components/Profile/Subcomponents/ContactInfoView.d.ts +5 -0
  48. package/dist/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +5 -0
  49. package/dist/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +19 -0
  50. package/dist/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +2 -2
  51. package/dist/Components/Profile/Subcomponents/PlusButton.d.ts +2 -2
  52. package/dist/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +6 -0
  53. package/dist/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +4 -0
  54. package/dist/Components/Profile/Subcomponents/ProfileTextForm.d.ts +10 -0
  55. package/dist/Components/Profile/Subcomponents/ProfileTextView.d.ts +7 -0
  56. package/dist/Components/Profile/Subcomponents/SocialShareBar.d.ts +1 -1
  57. package/dist/Components/Profile/Templates/FlexForm.d.ts +8 -0
  58. package/dist/Components/Profile/Templates/FlexView.d.ts +4 -0
  59. package/dist/Components/Profile/Templates/OnepagerForm.d.ts +20 -19
  60. package/dist/Components/Profile/Templates/OnepagerView.d.ts +2 -3
  61. package/dist/Components/Profile/Templates/TabsForm.d.ts +1 -1
  62. package/dist/Components/Profile/Templates/TabsView.d.ts +1 -2
  63. package/dist/Components/Profile/index.d.ts +3 -3
  64. package/dist/Components/Templates/CardPage.d.ts +2 -2
  65. package/dist/Components/Templates/CircleLayout.d.ts +1 -1
  66. package/dist/Components/Templates/DateUserInfo.d.ts +1 -1
  67. package/dist/Components/Templates/DialogModal.d.ts +1 -1
  68. package/dist/Components/Templates/EmojiPicker.d.ts +1 -1
  69. package/dist/Components/Templates/ItemCard.d.ts +1 -1
  70. package/dist/Components/Templates/MapOverlayPage.d.ts +1 -1
  71. package/dist/Components/Templates/OverlayItemsIndexPage.d.ts +1 -1
  72. package/dist/Components/Templates/SelectUser.d.ts +1 -3
  73. package/dist/Components/Templates/TagView.d.ts +1 -1
  74. package/dist/Components/Templates/TitleCard.d.ts +2 -2
  75. package/dist/Components/Templates/index.d.ts +4 -4
  76. package/dist/Components/Typography/Subtitle.d.ts +1 -1
  77. package/dist/index.d.ts +5 -5
  78. package/dist/index.js +1593 -1110
  79. package/dist/index.js.map +1 -1
  80. package/dist/types.d.ts +44 -44
  81. package/package.json +7 -2
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { AssetsApi } from '../../types';
3
- export declare function AppShell({ appName, children, assetsApi, userType }: {
3
+ export declare function AppShell({ appName, children, assetsApi, userType, }: {
4
4
  appName: string;
5
5
  children: React.ReactNode;
6
6
  assetsApi: AssetsApi;
@@ -0,0 +1,5 @@
1
+ import { AssetsApi } from '../../types';
2
+ export declare const SetAppState: ({ assetsApi, userType, }: {
3
+ assetsApi: AssetsApi;
4
+ userType: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare function SidebarSubmenu({ submenu, name, icon }: {
2
+ declare function SidebarSubmenu({ submenu, name, icon, }: {
3
3
  path: string;
4
4
  icon: JSX.Element;
5
5
  name: string;
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { AssetsApi } from '../../../types';
3
+ declare type AppState = {
4
+ assetsApi: AssetsApi;
5
+ userType: string;
6
+ };
7
+ declare 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,4 +1,4 @@
1
- import * as React from "react";
1
+ import * as React from 'react';
2
2
  import { AssetsApi } from '../../../types';
3
3
  declare type UseAssetManagerResult = ReturnType<typeof useAssetsManager>;
4
4
  declare function useAssetsManager(): {
@@ -9,5 +9,5 @@ export declare const AssetsProvider: React.FunctionComponent<{
9
9
  children?: React.ReactNode;
10
10
  }>;
11
11
  export declare const useAssetApi: () => AssetsApi;
12
- export declare const useSetAssetApi: () => UseAssetManagerResult["setAssetsApi"];
12
+ export declare const useSetAssetApi: () => UseAssetManagerResult['setAssetsApi'];
13
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,3 +1,3 @@
1
- export declare function RequestPasswordPage({ reset_url }: {
2
- reset_url: any;
1
+ export declare function RequestPasswordPage({ resetUrl }: {
2
+ resetUrl: any;
3
3
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- export { AuthProvider, useAuth } from "./useAuth";
2
- export { LoginPage } from "./LoginPage";
1
+ export { AuthProvider, useAuth } from './useAuth';
2
+ export { LoginPage } from './LoginPage';
3
3
  export { SignupPage } from './SignupPage';
4
4
  export { RequestPasswordPage } from './RequestPasswordPage';
5
5
  export { SetNewPasswordPage } from './SetNewPasswordPage';
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
- import { UserApi, UserItem } from "../../types";
1
+ import * as React from 'react';
2
+ import { UserApi, UserItem } from '../../types';
3
3
  declare type AuthProviderProps = {
4
4
  userApi: UserApi;
5
5
  children?: React.ReactNode;
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
- export declare function Modal({ children, showOnStartup }: {
1
+ import * as React from 'react';
2
+ export declare function Modal({ children, showOnStartup, }: {
3
3
  children: React.ReactNode;
4
4
  showOnStartup?: boolean;
5
5
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import * as React from "react";
1
+ import * as React from 'react';
2
2
  declare type UseQuestManagerResult = ReturnType<typeof useQuestsManager>;
3
3
  declare function useQuestsManager(initialOpen: boolean): {
4
4
  open: boolean;
@@ -9,5 +9,5 @@ export declare const QuestsProvider: React.FunctionComponent<{
9
9
  children?: React.ReactNode;
10
10
  }>;
11
11
  export declare const useQuestsOpen: () => boolean;
12
- export declare const useSetQuestOpen: () => UseQuestManagerResult["setQuestsOpen"];
12
+ export declare const useSetQuestOpen: () => UseQuestManagerResult['setQuestsOpen'];
13
13
  export {};
@@ -1,4 +1,4 @@
1
- export declare const Autocomplete: ({ inputProps, suggestions, onSelected, pushFilteredSuggestions, setFocus }: {
1
+ export declare const Autocomplete: ({ inputProps, suggestions, onSelected, pushFilteredSuggestions, setFocus, }: {
2
2
  inputProps: any;
3
3
  suggestions: Array<any>;
4
4
  onSelected: (suggestion: any) => void;
@@ -1,9 +1,6 @@
1
1
  interface ComboBoxProps {
2
2
  id?: string;
3
- options: {
4
- value: string;
5
- label: string;
6
- }[];
3
+ options: string[];
7
4
  value: string;
8
5
  onValueChange: (newValue: string) => void;
9
6
  }
@@ -8,5 +8,5 @@ declare type TextAreaProps = {
8
8
  placeholder?: string;
9
9
  updateFormValue?: (value: string) => void;
10
10
  };
11
- export declare function TextAreaInput({ labelTitle, dataField, labelStyle, containerStyle, inputStyle, defaultValue, placeholder, updateFormValue }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function TextAreaInput({ labelTitle, dataField, labelStyle, containerStyle, inputStyle, defaultValue, placeholder, updateFormValue, }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
12
12
  export {};
@@ -10,5 +10,5 @@ declare type InputTextProps = {
10
10
  autocomplete?: string;
11
11
  updateFormValue?: (value: string) => void;
12
12
  };
13
- export declare function TextInput({ labelTitle, labelStyle, type, dataField, containerStyle, inputStyle, defaultValue, placeholder, autocomplete, updateFormValue }: InputTextProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function TextInput({ labelTitle, labelStyle, type, dataField, containerStyle, inputStyle, defaultValue, placeholder, autocomplete, updateFormValue, }: InputTextProps): import("react/jsx-runtime").JSX.Element;
14
14
  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';
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { Item } from '../../types';
3
3
  import * as PropTypes from 'prop-types';
4
4
  export declare const ItemForm: {
5
- ({ children, item, title, setPopupTitle }: {
5
+ ({ children, item, title, setPopupTitle, }: {
6
6
  children?: React.ReactNode;
7
7
  item?: Item | undefined;
8
8
  title?: string | undefined;
@@ -1,2 +1,2 @@
1
1
  import { LayerProps } from '../../types';
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;
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,5 +1,5 @@
1
1
  import { ItemsApi, Permission } from '../../types';
2
- export declare function Permissions({ data, api, adminRole }: {
2
+ export declare function Permissions({ data, api, adminRole, }: {
3
3
  data?: Permission[];
4
4
  api?: ItemsApi<Permission>;
5
5
  adminRole?: string;
@@ -1,4 +1,4 @@
1
1
  import * as React from 'react';
2
- export default function AddButton({ triggerAction }: {
2
+ export default function AddButton({ triggerAction, }: {
3
3
  triggerAction: React.Dispatch<React.SetStateAction<any>>;
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- export declare const Control: ({ position, children, zIndex, absolute }: {
3
- position: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
2
+ export declare const Control: ({ position, children, zIndex, absolute, }: {
3
+ position: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
4
4
  children: React.ReactNode;
5
5
  zIndex: string;
6
6
  absolute: boolean;
@@ -1,5 +1,5 @@
1
- import { Item, ItemsApi } from "../../../../types";
2
- export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, itemNameField, itemSubnameField, itemAvatarField, loading, hideMenu, big, truncateSubname, hideSubname, showAddress }: {
1
+ import { Item, ItemsApi } from '../../../../types';
2
+ export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, itemNameField, itemSubnameField, itemAvatarField, loading, hideMenu, big, truncateSubname, hideSubname, showAddress, }: {
3
3
  item: Item;
4
4
  api?: ItemsApi<any>;
5
5
  editCallback?: any;
@@ -1,5 +1,5 @@
1
1
  import { Item } from '../../../../types';
2
- export declare const PopupButton: ({ url, parameterField, text, colorField, item }: {
2
+ export declare const PopupButton: ({ url, parameterField, text, colorField, item, }: {
3
3
  url: string;
4
4
  parameterField?: string | undefined;
5
5
  text: string;
@@ -1,5 +1,5 @@
1
1
  import { Item } from '../../../../types';
2
- export declare const PopupCheckboxInput: ({ dataField, label, item }: {
2
+ export declare const PopupCheckboxInput: ({ dataField, label, item, }: {
3
3
  dataField: string;
4
4
  label: string;
5
5
  item?: Item | undefined;
@@ -5,5 +5,5 @@ declare type StartEndInputProps = {
5
5
  updateStartValue?: (value: string) => void;
6
6
  updateEndValue?: (value: string) => void;
7
7
  };
8
- export declare const PopupStartEndInput: ({ item, showLabels, updateStartValue, updateEndValue }: StartEndInputProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const PopupStartEndInput: ({ item, showLabels, updateStartValue, updateEndValue, }: StartEndInputProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -1,5 +1,5 @@
1
1
  import { Item } from '../../../../types';
2
- export declare const PopupTextAreaInput: ({ dataField, placeholder, style, item }: {
2
+ export declare const PopupTextAreaInput: ({ dataField, placeholder, style, item, }: {
3
3
  dataField: string;
4
4
  placeholder: string;
5
5
  style?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { Item } from '../../../../types';
2
- export declare const PopupTextInput: ({ dataField, placeholder, style, item }: {
2
+ export declare const PopupTextInput: ({ dataField, placeholder, style, item, }: {
3
3
  dataField: string;
4
4
  placeholder: string;
5
5
  style?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { Item } from '../../../../types';
2
- export declare const TextView: ({ item, truncate, itemTextField, rawText }: {
2
+ export declare const TextView: ({ item, truncate, itemTextField, rawText, }: {
3
3
  item?: Item | undefined;
4
4
  truncate?: boolean | undefined;
5
5
  itemTextField?: string | undefined;
@@ -1,4 +1,4 @@
1
- import { UtopiaMapProps } from "../../types";
1
+ import { UtopiaMapProps } from '../../types';
2
2
  import 'react-toastify/dist/ReactToastify.css';
3
3
  declare function UtopiaMap(props: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
4
4
  export { UtopiaMap };
@@ -1,4 +1,4 @@
1
- import "leaflet/dist/leaflet.css";
2
- import { UtopiaMapProps } from "../../types";
3
- import "./UtopiaMap.css";
4
- export declare function UtopiaMapInner({ height, width, center, zoom, children, geo, showFilterControl, showGratitudeControl, showLayerControl, infoText }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
1
+ import 'leaflet/dist/leaflet.css';
2
+ import { UtopiaMapProps } from '../../types';
3
+ import './UtopiaMap.css';
4
+ export declare function UtopiaMapInner({ height, width, center, zoom, children, geo, showFilterControl, showGratitudeControl, showLayerControl, infoText, }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
@@ -8,5 +8,5 @@ export declare const ClusterRefProvider: React.FunctionComponent<{
8
8
  children?: React.ReactNode;
9
9
  }>;
10
10
  export declare const useClusterRef: () => any;
11
- export declare const useSetClusterRef: () => UseClusterRefManagerResult["setClusterRef"];
11
+ export declare const useSetClusterRef: () => UseClusterRefManagerResult['setClusterRef'];
12
12
  export {};
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
- import { LayerProps, Tag } from "../../../types";
1
+ import * as React from 'react';
2
+ import { LayerProps, Tag } from '../../../types';
3
3
  declare type UseFilterManagerResult = ReturnType<typeof useFilterManager>;
4
4
  declare function useFilterManager(initialTags: Tag[]): {
5
5
  filterTags: Tag[];
@@ -23,18 +23,18 @@ export declare const FilterProvider: React.FunctionComponent<{
23
23
  children?: React.ReactNode;
24
24
  }>;
25
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"];
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
40
  export {};
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
- import { Item, LayerProps } from "../../../types";
1
+ import * as React from 'react';
2
+ import { Item, LayerProps } from '../../../types';
3
3
  declare type UseItemManagerResult = ReturnType<typeof useItemsManager>;
4
4
  declare function useItemsManager(initialItems: Item[]): {
5
5
  items: Item[];
@@ -16,11 +16,11 @@ export declare const ItemsProvider: React.FunctionComponent<{
16
16
  children?: React.ReactNode;
17
17
  }>;
18
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"];
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
26
  export {};
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
- import { LayerProps } from "../../../types";
1
+ import * as React from 'react';
2
+ import { LayerProps } from '../../../types';
3
3
  declare type UseItemManagerResult = ReturnType<typeof useLayerManager>;
4
4
  declare function useLayerManager(initialLayers: LayerProps[]): {
5
5
  layers: LayerProps[];
@@ -10,5 +10,5 @@ export declare const LayersProvider: React.FunctionComponent<{
10
10
  children?: React.ReactNode;
11
11
  }>;
12
12
  export declare const useLayers: () => LayerProps[];
13
- export declare const useAddLayer: () => UseItemManagerResult["addLayer"];
13
+ export declare const useAddLayer: () => UseItemManagerResult['addLayer'];
14
14
  export {};
@@ -1,6 +1,6 @@
1
- import * as React from "react";
2
- import { Item } from "../../../types";
3
- import { Marker, Popup } from "leaflet";
1
+ import * as React from 'react';
2
+ import { Item } from '../../../types';
3
+ import { Marker, Popup } from 'leaflet';
4
4
  declare type LeafletRef = {
5
5
  item: Item;
6
6
  marker: Marker;
@@ -17,6 +17,6 @@ export declare const LeafletRefsProvider: React.FunctionComponent<{
17
17
  children?: React.ReactNode;
18
18
  }>;
19
19
  export declare const useLeafletRefs: () => Record<string, LeafletRef>;
20
- export declare const useAddMarker: () => UseLeafletRefsManagerResult["addMarker"];
21
- export declare const useAddPopup: () => UseLeafletRefsManagerResult["addPopup"];
20
+ export declare const useAddMarker: () => UseLeafletRefsManagerResult['addMarker'];
21
+ export declare const useAddPopup: () => UseLeafletRefsManagerResult['addPopup'];
22
22
  export {};
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
- import { Item, ItemsApi, LayerProps, Permission, PermissionAction } from "../../../types";
1
+ import * as React from 'react';
2
+ import { Item, ItemsApi, LayerProps, Permission, PermissionAction } from '../../../types';
3
3
  declare type UsePermissionManagerResult = ReturnType<typeof usePermissionsManager>;
4
4
  declare function usePermissionsManager(initialPermissions: Permission[]): {
5
5
  permissions: Permission[];
@@ -13,8 +13,8 @@ export declare const PermissionsProvider: React.FunctionComponent<{
13
13
  children?: React.ReactNode;
14
14
  }>;
15
15
  export declare const usePermissions: () => Permission[];
16
- export declare const useSetPermissionApi: () => UsePermissionManagerResult["setPermissionApi"];
17
- export declare const useSetPermissionData: () => UsePermissionManagerResult["setPermissionData"];
18
- export declare const useHasUserPermission: () => UsePermissionManagerResult["hasUserPermission"];
19
- export declare const useSetAdminRole: () => UsePermissionManagerResult["setAdminRole"];
16
+ export declare const useSetPermissionApi: () => UsePermissionManagerResult['setPermissionApi'];
17
+ export declare const useSetPermissionData: () => UsePermissionManagerResult['setPermissionData'];
18
+ export declare const useHasUserPermission: () => UsePermissionManagerResult['hasUserPermission'];
19
+ export declare const useSetAdminRole: () => UsePermissionManagerResult['setAdminRole'];
20
20
  export {};
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Item, LayerProps } from '../../../types';
3
- import { LatLng } from "leaflet";
4
- import { ItemFormPopupProps } from "../Subcomponents/ItemFormPopup";
3
+ import { LatLng } from 'leaflet';
4
+ import { ItemFormPopupProps } from '../Subcomponents/ItemFormPopup';
5
5
  declare type PolygonClickedProps = {
6
6
  position: LatLng;
7
7
  setItemFormPopup: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
@@ -17,7 +17,7 @@ export declare const SelectPositionProvider: React.FunctionComponent<{
17
17
  children?: React.ReactNode;
18
18
  }>;
19
19
  export declare const useSelectPosition: () => Item | LayerProps | null;
20
- export declare const useSetSelectPosition: () => UseSelectPositionManagerResult["setSelectPosition"];
21
- export declare const useSetMarkerClicked: () => UseSelectPositionManagerResult["setMarkerClicked"];
22
- export declare const useSetMapClicked: () => UseSelectPositionManagerResult["setMapClicked"];
20
+ export declare const useSetSelectPosition: () => UseSelectPositionManagerResult['setSelectPosition'];
21
+ export declare const useSetMarkerClicked: () => UseSelectPositionManagerResult['setMarkerClicked'];
22
+ export declare const useSetMapClicked: () => UseSelectPositionManagerResult['setMapClicked'];
23
23
  export {};
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
- import { Item, ItemsApi, Tag } from "../../../types";
1
+ import * as React from 'react';
2
+ import { Item, ItemsApi, Tag } from '../../../types';
3
3
  declare type UseTagManagerResult = ReturnType<typeof useTagsManager>;
4
4
  declare function useTagsManager(initialTags: Tag[]): {
5
5
  tags: Tag[];
@@ -14,9 +14,9 @@ export declare const TagsProvider: React.FunctionComponent<{
14
14
  children?: React.ReactNode;
15
15
  }>;
16
16
  export declare const useTags: () => Tag[];
17
- export declare const useAddTag: () => UseTagManagerResult["addTag"];
18
- export declare const useSetTagApi: () => UseTagManagerResult["setTagApi"];
19
- export declare const useSetTagData: () => UseTagManagerResult["setTagData"];
20
- export declare const useGetItemTags: () => UseTagManagerResult["getItemTags"];
21
- export declare const useAllTagsLoaded: () => UseTagManagerResult["allTagsLoaded"];
17
+ export declare const useAddTag: () => UseTagManagerResult['addTag'];
18
+ export declare const useSetTagApi: () => UseTagManagerResult['setTagApi'];
19
+ export declare const useSetTagData: () => UseTagManagerResult['setTagData'];
20
+ export declare const useGetItemTags: () => UseTagManagerResult['getItemTags'];
21
+ export declare const useAllTagsLoaded: () => UseTagManagerResult['allTagsLoaded'];
22
22
  export {};
@@ -1,7 +1,7 @@
1
1
  export { UtopiaMap } from './UtopiaMap';
2
2
  export { Layer } from './Layer';
3
- export { Tags } from "./Tags";
4
- export { Permissions } from "./Permissions";
3
+ export { Tags } from './Tags';
4
+ export { Permissions } from './Permissions';
5
5
  export { ItemForm } from './ItemForm';
6
6
  export { ItemView } from './ItemView';
7
7
  export { PopupTextAreaInput } from './Subcomponents/ItemPopupComponents/PopupTextAreaInput';
@@ -1,3 +1 @@
1
- export declare function ProfileForm({ userType }: {
2
- userType: string;
3
- }): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ProfileForm(): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ItemsApi } from '../../types';
2
- export declare function ProfileView({ userType, attestationApi }: {
3
- userType: string;
2
+ export declare function ProfileView({ attestationApi }: {
4
3
  attestationApi?: ItemsApi<any>;
5
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { Item } from "../../../types";
2
- export declare function ActionButton({ item, triggerAddButton, triggerItemSelected, existingRelations, itemType, colorField, collection, customStyle }: {
1
+ import { Item } from '../../../types';
2
+ export declare function ActionButton({ item, triggerAddButton, triggerItemSelected, existingRelations, itemType, colorField, collection, customStyle, }: {
3
3
  triggerAddButton?: any;
4
4
  triggerItemSelected?: any;
5
5
  existingRelations: Item[];
@@ -1,4 +1,4 @@
1
- import * as React from "react";
1
+ import * as React from 'react';
2
2
  import 'react-image-crop/dist/ReactCrop.css';
3
3
  interface AvatarWidgetProps {
4
4
  avatar: string;
@@ -1,4 +1,4 @@
1
- import "./ColorPicker.css";
1
+ import './ColorPicker.css';
2
2
  export declare const ColorPicker: ({ color, onChange, className }: {
3
3
  color: any;
4
4
  onChange: any;
@@ -1,8 +1,5 @@
1
- declare const ContactInfo: ({ email, telephone, name, avatar, link }: {
2
- email: string;
3
- telephone: string;
4
- name: string;
5
- avatar: string;
6
- link?: string | undefined;
1
+ import { Item } from '../../../types';
2
+ declare const ContactInfo: ({ item }: {
3
+ item: Item;
7
4
  }) => import("react/jsx-runtime").JSX.Element;
8
5
  export default ContactInfo;
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import { FormState } from '../Templates/OnepagerForm';
3
+ export declare const ContactInfoForm: ({ state, setState, }: {
4
+ state: FormState;
5
+ setState: React.Dispatch<React.SetStateAction<any>>;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { Item } from '../../../types';
2
+ export declare const ContactInfoView: ({ item, heading }: {
3
+ item: Item;
4
+ heading: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { Item } from '../../../types';
2
+ export declare const GroupSubHeaderView: ({ item, share_base_url, }: {
3
+ item: Item;
4
+ share_base_url: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ import { Item } from '../../../types';
3
+ import { FormState } from '../Templates/OnepagerForm';
4
+ declare type groupType = {
5
+ groupTypes_id: {
6
+ name: string;
7
+ color: string;
8
+ image: string;
9
+ markerIcon: string;
10
+ };
11
+ };
12
+ export declare const GroupSubheaderForm: ({ state, setState, groupStates, groupTypes, }: {
13
+ state: FormState;
14
+ setState: React.Dispatch<React.SetStateAction<any>>;
15
+ item: Item;
16
+ groupStates?: string[] | undefined;
17
+ groupTypes?: groupType[] | undefined;
18
+ }) => import("react/jsx-runtime").JSX.Element;
19
+ export {};
@@ -1,5 +1,5 @@
1
- import { Item } from "../../../types";
2
- export declare function LinkedItemsHeaderView({ item, unlinkCallback, itemNameField, itemAvatarField, loading, unlinkPermission, itemSubnameField }: {
1
+ import { Item } from '../../../types';
2
+ export declare function LinkedItemsHeaderView({ item, unlinkCallback, itemNameField, itemAvatarField, loading, unlinkPermission, itemSubnameField, }: {
3
3
  item: Item;
4
4
  unlinkCallback?: any;
5
5
  itemNameField?: string;
@@ -1,5 +1,5 @@
1
- import { LayerProps } from "../../../types";
2
- export declare function PlusButton({ layer, triggerAction, color, collection }: {
1
+ import { LayerProps } from '../../../types';
2
+ export declare function PlusButton({ layer, triggerAction, color, collection, }: {
3
3
  layer?: LayerProps;
4
4
  triggerAction: any;
5
5
  color: string;
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import { Item } from '../../../types';
3
+ export declare const ProfileStartEndForm: ({ item, setState, }: {
4
+ item: Item;
5
+ setState: React.Dispatch<React.SetStateAction<any>>;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { Item } from '../../../types';
2
+ export declare const ProfileStartEndView: ({ item }: {
3
+ item: Item;
4
+ }) => import("react/jsx-runtime").JSX.Element;