utopia-ui 3.0.42 → 3.0.43

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 (264) hide show
  1. package/package.json +1 -1
  2. package/dist/Components/AppShell/AppShell.d.ts +0 -7
  3. package/dist/Components/AppShell/Content.d.ts +0 -5
  4. package/dist/Components/AppShell/ContextWrapper.d.ts +0 -6
  5. package/dist/Components/AppShell/NavBar.d.ts +0 -4
  6. package/dist/Components/AppShell/SetAppState.d.ts +0 -5
  7. package/dist/Components/AppShell/SetAssetsApi.d.ts +0 -4
  8. package/dist/Components/AppShell/SideBar.d.ts +0 -12
  9. package/dist/Components/AppShell/SidebarSubmenu.d.ts +0 -7
  10. package/dist/Components/AppShell/Sitemap.d.ts +0 -3
  11. package/dist/Components/AppShell/hooks/useAppState.d.ts +0 -16
  12. package/dist/Components/AppShell/hooks/useAssets.d.ts +0 -12
  13. package/dist/Components/AppShell/index.d.ts +0 -4
  14. package/dist/Components/Auth/LoginPage.d.ts +0 -1
  15. package/dist/Components/Auth/RequestPasswordPage.d.ts +0 -3
  16. package/dist/Components/Auth/SetNewPasswordPage.d.ts +0 -1
  17. package/dist/Components/Auth/SignupPage.d.ts +0 -1
  18. package/dist/Components/Auth/index.d.ts +0 -5
  19. package/dist/Components/Auth/useAuth.d.ts +0 -26
  20. package/dist/Components/Gaming/Modal.d.ts +0 -4
  21. package/dist/Components/Gaming/Quests.d.ts +0 -1
  22. package/dist/Components/Gaming/hooks/useQuests.d.ts +0 -12
  23. package/dist/Components/Gaming/index.d.ts +0 -2
  24. package/dist/Components/Input/Autocomplete.d.ts +0 -7
  25. package/dist/Components/Input/ComboBoxInput.d.ts +0 -8
  26. package/dist/Components/Input/SelectBox.d.ts +0 -16
  27. package/dist/Components/Input/TextAreaInput.d.ts +0 -13
  28. package/dist/Components/Input/TextInput.d.ts +0 -16
  29. package/dist/Components/Input/index.d.ts +0 -3
  30. package/dist/Components/Map/ItemForm.d.ts +0 -16
  31. package/dist/Components/Map/ItemView.d.ts +0 -14
  32. package/dist/Components/Map/Layer.d.ts +0 -2
  33. package/dist/Components/Map/Permissions.d.ts +0 -7
  34. package/dist/Components/Map/Subcomponents/AddButton.d.ts +0 -3
  35. package/dist/Components/Map/Subcomponents/Controls/Control.d.ts +0 -6
  36. package/dist/Components/Map/Subcomponents/Controls/FilterControl.d.ts +0 -1
  37. package/dist/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +0 -1
  38. package/dist/Components/Map/Subcomponents/Controls/LayerControl.d.ts +0 -1
  39. package/dist/Components/Map/Subcomponents/Controls/LocateControl.d.ts +0 -3
  40. package/dist/Components/Map/Subcomponents/Controls/QuestControl.d.ts +0 -1
  41. package/dist/Components/Map/Subcomponents/Controls/SearchControl.d.ts +0 -1
  42. package/dist/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +0 -1
  43. package/dist/Components/Map/Subcomponents/Controls/TagsControl.d.ts +0 -1
  44. package/dist/Components/Map/Subcomponents/ItemFormPopup.d.ts +0 -2
  45. package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +0 -18
  46. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +0 -7
  47. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +0 -6
  48. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +0 -9
  49. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +0 -7
  50. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +0 -7
  51. package/dist/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +0 -4
  52. package/dist/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +0 -6
  53. package/dist/Components/Map/Subcomponents/ItemViewPopup.d.ts +0 -8
  54. package/dist/Components/Map/Subcomponents/SelectPosition.d.ts +0 -3
  55. package/dist/Components/Map/Tags.d.ts +0 -6
  56. package/dist/Components/Map/UtopiaMap.d.ts +0 -4
  57. package/dist/Components/Map/UtopiaMapInner.d.ts +0 -4
  58. package/dist/Components/Map/hooks/useClusterRef.d.ts +0 -11
  59. package/dist/Components/Map/hooks/useDebounce.d.ts +0 -1
  60. package/dist/Components/Map/hooks/useFilter.d.ts +0 -40
  61. package/dist/Components/Map/hooks/useItems.d.ts +0 -26
  62. package/dist/Components/Map/hooks/useLayers.d.ts +0 -13
  63. package/dist/Components/Map/hooks/useLeafletRefs.d.ts +0 -21
  64. package/dist/Components/Map/hooks/usePermissions.d.ts +0 -23
  65. package/dist/Components/Map/hooks/useSelectPosition.d.ts +0 -23
  66. package/dist/Components/Map/hooks/useTags.d.ts +0 -23
  67. package/dist/Components/Map/hooks/useTimeout.d.ts +0 -4
  68. package/dist/Components/Map/hooks/useWindowDimension.d.ts +0 -4
  69. package/dist/Components/Map/index.d.ts +0 -13
  70. package/dist/Components/Map/setItemLocation.d.ts +0 -1
  71. package/dist/Components/Profile/ProfileForm.d.ts +0 -1
  72. package/dist/Components/Profile/ProfileView.d.ts +0 -4
  73. package/dist/Components/Profile/Subcomponents/ActionsButton.d.ts +0 -10
  74. package/dist/Components/Profile/Subcomponents/AvatarWidget.d.ts +0 -7
  75. package/dist/Components/Profile/Subcomponents/ColorPicker.d.ts +0 -6
  76. package/dist/Components/Profile/Subcomponents/ContactInfo.d.ts +0 -8
  77. package/dist/Components/Profile/Subcomponents/ContactInfoForm.d.ts +0 -5
  78. package/dist/Components/Profile/Subcomponents/ContactInfoView.d.ts +0 -5
  79. package/dist/Components/Profile/Subcomponents/FormHeader.d.ts +0 -5
  80. package/dist/Components/Profile/Subcomponents/GalleryView.d.ts +0 -6
  81. package/dist/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +0 -6
  82. package/dist/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +0 -18
  83. package/dist/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +0 -7
  84. package/dist/Components/Profile/Subcomponents/MarkdownHint.d.ts +0 -1
  85. package/dist/Components/Profile/Subcomponents/PlusButton.d.ts +0 -7
  86. package/dist/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +0 -5
  87. package/dist/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +0 -4
  88. package/dist/Components/Profile/Subcomponents/ProfileSubHeader.d.ts +0 -7
  89. package/dist/Components/Profile/Subcomponents/ProfileTextForm.d.ts +0 -10
  90. package/dist/Components/Profile/Subcomponents/ProfileTextView.d.ts +0 -7
  91. package/dist/Components/Profile/Subcomponents/RelationCard.d.ts +0 -6
  92. package/dist/Components/Profile/Subcomponents/SocialShareBar.d.ts +0 -6
  93. package/dist/Components/Profile/Subcomponents/SocialShareButton.d.ts +0 -6
  94. package/dist/Components/Profile/Subcomponents/TagsWidget.d.ts +0 -6
  95. package/dist/Components/Profile/Templates/FlexForm.d.ts +0 -7
  96. package/dist/Components/Profile/Templates/FlexView.d.ts +0 -4
  97. package/dist/Components/Profile/Templates/OnepagerForm.d.ts +0 -7
  98. package/dist/Components/Profile/Templates/OnepagerView.d.ts +0 -4
  99. package/dist/Components/Profile/Templates/SimpleForm.d.ts +0 -4
  100. package/dist/Components/Profile/Templates/SimpleView.d.ts +0 -4
  101. package/dist/Components/Profile/Templates/TabsForm.d.ts +0 -10
  102. package/dist/Components/Profile/Templates/TabsView.d.ts +0 -13
  103. package/dist/Components/Profile/UserSettings.d.ts +0 -1
  104. package/dist/Components/Profile/hooks/useClickOutside.d.ts +0 -2
  105. package/dist/Components/Profile/index.d.ts +0 -4
  106. package/dist/Components/Profile/itemFunctions.d.ts +0 -5
  107. package/dist/Components/Templates/AttestationForm.d.ts +0 -4
  108. package/dist/Components/Templates/CardPage.d.ts +0 -9
  109. package/dist/Components/Templates/CircleLayout.d.ts +0 -5
  110. package/dist/Components/Templates/DateUserInfo.d.ts +0 -4
  111. package/dist/Components/Templates/DialogModal.d.ts +0 -11
  112. package/dist/Components/Templates/EmojiPicker.d.ts +0 -10
  113. package/dist/Components/Templates/ItemCard.d.ts +0 -7
  114. package/dist/Components/Templates/MapOverlayPage.d.ts +0 -6
  115. package/dist/Components/Templates/MarketView.d.ts +0 -1
  116. package/dist/Components/Templates/MoonCalendar.d.ts +0 -1
  117. package/dist/Components/Templates/OverlayItemsIndexPage.d.ts +0 -5
  118. package/dist/Components/Templates/SelectUser.d.ts +0 -1
  119. package/dist/Components/Templates/TagView.d.ts +0 -7
  120. package/dist/Components/Templates/TitleCard.d.ts +0 -10
  121. package/dist/Components/Templates/index.d.ts +0 -8
  122. package/dist/Components/Typography/ErrorText.d.ts +0 -5
  123. package/dist/Components/Typography/Subtitle.d.ts +0 -5
  124. package/dist/Utils/ContainsUUID.d.ts +0 -1
  125. package/dist/Utils/FormatTags.d.ts +0 -2
  126. package/dist/Utils/GetValue.d.ts +0 -1
  127. package/dist/Utils/HashTagRegex.d.ts +0 -1
  128. package/dist/Utils/MarkerIconFactory.d.ts +0 -2
  129. package/dist/Utils/Moon.d.ts +0 -7
  130. package/dist/Utils/RandomColor.d.ts +0 -1
  131. package/dist/Utils/ReplaceURLs.d.ts +0 -3
  132. package/dist/Utils/ReverseGeocoder.d.ts +0 -1
  133. package/dist/Utils/TimeAgo.d.ts +0 -1
  134. package/dist/index.d.ts +0 -15
  135. package/dist/types/Components/AppShell/AppShell.d.ts +0 -8
  136. package/dist/types/Components/AppShell/Content.d.ts +0 -6
  137. package/dist/types/Components/AppShell/ContextWrapper.d.ts +0 -6
  138. package/dist/types/Components/AppShell/NavBar.d.ts +0 -4
  139. package/dist/types/Components/AppShell/SetAppState.d.ts +0 -5
  140. package/dist/types/Components/AppShell/SideBar.d.ts +0 -13
  141. package/dist/types/Components/AppShell/SidebarSubmenu.d.ts +0 -8
  142. package/dist/types/Components/AppShell/Sitemap.d.ts +0 -3
  143. package/dist/types/Components/AppShell/hooks/useAppState.d.ts +0 -17
  144. package/dist/types/Components/AppShell/hooks/useAssets.d.ts +0 -13
  145. package/dist/types/Components/AppShell/index.d.ts +0 -4
  146. package/dist/types/Components/Auth/LoginPage.d.ts +0 -1
  147. package/dist/types/Components/Auth/RequestPasswordPage.d.ts +0 -3
  148. package/dist/types/Components/Auth/SetNewPasswordPage.d.ts +0 -1
  149. package/dist/types/Components/Auth/SignupPage.d.ts +0 -1
  150. package/dist/types/Components/Auth/index.d.ts +0 -5
  151. package/dist/types/Components/Auth/useAuth.d.ts +0 -26
  152. package/dist/types/Components/Gaming/Modal.d.ts +0 -5
  153. package/dist/types/Components/Gaming/Quests.d.ts +0 -1
  154. package/dist/types/Components/Gaming/hooks/useQuests.d.ts +0 -13
  155. package/dist/types/Components/Gaming/index.d.ts +0 -2
  156. package/dist/types/Components/Input/Autocomplete.d.ts +0 -7
  157. package/dist/types/Components/Input/ComboBoxInput.d.ts +0 -8
  158. package/dist/types/Components/Input/SelectBox.d.ts +0 -16
  159. package/dist/types/Components/Input/TextAreaInput.d.ts +0 -12
  160. package/dist/types/Components/Input/TextInput.d.ts +0 -16
  161. package/dist/types/Components/Input/index.d.ts +0 -3
  162. package/dist/types/Components/Map/ItemForm.d.ts +0 -17
  163. package/dist/types/Components/Map/ItemView.d.ts +0 -14
  164. package/dist/types/Components/Map/Layer.d.ts +0 -2
  165. package/dist/types/Components/Map/Permissions.d.ts +0 -6
  166. package/dist/types/Components/Map/Subcomponents/AddButton.d.ts +0 -4
  167. package/dist/types/Components/Map/Subcomponents/Controls/Control.d.ts +0 -6
  168. package/dist/types/Components/Map/Subcomponents/Controls/FilterControl.d.ts +0 -1
  169. package/dist/types/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +0 -1
  170. package/dist/types/Components/Map/Subcomponents/Controls/LayerControl.d.ts +0 -1
  171. package/dist/types/Components/Map/Subcomponents/Controls/LocateControl.d.ts +0 -3
  172. package/dist/types/Components/Map/Subcomponents/Controls/QuestControl.d.ts +0 -1
  173. package/dist/types/Components/Map/Subcomponents/Controls/SearchControl.d.ts +0 -1
  174. package/dist/types/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +0 -1
  175. package/dist/types/Components/Map/Subcomponents/Controls/TagsControl.d.ts +0 -1
  176. package/dist/types/Components/Map/Subcomponents/ItemFormPopup.d.ts +0 -2
  177. package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +0 -17
  178. package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +0 -8
  179. package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +0 -6
  180. package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +0 -9
  181. package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +0 -7
  182. package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +0 -7
  183. package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +0 -4
  184. package/dist/types/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +0 -7
  185. package/dist/types/Components/Map/Subcomponents/ItemViewPopup.d.ts +0 -8
  186. package/dist/types/Components/Map/Subcomponents/SelectPosition.d.ts +0 -3
  187. package/dist/types/Components/Map/Tags.d.ts +0 -5
  188. package/dist/types/Components/Map/UtopiaMap.d.ts +0 -4
  189. package/dist/types/Components/Map/UtopiaMapInner.d.ts +0 -4
  190. package/dist/types/Components/Map/hooks/useClusterRef.d.ts +0 -12
  191. package/dist/types/Components/Map/hooks/useDebounce.d.ts +0 -1
  192. package/dist/types/Components/Map/hooks/useFilter.d.ts +0 -40
  193. package/dist/types/Components/Map/hooks/useItems.d.ts +0 -26
  194. package/dist/types/Components/Map/hooks/useLayers.d.ts +0 -14
  195. package/dist/types/Components/Map/hooks/useLeafletRefs.d.ts +0 -22
  196. package/dist/types/Components/Map/hooks/usePermissions.d.ts +0 -20
  197. package/dist/types/Components/Map/hooks/useSelectPosition.d.ts +0 -22
  198. package/dist/types/Components/Map/hooks/useTags.d.ts +0 -22
  199. package/dist/types/Components/Map/hooks/useTimeout.d.ts +0 -4
  200. package/dist/types/Components/Map/hooks/useWindowDimension.d.ts +0 -4
  201. package/dist/types/Components/Map/index.d.ts +0 -13
  202. package/dist/types/Components/Map/setItemLocation.d.ts +0 -1
  203. package/dist/types/Components/Profile/ProfileForm.d.ts +0 -1
  204. package/dist/types/Components/Profile/ProfileView.d.ts +0 -4
  205. package/dist/types/Components/Profile/Subcomponents/ActionsButton.d.ts +0 -11
  206. package/dist/types/Components/Profile/Subcomponents/AvatarWidget.d.ts +0 -8
  207. package/dist/types/Components/Profile/Subcomponents/ColorPicker.d.ts +0 -6
  208. package/dist/types/Components/Profile/Subcomponents/ContactInfoForm.d.ts +0 -5
  209. package/dist/types/Components/Profile/Subcomponents/ContactInfoView.d.ts +0 -5
  210. package/dist/types/Components/Profile/Subcomponents/FormHeader.d.ts +0 -5
  211. package/dist/types/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +0 -6
  212. package/dist/types/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +0 -17
  213. package/dist/types/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +0 -10
  214. package/dist/types/Components/Profile/Subcomponents/MarkdownHint.d.ts +0 -1
  215. package/dist/types/Components/Profile/Subcomponents/PlusButton.d.ts +0 -7
  216. package/dist/types/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +0 -5
  217. package/dist/types/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +0 -4
  218. package/dist/types/Components/Profile/Subcomponents/ProfileTextForm.d.ts +0 -9
  219. package/dist/types/Components/Profile/Subcomponents/ProfileTextView.d.ts +0 -7
  220. package/dist/types/Components/Profile/Subcomponents/RelationCard.d.ts +0 -6
  221. package/dist/types/Components/Profile/Subcomponents/SocialShareBar.d.ts +0 -6
  222. package/dist/types/Components/Profile/Subcomponents/SocialShareButton.d.ts +0 -6
  223. package/dist/types/Components/Profile/Subcomponents/TagsWidget.d.ts +0 -6
  224. package/dist/types/Components/Profile/Templates/FlexForm.d.ts +0 -6
  225. package/dist/types/Components/Profile/Templates/FlexView.d.ts +0 -4
  226. package/dist/types/Components/Profile/Templates/OnepagerForm.d.ts +0 -6
  227. package/dist/types/Components/Profile/Templates/OnepagerView.d.ts +0 -4
  228. package/dist/types/Components/Profile/Templates/SimpleForm.d.ts +0 -4
  229. package/dist/types/Components/Profile/Templates/SimpleView.d.ts +0 -4
  230. package/dist/types/Components/Profile/Templates/TabsForm.d.ts +0 -10
  231. package/dist/types/Components/Profile/Templates/TabsView.d.ts +0 -12
  232. package/dist/types/Components/Profile/UserSettings.d.ts +0 -1
  233. package/dist/types/Components/Profile/hooks/useClickOutside.d.ts +0 -2
  234. package/dist/types/Components/Profile/index.d.ts +0 -4
  235. package/dist/types/Components/Profile/itemFunctions.d.ts +0 -5
  236. package/dist/types/Components/Templates/AttestationForm.d.ts +0 -4
  237. package/dist/types/Components/Templates/CardPage.d.ts +0 -10
  238. package/dist/types/Components/Templates/CircleLayout.d.ts +0 -5
  239. package/dist/types/Components/Templates/DateUserInfo.d.ts +0 -4
  240. package/dist/types/Components/Templates/DialogModal.d.ts +0 -12
  241. package/dist/types/Components/Templates/EmojiPicker.d.ts +0 -8
  242. package/dist/types/Components/Templates/ItemCard.d.ts +0 -8
  243. package/dist/types/Components/Templates/MapOverlayPage.d.ts +0 -7
  244. package/dist/types/Components/Templates/MarketView.d.ts +0 -1
  245. package/dist/types/Components/Templates/MoonCalendar.d.ts +0 -1
  246. package/dist/types/Components/Templates/OverlayItemsIndexPage.d.ts +0 -6
  247. package/dist/types/Components/Templates/SelectUser.d.ts +0 -1
  248. package/dist/types/Components/Templates/TagView.d.ts +0 -7
  249. package/dist/types/Components/Templates/TitleCard.d.ts +0 -11
  250. package/dist/types/Components/Templates/index.d.ts +0 -8
  251. package/dist/types/Components/Typography/ErrorText.d.ts +0 -5
  252. package/dist/types/Components/Typography/Subtitle.d.ts +0 -6
  253. package/dist/types/Utils/FormatTags.d.ts +0 -2
  254. package/dist/types/Utils/GetValue.d.ts +0 -1
  255. package/dist/types/Utils/HashTagRegex.d.ts +0 -1
  256. package/dist/types/Utils/MarkerIconFactory.d.ts +0 -2
  257. package/dist/types/Utils/Moon.d.ts +0 -7
  258. package/dist/types/Utils/RandomColor.d.ts +0 -1
  259. package/dist/types/Utils/ReplaceURLs.d.ts +0 -3
  260. package/dist/types/Utils/ReverseGeocoder.d.ts +0 -1
  261. package/dist/types/Utils/TimeAgo.d.ts +0 -1
  262. package/dist/types/index.d.ts +0 -13
  263. package/dist/types/types.d.ts +0 -169
  264. package/dist/types.d.ts +0 -169
