utopia-ui 3.0.58 → 3.0.59

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 (195) hide show
  1. package/dist/Components/AppShell/AppShell.d.ts +8 -0
  2. package/dist/Components/AppShell/Content.d.ts +6 -0
  3. package/dist/Components/AppShell/ContextWrapper.d.ts +6 -0
  4. package/dist/Components/AppShell/NavBar.d.ts +4 -0
  5. package/dist/Components/AppShell/SetAppState.d.ts +5 -0
  6. package/dist/Components/AppShell/SideBar.d.ts +13 -0
  7. package/dist/Components/AppShell/SidebarSubmenu.d.ts +8 -0
  8. package/dist/Components/AppShell/Sitemap.d.ts +3 -0
  9. package/dist/Components/AppShell/hooks/useAppState.d.ts +17 -0
  10. package/dist/Components/AppShell/hooks/useAssets.d.ts +13 -0
  11. package/dist/Components/AppShell/index.d.ts +4 -0
  12. package/dist/Components/Auth/LoginPage.d.ts +1 -0
  13. package/dist/Components/Auth/RequestPasswordPage.d.ts +3 -0
  14. package/dist/Components/Auth/SetNewPasswordPage.d.ts +1 -0
  15. package/dist/Components/Auth/SignupPage.d.ts +1 -0
  16. package/dist/Components/Auth/index.d.ts +5 -0
  17. package/dist/Components/Auth/useAuth.d.ts +27 -0
  18. package/dist/Components/Gaming/Modal.d.ts +5 -0
  19. package/dist/Components/Gaming/Quests.d.ts +1 -0
  20. package/dist/Components/Gaming/hooks/useQuests.d.ts +13 -0
  21. package/dist/Components/Gaming/index.d.ts +2 -0
  22. package/dist/Components/Input/Autocomplete.d.ts +7 -0
  23. package/dist/Components/Input/ComboBoxInput.d.ts +8 -0
  24. package/dist/Components/Input/SelectBox.d.ts +16 -0
  25. package/dist/Components/Input/TextAreaInput.d.ts +13 -0
  26. package/dist/Components/Input/TextInput.d.ts +16 -0
  27. package/dist/Components/Input/index.d.ts +3 -0
  28. package/dist/Components/Map/ItemForm.d.ts +17 -0
  29. package/dist/Components/Map/ItemView.d.ts +14 -0
  30. package/dist/Components/Map/Layer.d.ts +2 -0
  31. package/dist/Components/Map/Permissions.d.ts +7 -0
  32. package/dist/Components/Map/Subcomponents/AddButton.d.ts +4 -0
  33. package/dist/Components/Map/Subcomponents/Controls/Control.d.ts +6 -0
  34. package/dist/Components/Map/Subcomponents/Controls/FilterControl.d.ts +1 -0
  35. package/dist/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +1 -0
  36. package/dist/Components/Map/Subcomponents/Controls/LayerControl.d.ts +1 -0
  37. package/dist/Components/Map/Subcomponents/Controls/LocateControl.d.ts +3 -0
  38. package/dist/Components/Map/Subcomponents/Controls/QuestControl.d.ts +1 -0
  39. package/dist/Components/Map/Subcomponents/Controls/SearchControl.d.ts +1 -0
  40. package/dist/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +1 -0
  41. package/dist/Components/Map/Subcomponents/Controls/TagsControl.d.ts +1 -0
  42. package/dist/Components/Map/Subcomponents/ItemFormPopup.d.ts +2 -0
  43. package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +18 -0
  44. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +7 -0
  45. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +6 -0
  46. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +9 -0
  47. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +7 -0
  48. package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +7 -0
  49. package/dist/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +4 -0
  50. package/dist/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +6 -0
  51. package/dist/Components/Map/Subcomponents/ItemViewPopup.d.ts +9 -0
  52. package/dist/Components/Map/Subcomponents/SelectPosition.d.ts +3 -0
  53. package/dist/Components/Map/Tags.d.ts +6 -0
  54. package/dist/Components/Map/UtopiaMap.d.ts +4 -0
  55. package/dist/Components/Map/UtopiaMapInner.d.ts +4 -0
  56. package/dist/Components/Map/hooks/useClusterRef.d.ts +12 -0
  57. package/dist/Components/Map/hooks/useDebounce.d.ts +1 -0
  58. package/dist/Components/Map/hooks/useFilter.d.ts +41 -0
  59. package/dist/Components/Map/hooks/useItems.d.ts +27 -0
  60. package/dist/Components/Map/hooks/useLayers.d.ts +14 -0
  61. package/dist/Components/Map/hooks/useLeafletRefs.d.ts +22 -0
  62. package/dist/Components/Map/hooks/usePermissions.d.ts +24 -0
  63. package/dist/Components/Map/hooks/useSelectPosition.d.ts +24 -0
  64. package/dist/Components/Map/hooks/useTags.d.ts +24 -0
  65. package/dist/Components/Map/hooks/useTimeout.d.ts +4 -0
  66. package/dist/Components/Map/hooks/useWindowDimension.d.ts +4 -0
  67. package/dist/Components/Map/index.d.ts +13 -0
  68. package/dist/Components/Map/setItemLocation.d.ts +1 -0
  69. package/dist/Components/Profile/ProfileForm.d.ts +1 -0
  70. package/dist/Components/Profile/ProfileView.d.ts +4 -0
  71. package/dist/Components/Profile/Subcomponents/ActionsButton.d.ts +10 -0
  72. package/dist/Components/Profile/Subcomponents/AvatarWidget.d.ts +8 -0
  73. package/dist/Components/Profile/Subcomponents/ColorPicker.d.ts +6 -0
  74. package/dist/Components/Profile/Subcomponents/ContactInfoForm.d.ts +5 -0
  75. package/dist/Components/Profile/Subcomponents/ContactInfoView.d.ts +5 -0
  76. package/dist/Components/Profile/Subcomponents/FormHeader.d.ts +5 -0
  77. package/dist/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +6 -0
  78. package/dist/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +18 -0
  79. package/dist/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +7 -0
  80. package/dist/Components/Profile/Subcomponents/MarkdownHint.d.ts +1 -0
  81. package/dist/Components/Profile/Subcomponents/PlusButton.d.ts +7 -0
  82. package/dist/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +5 -0
  83. package/dist/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +4 -0
  84. package/dist/Components/Profile/Subcomponents/ProfileTextForm.d.ts +10 -0
  85. package/dist/Components/Profile/Subcomponents/ProfileTextView.d.ts +7 -0
  86. package/dist/Components/Profile/Subcomponents/RelationCard.d.ts +6 -0
  87. package/dist/Components/Profile/Subcomponents/SocialShareBar.d.ts +6 -0
  88. package/dist/Components/Profile/Subcomponents/SocialShareButton.d.ts +6 -0
  89. package/dist/Components/Profile/Subcomponents/TagsWidget.d.ts +6 -0
  90. package/dist/Components/Profile/Templates/FlexForm.d.ts +7 -0
  91. package/dist/Components/Profile/Templates/FlexView.d.ts +4 -0
  92. package/dist/Components/Profile/Templates/OnepagerForm.d.ts +7 -0
  93. package/dist/Components/Profile/Templates/OnepagerView.d.ts +4 -0
  94. package/dist/Components/Profile/Templates/SimpleForm.d.ts +4 -0
  95. package/dist/Components/Profile/Templates/SimpleView.d.ts +4 -0
  96. package/dist/Components/Profile/Templates/TabsForm.d.ts +10 -0
  97. package/dist/Components/Profile/Templates/TabsView.d.ts +13 -0
  98. package/dist/Components/Profile/UserSettings.d.ts +1 -0
  99. package/dist/Components/Profile/hooks/useClickOutside.d.ts +2 -0
  100. package/dist/Components/Profile/index.d.ts +4 -0
  101. package/dist/Components/Profile/itemFunctions.d.ts +5 -0
  102. package/dist/Components/Templates/AttestationForm.d.ts +4 -0
  103. package/dist/Components/Templates/CardPage.d.ts +10 -0
  104. package/dist/Components/Templates/CircleLayout.d.ts +5 -0
  105. package/dist/Components/Templates/DateUserInfo.d.ts +4 -0
  106. package/dist/Components/Templates/DialogModal.d.ts +12 -0
  107. package/dist/Components/Templates/EmojiPicker.d.ts +10 -0
  108. package/dist/Components/Templates/ItemCard.d.ts +7 -0
  109. package/dist/Components/Templates/MapOverlayPage.d.ts +7 -0
  110. package/dist/Components/Templates/MarketView.d.ts +1 -0
  111. package/dist/Components/Templates/MoonCalendar.d.ts +1 -0
  112. package/dist/Components/Templates/OverlayItemsIndexPage.d.ts +5 -0
  113. package/dist/Components/Templates/SelectUser.d.ts +1 -0
  114. package/dist/Components/Templates/TagView.d.ts +7 -0
  115. package/dist/Components/Templates/TitleCard.d.ts +11 -0
  116. package/dist/Components/Templates/index.d.ts +8 -0
  117. package/dist/Components/Typography/ErrorText.d.ts +5 -0
  118. package/dist/Components/Typography/Subtitle.d.ts +6 -0
  119. package/dist/Utils/ContainsUUID.d.ts +1 -0
  120. package/dist/Utils/FormatTags.d.ts +2 -0
  121. package/dist/Utils/HashTagRegex.d.ts +1 -0
  122. package/dist/Utils/MarkerIconFactory.d.ts +2 -0
  123. package/dist/Utils/Moon.d.ts +7 -0
  124. package/dist/Utils/RandomColor.d.ts +1 -0
  125. package/dist/Utils/ReplaceURLs.d.ts +3 -0
  126. package/dist/Utils/ReverseGeocoder.d.ts +1 -0
  127. package/dist/Utils/TimeAgo.d.ts +1 -0
  128. package/dist/index.cjs +975 -20
  129. package/dist/index.cjs.map +1 -0
  130. package/dist/index.d.ts +41 -220
  131. package/dist/index.esm.js +975 -20
  132. package/dist/index.esm.js.map +1 -0
  133. package/dist/index.js +5268 -0
  134. package/dist/index.js.map +1 -0
  135. package/dist/src/Components/Map/Layer.d.ts +1 -1
  136. package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +1 -4
  137. package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +1 -2
  138. package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +3 -4
  139. package/dist/src/Components/Profile/Subcomponents/ActionsButton.d.ts +1 -2
  140. package/dist/src/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +1 -4
  141. package/dist/src/Components/Templates/ItemCard.d.ts +1 -2
  142. package/dist/src/Components/Templates/OverlayItemsIndexPage.d.ts +1 -2
  143. package/dist/types/src/Components/AppShell/AppShell.d.ts +1 -1
  144. package/dist/types/src/Components/AppShell/SetAppState.d.ts +1 -1
  145. package/dist/types/src/Components/AppShell/hooks/useAppState.d.ts +1 -1
  146. package/dist/types/src/Components/AppShell/hooks/useAssets.d.ts +1 -1
  147. package/dist/types/src/Components/Auth/useAuth.d.ts +2 -2
  148. package/dist/types/src/Components/Map/ItemForm.d.ts +1 -1
  149. package/dist/types/src/Components/Map/ItemView.d.ts +1 -1
  150. package/dist/types/src/Components/Map/Layer.d.ts +1 -1
  151. package/dist/types/src/Components/Map/Permissions.d.ts +2 -2
  152. package/dist/types/src/Components/Map/Subcomponents/ItemFormPopup.d.ts +1 -1
  153. package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +2 -2
  154. package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +1 -1
  155. package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +1 -1
  156. package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +1 -1
  157. package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +1 -1
  158. package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +1 -1
  159. package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +1 -1
  160. package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +1 -1
  161. package/dist/types/src/Components/Map/Subcomponents/ItemViewPopup.d.ts +2 -2
  162. package/dist/types/src/Components/Map/Tags.d.ts +2 -2
  163. package/dist/types/src/Components/Map/UtopiaMap.d.ts +2 -2
  164. package/dist/types/src/Components/Map/UtopiaMapInner.d.ts +2 -2
  165. package/dist/types/src/Components/Map/hooks/useFilter.d.ts +2 -2
  166. package/dist/types/src/Components/Map/hooks/useItems.d.ts +2 -2
  167. package/dist/types/src/Components/Map/hooks/useLayers.d.ts +1 -1
  168. package/dist/types/src/Components/Map/hooks/useLeafletRefs.d.ts +1 -1
  169. package/dist/types/src/Components/Map/hooks/usePermissions.d.ts +5 -5
  170. package/dist/types/src/Components/Map/hooks/useSelectPosition.d.ts +3 -3
  171. package/dist/types/src/Components/Map/hooks/useTags.d.ts +3 -3
  172. package/dist/types/src/Components/Profile/ProfileView.d.ts +1 -1
  173. package/dist/types/src/Components/Profile/Subcomponents/ActionsButton.d.ts +1 -1
  174. package/dist/types/src/Components/Profile/Subcomponents/ContactInfoForm.d.ts +1 -1
  175. package/dist/types/src/Components/Profile/Subcomponents/ContactInfoView.d.ts +1 -1
  176. package/dist/types/src/Components/Profile/Subcomponents/GalleryView.d.ts +1 -1
  177. package/dist/types/src/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +1 -1
  178. package/dist/types/src/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +2 -2
  179. package/dist/types/src/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +1 -1
  180. package/dist/types/src/Components/Profile/Subcomponents/PlusButton.d.ts +1 -1
  181. package/dist/types/src/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +1 -1
  182. package/dist/types/src/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +1 -1
  183. package/dist/types/src/Components/Profile/Subcomponents/ProfileTextForm.d.ts +1 -1
  184. package/dist/types/src/Components/Profile/Subcomponents/ProfileTextView.d.ts +1 -1
  185. package/dist/types/src/Components/Profile/Templates/FlexForm.d.ts +2 -2
  186. package/dist/types/src/Components/Profile/Templates/FlexView.d.ts +1 -1
  187. package/dist/types/src/Components/Profile/Templates/OnepagerForm.d.ts +2 -2
  188. package/dist/types/src/Components/Profile/Templates/OnepagerView.d.ts +1 -1
  189. package/dist/types/src/Components/Profile/Templates/SimpleView.d.ts +1 -1
  190. package/dist/types/src/Components/Profile/Templates/TabsView.d.ts +2 -2
  191. package/dist/types/src/Components/Templates/AttestationForm.d.ts +1 -1
  192. package/dist/types/src/Components/Templates/DateUserInfo.d.ts +1 -1
  193. package/dist/types/src/Components/Templates/ItemCard.d.ts +1 -1
  194. package/dist/types/src/Components/Templates/TagView.d.ts +1 -1
  195. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  import type { LayerProps } from '#types/LayerProps';
