utopia-ui 3.0.0-alpha.211 → 3.0.0-alpha.212
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/dist/Components/AppShell/Sitemap.d.ts +3 -0
- package/dist/Components/Map/hooks/useFilter.d.ts +0 -2
- package/dist/Components/Profile/ProfileForm.d.ts +3 -0
- package/dist/Components/Profile/ProfileView.d.ts +3 -0
- package/dist/Components/Profile/Subcomponents/ActionsButton.d.ts +11 -0
- package/dist/Components/Profile/Subcomponents/AvatarWidget.d.ts +6 -0
- package/dist/Components/Profile/Subcomponents/ColorPicker.d.ts +6 -0
- package/dist/Components/Profile/Subcomponents/ContactInfo.d.ts +8 -0
- package/dist/Components/Profile/Subcomponents/FormHeader.d.ts +5 -0
- package/dist/Components/Profile/Subcomponents/LinkedItemsHeaderView.d.ts +10 -0
- package/dist/Components/Profile/Subcomponents/PlusButton.d.ts +7 -0
- package/dist/Components/Profile/Subcomponents/ProfileSubHeader.d.ts +7 -0
- package/dist/Components/Profile/Subcomponents/RelationCard.d.ts +6 -0
- package/dist/Components/Profile/Subcomponents/SocialShareBar.d.ts +6 -0
- package/dist/Components/Profile/Subcomponents/SocialShareButton.d.ts +6 -0
- package/dist/Components/Profile/Subcomponents/TagsWidget.d.ts +6 -0
- package/dist/Components/Profile/Templates/Onepager.d.ts +5 -0
- package/dist/Components/Profile/Templates/OnepagerForm.d.ts +22 -0
- package/dist/Components/Profile/Templates/OnepagerView.d.ts +5 -0
- package/dist/Components/Profile/Templates/Simple.d.ts +4 -0
- package/dist/Components/Profile/Templates/SimpleForm.d.ts +1 -0
- package/dist/Components/Profile/Templates/SimpleView.d.ts +4 -0
- package/dist/Components/Profile/Templates/Tabs.d.ts +11 -0
- package/dist/Components/Profile/Templates/TabsForm.d.ts +9 -0
- package/dist/Components/Profile/Templates/TabsView.d.ts +11 -0
- package/dist/Components/Profile/hooks/useClickOutside.d.ts +2 -0
- package/dist/Components/Profile/itemFunctions.d.ts +5 -0
- package/dist/Components/Templates/index.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +146 -50
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
@@ -5,7 +5,6 @@ declare function useFilterManager(initialTags: Tag[]): {
|
|
5
5
|
filterTags: Tag[];
|
6
6
|
searchPhrase: string;
|
7
7
|
visibleLayers: LayerProps[];
|
8
|
-
visibleGroupTypes: string[];
|
9
8
|
addFilterTag: (tag: Tag) => void;
|
10
9
|
removeFilterTag: (name: string) => void;
|
11
10
|
resetFilterTags: () => void;
|
@@ -36,5 +35,4 @@ export declare const useIsLayerVisible: () => UseFilterManagerResult["isLayerVis
|
|
36
35
|
export declare const useAddVisibleGroupType: () => UseFilterManagerResult["addVisibleGroupType"];
|
37
36
|
export declare const useToggleVisibleGroupType: () => UseFilterManagerResult["toggleVisibleGroupType"];
|
38
37
|
export declare const useIsGroupTypeVisible: () => UseFilterManagerResult["isGroupTypeVisible"];
|
39
|
-
export declare const useVisibleGroupType: () => UseFilterManagerResult["visibleGroupTypes"];
|
40
38
|
export {};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Item } from "../../../types";
|
2
|
+
export declare function ActionButton({ item, triggerAddButton, triggerItemSelected, existingRelations, itemType, colorField, collection, customStyle }: {
|
3
|
+
triggerAddButton?: any;
|
4
|
+
triggerItemSelected?: any;
|
5
|
+
existingRelations: Item[];
|
6
|
+
itemType?: string;
|
7
|
+
colorField?: string;
|
8
|
+
collection?: string;
|
9
|
+
customStyle?: string;
|
10
|
+
item: Item;
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Item } from "../../../types";
|
2
|
+
export declare function LinkedItemsHeaderView({ item, unlinkCallback, itemNameField, itemAvatarField, loading, unlinkPermission, itemSubnameField }: {
|
3
|
+
item: Item;
|
4
|
+
unlinkCallback?: any;
|
5
|
+
itemNameField?: string;
|
6
|
+
itemAvatarField?: string;
|
7
|
+
itemSubnameField?: string;
|
8
|
+
loading?: boolean;
|
9
|
+
unlinkPermission: boolean;
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { Item, Tag } from "../../../types";
|
2
|
+
export declare const OnepagerForm: ({ item, state, setState }: {
|
3
|
+
state: {
|
4
|
+
color: string;
|
5
|
+
id: string;
|
6
|
+
groupType: string;
|
7
|
+
status: string;
|
8
|
+
name: string;
|
9
|
+
subname: string;
|
10
|
+
text: string;
|
11
|
+
contact: string;
|
12
|
+
telephone: string;
|
13
|
+
nextAppointment: string;
|
14
|
+
image: string;
|
15
|
+
markerIcon: string;
|
16
|
+
offers: Tag[];
|
17
|
+
needs: Tag[];
|
18
|
+
relations: Item[];
|
19
|
+
};
|
20
|
+
setState: React.Dispatch<React.SetStateAction<any>>;
|
21
|
+
item: Item;
|
22
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const SimpleForm: (item: any, setState: any) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Item, Tag } from 'utopia-ui/dist/types';
|
2
|
+
export declare const Tabs: ({ item, offers, needs, relations, updatePermission, loading, linkItem, unlinkItem }: {
|
3
|
+
item: Item;
|
4
|
+
offers: Array<Tag>;
|
5
|
+
needs: Array<Tag>;
|
6
|
+
relations: Array<Item>;
|
7
|
+
updatePermission: boolean;
|
8
|
+
loading: boolean;
|
9
|
+
linkItem: (id: string) => Promise<void>;
|
10
|
+
unlinkItem: (id: string) => Promise<void>;
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare const TabsForm: ({ item, state, setState, updatePermission, linkItem, unlinkItem, loading }: {
|
2
|
+
item: any;
|
3
|
+
state: any;
|
4
|
+
setState: any;
|
5
|
+
updatePermission: any;
|
6
|
+
linkItem: any;
|
7
|
+
unlinkItem: any;
|
8
|
+
loading: any;
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Item, Tag } from 'utopia-ui/dist/types';
|
2
|
+
export declare const TabsView: ({ item, offers, needs, relations, updatePermission, loading, linkItem, unlinkItem }: {
|
3
|
+
item: Item;
|
4
|
+
offers: Array<Tag>;
|
5
|
+
needs: Array<Tag>;
|
6
|
+
relations: Array<Item>;
|
7
|
+
updatePermission: boolean;
|
8
|
+
loading: boolean;
|
9
|
+
linkItem: (id: string) => Promise<void>;
|
10
|
+
unlinkItem: (id: string) => Promise<void>;
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,5 @@
|
|
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>;
|
package/dist/index.d.ts
CHANGED
@@ -3,7 +3,7 @@ export { AppShell, Content, SideBar } from "./Components/AppShell";
|
|
3
3
|
export { AuthProvider, useAuth, LoginPage, SignupPage, RequestPasswordPage, SetNewPasswordPage } from "./Components/Auth";
|
4
4
|
export { UserSettings, ProfileSettings, OverlayProfile, OverlayProfileSettings, OverlayUserSettings, OverlayItemProfile, OverlayItemProfileSettings } from './Components/Profile';
|
5
5
|
export { Quests, Modal } from './Components/Gaming';
|
6
|
-
export { TitleCard, CardPage, MapOverlayPage, OverlayItemsIndexPage, CircleLayout, MoonCalendar, ItemsIndexPage, ItemViewPage } from './Components/Templates';
|
6
|
+
export { TitleCard, CardPage, MapOverlayPage, OverlayItemsIndexPage, CircleLayout, MoonCalendar, ItemsIndexPage, ItemViewPage, SelectUser } from './Components/Templates';
|
7
7
|
export { TextInput, TextAreaInput, SelectBox } from './Components/Input';
|
8
8
|
import "./index.css";
|
9
9
|
declare global {
|