@@ -1,8 +0,0 @@
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 +0,0 @@
1
- export declare const Sitemap: ({ url }: {
2
- url: string;
3
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import { AssetsApi } from '#src/types';
3
- interface 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,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { AssetsApi } from '#src/types';
3
- declare 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 +0,0 @@
1
- export { AppShell } from './AppShell';
2
- export { SideBar } from './SideBar';
3
- export { Content } from './Content';
4
- export { Sitemap } from './Sitemap';
@@ -1 +0,0 @@
1
- export declare function LoginPage(): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +0,0 @@
1
- export declare function RequestPasswordPage({ resetUrl }: {
2
- resetUrl: any;
3
- }): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function SetNewPasswordPage(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function SignupPage(): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
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 +0,0 @@
1
- /// <reference types="react" />
2
- import { UserApi, UserItem } from '#src/types';
3
- interface AuthProviderProps {
4
- userApi: UserApi;
5
- children?: React.ReactNode;
6
- }
7
- interface AuthCredentials {
8
- email: string;
9
- password: string;
10
- otp?: string | undefined;
11
- }
12
- interface AuthContextProps {
13
- isAuthenticated: boolean;
14
- user: UserItem | null;
15
- login: (credentials: AuthCredentials) => Promise<UserItem | undefined>;
16
- register: (credentials: AuthCredentials, userName: string) => Promise<UserItem | undefined>;
17
- loading: boolean;
18
- logout: () => Promise<any>;
19
- updateUser: (user: UserItem) => any;
20
- token: string | null;
21
- requestPasswordReset: (email: string, reset_url: string) => Promise<any>;
22
- passwordReset: (token: string, new_password: string) => Promise<any>;
23
- }
24
- export declare const AuthProvider: ({ userApi, children }: AuthProviderProps) => import("react/jsx-runtime").JSX.Element;
25
- export declare const useAuth: () => AuthContextProps;
26
- export {};
@@ -1,5 +0,0 @@
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 +0,0 @@
1
- export declare function Quests(): import("react/jsx-runtime").JSX.Element;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- declare 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 +0,0 @@
1
- export { Modal } from './Modal';
2
- export { Quests } from './Quests';
@@ -1,7 +0,0 @@
1
- export declare const Autocomplete: ({ inputProps, suggestions, onSelected, pushFilteredSuggestions, setFocus, }: {
2
- inputProps: any;
3
- suggestions: any[];
4
- onSelected: (suggestion: any) => void;
5
- pushFilteredSuggestions?: any[] | undefined;
6
- setFocus?: boolean | undefined;
7
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- interface ComboBoxProps {
2
- id?: string;
3
- options: string[];
4
- value: string;
5
- onValueChange: (newValue: string) => void;
6
- }
7
- declare const ComboBoxInput: ({ id, options, value, onValueChange }: ComboBoxProps) => import("react/jsx-runtime").JSX.Element;
8
- export default ComboBoxInput;
@@ -1,16 +0,0 @@
1
- declare 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,12 +0,0 @@
1
- declare type TextAreaProps = {
2
- labelTitle?: string;
3
- labelStyle?: string;
4
- containerStyle?: string;
5
- dataField?: string;
6
- inputStyle?: string;
7
- defaultValue: string;
8
- placeholder?: string;
9
- updateFormValue?: (value: string) => void;
10
- };
11
- export declare function TextAreaInput({ labelTitle, dataField, labelStyle, containerStyle, inputStyle, defaultValue, placeholder, updateFormValue, }: TextAreaProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
@@ -1,16 +0,0 @@
1
- declare 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,3 +0,0 @@
1
- export { TextAreaInput } from './TextAreaInput';
2
- export { TextInput } from './TextInput';
3
- export { SelectBox } from './SelectBox';
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import { Item } from '#src/types';
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 +0,0 @@
1
- import { Item } from '#src/types';
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 +0,0 @@
1
- import { LayerProps } from '#src/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;
@@ -1,6 +0,0 @@
1
- import { ItemsApi, Permission } from '#src/types';
2
- export declare function Permissions({ data, api, adminRole, }: {
3
- data?: Permission[];
4
- api?: ItemsApi<Permission>;
5
- adminRole?: string;
6
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
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 +0,0 @@
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 +0,0 @@
1
- export declare function FilterControl(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const GratitudeControl: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function LayerControl(): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +0,0 @@
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 +0,0 @@
1
- export declare function QuestControl(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const SearchControl: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const SidebarControl: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const TagsControl: () => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { ItemFormPopupProps } from '#src/types';
2
- export declare function ItemFormPopup(props: ItemFormPopupProps): import("react/jsx-runtime").JSX.Element;
@@ -1,17 +0,0 @@
1
- import { Item, ItemsApi } from '#src/types';
2
- export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, itemNameField, itemSubnameField, itemAvatarField, loading, hideMenu, big, truncateSubname, hideSubname, showAddress, }: {
3
- item: Item;
4
- api?: ItemsApi<any>;
5
- editCallback?: any;
6
- deleteCallback?: any;
7
- setPositionCallback?: any;
8
- itemNameField?: string;
9
- itemAvatarField?: string;
10
- itemSubnameField?: string;
11
- loading?: boolean;
12
- hideMenu?: boolean;
13
- big?: boolean;
14
- hideSubname?: boolean;
15
- truncateSubname?: boolean;
16
- showAddress?: boolean;
17
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- import { Item } from '#src/types';
2
- export declare const PopupButton: ({ url, parameterField, text, colorField, item, }: {
3
- url: string;
4
- parameterField?: string | undefined;
5
- text: string;
6
- colorField?: string | undefined;
7
- item?: Item | undefined;
8
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { Item } from '#src/types';
2
- export declare const PopupCheckboxInput: ({ dataField, label, item, }: {
3
- dataField: string;
4
- label: string;
5
- item?: Item | undefined;
6
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- import { Item } from '#src/types';
2
- interface StartEndInputProps {
3
- item?: Item;
4
- showLabels?: boolean;
5
- updateStartValue?: (value: string) => void;
6
- updateEndValue?: (value: string) => void;
7
- }
8
- export declare const PopupStartEndInput: ({ item, showLabels, updateStartValue, updateEndValue, }: StartEndInputProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,7 +0,0 @@
1
- import { Item } from '#src/types';
2
- export declare const PopupTextAreaInput: ({ dataField, placeholder, style, item, }: {
3
- dataField: string;
4
- placeholder: string;
5
- style?: string | undefined;
6
- item?: Item | undefined;
7
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { Item } from '#src/types';
2
- export declare const PopupTextInput: ({ dataField, placeholder, style, item, }: {
3
- dataField: string;
4
- placeholder: string;
5
- style?: string | undefined;
6
- item?: Item | undefined;
7
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- import { Item } from '#src/types';
2
- export declare const StartEndView: ({ item }: {
3
- item?: Item | undefined;
4
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { Item } from '#src/types';
2
- export declare const TextView: ({ item, truncate, itemTextField, rawText, }: {
3
- item?: Item | undefined;
4
- truncate?: boolean | undefined;
5
- itemTextField?: string | undefined;
6
- rawText?: string | undefined;
7
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { Item, ItemFormPopupProps } from '#src/types';
3
- export interface ItemViewPopupProps {
4
- item: Item;
5
- children?: React.ReactNode;
6
- setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
7
- }
8
- export declare const ItemViewPopup: import("react").ForwardRefExoticComponent<ItemViewPopupProps & import("react").RefAttributes<unknown>>;
@@ -1,3 +0,0 @@
1
- export declare const SelectPosition: ({ setSelectNewItemPosition }: {
2
- setSelectNewItemPosition: any;
3
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { ItemsApi, Tag } from '#src/types';
2
- export declare function Tags({ data, api }: {
3
- data?: Tag[];
4
- api?: ItemsApi<Tag>;
5
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- import { UtopiaMapProps } from '#src/types';
2
- import 'react-toastify/dist/ReactToastify.css';
3
- declare function UtopiaMap(props: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
4
- export { UtopiaMap };
@@ -1,4 +0,0 @@
1
- import 'leaflet/dist/leaflet.css';
2
- import { UtopiaMapProps } from '#src/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,12 +0,0 @@
1
- /// <reference types="react" />
2
- declare type UseClusterRefManagerResult = ReturnType<typeof useClusterRefManager>;
3
- declare function useClusterRefManager(): {
4
- clusterRef: any;
5
- setClusterRef: React.Dispatch<React.SetStateAction<React.MutableRefObject<undefined>>>;
6
- };
7
- export declare const ClusterRefProvider: React.FunctionComponent<{
8
- children?: React.ReactNode;
9
- }>;
10
- export declare const useClusterRef: () => any;
11
- export declare const useSetClusterRef: () => UseClusterRefManagerResult['setClusterRef'];
12
- export {};
@@ -1 +0,0 @@
1
- export declare const useDebounce: (callback: any, delay: any, deps: any) => void;
@@ -1,40 +0,0 @@
1
- /// <reference types="react" />
2
- import { LayerProps, Tag } from '#src/types';
3
- declare type UseFilterManagerResult = ReturnType<typeof useFilterManager>;
4
- declare function useFilterManager(initialTags: Tag[]): {
5
- filterTags: Tag[];
6
- searchPhrase: string;
7
- visibleLayers: LayerProps[];
8
- visibleGroupTypes: string[];
9
- addFilterTag: (tag: Tag) => void;
10
- removeFilterTag: (name: string) => void;
11
- resetFilterTags: () => void;
12
- setSearchPhrase: (phrase: string) => void;
13
- addVisibleLayer: (layer: LayerProps) => void;
14
- toggleVisibleLayer: (layer: LayerProps) => void;
15
- resetVisibleLayers: () => void;
16
- isLayerVisible: (layer: LayerProps) => boolean;
17
- addVisibleGroupType: (groupType: string) => void;
18
- toggleVisibleGroupType: (groupType: string) => void;
19
- isGroupTypeVisible: (groupType: string) => boolean;
20
- };
21
- export declare const FilterProvider: React.FunctionComponent<{
22
- initialTags: Tag[];
23
- children?: React.ReactNode;
24
- }>;
25
- export declare const useFilterTags: () => Tag[];
26
- export declare const useAddFilterTag: () => UseFilterManagerResult['addFilterTag'];
27
- export declare const useRemoveFilterTag: () => UseFilterManagerResult['removeFilterTag'];
28
- export declare const useResetFilterTags: () => UseFilterManagerResult['resetFilterTags'];
29
- export declare const useSearchPhrase: () => UseFilterManagerResult['searchPhrase'];
30
- export declare const useSetSearchPhrase: () => UseFilterManagerResult['setSearchPhrase'];
31
- export declare const useVisibleLayer: () => UseFilterManagerResult['visibleLayers'];
32
- export declare const useAddVisibleLayer: () => UseFilterManagerResult['addVisibleLayer'];
33
- export declare const useToggleVisibleLayer: () => UseFilterManagerResult['toggleVisibleLayer'];
34
- export declare const useResetVisibleLayers: () => UseFilterManagerResult['resetVisibleLayers'];
35
- export declare const useIsLayerVisible: () => UseFilterManagerResult['isLayerVisible'];
36
- export declare const useAddVisibleGroupType: () => UseFilterManagerResult['addVisibleGroupType'];
37
- export declare const useToggleVisibleGroupType: () => UseFilterManagerResult['toggleVisibleGroupType'];
38
- export declare const useIsGroupTypeVisible: () => UseFilterManagerResult['isGroupTypeVisible'];
39
- export declare const useVisibleGroupType: () => UseFilterManagerResult['visibleGroupTypes'];
40
- export {};
@@ -1,26 +0,0 @@
1
- /// <reference types="react" />
2
- import { Item, LayerProps } from '#src/types';
3
- declare type UseItemManagerResult = ReturnType<typeof useItemsManager>;
4
- declare function useItemsManager(initialItems: Item[]): {
5
- items: Item[];
6
- addItem: (item: Item) => void;
7
- updateItem: (item: Item) => void;
8
- removeItem: (item: Item) => void;
9
- resetItems: (layer: LayerProps) => void;
10
- setItemsApi: (layer: LayerProps) => void;
11
- setItemsData: (layer: LayerProps) => void;
12
- allItemsLoaded: boolean;
13
- };
14
- export declare const ItemsProvider: React.FunctionComponent<{
15
- initialItems: Item[];
16
- children?: React.ReactNode;
17
- }>;
18
- export declare const useItems: () => Item[];
19
- export declare const useAddItem: () => UseItemManagerResult['addItem'];
20
- export declare const useUpdateItem: () => UseItemManagerResult['updateItem'];
21
- export declare const useRemoveItem: () => UseItemManagerResult['removeItem'];
22
- export declare const useResetItems: () => UseItemManagerResult['resetItems'];
23
- export declare const useSetItemsApi: () => UseItemManagerResult['setItemsApi'];
24
- export declare const useSetItemsData: () => UseItemManagerResult['setItemsData'];
25
- export declare const useAllItemsLoaded: () => UseItemManagerResult['allItemsLoaded'];
26
- export {};
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import { LayerProps } from '#src/types';
3
- declare type UseItemManagerResult = ReturnType<typeof useLayerManager>;
4
- declare function useLayerManager(initialLayers: LayerProps[]): {
5
- layers: LayerProps[];
6
- addLayer: (layer: LayerProps) => void;
7
- };
8
- export declare const LayersProvider: React.FunctionComponent<{
9
- initialLayers: LayerProps[];
10
- children?: React.ReactNode;
11
- }>;
12
- export declare const useLayers: () => LayerProps[];
13
- export declare const useAddLayer: () => UseItemManagerResult['addLayer'];
14
- export {};
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import { Marker, Popup } from 'leaflet';
3
- import { Item } from '#src/types';
4
- interface LeafletRef {
5
- item: Item;
6
- marker: Marker;
7
- popup: Popup;
8
- }
9
- declare type UseLeafletRefsManagerResult = ReturnType<typeof useLeafletRefsManager>;
10
- declare function useLeafletRefsManager(initialLeafletRefs: {}): {
11
- leafletRefs: Record<string, LeafletRef>;
12
- addMarker: (item: Item, marker: Marker) => void;
13
- addPopup: (item: Item, popup: Popup) => void;
14
- };
15
- export declare const LeafletRefsProvider: React.FunctionComponent<{
16
- initialLeafletRefs: {};
17
- children?: React.ReactNode;
18
- }>;
19
- export declare const useLeafletRefs: () => Record<string, LeafletRef>;
20
- export declare const useAddMarker: () => UseLeafletRefsManagerResult['addMarker'];
21
- export declare const useAddPopup: () => UseLeafletRefsManagerResult['addPopup'];
22
- export {};
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import { Item, ItemsApi, LayerProps, Permission, PermissionAction } from '#src/types';
3
- declare type UsePermissionManagerResult = ReturnType<typeof usePermissionsManager>;
4
- declare function usePermissionsManager(initialPermissions: Permission[]): {
5
- permissions: Permission[];
6
- setPermissionApi: (api: ItemsApi<any>) => void;
7
- setPermissionData: (data: Permission[]) => void;
8
- setAdminRole: (adminRole: string) => void;
9
- hasUserPermission: (collectionName: string, action: PermissionAction, item?: Item, layer?: LayerProps) => boolean;
10
- };
11
- export declare const PermissionsProvider: React.FunctionComponent<{
12
- initialPermissions: Permission[];
13
- children?: React.ReactNode;
14
- }>;
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'];
20
- export {};
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import { LatLng } from 'leaflet';
3
- import { Item, LayerProps, ItemFormPopupProps } from '#src/types';
4
- interface PolygonClickedProps {
5
- position: LatLng;
6
- setItemFormPopup: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
7
- }
8
- declare type UseSelectPositionManagerResult = ReturnType<typeof useSelectPositionManager>;
9
- declare function useSelectPositionManager(): {
10
- selectPosition: Item | LayerProps | null;
11
- setSelectPosition: React.Dispatch<React.SetStateAction<Item | LayerProps | null>>;
12
- setMarkerClicked: React.Dispatch<React.SetStateAction<Item>>;
13
- setMapClicked: React.Dispatch<React.SetStateAction<PolygonClickedProps | undefined>>;
14
- };
15
- export declare const SelectPositionProvider: React.FunctionComponent<{
16
- children?: React.ReactNode;
17
- }>;
18
- export declare const useSelectPosition: () => Item | LayerProps | null;
19
- export declare const useSetSelectPosition: () => UseSelectPositionManagerResult['setSelectPosition'];
20
- export declare const useSetMarkerClicked: () => UseSelectPositionManagerResult['setMarkerClicked'];
21
- export declare const useSetMapClicked: () => UseSelectPositionManagerResult['setMapClicked'];
22
- export {};
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import { Item, ItemsApi, Tag } from '#src/types';
3
- declare type UseTagManagerResult = ReturnType<typeof useTagsManager>;
4
- declare function useTagsManager(initialTags: Tag[]): {
5
- tags: Tag[];
6
- addTag: (tag: Tag) => void;
7
- setTagApi: (api: ItemsApi<Tag>) => void;
8
- setTagData: (data: Tag[]) => void;
9
- getItemTags: (item: Item) => Tag[];
10
- allTagsLoaded: boolean;
11
- };
12
- export declare const TagsProvider: React.FunctionComponent<{
13
- initialTags: Tag[];
14
- children?: React.ReactNode;
15
- }>;
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'];
22
- export {};
@@ -1,4 +0,0 @@
1
- export declare const useTimeout: (callback: any, delay: any) => {
2
- reset: () => void;
3
- clear: () => void;
4
- };
@@ -1,4 +0,0 @@
1
- export default function useWindowDimensions(): {
2
- width: number;
3
- height: number;
4
- };