2
- export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, markerDefaultColor2, api, itemType, itemNameField, itemSubnameField, itemTextField, itemAvatarField, itemColorField, itemOwnerField, itemLatitudeField, itemLongitudeField, itemTagsField, itemOffersField, itemNeedsField, onlyOnePerOwner, customEditLink, customEditParameter, public_edit_items, listed, setItemFormPopup, itemFormPopup, clusterRef, }: LayerProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Layer: ({ data, children, name, menuIcon, menuText, menuColor, markerIcon, markerShape, markerDefaultColor, markerDefaultColor2, api, itemType, onlyOnePerOwner, customEditLink, customEditParameter, public_edit_items, listed, setItemFormPopup, itemFormPopup, clusterRef, }: LayerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,14 +1,11 @@
1
1
  import type { Item } from '#types/Item';
2
2
  import type { ItemsApi } from '#types/ItemsApi';
3
- export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, itemNameField, itemSubnameField, itemAvatarField, loading, hideMenu, big, truncateSubname, hideSubname, showAddress, }: {
3
+ export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, loading, hideMenu, big, truncateSubname, hideSubname, showAddress, }: {
4
4
  item: Item;
5
5
  api?: ItemsApi<any>;
6
6
  editCallback?: any;
7
7
  deleteCallback?: any;
8
8
  setPositionCallback?: any;
9
- itemNameField?: string;
10
- itemAvatarField?: string;
11
- itemSubnameField?: string;
12
9
  loading?: boolean;
13
10
  hideMenu?: boolean;
14
11
  big?: boolean;
@@ -1,8 +1,7 @@
1
1
  import type { Item } from '#types/Item';
2
- export declare const PopupButton: ({ url, parameterField, text, colorField, item, }: {
2
+ export declare const PopupButton: ({ url, parameterField, text, item, }: {
3
3
  url: string;
4
4
  parameterField?: string;
5
5
  text: string;
6
- colorField?: string;
7
6
  item?: Item;
8
7
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
- import type { Item } from '#types/Item';
2
- export declare const TextView: ({ item, truncate, itemTextField, rawText, }: {
3
- item?: Item;
1
+ export declare const TextView: ({ itemId, text, truncate, rawText, }: {
2
+ itemId: string;
3
+ text?: string;
4
4
  truncate?: boolean;
5
- itemTextField?: string;
6
5
  rawText?: string;
7
6
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +1,9 @@
1
1
  import type { Item } from '#types/Item';
2
- export declare function ActionButton({ item, triggerAddButton, triggerItemSelected, existingRelations, itemType, colorField, collection, customStyle, }: {
2
+ export declare function ActionButton({ item, triggerAddButton, triggerItemSelected, existingRelations, itemType, collection, customStyle, }: {
3
3
  triggerAddButton?: any;
4
4
  triggerItemSelected?: any;
5
5
  existingRelations: Item[];
6
6
  itemType?: string;
7
- colorField?: string;
8
7
  collection?: string;
9
8
  customStyle?: string;
10
9
  item: Item;
@@ -1,10 +1,7 @@
1
1
  import type { Item } from '#types/Item';
2
- export declare function LinkedItemsHeaderView({ item, unlinkCallback, itemNameField, itemAvatarField, loading, unlinkPermission, itemSubnameField, }: {
2
+ export declare function LinkedItemsHeaderView({ item, unlinkCallback, loading, unlinkPermission, }: {
3
3
  item: Item;
4
4
  unlinkCallback?: any;
5
- itemNameField?: string;
6
- itemAvatarField?: string;
7
- itemSubnameField?: string;
8
5
  loading?: boolean;
9
6
  unlinkPermission: boolean;
10
7
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,7 @@
1
1
  import type { Item } from '#types/Item';
2
- export declare const ItemCard: ({ i, loading, url, parameterField, deleteCallback, }: {
2
+ export declare const ItemCard: ({ i, loading, url, deleteCallback, }: {
3
3
  i: Item;
4
4
  loading: boolean;
5
5
  url: string;
6
- parameterField: string;
7
6
  deleteCallback: any;
8
7
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
- export declare const OverlayItemsIndexPage: ({ url, layerName, parameterField, plusButton, }: {
1
+ export declare const OverlayItemsIndexPage: ({ url, layerName, plusButton, }: {
2
2
  layerName: string;
3
3
  url: string;
4
- parameterField: string;
5
4
  plusButton?: boolean;
6
5
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { AssetsApi } from '#src/types/AssetsApi';
1
+ import type { AssetsApi } from '#types/AssetsApi';
2
2
  export declare function AppShell({ appName, children, assetsApi, userType, }: {
3
3
  appName: string;
4
4
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import type { AssetsApi } from '#src/types/AssetsApi';
1
+ import type { AssetsApi } from '#types/AssetsApi';
2
2
  export declare const SetAppState: ({ assetsApi, userType, }: {
3
3
  assetsApi: AssetsApi;
4
4
  userType: string;
@@ -1,4 +1,4 @@
1
- import type { AssetsApi } from '#src/types/AssetsApi';
1
+ import type { AssetsApi } from '#types/AssetsApi';
2
2
  interface AppState {
3
3
  assetsApi: AssetsApi;
4
4
  userType: string;
@@ -1,4 +1,4 @@
1
- import type { AssetsApi } from '#src/types/AssetsApi';
1
+ import type { AssetsApi } from '#types/AssetsApi';
2
2
  type UseAssetManagerResult = ReturnType<typeof useAssetsManager>;
3
3
  declare function useAssetsManager(): {
4
4
  api: AssetsApi;
@@ -1,5 +1,5 @@
1
- import type { UserApi } from '#src/types/UserApi';
2
- import type { UserItem } from '#src/types/UserItem';
1
+ import type { UserApi } from '#types/UserApi';
2
+ import type { UserItem } from '#types/UserItem';
3
3
  interface AuthProviderProps {
4
4
  userApi: UserApi;
5
5
  children?: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const ItemForm: {
3
3
  ({ children, item, title, setPopupTitle, }: {
4
4
  children?: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const ItemView: {
3
3
  ({ children, item }: {
4
4
  children?: React.ReactNode;
@@ -1,2 +1,2 @@
1
- import type { LayerProps } from '#src/types/LayerProps';
1
+ import type { LayerProps } from '#types/LayerProps';
2
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
- import type { ItemsApi } from '#src/types/ItemsApi';
2
- import type { Permission } from '#src/types/Permission';
1
+ import type { ItemsApi } from '#types/ItemsApi';
2
+ import type { Permission } from '#types/Permission';
3
3
  export declare function Permissions({ data, api, adminRole, }: {
4
4
  data?: Permission[];
5
5
  api?: ItemsApi<Permission>;
@@ -1,2 +1,2 @@
1
- import type { ItemFormPopupProps } from '#src/types/ItemFormPopupProps';
1
+ import type { ItemFormPopupProps } from '#types/ItemFormPopupProps';
2
2
  export declare function ItemFormPopup(props: ItemFormPopupProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import type { Item } from '#src/types/Item';
2
- import type { ItemsApi } from '#src/types/ItemsApi';
1
+ import type { Item } from '#types/Item';
2
+ import type { ItemsApi } from '#types/ItemsApi';
3
3
  export declare function HeaderView({ item, api, editCallback, deleteCallback, setPositionCallback, itemNameField, itemSubnameField, itemAvatarField, loading, hideMenu, big, truncateSubname, hideSubname, showAddress, }: {
4
4
  item: Item;
5
5
  api?: ItemsApi<any>;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const PopupButton: ({ url, parameterField, text, colorField, item, }: {
3
3
  url: string;
4
4
  parameterField?: string;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const PopupCheckboxInput: ({ dataField, label, item, }: {
3
3
  dataField: string;
4
4
  label: string;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  interface StartEndInputProps {
3
3
  item?: Item;
4
4
  showLabels?: boolean;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const PopupTextAreaInput: ({ dataField, placeholder, style, item, }: {
3
3
  dataField: string;
4
4
  placeholder: string;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const PopupTextInput: ({ dataField, placeholder, style, item, }: {
3
3
  dataField: string;
4
4
  placeholder: string;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const StartEndView: ({ item }: {
3
3
  item?: Item;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const TextView: ({ item, truncate, itemTextField, rawText, }: {
3
3
  item?: Item;
4
4
  truncate?: boolean;
@@ -1,5 +1,5 @@
1
- import type { Item } from '#src/types/Item';
2
- import type { ItemFormPopupProps } from '#src/types/ItemFormPopupProps';
1
+ import type { Item } from '#types/Item';
2
+ import type { ItemFormPopupProps } from '#types/ItemFormPopupProps';
3
3
  export interface ItemViewPopupProps {
4
4
  item: Item;
5
5
  children?: React.ReactNode;
@@ -1,5 +1,5 @@
1
- import type { ItemsApi } from '#src/types/ItemsApi';
2
- import type { Tag } from '#src/types/Tag';
1
+ import type { ItemsApi } from '#types/ItemsApi';
2
+ import type { Tag } from '#types/Tag';
3
3
  export declare function Tags({ data, api }: {
4
4
  data?: Tag[];
5
5
  api?: ItemsApi<Tag>;
@@ -1,4 +1,4 @@
1
- import type { UtopiaMapProps } from '#src/types/UtopiaMapProps';
1
+ import type { UtopiaMapProps } from '#types/UtopiaMapProps';
2
2
  import 'react-toastify/dist/ReactToastify.css';
3
- declare function UtopiaMap({ height, width, center, zoom, children, geo, showFilterControl, showGratitudeControl, showLayerControl, infoText, }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function UtopiaMap({ height, width, center, zoom, children, geo, showFilterControl, showGratitudeControl, showLayerControl, infoText, donationWidget, }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
4
4
  export { UtopiaMap };
@@ -1,4 +1,4 @@
1
1
  import 'leaflet/dist/leaflet.css';
2
2
  import './UtopiaMap.css';
3
- import type { UtopiaMapProps } from '#src/types/UtopiaMapProps';
4
- export declare function UtopiaMapInner({ children, geo, showFilterControl, showGratitudeControl, showLayerControl, infoText, }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
3
+ import type { UtopiaMapProps } from '#types/UtopiaMapProps';
4
+ export declare function UtopiaMapInner({ children, geo, showFilterControl, showGratitudeControl, showLayerControl, donationWidget, }: UtopiaMapProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import type { LayerProps } from '#src/types/LayerProps';
2
- import type { Tag } from '#src/types/Tag';
1
+ import type { LayerProps } from '#types/LayerProps';
2
+ import type { Tag } from '#types/Tag';
3
3
  type UseFilterManagerResult = ReturnType<typeof useFilterManager>;
4
4
  declare function useFilterManager(initialTags: Tag[]): {
5
5
  filterTags: Tag[];
@@ -1,5 +1,5 @@
1
- import type { Item } from '#src/types/Item';
2
- import type { LayerProps } from '#src/types/LayerProps';
1
+ import type { Item } from '#types/Item';
2
+ import type { LayerProps } from '#types/LayerProps';
3
3
  type UseItemManagerResult = ReturnType<typeof useItemsManager>;
4
4
  declare function useItemsManager(initialItems: Item[]): {
5
5
  items: Item[];
@@ -1,4 +1,4 @@
1
- import type { LayerProps } from '#src/types/LayerProps';
1
+ import type { LayerProps } from '#types/LayerProps';
2
2
  type UseItemManagerResult = ReturnType<typeof useLayerManager>;
3
3
  declare function useLayerManager(initialLayers: LayerProps[]): {
4
4
  layers: LayerProps[];
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  import type { Marker, Popup } from 'leaflet';
3
3
  interface LeafletRef {
4
4
  item: Item;
@@ -1,8 +1,8 @@
1
- import type { Item } from '#src/types/Item';
2
- import type { ItemsApi } from '#src/types/ItemsApi';
3
- import type { LayerProps } from '#src/types/LayerProps';
4
- import type { Permission } from '#src/types/Permission';
5
- import type { PermissionAction } from '#src/types/PermissionAction';
1
+ import type { Item } from '#types/Item';
2
+ import type { ItemsApi } from '#types/ItemsApi';
3
+ import type { LayerProps } from '#types/LayerProps';
4
+ import type { Permission } from '#types/Permission';
5
+ import type { PermissionAction } from '#types/PermissionAction';
6
6
  type UsePermissionManagerResult = ReturnType<typeof usePermissionsManager>;
7
7
  declare function usePermissionsManager(initialPermissions: Permission[]): {
8
8
  permissions: Permission[];
@@ -1,6 +1,6 @@
1
- import type { Item } from '#src/types/Item';
2
- import type { ItemFormPopupProps } from '#src/types/ItemFormPopupProps';
3
- import type { LayerProps } from '#src/types/LayerProps';
1
+ import type { Item } from '#types/Item';
2
+ import type { ItemFormPopupProps } from '#types/ItemFormPopupProps';
3
+ import type { LayerProps } from '#types/LayerProps';
4
4
  import type { LatLng } from 'leaflet';
5
5
  interface PolygonClickedProps {
6
6
  position: LatLng;
@@ -1,6 +1,6 @@
1
- import type { Item } from '#src/types/Item';
2
- import type { ItemsApi } from '#src/types/ItemsApi';
3
- import type { Tag } from '#src/types/Tag';
1
+ import type { Item } from '#types/Item';
2
+ import type { ItemsApi } from '#types/ItemsApi';
3
+ import type { Tag } from '#types/Tag';
4
4
  type UseTagManagerResult = ReturnType<typeof useTagsManager>;
5
5
  declare function useTagsManager(initialTags: Tag[]): {
6
6
  tags: Tag[];
@@ -1,4 +1,4 @@
1
- import type { ItemsApi } from '#src/types/ItemsApi';
1
+ import type { ItemsApi } from '#types/ItemsApi';
2
2
  export declare function ProfileView({ attestationApi }: {
3
3
  attestationApi?: ItemsApi<any>;
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare function ActionButton({ item, triggerAddButton, triggerItemSelected, existingRelations, itemType, colorField, collection, customStyle, }: {
3
3
  triggerAddButton?: any;
4
4
  triggerItemSelected?: any;
@@ -1,4 +1,4 @@
1
- import type { FormState } from '#src/types/FormState';
1
+ import type { FormState } from '#types/FormState';
2
2
  export declare const ContactInfoForm: ({ state, setState, }: {
3
3
  state: FormState;
4
4
  setState: React.Dispatch<React.SetStateAction<any>>;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const ContactInfoView: ({ item, heading }: {
3
3
  item: Item;
4
4
  heading: string;
@@ -1,6 +1,6 @@
1
1
  import 'yet-another-react-lightbox/styles.css';
2
2
  import 'react-photo-album/rows.css';
3
- import type { Item } from '#src/types/Item';
3
+ import type { Item } from '#types/Item';
4
4
  export declare const GalleryView: ({ item }: {
5
5
  item: Item;
6
6
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const GroupSubHeaderView: ({ item, shareBaseUrl, platforms, }: {
3
3
  item: Item;
4
4
  shareBaseUrl: string;
@@ -1,5 +1,5 @@
1
- import type { FormState } from '#src/types/FormState';
2
- import type { Item } from '#src/types/Item';
1
+ import type { FormState } from '#types/FormState';
2
+ import type { Item } from '#types/Item';
3
3
  interface groupType {
4
4
  groupTypes_id: {
5
5
  name: string;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare function LinkedItemsHeaderView({ item, unlinkCallback, itemNameField, itemAvatarField, loading, unlinkPermission, itemSubnameField, }: {
3
3
  item: Item;
4
4
  unlinkCallback?: any;
@@ -1,4 +1,4 @@
1
- import type { LayerProps } from '#src/types/LayerProps';
1
+ import type { LayerProps } from '#types/LayerProps';
2
2
  export declare function PlusButton({ layer, triggerAction, color, collection, }: {
3
3
  layer?: LayerProps;
4
4
  triggerAction: any;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const ProfileStartEndForm: ({ item, setState, }: {
3
3
  item: Item;
4
4
  setState: React.Dispatch<React.SetStateAction<any>>;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const ProfileStartEndView: ({ item }: {
3
3
  item: Item;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { FormState } from '#src/types/FormState';
1
+ import type { FormState } from '#types/FormState';
2
2
  export declare const ProfileTextForm: ({ state, setState, dataField, heading, size, hideInputLabel, required, }: {
3
3
  state: FormState;
4
4
  setState: React.Dispatch<React.SetStateAction<any>>;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const ProfileTextView: ({ item, dataField, heading, hideWhenEmpty, }: {
3
3
  item: Item;
4
4
  dataField: string;
@@ -1,5 +1,5 @@
1
- import type { FormState } from '#src/types/FormState';
2
- import type { Item } from '#src/types/Item';
1
+ import type { FormState } from '#types/FormState';
2
+ import type { Item } from '#types/Item';
3
3
  export declare const FlexForm: ({ item, state, setState, }: {
4
4
  state: FormState;
5
5
  setState: React.Dispatch<React.SetStateAction<any>>;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const FlexView: ({ item }: {
3
3
  item: Item;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import type { FormState } from '#src/types/FormState';
2
- import type { Item } from '#src/types/Item';
1
+ import type { FormState } from '#types/FormState';
2
+ import type { Item } from '#types/Item';
3
3
  export declare const OnepagerForm: ({ item, state, setState, }: {
4
4
  state: FormState;
5
5
  setState: React.Dispatch<React.SetStateAction<any>>;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const OnepagerView: ({ item }: {
3
3
  item: Item;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const SimpleView: ({ item }: {
3
3
  item: Item;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import type { Item } from '#src/types/Item';
2
- import type { Tag } from '#src/types/Tag';
1
+ import type { Item } from '#types/Item';
2
+ import type { Tag } from '#types/Tag';
3
3
  export declare const TabsView: ({ attestations, item, offers, needs, relations, updatePermission, loading, linkItem, unlinkItem, }: {
4
4
  attestations: any[];
5
5
  item: Item;
@@ -1,4 +1,4 @@
1
- import type { ItemsApi } from '#src/types/ItemsApi';
1
+ import type { ItemsApi } from '#types/ItemsApi';
2
2
  export declare const AttestationForm: ({ api }: {
3
3
  api?: ItemsApi<unknown>;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const DateUserInfo: ({ item }: {
3
3
  item: Item;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { Item } from '#src/types/Item';
1
+ import type { Item } from '#types/Item';
2
2
  export declare const ItemCard: ({ i, loading, url, parameterField, deleteCallback, }: {
3
3
  i: Item;
4
4
  loading: boolean;
@@ -1,4 +1,4 @@
1
- import type { Tag } from '#src/types/Tag';
1
+ import type { Tag } from '#types/Tag';
2
2
  export declare const TagView: ({ tag, heighlight, onClick, count, }: {
3
3
  tag: Tag;
4
4
  heighlight?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utopia-ui",
3
- "version": "3.0.58",
3
+ "version": "3.0.59",
4
4
  "description": "Reuseable React Components to build mapping apps for real life communities and networks",
5
5
  "repository": "https://github.com/utopia-os/utopia-ui",
6
6
  "homepage": "https://utopia-os.org/",