utopia-ui 3.0.60 → 3.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/index.cjs +269 -199
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +396 -27
- package/dist/index.esm.js +268 -200
- package/dist/index.esm.js.map +1 -1
- package/dist/types/cypress/support/component.d.ts +9 -0
- package/dist/types/cypress.config.d.ts +2 -0
- package/dist/types/src/Components/AppShell/AppShell.d.ts +4 -0
- package/dist/types/src/Components/AppShell/Content.d.ts +3 -0
- package/dist/types/src/Components/AppShell/SideBar.d.ts +3 -0
- package/dist/types/src/Components/AppShell/Sitemap.d.ts +3 -0
- package/dist/types/src/Components/AppShell/index.d.ts +1 -1
- package/dist/types/src/Components/Auth/LoginPage.d.ts +3 -0
- package/dist/types/src/Components/Auth/RequestPasswordPage.d.ts +3 -0
- package/dist/types/src/Components/Auth/SetNewPasswordPage.d.ts +3 -0
- package/dist/types/src/Components/Auth/SignupPage.d.ts +3 -0
- package/dist/types/src/Components/Auth/index.d.ts +1 -1
- package/dist/types/src/Components/Auth/useAuth.d.ts +5 -1
- package/dist/types/src/Components/Gaming/Modal.d.ts +3 -0
- package/dist/types/src/Components/Gaming/Quests.d.ts +3 -0
- package/dist/types/src/Components/Input/SelectBox.d.ts +3 -0
- package/dist/types/src/Components/Input/TextAreaInput.d.ts +3 -0
- package/dist/types/src/Components/Input/TextInput.d.ts +3 -0
- package/dist/types/src/Components/Map/ItemForm.d.ts +3 -0
- package/dist/types/src/Components/Map/ItemView.d.ts +3 -0
- package/dist/types/src/Components/Map/Layer.d.ts +8 -1
- package/dist/types/src/Components/Map/Permissions.d.ts +11 -2
- package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +1 -4
- package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +4 -2
- package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +3 -0
- package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +3 -0
- package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +3 -0
- package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +3 -0
- package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +3 -0
- package/dist/types/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +7 -2
- package/dist/types/src/Components/Map/Tags.d.ts +3 -0
- package/dist/types/src/Components/Map/UtopiaMap.d.ts +3 -0
- package/dist/types/src/Components/Map/index.d.ts +2 -2
- package/dist/types/src/Components/Profile/ProfileForm.d.ts +3 -0
- package/dist/types/src/Components/Profile/ProfileView.d.ts +3 -0
- package/dist/types/src/Components/Profile/Subcomponents/ActionsButton.d.ts +1 -2
- package/dist/types/src/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +1 -4
- package/dist/types/src/Components/Profile/UserSettings.d.ts +3 -0
- package/dist/types/src/Components/Templates/AttestationForm.d.ts +3 -0
- package/dist/types/src/Components/Templates/CardPage.d.ts +3 -0
- package/dist/types/src/Components/Templates/ItemCard.d.ts +1 -2
- package/dist/types/src/Components/Templates/MapOverlayPage.d.ts +3 -0
- package/dist/types/src/Components/Templates/MarketView.d.ts +3 -0
- package/dist/types/src/Components/Templates/MoonCalendar.d.ts +3 -0
- package/dist/types/src/Components/Templates/OverlayItemsIndexPage.d.ts +4 -1
- package/dist/types/src/Components/Templates/SelectUser.d.ts +3 -0
- package/dist/types/src/Components/Templates/TitleCard.d.ts +3 -0
- package/dist/types/src/index.d.ts +7 -8
- package/package.json +12 -5
- package/dist/Components/AppShell/AppShell.d.ts +0 -8
- package/dist/Components/AppShell/Content.d.ts +0 -6
- package/dist/Components/AppShell/ContextWrapper.d.ts +0 -6
- package/dist/Components/AppShell/NavBar.d.ts +0 -4
- package/dist/Components/AppShell/SetAppState.d.ts +0 -5
- package/dist/Components/AppShell/SideBar.d.ts +0 -13
- package/dist/Components/AppShell/SidebarSubmenu.d.ts +0 -8
- package/dist/Components/AppShell/Sitemap.d.ts +0 -3
- package/dist/Components/AppShell/hooks/useAppState.d.ts +0 -17
- package/dist/Components/AppShell/hooks/useAssets.d.ts +0 -13
- package/dist/Components/AppShell/index.d.ts +0 -4
- package/dist/Components/Auth/LoginPage.d.ts +0 -1
- package/dist/Components/Auth/RequestPasswordPage.d.ts +0 -3
- package/dist/Components/Auth/SetNewPasswordPage.d.ts +0 -1
- package/dist/Components/Auth/SignupPage.d.ts +0 -1
- package/dist/Components/Auth/index.d.ts +0 -5
- package/dist/Components/Auth/useAuth.d.ts +0 -27
- package/dist/Components/Gaming/Modal.d.ts +0 -5
- package/dist/Components/Gaming/Quests.d.ts +0 -1
- package/dist/Components/Gaming/hooks/useQuests.d.ts +0 -13
- package/dist/Components/Gaming/index.d.ts +0 -2
- package/dist/Components/Input/Autocomplete.d.ts +0 -7
- package/dist/Components/Input/ComboBoxInput.d.ts +0 -8
- package/dist/Components/Input/SelectBox.d.ts +0 -16
- package/dist/Components/Input/TextAreaInput.d.ts +0 -13
- package/dist/Components/Input/TextInput.d.ts +0 -16
- package/dist/Components/Input/index.d.ts +0 -3
- package/dist/Components/Map/ItemForm.d.ts +0 -17
- package/dist/Components/Map/ItemView.d.ts +0 -14
- package/dist/Components/Map/Layer.d.ts +0 -2
- package/dist/Components/Map/Permissions.d.ts +0 -7
- package/dist/Components/Map/Subcomponents/AddButton.d.ts +0 -4
- package/dist/Components/Map/Subcomponents/Controls/Control.d.ts +0 -6
- package/dist/Components/Map/Subcomponents/Controls/FilterControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/LayerControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/LocateControl.d.ts +0 -3
- package/dist/Components/Map/Subcomponents/Controls/QuestControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/SearchControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/Controls/TagsControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/ItemFormPopup.d.ts +0 -2
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +0 -18
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +0 -7
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +0 -6
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +0 -9
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +0 -7
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +0 -7
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +0 -4
- package/dist/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +0 -6
- package/dist/Components/Map/Subcomponents/ItemViewPopup.d.ts +0 -9
- package/dist/Components/Map/Subcomponents/SelectPosition.d.ts +0 -3
- package/dist/Components/Map/Tags.d.ts +0 -6
- package/dist/Components/Map/UtopiaMap.d.ts +0 -4
- package/dist/Components/Map/UtopiaMapInner.d.ts +0 -4
- package/dist/Components/Map/hooks/useClusterRef.d.ts +0 -12
- package/dist/Components/Map/hooks/useDebounce.d.ts +0 -1
- package/dist/Components/Map/hooks/useFilter.d.ts +0 -41
- package/dist/Components/Map/hooks/useItems.d.ts +0 -27
- package/dist/Components/Map/hooks/useLayers.d.ts +0 -14
- package/dist/Components/Map/hooks/useLeafletRefs.d.ts +0 -22
- package/dist/Components/Map/hooks/usePermissions.d.ts +0 -24
- package/dist/Components/Map/hooks/useSelectPosition.d.ts +0 -24
- package/dist/Components/Map/hooks/useTags.d.ts +0 -24
- package/dist/Components/Map/hooks/useTimeout.d.ts +0 -4
- package/dist/Components/Map/hooks/useWindowDimension.d.ts +0 -4
- package/dist/Components/Map/index.d.ts +0 -13
- package/dist/Components/Map/setItemLocation.d.ts +0 -1
- package/dist/Components/Profile/ProfileForm.d.ts +0 -1
- package/dist/Components/Profile/ProfileView.d.ts +0 -4
- package/dist/Components/Profile/Subcomponents/ActionsButton.d.ts +0 -10
- package/dist/Components/Profile/Subcomponents/AvatarWidget.d.ts +0 -8
- package/dist/Components/Profile/Subcomponents/ColorPicker.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/ContactInfoForm.d.ts +0 -5
- package/dist/Components/Profile/Subcomponents/ContactInfoView.d.ts +0 -5
- package/dist/Components/Profile/Subcomponents/FormHeader.d.ts +0 -5
- package/dist/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +0 -18
- package/dist/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +0 -7
- package/dist/Components/Profile/Subcomponents/MarkdownHint.d.ts +0 -1
- package/dist/Components/Profile/Subcomponents/PlusButton.d.ts +0 -7
- package/dist/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +0 -5
- package/dist/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +0 -4
- package/dist/Components/Profile/Subcomponents/ProfileTextForm.d.ts +0 -10
- package/dist/Components/Profile/Subcomponents/ProfileTextView.d.ts +0 -7
- package/dist/Components/Profile/Subcomponents/RelationCard.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/SocialShareBar.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/SocialShareButton.d.ts +0 -6
- package/dist/Components/Profile/Subcomponents/TagsWidget.d.ts +0 -6
- package/dist/Components/Profile/Templates/FlexForm.d.ts +0 -7
- package/dist/Components/Profile/Templates/FlexView.d.ts +0 -4
- package/dist/Components/Profile/Templates/OnepagerForm.d.ts +0 -7
- package/dist/Components/Profile/Templates/OnepagerView.d.ts +0 -4
- package/dist/Components/Profile/Templates/SimpleForm.d.ts +0 -4
- package/dist/Components/Profile/Templates/SimpleView.d.ts +0 -4
- package/dist/Components/Profile/Templates/TabsForm.d.ts +0 -10
- package/dist/Components/Profile/Templates/TabsView.d.ts +0 -13
- package/dist/Components/Profile/UserSettings.d.ts +0 -1
- package/dist/Components/Profile/hooks/useClickOutside.d.ts +0 -2
- package/dist/Components/Profile/index.d.ts +0 -4
- package/dist/Components/Profile/itemFunctions.d.ts +0 -5
- package/dist/Components/Templates/AttestationForm.d.ts +0 -4
- package/dist/Components/Templates/CardPage.d.ts +0 -10
- package/dist/Components/Templates/CircleLayout.d.ts +0 -5
- package/dist/Components/Templates/DateUserInfo.d.ts +0 -4
- package/dist/Components/Templates/DialogModal.d.ts +0 -12
- package/dist/Components/Templates/EmojiPicker.d.ts +0 -10
- package/dist/Components/Templates/ItemCard.d.ts +0 -7
- package/dist/Components/Templates/MapOverlayPage.d.ts +0 -7
- package/dist/Components/Templates/MarketView.d.ts +0 -1
- package/dist/Components/Templates/MoonCalendar.d.ts +0 -1
- package/dist/Components/Templates/OverlayItemsIndexPage.d.ts +0 -5
- package/dist/Components/Templates/SelectUser.d.ts +0 -1
- package/dist/Components/Templates/TagView.d.ts +0 -7
- package/dist/Components/Templates/TitleCard.d.ts +0 -11
- package/dist/Components/Templates/index.d.ts +0 -8
- package/dist/Components/Typography/ErrorText.d.ts +0 -5
- package/dist/Components/Typography/Subtitle.d.ts +0 -6
- package/dist/Utils/ContainsUUID.d.ts +0 -1
- package/dist/Utils/FormatTags.d.ts +0 -2
- package/dist/Utils/HashTagRegex.d.ts +0 -1
- package/dist/Utils/MarkerIconFactory.d.ts +0 -2
- package/dist/Utils/Moon.d.ts +0 -7
- package/dist/Utils/RandomColor.d.ts +0 -1
- package/dist/Utils/ReplaceURLs.d.ts +0 -3
- package/dist/Utils/ReverseGeocoder.d.ts +0 -1
- package/dist/Utils/TimeAgo.d.ts +0 -1
- package/dist/index.js +0 -5268
- package/dist/index.js.map +0 -1
- package/dist/setupTest.d.ts +0 -1
- package/dist/src/Components/AppShell/AppShell.d.ts +0 -7
- package/dist/src/Components/AppShell/Content.d.ts +0 -5
- package/dist/src/Components/AppShell/ContextWrapper.d.ts +0 -6
- package/dist/src/Components/AppShell/NavBar.d.ts +0 -4
- package/dist/src/Components/AppShell/SetAppState.d.ts +0 -5
- package/dist/src/Components/AppShell/SideBar.d.ts +0 -12
- package/dist/src/Components/AppShell/SidebarSubmenu.d.ts +0 -7
- package/dist/src/Components/AppShell/Sitemap.d.ts +0 -3
- package/dist/src/Components/AppShell/hooks/useAppState.d.ts +0 -16
- package/dist/src/Components/AppShell/hooks/useAssets.d.ts +0 -12
- package/dist/src/Components/AppShell/index.d.ts +0 -4
- package/dist/src/Components/Auth/LoginPage.d.ts +0 -1
- package/dist/src/Components/Auth/RequestPasswordPage.d.ts +0 -3
- package/dist/src/Components/Auth/SetNewPasswordPage.d.ts +0 -1
- package/dist/src/Components/Auth/SignupPage.d.ts +0 -1
- package/dist/src/Components/Auth/index.d.ts +0 -5
- package/dist/src/Components/Auth/useAuth.d.ts +0 -26
- package/dist/src/Components/Gaming/Modal.d.ts +0 -4
- package/dist/src/Components/Gaming/Quests.d.ts +0 -1
- package/dist/src/Components/Gaming/hooks/useQuests.d.ts +0 -12
- package/dist/src/Components/Gaming/index.d.ts +0 -2
- package/dist/src/Components/Input/Autocomplete.d.ts +0 -7
- package/dist/src/Components/Input/ComboBoxInput.d.ts +0 -8
- package/dist/src/Components/Input/SelectBox.d.ts +0 -16
- package/dist/src/Components/Input/TextAreaInput.d.ts +0 -13
- package/dist/src/Components/Input/TextInput.d.ts +0 -16
- package/dist/src/Components/Input/index.d.ts +0 -3
- package/dist/src/Components/Map/ItemForm.d.ts +0 -16
- package/dist/src/Components/Map/ItemView.d.ts +0 -14
- package/dist/src/Components/Map/Layer.d.ts +0 -2
- package/dist/src/Components/Map/Permissions.d.ts +0 -7
- package/dist/src/Components/Map/Subcomponents/AddButton.d.ts +0 -3
- package/dist/src/Components/Map/Subcomponents/Controls/Control.d.ts +0 -6
- package/dist/src/Components/Map/Subcomponents/Controls/FilterControl.d.ts +0 -1
- package/dist/src/Components/Map/Subcomponents/Controls/GratitudeControl.d.ts +0 -1
- package/dist/src/Components/Map/Subcomponents/Controls/LayerControl.d.ts +0 -1
- package/dist/src/Components/Map/Subcomponents/Controls/LocateControl.d.ts +0 -3
- package/dist/src/Components/Map/Subcomponents/Controls/QuestControl.d.ts +0 -1
- package/dist/src/Components/Map/Subcomponents/Controls/SearchControl.d.ts +0 -1
- package/dist/src/Components/Map/Subcomponents/Controls/SidebarControl.d.ts +0 -1
- package/dist/src/Components/Map/Subcomponents/Controls/TagsControl.d.ts +0 -1
- package/dist/src/Components/Map/Subcomponents/ItemFormPopup.d.ts +0 -2
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.d.ts +0 -15
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.d.ts +0 -7
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupCheckboxInput.d.ts +0 -6
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupStartEndInput.d.ts +0 -9
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextAreaInput.d.ts +0 -7
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/PopupTextInput.d.ts +0 -7
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/StartEndView.d.ts +0 -4
- package/dist/src/Components/Map/Subcomponents/ItemPopupComponents/TextView.d.ts +0 -6
- package/dist/src/Components/Map/Subcomponents/ItemViewPopup.d.ts +0 -8
- package/dist/src/Components/Map/Subcomponents/SelectPosition.d.ts +0 -3
- package/dist/src/Components/Map/Tags.d.ts +0 -6
- package/dist/src/Components/Map/UtopiaMap.d.ts +0 -4
- package/dist/src/Components/Map/UtopiaMapInner.d.ts +0 -4
- package/dist/src/Components/Map/hooks/useClusterRef.d.ts +0 -11
- package/dist/src/Components/Map/hooks/useDebounce.d.ts +0 -1
- package/dist/src/Components/Map/hooks/useFilter.d.ts +0 -40
- package/dist/src/Components/Map/hooks/useItems.d.ts +0 -26
- package/dist/src/Components/Map/hooks/useLayers.d.ts +0 -13
- package/dist/src/Components/Map/hooks/useLeafletRefs.d.ts +0 -21
- package/dist/src/Components/Map/hooks/usePermissions.d.ts +0 -23
- package/dist/src/Components/Map/hooks/useSelectPosition.d.ts +0 -23
- package/dist/src/Components/Map/hooks/useTags.d.ts +0 -23
- package/dist/src/Components/Map/hooks/useTimeout.d.ts +0 -4
- package/dist/src/Components/Map/hooks/useWindowDimension.d.ts +0 -4
- package/dist/src/Components/Map/index.d.ts +0 -13
- package/dist/src/Components/Map/setItemLocation.d.ts +0 -1
- package/dist/src/Components/Profile/ProfileForm.d.ts +0 -1
- package/dist/src/Components/Profile/ProfileView.d.ts +0 -4
- package/dist/src/Components/Profile/Subcomponents/ActionsButton.d.ts +0 -10
- package/dist/src/Components/Profile/Subcomponents/AvatarWidget.d.ts +0 -7
- package/dist/src/Components/Profile/Subcomponents/ColorPicker.d.ts +0 -6
- package/dist/src/Components/Profile/Subcomponents/ContactInfoForm.d.ts +0 -5
- package/dist/src/Components/Profile/Subcomponents/ContactInfoView.d.ts +0 -5
- package/dist/src/Components/Profile/Subcomponents/FormHeader.d.ts +0 -5
- package/dist/src/Components/Profile/Subcomponents/GalleryView.d.ts +0 -6
- package/dist/src/Components/Profile/Subcomponents/GroupSubHeaderView.d.ts +0 -6
- package/dist/src/Components/Profile/Subcomponents/GroupSubheaderForm.d.ts +0 -18
- package/dist/src/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +0 -7
- package/dist/src/Components/Profile/Subcomponents/MarkdownHint.d.ts +0 -1
- package/dist/src/Components/Profile/Subcomponents/PlusButton.d.ts +0 -7
- package/dist/src/Components/Profile/Subcomponents/ProfileStartEndForm.d.ts +0 -5
- package/dist/src/Components/Profile/Subcomponents/ProfileStartEndView.d.ts +0 -4
- package/dist/src/Components/Profile/Subcomponents/ProfileTextForm.d.ts +0 -10
- package/dist/src/Components/Profile/Subcomponents/ProfileTextView.d.ts +0 -7
- package/dist/src/Components/Profile/Subcomponents/RelationCard.d.ts +0 -6
- package/dist/src/Components/Profile/Subcomponents/SocialShareBar.d.ts +0 -6
- package/dist/src/Components/Profile/Subcomponents/SocialShareButton.d.ts +0 -6
- package/dist/src/Components/Profile/Subcomponents/TagsWidget.d.ts +0 -6
- package/dist/src/Components/Profile/Templates/FlexForm.d.ts +0 -7
- package/dist/src/Components/Profile/Templates/FlexView.d.ts +0 -4
- package/dist/src/Components/Profile/Templates/OnepagerForm.d.ts +0 -7
- package/dist/src/Components/Profile/Templates/OnepagerView.d.ts +0 -4
- package/dist/src/Components/Profile/Templates/SimpleForm.d.ts +0 -4
- package/dist/src/Components/Profile/Templates/SimpleView.d.ts +0 -4
- package/dist/src/Components/Profile/Templates/TabsForm.d.ts +0 -10
- package/dist/src/Components/Profile/Templates/TabsView.d.ts +0 -13
- package/dist/src/Components/Profile/UserSettings.d.ts +0 -1
- package/dist/src/Components/Profile/hooks/useClickOutside.d.ts +0 -2
- package/dist/src/Components/Profile/index.d.ts +0 -4
- package/dist/src/Components/Profile/itemFunctions.d.ts +0 -5
- package/dist/src/Components/Templates/AttestationForm.d.ts +0 -4
- package/dist/src/Components/Templates/CardPage.d.ts +0 -9
- package/dist/src/Components/Templates/CircleLayout.d.ts +0 -5
- package/dist/src/Components/Templates/DateUserInfo.d.ts +0 -4
- package/dist/src/Components/Templates/DialogModal.d.ts +0 -11
- package/dist/src/Components/Templates/EmojiPicker.d.ts +0 -10
- package/dist/src/Components/Templates/ItemCard.d.ts +0 -7
- package/dist/src/Components/Templates/MapOverlayPage.d.ts +0 -6
- package/dist/src/Components/Templates/MarketView.d.ts +0 -1
- package/dist/src/Components/Templates/MoonCalendar.d.ts +0 -1
- package/dist/src/Components/Templates/OverlayItemsIndexPage.d.ts +0 -5
- package/dist/src/Components/Templates/SelectUser.d.ts +0 -1
- package/dist/src/Components/Templates/TagView.d.ts +0 -7
- package/dist/src/Components/Templates/TitleCard.d.ts +0 -10
- package/dist/src/Components/Templates/index.d.ts +0 -8
- package/dist/src/Components/Typography/ErrorText.d.ts +0 -5
- package/dist/src/Components/Typography/Subtitle.d.ts +0 -5
- package/dist/src/Utils/ContainsUUID.d.ts +0 -1
- package/dist/src/Utils/FormatTags.d.ts +0 -2
- package/dist/src/Utils/GetValue.d.ts +0 -1
- package/dist/src/Utils/HashTagRegex.d.ts +0 -1
- package/dist/src/Utils/MarkerIconFactory.d.ts +0 -2
- package/dist/src/Utils/Moon.d.ts +0 -7
- package/dist/src/Utils/RandomColor.d.ts +0 -1
- package/dist/src/Utils/ReplaceURLs.d.ts +0 -3
- package/dist/src/Utils/ReverseGeocoder.d.ts +0 -1
- package/dist/src/Utils/TimeAgo.d.ts +0 -1
- package/dist/src/index.d.ts +0 -15
- package/dist/vite.config.d.ts +0 -2
- /package/dist/{src/Components/Input/TextInput.spec.d.ts → types/src/Components/Input/TextInput.cy.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
@@ -1,37 +1,259 @@
|
|
1
|
-
import * as react_jsx_runtime from '
|
2
|
-
import {
|
3
|
-
|
4
|
-
import {
|
5
|
-
export {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
+
import { GeoJsonObject, Geometry, Point } from 'geojson';
|
3
|
+
import { Key } from 'react';
|
4
|
+
import { LatLng } from 'leaflet';
|
5
|
+
export { Popup } from 'leaflet';
|
6
|
+
|
7
|
+
/**
|
8
|
+
* @category Types
|
9
|
+
*/
|
10
|
+
interface Tag {
|
11
|
+
color: string
|
12
|
+
id: string
|
13
|
+
name: string
|
14
|
+
offer_or_need?: boolean
|
15
|
+
}
|
16
|
+
|
17
|
+
interface UtopiaMapProps {
|
18
|
+
height?: string
|
19
|
+
width?: string
|
20
|
+
center?: [number, number]
|
21
|
+
zoom?: number
|
22
|
+
tags?: Tag[]
|
23
|
+
children?: React.ReactNode
|
24
|
+
geo?: GeoJsonObject
|
25
|
+
showFilterControl?: boolean
|
26
|
+
showLayerControl?: boolean
|
27
|
+
showGratitudeControl?: boolean
|
28
|
+
infoText?: string
|
29
|
+
donationWidget?: boolean
|
30
|
+
}
|
19
31
|
|
32
|
+
/**
|
33
|
+
* @category Map
|
34
|
+
*/
|
20
35
|
declare function UtopiaMap({ height, width, center, zoom, children, geo, showFilterControl, showGratitudeControl, showLayerControl, infoText, donationWidget, }: UtopiaMapProps): react_jsx_runtime.JSX.Element;
|
21
36
|
|
22
|
-
|
37
|
+
/**
|
38
|
+
* @category Types
|
39
|
+
*/
|
40
|
+
interface ItemsApi<T> {
|
41
|
+
getItems(): Promise<T[]>
|
42
|
+
getItem?(id: string): Promise<T>
|
43
|
+
createItem?(item: T): Promise<T>
|
44
|
+
updateItem?(item: Partial<T>): Promise<T>
|
45
|
+
deleteItem?(id: string): Promise<boolean>
|
46
|
+
collectionName?: string
|
47
|
+
}
|
48
|
+
|
49
|
+
interface ItemType {
|
50
|
+
name: string
|
51
|
+
show_name_input: boolean
|
52
|
+
show_profile_button: boolean
|
53
|
+
show_start_end: boolean
|
54
|
+
show_start_end_input: boolean
|
55
|
+
show_text: boolean
|
56
|
+
show_text_input: boolean
|
57
|
+
custom_text: string
|
58
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
59
|
+
profileTemplate: { collection: string | number; id: Key | null | undefined; item: any }[]
|
60
|
+
offers_and_needs: boolean
|
61
|
+
icon_as_labels: unknown
|
62
|
+
relations: boolean
|
63
|
+
template: string
|
64
|
+
questlog: boolean
|
65
|
+
}
|
66
|
+
|
67
|
+
interface Relation {
|
68
|
+
related_items_id: string
|
69
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
70
|
+
[key: string]: any
|
71
|
+
}
|
72
|
+
|
73
|
+
interface Profile {
|
74
|
+
id?: string
|
75
|
+
avatar?: string
|
76
|
+
color?: string
|
77
|
+
name: string
|
78
|
+
text: string
|
79
|
+
geoposition?: Geometry
|
80
|
+
}
|
81
|
+
|
82
|
+
/**
|
83
|
+
* @category Types
|
84
|
+
*/
|
85
|
+
interface UserItem {
|
86
|
+
id?: string
|
87
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
88
|
+
role?: any
|
89
|
+
email?: string
|
90
|
+
password?: string
|
91
|
+
profile?: Profile
|
92
|
+
first_name?: string
|
93
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
94
|
+
[key: string]: any
|
95
|
+
}
|
96
|
+
|
97
|
+
type TagIds = { tags_id: string }[]
|
98
|
+
|
99
|
+
interface GalleryItem {
|
100
|
+
directus_files_id: {
|
101
|
+
id: number
|
102
|
+
width: number
|
103
|
+
height: number
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
/**
|
108
|
+
* @category Types
|
109
|
+
*/
|
110
|
+
interface Item {
|
111
|
+
id: string
|
112
|
+
name: string
|
113
|
+
text?: string
|
114
|
+
data?: string
|
115
|
+
position?: Point | null
|
116
|
+
date_created?: string
|
117
|
+
date_updated?: string | null
|
118
|
+
start?: string
|
119
|
+
end?: string
|
120
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
121
|
+
api?: ItemsApi<any>
|
122
|
+
tags?: string[]
|
123
|
+
layer?: LayerProps
|
124
|
+
relations?: Relation[]
|
125
|
+
parent?: string
|
126
|
+
subname?: string
|
127
|
+
public_edit?: boolean
|
128
|
+
slug?: string
|
129
|
+
user_created?: UserItem
|
130
|
+
image?: string
|
131
|
+
group_type?: string
|
132
|
+
offers?: TagIds
|
133
|
+
needs?: TagIds
|
134
|
+
status?: string
|
135
|
+
color?: string
|
136
|
+
markerIcon?: string
|
137
|
+
avatar?: string
|
138
|
+
new?: boolean
|
139
|
+
contact?: string
|
140
|
+
telephone?: string
|
141
|
+
next_appointment?: string
|
142
|
+
type?: ItemType
|
143
|
+
gallery?: GalleryItem[]
|
144
|
+
|
145
|
+
// {
|
146
|
+
// coordinates: [number, number]
|
147
|
+
/* constructor(
|
148
|
+
id: string,
|
149
|
+
name: string,
|
150
|
+
text: string,
|
151
|
+
position: Geometry,
|
152
|
+
layer?: LayerProps,
|
153
|
+
api?: ItemsApi<any>,
|
154
|
+
) {
|
155
|
+
this.id = id
|
156
|
+
this.name = name
|
157
|
+
this.text = text
|
158
|
+
this.position = position
|
159
|
+
this.layer = layer
|
160
|
+
this.api = api
|
161
|
+
} */
|
162
|
+
}
|
163
|
+
|
164
|
+
interface ItemFormPopupProps {
|
165
|
+
position: LatLng
|
166
|
+
layer: LayerProps
|
167
|
+
item?: Item
|
168
|
+
children?: React.ReactNode
|
169
|
+
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>
|
170
|
+
}
|
171
|
+
|
172
|
+
/**
|
173
|
+
* @category Types
|
174
|
+
*/
|
175
|
+
interface LayerProps {
|
176
|
+
id?: string
|
177
|
+
data?: Item[]
|
178
|
+
children?: React.ReactNode
|
179
|
+
name: string
|
180
|
+
menuIcon: string
|
181
|
+
menuColor: string
|
182
|
+
menuText: string
|
183
|
+
markerIcon: string
|
184
|
+
markerShape: string
|
185
|
+
markerDefaultColor: string
|
186
|
+
markerDefaultColor2?: string
|
187
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
188
|
+
api?: ItemsApi<any>
|
189
|
+
itemType: ItemType
|
190
|
+
onlyOnePerOwner?: boolean
|
191
|
+
customEditLink?: string
|
192
|
+
customEditParameter?: string
|
193
|
+
public_edit_items?: boolean
|
194
|
+
listed?: boolean
|
195
|
+
item_presets?: Record<string, unknown>
|
196
|
+
setItemFormPopup?: React.Dispatch<React.SetStateAction<ItemFormPopupProps | null>>
|
197
|
+
itemFormPopup?: ItemFormPopupProps | null
|
198
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
199
|
+
clusterRef?: any
|
200
|
+
}
|
23
201
|
|
202
|
+
/**
|
203
|
+
* @category Map
|
204
|
+
*/
|
205
|
+
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) => react_jsx_runtime.JSX.Element;
|
206
|
+
|
207
|
+
/**
|
208
|
+
* @category Map
|
209
|
+
*/
|
24
210
|
declare function Tags({ data, api }: {
|
25
211
|
data?: Tag[];
|
26
212
|
api?: ItemsApi<Tag>;
|
27
213
|
}): react_jsx_runtime.JSX.Element;
|
28
214
|
|
29
|
-
|
215
|
+
type PermissionAction = 'create' | 'read' | 'update' | 'delete'
|
216
|
+
|
217
|
+
interface PermissionCondition {
|
218
|
+
user_created?: {
|
219
|
+
_eq: string // Erwartet den speziellen Wert "$CURRENT_USER" oder eine spezifische UUID
|
220
|
+
}
|
221
|
+
public_edit?: {
|
222
|
+
_eq: boolean // Erwartet den speziellen Wert "$CURRENT_USER" oder eine spezifische UUID
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
/**
|
227
|
+
* @category Types
|
228
|
+
*/
|
229
|
+
interface Permission {
|
230
|
+
id?: string
|
231
|
+
policy?: { name: string }
|
232
|
+
collection: string
|
233
|
+
action: PermissionAction
|
234
|
+
permissions?: {
|
235
|
+
// Optional, für spezifische Bedingungen wie `user_created`
|
236
|
+
_and: PermissionCondition[]
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
/**
|
241
|
+
* @category Types
|
242
|
+
*/
|
243
|
+
interface PermissionsProps {
|
30
244
|
data?: Permission[];
|
31
245
|
api?: ItemsApi<Permission>;
|
32
246
|
adminRole?: string;
|
33
|
-
}
|
247
|
+
}
|
34
248
|
|
249
|
+
/**
|
250
|
+
* @category Map
|
251
|
+
*/
|
252
|
+
declare function Permissions({ data, api, adminRole }: PermissionsProps): react_jsx_runtime.JSX.Element;
|
253
|
+
|
254
|
+
/**
|
255
|
+
* @category Map
|
256
|
+
*/
|
35
257
|
declare const ItemForm: {
|
36
258
|
({ children, item, title, setPopupTitle, }: {
|
37
259
|
children?: React.ReactNode;
|
@@ -42,6 +264,9 @@ declare const ItemForm: {
|
|
42
264
|
__TYPE: string;
|
43
265
|
};
|
44
266
|
|
267
|
+
/**
|
268
|
+
* @category Map
|
269
|
+
*/
|
45
270
|
declare const ItemView: {
|
46
271
|
({ children, item }: {
|
47
272
|
children?: React.ReactNode;
|
@@ -50,6 +275,9 @@ declare const ItemView: {
|
|
50
275
|
__TYPE: string;
|
51
276
|
};
|
52
277
|
|
278
|
+
/**
|
279
|
+
* @category Map
|
280
|
+
*/
|
53
281
|
declare const PopupTextAreaInput: ({ dataField, placeholder, style, item, }: {
|
54
282
|
dataField: string;
|
55
283
|
placeholder: string;
|
@@ -63,8 +291,14 @@ interface StartEndInputProps {
|
|
63
291
|
updateStartValue?: (value: string) => void;
|
64
292
|
updateEndValue?: (value: string) => void;
|
65
293
|
}
|
294
|
+
/**
|
295
|
+
* @category Map
|
296
|
+
*/
|
66
297
|
declare const PopupStartEndInput: ({ item, showLabels, updateStartValue, updateEndValue, }: StartEndInputProps) => react_jsx_runtime.JSX.Element;
|
67
298
|
|
299
|
+
/**
|
300
|
+
* @category Map
|
301
|
+
*/
|
68
302
|
declare const PopupTextInput: ({ dataField, placeholder, style, item, }: {
|
69
303
|
dataField: string;
|
70
304
|
placeholder: string;
|
@@ -72,31 +306,55 @@ declare const PopupTextInput: ({ dataField, placeholder, style, item, }: {
|
|
72
306
|
item?: Item;
|
73
307
|
}) => react_jsx_runtime.JSX.Element;
|
74
308
|
|
309
|
+
/**
|
310
|
+
* @category Map
|
311
|
+
*/
|
75
312
|
declare const PopupCheckboxInput: ({ dataField, label, item, }: {
|
76
313
|
dataField: string;
|
77
314
|
label: string;
|
78
315
|
item?: Item;
|
79
316
|
}) => react_jsx_runtime.JSX.Element;
|
80
317
|
|
81
|
-
|
318
|
+
/**
|
319
|
+
* @category Map
|
320
|
+
*/
|
321
|
+
declare const TextView: ({ item, itemId, text, truncate, rawText, itemTextField, }: {
|
82
322
|
item?: Item;
|
323
|
+
itemId?: string;
|
324
|
+
text?: string;
|
83
325
|
truncate?: boolean;
|
84
|
-
itemTextField?: string;
|
85
326
|
rawText?: string;
|
327
|
+
itemTextField?: string;
|
86
328
|
}) => react_jsx_runtime.JSX.Element;
|
87
329
|
|
330
|
+
/**
|
331
|
+
* @category Map
|
332
|
+
*/
|
88
333
|
declare const StartEndView: ({ item }: {
|
89
334
|
item?: Item;
|
90
335
|
}) => react_jsx_runtime.JSX.Element;
|
91
336
|
|
92
|
-
|
337
|
+
/**
|
338
|
+
* @category Map
|
339
|
+
*/
|
340
|
+
declare const PopupButton: ({ url, parameterField, text, item, }: {
|
93
341
|
url: string;
|
94
342
|
parameterField?: string;
|
95
343
|
text: string;
|
96
|
-
colorField?: string;
|
97
344
|
item?: Item;
|
98
345
|
}) => react_jsx_runtime.JSX.Element;
|
99
346
|
|
347
|
+
/**
|
348
|
+
* @category Types
|
349
|
+
*/
|
350
|
+
interface AssetsApi {
|
351
|
+
upload(file: Blob, title: string): Promise<{ id: string }>
|
352
|
+
url: string
|
353
|
+
}
|
354
|
+
|
355
|
+
/**
|
356
|
+
* @category AppShell
|
357
|
+
*/
|
100
358
|
declare function AppShell({ appName, children, assetsApi, userType, }: {
|
101
359
|
appName: string;
|
102
360
|
children: React.ReactNode;
|
@@ -111,6 +369,9 @@ type route = {
|
|
111
369
|
submenu?: route;
|
112
370
|
blank?: boolean;
|
113
371
|
};
|
372
|
+
/**
|
373
|
+
* @category AppShell
|
374
|
+
*/
|
114
375
|
declare function SideBar({ routes, bottomRoutes }: {
|
115
376
|
routes: route[];
|
116
377
|
bottomRoutes?: route[];
|
@@ -119,43 +380,121 @@ declare function SideBar({ routes, bottomRoutes }: {
|
|
119
380
|
type ContentProps = {
|
120
381
|
children?: React.ReactNode;
|
121
382
|
};
|
383
|
+
/**
|
384
|
+
* @category AppShell
|
385
|
+
*/
|
122
386
|
declare function Content({ children }: ContentProps): react_jsx_runtime.JSX.Element;
|
123
387
|
|
388
|
+
/**
|
389
|
+
* @category AppShell
|
390
|
+
*/
|
124
391
|
declare const Sitemap: ({ url }: {
|
125
392
|
url: string;
|
126
393
|
}) => react_jsx_runtime.JSX.Element;
|
127
394
|
|
395
|
+
/**
|
396
|
+
* @category Types
|
397
|
+
*/
|
398
|
+
interface UserApi {
|
399
|
+
register(email: string, password: string, userName: string): Promise<void>
|
400
|
+
login(email: string, password: string): Promise<UserItem | undefined>
|
401
|
+
logout(): Promise<void>
|
402
|
+
getUser(): Promise<UserItem>
|
403
|
+
getToken(): Promise<string | null>
|
404
|
+
updateUser(user: UserItem): Promise<void>
|
405
|
+
requestPasswordReset(email: string, reset_url?: string)
|
406
|
+
passwordReset(token: string, new_password: string)
|
407
|
+
}
|
408
|
+
|
128
409
|
interface AuthProviderProps {
|
129
410
|
userApi: UserApi;
|
130
411
|
children?: React.ReactNode;
|
131
412
|
}
|
413
|
+
interface AuthCredentials {
|
414
|
+
email: string;
|
415
|
+
password: string;
|
416
|
+
otp?: string | undefined;
|
417
|
+
}
|
418
|
+
interface AuthContextProps {
|
419
|
+
isAuthenticated: boolean;
|
420
|
+
user: UserItem | null;
|
421
|
+
login: (credentials: AuthCredentials) => Promise<UserItem | undefined>;
|
422
|
+
register: (credentials: AuthCredentials, userName: string) => Promise<UserItem | undefined>;
|
423
|
+
loading: boolean;
|
424
|
+
logout: () => Promise<any>;
|
425
|
+
updateUser: (user: UserItem) => any;
|
426
|
+
token: string | null;
|
427
|
+
requestPasswordReset: (email: string, reset_url: string) => Promise<any>;
|
428
|
+
passwordReset: (token: string, new_password: string) => Promise<any>;
|
429
|
+
}
|
430
|
+
/**
|
431
|
+
* @category Auth
|
432
|
+
*/
|
132
433
|
declare const AuthProvider: ({ userApi, children }: AuthProviderProps) => react_jsx_runtime.JSX.Element;
|
434
|
+
declare const useAuth: () => AuthContextProps;
|
133
435
|
|
436
|
+
/**
|
437
|
+
* @category Auth
|
438
|
+
*/
|
134
439
|
declare function LoginPage(): react_jsx_runtime.JSX.Element;
|
135
440
|
|
441
|
+
/**
|
442
|
+
* @category Auth
|
443
|
+
*/
|
136
444
|
declare function SignupPage(): react_jsx_runtime.JSX.Element;
|
137
445
|
|
446
|
+
/**
|
447
|
+
* @category Auth
|
448
|
+
*/
|
138
449
|
declare function RequestPasswordPage({ resetUrl }: {
|
139
450
|
resetUrl: any;
|
140
451
|
}): react_jsx_runtime.JSX.Element;
|
141
452
|
|
453
|
+
/**
|
454
|
+
* @category Auth
|
455
|
+
*/
|
142
456
|
declare function SetNewPasswordPage(): react_jsx_runtime.JSX.Element;
|
143
457
|
|
458
|
+
/**
|
459
|
+
* @category Profile
|
460
|
+
*/
|
144
461
|
declare function UserSettings(): react_jsx_runtime.JSX.Element;
|
145
462
|
|
463
|
+
declare function PlusButton({ layer, triggerAction, color, collection, }: {
|
464
|
+
layer?: LayerProps;
|
465
|
+
triggerAction: any;
|
466
|
+
color: string;
|
467
|
+
collection?: string;
|
468
|
+
}): react_jsx_runtime.JSX.Element;
|
469
|
+
|
470
|
+
/**
|
471
|
+
* @category Profile
|
472
|
+
*/
|
146
473
|
declare function ProfileView({ attestationApi }: {
|
147
474
|
attestationApi?: ItemsApi<any>;
|
148
475
|
}): react_jsx_runtime.JSX.Element;
|
149
476
|
|
477
|
+
/**
|
478
|
+
* @category Profile
|
479
|
+
*/
|
150
480
|
declare function ProfileForm(): react_jsx_runtime.JSX.Element;
|
151
481
|
|
482
|
+
/**
|
483
|
+
* @category Gaming
|
484
|
+
*/
|
152
485
|
declare function Modal({ children, showOnStartup, }: {
|
153
486
|
children: React.ReactNode;
|
154
487
|
showOnStartup?: boolean;
|
155
488
|
}): react_jsx_runtime.JSX.Element;
|
156
489
|
|
490
|
+
/**
|
491
|
+
* @category Gaming
|
492
|
+
*/
|
157
493
|
declare function Quests(): react_jsx_runtime.JSX.Element;
|
158
494
|
|
495
|
+
/**
|
496
|
+
* @category Templates
|
497
|
+
*/
|
159
498
|
declare function CardPage({ title, hideTitle, children, parents, }: {
|
160
499
|
title: string;
|
161
500
|
hideTitle?: boolean;
|
@@ -174,8 +513,14 @@ interface TitleCardProps {
|
|
174
513
|
className?: string;
|
175
514
|
TopSideButtons?: any;
|
176
515
|
}
|
516
|
+
/**
|
517
|
+
* @category Templates
|
518
|
+
*/
|
177
519
|
declare function TitleCard({ title, hideTitle, children, topMargin, TopSideButtons, className, }: TitleCardProps): react_jsx_runtime.JSX.Element;
|
178
520
|
|
521
|
+
/**
|
522
|
+
* @category Templates
|
523
|
+
*/
|
179
524
|
declare function MapOverlayPage({ children, className, backdrop, card, }: {
|
180
525
|
children: React.ReactNode;
|
181
526
|
className?: string;
|
@@ -183,21 +528,36 @@ declare function MapOverlayPage({ children, className, backdrop, card, }: {
|
|
183
528
|
card?: boolean;
|
184
529
|
}): react_jsx_runtime.JSX.Element;
|
185
530
|
|
531
|
+
/**
|
532
|
+
* @category Templates
|
533
|
+
*/
|
186
534
|
declare const MoonCalendar: () => react_jsx_runtime.JSX.Element;
|
187
535
|
|
536
|
+
/**
|
537
|
+
* @category Templates
|
538
|
+
*/
|
188
539
|
declare const SelectUser: () => react_jsx_runtime.JSX.Element;
|
189
540
|
|
541
|
+
/**
|
542
|
+
* @category Templates
|
543
|
+
*/
|
190
544
|
declare const OverlayItemsIndexPage: ({ url, layerName, parameterField, plusButton, }: {
|
191
545
|
layerName: string;
|
192
546
|
url: string;
|
193
|
-
parameterField
|
547
|
+
parameterField?: string;
|
194
548
|
plusButton?: boolean;
|
195
549
|
}) => react_jsx_runtime.JSX.Element;
|
196
550
|
|
551
|
+
/**
|
552
|
+
* @category Templates
|
553
|
+
*/
|
197
554
|
declare const AttestationForm: ({ api }: {
|
198
555
|
api?: ItemsApi<unknown>;
|
199
556
|
}) => react_jsx_runtime.JSX.Element;
|
200
557
|
|
558
|
+
/**
|
559
|
+
* @category Templates
|
560
|
+
*/
|
201
561
|
declare const MarketView: () => react_jsx_runtime.JSX.Element;
|
202
562
|
|
203
563
|
type TextAreaProps = {
|
@@ -211,6 +571,9 @@ type TextAreaProps = {
|
|
211
571
|
required?: boolean;
|
212
572
|
updateFormValue?: (value: string) => void;
|
213
573
|
};
|
574
|
+
/**
|
575
|
+
* @category Input
|
576
|
+
*/
|
214
577
|
declare function TextAreaInput({ labelTitle, dataField, labelStyle, containerStyle, inputStyle, defaultValue, placeholder, required, updateFormValue, }: TextAreaProps): react_jsx_runtime.JSX.Element;
|
215
578
|
|
216
579
|
type InputTextProps = {
|
@@ -227,6 +590,9 @@ type InputTextProps = {
|
|
227
590
|
required?: boolean;
|
228
591
|
updateFormValue?: (value: string) => void;
|
229
592
|
};
|
593
|
+
/**
|
594
|
+
* @category Input
|
595
|
+
*/
|
230
596
|
declare function TextInput({ labelTitle, labelStyle, type, dataField, containerStyle, inputStyle, defaultValue, placeholder, autocomplete, pattern, required, updateFormValue, }: InputTextProps): react_jsx_runtime.JSX.Element;
|
231
597
|
|
232
598
|
type SelectBoxProps = {
|
@@ -243,6 +609,9 @@ type SelectBoxProps = {
|
|
243
609
|
}[];
|
244
610
|
labelDescription?: string;
|
245
611
|
};
|
612
|
+
/**
|
613
|
+
* @category Input
|
614
|
+
*/
|
246
615
|
declare function SelectBox(props: SelectBoxProps): react_jsx_runtime.JSX.Element;
|
247
616
|
|
248
617
|
declare global {
|
@@ -253,4 +622,4 @@ declare global {
|
|
253
622
|
}
|
254
623
|
}
|
255
624
|
|
256
|
-
export { AppShell, AttestationForm, AuthProvider, CardPage, Content, ItemForm, ItemView, Layer, LoginPage, MapOverlayPage, MarketView, Modal, MoonCalendar, OverlayItemsIndexPage, Permissions, PopupButton, PopupCheckboxInput, PopupStartEndInput, PopupTextAreaInput, PopupTextInput, ProfileForm, ProfileView, Quests, RequestPasswordPage, SelectBox, SelectUser, SetNewPasswordPage, SideBar, SignupPage, Sitemap, StartEndView, Tags, TextAreaInput, TextInput, TextView, TitleCard, UserSettings, UtopiaMap };
|
625
|
+
export { AppShell, type AssetsApi, AttestationForm, AuthProvider, CardPage, Content, type Item, ItemForm, ItemView, type ItemsApi, Layer, type LayerProps, LoginPage, MapOverlayPage, MarketView, Modal, MoonCalendar, OverlayItemsIndexPage, type Permission, Permissions, type PermissionsProps, PlusButton, PopupButton, PopupCheckboxInput, PopupStartEndInput, PopupTextAreaInput, PopupTextInput, ProfileForm, ProfileView, Quests, RequestPasswordPage, SelectBox, SelectUser, SetNewPasswordPage, SideBar, SignupPage, Sitemap, StartEndView, type Tag, Tags, TextAreaInput, TextInput, TextView, TitleCard, type UserApi, type UserItem, UserSettings, UtopiaMap, useAuth };
|