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,23 +0,0 @@
1
- import type { Item } from '#types/Item';
2
- import type { ItemFormPopupProps } from '#types/ItemFormPopupProps';
3
- import type { LayerProps } from '#types/LayerProps';
4
- import type { LatLng } from 'leaflet';
5
- interface PolygonClickedProps {
6
- position: LatLng;
7
- setItemFormPopup: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>;
8
- }
9
- type UseSelectPositionManagerResult = ReturnType<typeof useSelectPositionManager>;
10
- declare function useSelectPositionManager(): {
11
- selectPosition: Item | LayerProps | null;
12
- setSelectPosition: React.Dispatch<React.SetStateAction<Item | LayerProps | null>>;
13
- setMarkerClicked: React.Dispatch<React.SetStateAction<Item>>;
14
- setMapClicked: React.Dispatch<React.SetStateAction<PolygonClickedProps | undefined>>;
15
- };
16
- export declare const SelectPositionProvider: React.FunctionComponent<{
17
- children?: React.ReactNode;
18
- }>;
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"];
23
- export {};
@@ -1,23 +0,0 @@
1
- import type { Item } from '#types/Item';
2
- import type { ItemsApi } from '#types/ItemsApi';
3
- import type { Tag } from '#types/Tag';
4
- type UseTagManagerResult = ReturnType<typeof useTagsManager>;
5
- declare function useTagsManager(initialTags: Tag[]): {
6
- tags: Tag[];
7
- addTag: (tag: Tag) => void;
8
- setTagApi: (api: ItemsApi<Tag>) => void;
9
- setTagData: (data: Tag[]) => void;
10
- getItemTags: (item: Item) => Tag[];
11
- allTagsLoaded: boolean;
12
- };
13
- export declare const TagsProvider: React.FunctionComponent<{
14
- initialTags: Tag[];
15
- children?: React.ReactNode;
16
- }>;
17
- export declare const useTags: () => Tag[];
18
- export declare const useAddTag: () => UseTagManagerResult["addTag"];
19
- export declare const useSetTagApi: () => UseTagManagerResult["setTagApi"];
20
- export declare const useSetTagData: () => UseTagManagerResult["setTagData"];
21
- export declare const useGetItemTags: () => UseTagManagerResult["getItemTags"];
22
- export declare const useAllTagsLoaded: () => UseTagManagerResult["allTagsLoaded"];
23
- 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
- };
@@ -1,13 +0,0 @@
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 +0,0 @@
1
- export declare const setItemLocation: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function ProfileForm(): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
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,10 +0,0 @@
1
- import type { Item } from '#types/Item';
2
- export declare function ActionButton({ item, triggerAddButton, triggerItemSelected, existingRelations, itemType, collection, customStyle, }: {
3
- triggerAddButton?: any;
4
- triggerItemSelected?: any;
5
- existingRelations: Item[];
6
- itemType?: string;
7
- collection?: string;
8
- customStyle?: string;
9
- item: Item;
10
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import 'react-image-crop/dist/ReactCrop.css';
2
- interface AvatarWidgetProps {
3
- avatar: string;
4
- setAvatar: React.Dispatch<React.SetStateAction<any>>;
5
- }
6
- export declare const AvatarWidget: React.FC<AvatarWidgetProps>;
7
- export {};
@@ -1,6 +0,0 @@
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,8 +0,0 @@
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;
7
- }) => import("react/jsx-runtime").JSX.Element;
8
- export default ContactInfo;
@@ -1,5 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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,18 +0,0 @@
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,7 +0,0 @@
1
- import type { Item } from '#types/Item';
2
- export declare function LinkedItemsHeaderView({ item, unlinkCallback, loading, unlinkPermission, }: {
3
- item: Item;
4
- unlinkCallback?: any;
5
- loading?: boolean;
6
- unlinkPermission: boolean;
7
- }): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const MarkdownHint: () => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
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 +0,0 @@
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 +0,0 @@
1
- import type { Item } from '#types/Item';
2
- export declare const ProfileStartEndView: ({ item }: {
3
- item: Item;
4
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- declare const SubHeader: ({ type, status, url, title }: {
2
- type: any;
3
- status: any;
4
- url: any;
5
- title: any;
6
- }) => import("react/jsx-runtime").JSX.Element;
7
- export default SubHeader;
@@ -1,10 +0,0 @@
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,7 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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,6 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
1
- export declare const SimpleForm: ({ state, setState }: {
2
- state: any;
3
- setState: any;
4
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
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 +0,0 @@
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 +0,0 @@
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 +0,0 @@
1
- export declare function UserSettings(): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- declare const useClickOutside: (ref: any, handler: any) => void;
2
- export default useClickOutside;
@@ -1,4 +0,0 @@
1
- export { UserSettings } from './UserSettings';
2
- export { PlusButton } from './Subcomponents/PlusButton';
3
- export { ProfileView } from './ProfileView';
4
- export { ProfileForm } from './ProfileForm';
@@ -1,5 +0,0 @@
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 +0,0 @@
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,9 +0,0 @@
1
- export declare function CardPage({ title, hideTitle, children, parents, }: {
2
- title: string;
3
- hideTitle?: boolean;
4
- children?: React.ReactNode;
5
- parents?: {
6
- name: string;
7
- path: string;
8
- }[];
9
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- export declare const CircleLayout: ({ items, radius, fontSize, }: {
2
- items: any;
3
- radius: number;
4
- fontSize: any;
5
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- import type { Item } from '#types/Item';
2
- export declare const DateUserInfo: ({ item }: {
3
- item: Item;
4
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +0,0 @@
1
- interface Props {
2
- title: string;
3
- isOpened: boolean;
4
- onClose: () => void;
5
- children: React.ReactNode;
6
- showCloseButton?: boolean;
7
- closeOnClickOutside?: boolean;
8
- className?: string;
9
- }
10
- declare const DialogModal: ({ title, isOpened, onClose, children, showCloseButton, closeOnClickOutside, className, }: Props) => import("react/jsx-runtime").JSX.Element;
11
- export default DialogModal;
@@ -1,10 +0,0 @@
1
- interface Props {
2
- selectedEmoji: string;
3
- selectedColor: string;
4
- selectedShape: string;
5
- setSelectedEmoji: (emoji: string) => void;
6
- setSelectedColor: (color: string) => void;
7
- setSelectedShape: (shape: string) => void;
8
- }
9
- export declare const EmojiPicker: ({ selectedEmoji, selectedColor, selectedShape, setSelectedEmoji, setSelectedColor, setSelectedShape, }: Props) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,7 +0,0 @@
1
- import type { Item } from '#types/Item';
2
- export declare const ItemCard: ({ i, loading, url, deleteCallback, }: {
3
- i: Item;
4
- loading: boolean;
5
- url: string;
6
- deleteCallback: any;
7
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- export declare function MapOverlayPage({ children, className, backdrop, card, }: {
2
- children: React.ReactNode;
3
- className?: string;
4
- backdrop?: boolean;
5
- card?: boolean;
6
- }): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const MarketView: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const MoonCalendar: () => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- export declare const OverlayItemsIndexPage: ({ url, layerName, plusButton, }: {
2
- layerName: string;
3
- url: string;
4
- plusButton?: boolean;
5
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const SelectUser: () => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import type { Tag } from '#types/Tag';
2
- export declare const TagView: ({ tag, heighlight, onClick, count, }: {
3
- tag: Tag;
4
- heighlight?: boolean;
5
- onClick?: () => void;
6
- count?: number;
7
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +0,0 @@
1
- interface TitleCardProps {
2
- title?: string;
3
- hideTitle?: boolean;
4
- children?: React.ReactNode;
5
- topMargin?: string;
6
- className?: string;
7
- TopSideButtons?: any;
8
- }
9
- export declare function TitleCard({ title, hideTitle, children, topMargin, TopSideButtons, className, }: TitleCardProps): import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,8 +0,0 @@
1
- export { CardPage } from './CardPage';
2
- export { TitleCard } from './TitleCard';
3
- export { MapOverlayPage } from './MapOverlayPage';
4
- export { MoonCalendar } from './MoonCalendar';
5
- export { SelectUser } from './SelectUser';
6
- export { OverlayItemsIndexPage } from './OverlayItemsIndexPage';
7
- export { AttestationForm } from './AttestationForm';
8
- export { MarketView } from './MarketView';
@@ -1,5 +0,0 @@
1
- declare function ErrorText({ styleClass, children }: {
2
- styleClass: any;
3
- children: any;
4
- }): import("react/jsx-runtime").JSX.Element;
5
- export default ErrorText;
@@ -1,5 +0,0 @@
1
- declare function Subtitle({ styleClass, children }: {
2
- styleClass: string;
3
- children: React.ReactNode;
4
- }): import("react/jsx-runtime").JSX.Element;
5
- export default Subtitle;
@@ -1 +0,0 @@
1
- export declare function containsUUID(str: string): boolean;
@@ -1,2 +0,0 @@
1
- export declare function decodeTag(string: string): string;
2
- export declare function encodeTag(string: string): string;
@@ -1 +0,0 @@
1
- export declare function getValue(obj: any, path: any): any;
@@ -1 +0,0 @@
1
- export declare const hashTagRegex: RegExp;
@@ -1,2 +0,0 @@
1
- declare const MarkerIconFactory: (shape: string, color1: string, color2: string, icon: string) => import("leaflet").DivIcon;
2
- export default MarkerIconFactory;
@@ -1,7 +0,0 @@
1
- export declare const LUNAR_MONTH = 29.530588853;
2
- export declare const getJulianDate: (date?: Date) => number;
3
- export declare const normalize: (value: number) => number;
4
- export declare const getLunarAgePercent: (date?: Date) => number;
5
- export declare const getLunarAge: (date?: Date) => number;
6
- export declare const getNextNewMoon: () => Date;
7
- export declare const getLastNewMoon: (date?: Date) => Date;
@@ -1 +0,0 @@
1
- export declare const randomColor: () => string;
@@ -1,3 +0,0 @@
1
- export declare const urlRegex: RegExp;
2
- export declare const mailRegex: RegExp;
3
- export declare function fixUrls(message: string): string;
@@ -1 +0,0 @@
1
- export declare function reverseGeocode(lat: number, lon: number): Promise<string>;
@@ -1 +0,0 @@
1
- export declare const timeAgo: (date: string | number | Date) => string;
package/dist/index.d.ts DELETED
@@ -1,15 +0,0 @@
1
- import './index.css';
2
- export { UtopiaMap, Layer, Tags, Permissions, ItemForm, ItemView, PopupTextAreaInput, PopupStartEndInput, PopupTextInput, PopupButton, TextView, StartEndView, PopupCheckboxInput, } from './Components/Map';
3
- export { AppShell, Content, SideBar, Sitemap } from './Components/AppShell';
4
- export { AuthProvider, LoginPage, SignupPage, RequestPasswordPage, SetNewPasswordPage, } from './Components/Auth';
5
- export { UserSettings, ProfileView, ProfileForm } from './Components/Profile';
6
- export { Quests, Modal } from './Components/Gaming';
7
- export { TitleCard, CardPage, MapOverlayPage, OverlayItemsIndexPage, MoonCalendar, SelectUser, AttestationForm, MarketView, } from './Components/Templates';
8
- export { TextInput, TextAreaInput, SelectBox } from './Components/Input';
9
- declare global {
10
- interface Window {
11
- my_modal_3: {
12
- showModal(): void;
13
- };
14
- }
15
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { AssetsApi } from '#src/types';
3
- export declare function AppShell({ appName, children, assetsApi, userType, }: {
4
- appName: string;
5
- children: React.ReactNode;
6
- assetsApi: AssetsApi;
7
- userType: string;
8
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- declare type ContentProps = {
3
- children?: React.ReactNode;
4
- };
5
- export declare function Content({ children }: ContentProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,6 +0,0 @@
1
- export declare const ContextWrapper: ({ children }: {
2
- children: any;
3
- }) => any;
4
- export declare const Wrappers: ({ children }: {
5
- children: any;
6
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- export default function NavBar({ appName, userType }: {
2
- appName: string;
3
- userType: string;
4
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { AssetsApi } from '#src/types';
2
- export declare const SetAppState: ({ assetsApi, userType, }: {
3
- assetsApi: AssetsApi;
4
- userType: string;
5
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- declare type route = {
3
- path: string;
4
- icon: JSX.Element;
5
- name: string;
6
- submenu?: route;
7
- blank?: boolean;
8
- };
9
- export declare function SideBar({ routes, bottomRoutes }: {
10
- routes: route[];
11
- bottomRoutes?: route[];
12
- }): import("react/jsx-runtime").JSX.Element;
13
- export {};