@trii/components 3.1.5 → 3.1.6
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/cjs/index.js +18 -18
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/theme.js +1 -1
- package/dist/cjs/theme.js.map +1 -1
- package/dist/esm/index.js +21 -21
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/theme.js +1 -1
- package/dist/esm/theme.js.map +1 -1
- package/dist/index.d.ts +15 -14
- package/dist/theme.d.ts +15 -14
- package/dist/types/components/ContactInfoPopup/components/BusinessSection/BusinessSection.d.ts +1 -1
- package/dist/types/components/ContactInfoPopup/components/ContactMethod/ContactMethod.d.ts +0 -1
- package/dist/types/components/ContactInfoPopup/components/LabelsSection/LabelsSection.d.ts +1 -1
- package/dist/types/components/ContactInfoPopup/components/MembersSection/MembersSection.d.ts +1 -1
- package/dist/types/components/ContactSidebar/components/CombineContactsModal/CombineContactsModal.d.ts +1 -1
- package/dist/types/components/ContactSidebar/components/MediaViewer/MediaViewer.d.ts +1 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactButton/ContactButton.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactButton/components/ExternalLink/ExternalLink.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactConversation/ContactConversation.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactConversation/styles.d.ts +1 -2
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactData/ContactData.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactData/components/Properties/Properties.d.ts +1 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactData/styles.d.ts +1 -2
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactDataDetails/ContactDataDetails.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactEvent/ContactEvent.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactEvent/components/AddEvent/styles.d.ts +1 -2
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactEvent/components/DatePicker/styles.d.ts +3 -4
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactEvent/components/LocationTextField/SendLocation/components/GoogleMap/components/LocationSearch/locationSearch.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactEvent/layout/BasicInputContainer/styles.d.ts +2 -3
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactFiles/ContactFiles.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactHistory/ContactHistory.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactNotes/ContactNotes.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactNotes/components/AddNote/AddNote.d.ts +1 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactNotes/context/NotesCardContext.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactPanelShop/ContactPanelShop.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactRelations/ContactRelations.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactTask/ContactTask.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/ContactTask/components/AddTask/styles.d.ts +1 -2
- package/dist/types/components/ContactSidebar/components/PanelView/components/GroupData/GroupData.d.ts +0 -1
- package/dist/types/components/ContactSidebar/components/PanelView/components/GroupData/components/GroupDataContent/components/InformationBox/InformationBox.d.ts +0 -1
- package/dist/types/components/ContactSidebar/context/ActivitiesCardContext.d.ts +0 -1
- package/dist/types/components/ContactSidebar/context/SidebarPropsContext.d.ts +1 -2
- package/dist/types/components/ContactSidebar/hooks/useActivityDate.d.ts +2 -2
- package/dist/types/components/ContactSidebar/hooks/useCreateActivity.d.ts +8 -9
- package/dist/types/components/ContactSidebar/hooks/useLinkContacts.d.ts +2 -2
- package/dist/types/components/ContactSidebar/hooks/useMultipleSelect.d.ts +0 -1
- package/dist/types/components/ContactSidebar/hooks/useNotifications.d.ts +1 -1
- package/dist/types/components/ContactSidebar/hooks/useShareWithUsers.d.ts +2 -2
- package/dist/types/components/ContactSidebar/hooks/useSidebarAudioControl.d.ts +0 -1
- package/dist/types/components/ContactSidebar/utils/googleMapsUtils.d.ts +1 -1
- package/dist/types/components/ContactSidebar/utils/markdown/Markdown.d.ts +1 -1
- package/dist/types/components/EditContactModal/components/SearchLocation/googleMapsUtils.d.ts +1 -1
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/EditModal.d.ts +0 -1
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/layout/WarningsDisplay/components/Warning/hooks/useContactInfoPopup.d.ts +2 -2
- package/dist/types/components/EditContactModal/components/Section/ContactInformation/components/EditModal/shared/StatusAdornment/components/Adornment/Adornment.d.ts +1 -1
- package/dist/types/components/EditContactModal/components/Section/General/components/BusinessGeneral.d.ts +1 -1
- package/dist/types/components/EditContactModal/components/Section/General/components/ContactGeneral.d.ts +1 -1
- package/dist/types/components/EditContactModal/components/Section/utils/resolveUserLabel.d.ts +1 -1
- package/dist/types/components/EditContactModal/context/EditContactApiContext.d.ts +8 -9
- package/dist/types/components/EditContactModal/context/EditContactViewContext.d.ts +1 -2
- package/dist/types/components/EditContactModal/hooks/useEditContactModalController.d.ts +1 -1
- package/dist/types/components/EditContactModal/hooks/utils/editContactHelper.d.ts +1 -1
- package/dist/types/components/EventsDialog/components/ConfirmDeleteDialog/ConfirmDeleteDialog.d.ts +0 -1
- package/dist/types/components/EventsDialog/components/DatePicker/styles.d.ts +4 -3
- package/dist/types/components/EventsDialog/components/DeleteRecurringEventDialog/DeleteRecurringEventDialog.d.ts +0 -1
- package/dist/types/components/EventsDialog/components/EditRecurringEventDialog/EditRecurringEventDialog.d.ts +0 -1
- package/dist/types/components/EventsDialog/components/LocationTextField/SendLocation/components/GoogleMap/components/LocationSearch/locationSearch.d.ts +0 -1
- package/dist/types/components/EventsDialog/components/ReminderNotifications/components/ReminderItem/style.d.ts +7 -10
- package/dist/types/components/EventsDialog/components/ReminderNotifications/styles.d.ts +3 -2
- package/dist/types/components/EventsDialog/context/CalendarContextProvider.d.ts +0 -1
- package/dist/types/components/EventsDialog/context/EventsDialogApiContext.d.ts +3 -4
- package/dist/types/components/EventsDialog/hooks/useCalendarEvents.d.ts +0 -1
- package/dist/types/components/EventsDialog/hooks/useCalendarTasks.d.ts +0 -1
- package/dist/types/components/EventsDialog/hooks/useNotifications.d.ts +1 -1
- package/dist/types/components/EventsDialog/layout/BasicInputContainer/styles.d.ts +3 -2
- package/dist/types/components/EventsDialog/utils/googleMapsLoader.d.ts +1 -1
- package/dist/types/theme/themeActionTypes.d.ts +5 -0
- package/dist/types/theme/themePersistence.d.ts +15 -0
- package/dist/types/theme/themeSlice.d.ts +2 -14
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
3
|
-
ref?: import("react").
|
|
2
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
4
3
|
}, "style" | "className" | "tabIndex" | "color" | "children" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableFocusRipple" | "size" | "variant" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IConversation } from '@trii/types/dist/Conversations';
|
|
3
2
|
import { IBusiness, IContact, IContactAddress } from '@trii/types/dist/Contacts';
|
|
4
3
|
import { ChannelType } from '@trii/types/dist/Common/Channels';
|
|
@@ -77,5 +76,5 @@ export interface StartConversationTarget {
|
|
|
77
76
|
address: IContactAddress | undefined;
|
|
78
77
|
addressList: IContactAddress[];
|
|
79
78
|
}
|
|
80
|
-
export declare const SidebarPropsProvider: import("react").Provider<SidebarProps>;
|
|
79
|
+
export declare const SidebarPropsProvider: import("react").Provider<SidebarProps | null>;
|
|
81
80
|
export declare function useSidebarProps(): SidebarProps;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { UseFieldType } from './useField';
|
|
3
2
|
import { UseActivityDateType } from './useActivityDate';
|
|
4
3
|
import { UseNotificationsType } from './useNotifications';
|
|
@@ -11,8 +10,8 @@ export declare const useCreateActivityInitialDef: {
|
|
|
11
10
|
date: {
|
|
12
11
|
state: {
|
|
13
12
|
error: boolean;
|
|
14
|
-
selectedStartDate:
|
|
15
|
-
selectedEndDate:
|
|
13
|
+
selectedStartDate: null;
|
|
14
|
+
selectedEndDate: null;
|
|
16
15
|
};
|
|
17
16
|
action: {
|
|
18
17
|
setError: () => void;
|
|
@@ -23,7 +22,7 @@ export declare const useCreateActivityInitialDef: {
|
|
|
23
22
|
};
|
|
24
23
|
};
|
|
25
24
|
notifications: {
|
|
26
|
-
notifications:
|
|
25
|
+
notifications: never[];
|
|
27
26
|
action: {
|
|
28
27
|
addNotification: () => void;
|
|
29
28
|
deleteNotification: (notificationId: string) => void;
|
|
@@ -34,9 +33,9 @@ export declare const useCreateActivityInitialDef: {
|
|
|
34
33
|
};
|
|
35
34
|
};
|
|
36
35
|
shareWithUsers: {
|
|
37
|
-
users:
|
|
36
|
+
users: never[];
|
|
38
37
|
field: {
|
|
39
|
-
userIds:
|
|
38
|
+
userIds: never[];
|
|
40
39
|
handleChange: (event: import("@mui/material").SelectChangeEvent<string[]>) => void;
|
|
41
40
|
};
|
|
42
41
|
action: {
|
|
@@ -47,16 +46,16 @@ export declare const useCreateActivityInitialDef: {
|
|
|
47
46
|
linkContact: {
|
|
48
47
|
state: {
|
|
49
48
|
isLoading: boolean;
|
|
50
|
-
contactSelectedId:
|
|
49
|
+
contactSelectedId: null;
|
|
51
50
|
search: string;
|
|
52
51
|
};
|
|
53
52
|
action: {
|
|
54
53
|
resetField: () => void;
|
|
55
54
|
handleSearch: (value: string) => void;
|
|
56
|
-
handleScroll: (e: import("react").UIEvent<HTMLElement
|
|
55
|
+
handleScroll: (e: import("react").UIEvent<HTMLElement>) => void;
|
|
57
56
|
handleSelectContact: (contact: import("@trii/types/dist/Contacts").IContact) => void;
|
|
58
57
|
};
|
|
59
|
-
contactList:
|
|
58
|
+
contactList: never[];
|
|
60
59
|
};
|
|
61
60
|
};
|
|
62
61
|
action: {
|
|
@@ -3,7 +3,7 @@ import { UIEvent } from 'react';
|
|
|
3
3
|
export declare const useLinkContactsInitialDef: {
|
|
4
4
|
state: {
|
|
5
5
|
isLoading: boolean;
|
|
6
|
-
contactSelectedId:
|
|
6
|
+
contactSelectedId: null;
|
|
7
7
|
search: string;
|
|
8
8
|
};
|
|
9
9
|
action: {
|
|
@@ -12,7 +12,7 @@ export declare const useLinkContactsInitialDef: {
|
|
|
12
12
|
handleScroll: (e: UIEvent<HTMLElement>) => void;
|
|
13
13
|
handleSelectContact: (contact: IContact) => void;
|
|
14
14
|
};
|
|
15
|
-
contactList:
|
|
15
|
+
contactList: never[];
|
|
16
16
|
};
|
|
17
17
|
export type UseLinkContactsType = {
|
|
18
18
|
state: {
|
|
@@ -3,7 +3,7 @@ import { EventNotificationFront } from '../types/activities';
|
|
|
3
3
|
import { IEventNotification } from '@trii/types/dist/Calendar';
|
|
4
4
|
import { SelectChangeEvent } from '@mui/material';
|
|
5
5
|
export declare const useNotificationsInitialDef: {
|
|
6
|
-
notifications:
|
|
6
|
+
notifications: never[];
|
|
7
7
|
action: {
|
|
8
8
|
addNotification: () => void;
|
|
9
9
|
deleteNotification: (notificationId: string) => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SelectChangeEvent } from '@mui/material';
|
|
2
2
|
import { UserInfo } from '@trii/types/dist/Users';
|
|
3
3
|
export declare const useShareWithUsersInitialDef: {
|
|
4
|
-
users:
|
|
4
|
+
users: never[];
|
|
5
5
|
field: {
|
|
6
|
-
userIds:
|
|
6
|
+
userIds: never[];
|
|
7
7
|
handleChange: (event: SelectChangeEvent<string[]>) => void;
|
|
8
8
|
};
|
|
9
9
|
action: {
|
|
@@ -75,4 +75,4 @@ export declare const MarkdownWithOptions: (text: string, options?: MarkdownOptio
|
|
|
75
75
|
* @param options - Opciones de configuración
|
|
76
76
|
* @returns HTML string con elementos de bloque
|
|
77
77
|
*/
|
|
78
|
-
export declare const MarkdownBlock: (text: string, options?: Omit<MarkdownOptions,
|
|
78
|
+
export declare const MarkdownBlock: (text: string, options?: Omit<MarkdownOptions, "extendedSyntax">) => string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MouseEvent } from 'react';
|
|
2
2
|
import type { IContact, IBusiness } from '@trii/types/dist/Contacts';
|
|
3
3
|
export declare const useContactInfoPopup: (contactId: string | null) => {
|
|
4
|
-
contactData: IContact | IBusiness;
|
|
5
|
-
anchorEl: HTMLElement;
|
|
4
|
+
contactData: IContact | IBusiness | null;
|
|
5
|
+
anchorEl: HTMLElement | null;
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
isLoading: boolean;
|
|
8
8
|
openPopup: (event: MouseEvent<HTMLElement>) => Promise<void>;
|
|
@@ -4,5 +4,5 @@ export type BusinessGeneralProps = Omit<GeneralProps, 'entityData' | 'entityType
|
|
|
4
4
|
entityType: 'business';
|
|
5
5
|
entityData: IBusiness;
|
|
6
6
|
};
|
|
7
|
-
declare const BusinessGeneral: (props: BusinessGeneralProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const BusinessGeneral: (props: BusinessGeneralProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
export default BusinessGeneral;
|
|
@@ -4,5 +4,5 @@ export type ContactGeneralProps = Omit<GeneralProps, 'entityData' | 'entityType'
|
|
|
4
4
|
entityType: 'contact';
|
|
5
5
|
entityData: IContact;
|
|
6
6
|
};
|
|
7
|
-
declare const ContactGeneral: (props: ContactGeneralProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const ContactGeneral: (props: ContactGeneralProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
export default ContactGeneral;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const EditContactApiProvider: import("react").Provider<{
|
|
3
2
|
fetchLabels: ({ signal }?: {
|
|
4
3
|
signal?: AbortSignal;
|
|
@@ -31,12 +30,12 @@ export declare const EditContactApiProvider: import("react").Provider<{
|
|
|
31
30
|
fetchContactFields: ({ forType, signal }: {
|
|
32
31
|
signal?: AbortSignal;
|
|
33
32
|
} & {
|
|
34
|
-
forType: "
|
|
33
|
+
forType: "contact" | "business";
|
|
35
34
|
}) => Promise<import("@trii/types/dist/Contacts").IContactField[]>;
|
|
36
35
|
updateEntity: ({ entityType, entityId, body, signal }: {
|
|
37
36
|
signal?: AbortSignal;
|
|
38
37
|
} & {
|
|
39
|
-
entityType: "
|
|
38
|
+
entityType: "contact" | "business";
|
|
40
39
|
entityId: string;
|
|
41
40
|
body: Partial<import("@trii/types/dist/Contacts").IContact> | Partial<import("@trii/types/dist/Contacts").IBusiness> | {
|
|
42
41
|
tags: import("@trii/types/dist/Contacts").IContactTag[];
|
|
@@ -70,7 +69,7 @@ export declare const EditContactApiProvider: import("react").Provider<{
|
|
|
70
69
|
}) => Promise<{
|
|
71
70
|
success: boolean;
|
|
72
71
|
warnings: string[];
|
|
73
|
-
contactId?: string;
|
|
72
|
+
contactId?: string | null;
|
|
74
73
|
}>;
|
|
75
74
|
setContactAddress: ({ data, signal }: {
|
|
76
75
|
signal?: AbortSignal;
|
|
@@ -99,7 +98,7 @@ export declare const EditContactApiProvider: import("react").Provider<{
|
|
|
99
98
|
contactId: string;
|
|
100
99
|
file: File;
|
|
101
100
|
}) => Promise<string>;
|
|
102
|
-
}>;
|
|
101
|
+
} | null>;
|
|
103
102
|
export declare const useEditContactApi: () => {
|
|
104
103
|
fetchLabels: ({ signal }?: {
|
|
105
104
|
signal?: AbortSignal;
|
|
@@ -132,12 +131,12 @@ export declare const useEditContactApi: () => {
|
|
|
132
131
|
fetchContactFields: ({ forType, signal }: {
|
|
133
132
|
signal?: AbortSignal;
|
|
134
133
|
} & {
|
|
135
|
-
forType: "
|
|
134
|
+
forType: "contact" | "business";
|
|
136
135
|
}) => Promise<import("@trii/types/dist/Contacts").IContactField[]>;
|
|
137
136
|
updateEntity: ({ entityType, entityId, body, signal }: {
|
|
138
137
|
signal?: AbortSignal;
|
|
139
138
|
} & {
|
|
140
|
-
entityType: "
|
|
139
|
+
entityType: "contact" | "business";
|
|
141
140
|
entityId: string;
|
|
142
141
|
body: Partial<import("@trii/types/dist/Contacts").IContact> | Partial<import("@trii/types/dist/Contacts").IBusiness> | {
|
|
143
142
|
tags: import("@trii/types/dist/Contacts").IContactTag[];
|
|
@@ -171,7 +170,7 @@ export declare const useEditContactApi: () => {
|
|
|
171
170
|
}) => Promise<{
|
|
172
171
|
success: boolean;
|
|
173
172
|
warnings: string[];
|
|
174
|
-
contactId?: string;
|
|
173
|
+
contactId?: string | null;
|
|
175
174
|
}>;
|
|
176
175
|
setContactAddress: ({ data, signal }: {
|
|
177
176
|
signal?: AbortSignal;
|
|
@@ -200,4 +199,4 @@ export declare const useEditContactApi: () => {
|
|
|
200
199
|
contactId: string;
|
|
201
200
|
file: File;
|
|
202
201
|
}) => Promise<string>;
|
|
203
|
-
};
|
|
202
|
+
} | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export type EditContactView = 'main' | 'tags' | 'searchLocation' | 'businessSelect' | 'businessMembers';
|
|
3
2
|
export type EditContactViewContextValue = {
|
|
4
3
|
view: EditContactView;
|
|
5
4
|
setView: (view: EditContactView) => void;
|
|
6
5
|
};
|
|
7
|
-
export declare const EditContactViewProvider: import("react").Provider<EditContactViewContextValue>;
|
|
6
|
+
export declare const EditContactViewProvider: import("react").Provider<EditContactViewContextValue | null>;
|
|
8
7
|
export declare const useEditContactView: () => EditContactViewContextValue;
|
|
@@ -38,7 +38,7 @@ export declare function useEditContactModalController({ open, baseUrl, spaceId,
|
|
|
38
38
|
tags: IContactTag[];
|
|
39
39
|
labels: ILabel[];
|
|
40
40
|
contactFields: IContactField[];
|
|
41
|
-
userTrii: UserTrii;
|
|
41
|
+
userTrii: UserTrii | null;
|
|
42
42
|
userLoading: boolean;
|
|
43
43
|
userError: unknown;
|
|
44
44
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IContactAddress } from '@trii/types/dist/Contacts';
|
|
2
2
|
declare const _default: {
|
|
3
|
-
getEditedField: (key: string, originalValue: string | number, editedValue: string | number) => Record<string, string | number
|
|
3
|
+
getEditedField: (key: string, originalValue: string | number | null, editedValue: string | number) => Record<string, string | number> | null;
|
|
4
4
|
getAddressesWithUpdatedValues: (newValue: string, newValueAddressId: string, addresses: IContactAddress[]) => IContactAddress[];
|
|
5
5
|
};
|
|
6
6
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
1
|
+
import { Box, Typography } from '@mui/material';
|
|
2
|
+
export declare const StyledDatePickerContainer: typeof Box;
|
|
3
|
+
export declare const StyledPickersContainer: typeof Box;
|
|
4
|
+
export declare const StyledPickersDivider: typeof Typography;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const StyledReminderInputsContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
|
|
1
|
+
import { Box, Select, TextField, IconButton } from '@mui/material';
|
|
2
|
+
export declare const StyledReminderItemContainer: typeof Box;
|
|
3
|
+
export declare const StyledReminderItemViewContainer: typeof Box;
|
|
4
|
+
export declare const StyledReminderInputsContainer: typeof Box;
|
|
6
5
|
export declare const StyledReminderTextField: typeof TextField;
|
|
7
|
-
export declare const StyledReminderSelect:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const StyledReminderActionsContainer: import("@mui/types").OverridableComponent<import("@mui/system").BoxTypeMap<{}, "div", import("@mui/material").Theme>>;
|
|
11
|
-
export declare const StyledReminderDeleteIconButton: import("@mui/material").ExtendButtonBase<import("@mui/material").IconButtonTypeMap<{}, "button">>;
|
|
6
|
+
export declare const StyledReminderSelect: typeof Select;
|
|
7
|
+
export declare const StyledReminderActionsContainer: typeof Box;
|
|
8
|
+
export declare const StyledReminderDeleteIconButton: typeof IconButton;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import { Box } from '@mui/material';
|
|
2
|
+
export declare const ReminderNotificationsContainer: typeof Box;
|
|
3
|
+
export declare const HeaderContainer: typeof Box;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface EventsDialogApi {
|
|
3
2
|
baseUrl: string;
|
|
4
3
|
spaceId: string;
|
|
5
4
|
}
|
|
6
|
-
declare const EventsDialogApiContext: import("react").Context<EventsDialogApi>;
|
|
7
|
-
export declare const EventsDialogApiProvider: import("react").Provider<EventsDialogApi>;
|
|
8
|
-
export declare const useEventsDialogApi: () => EventsDialogApi;
|
|
5
|
+
declare const EventsDialogApiContext: import("react").Context<EventsDialogApi | null>;
|
|
6
|
+
export declare const EventsDialogApiProvider: import("react").Provider<EventsDialogApi | null>;
|
|
7
|
+
export declare const useEventsDialogApi: () => EventsDialogApi | null;
|
|
9
8
|
export default EventsDialogApiContext;
|
|
@@ -3,7 +3,7 @@ import { IEventNotification } from '@trii/types/dist/Calendar';
|
|
|
3
3
|
import { SelectChangeEvent } from '@mui/material';
|
|
4
4
|
import { EventNotificationFront } from '../types';
|
|
5
5
|
export declare const useNotificationsInitialDef: {
|
|
6
|
-
notifications:
|
|
6
|
+
notifications: never[];
|
|
7
7
|
action: {
|
|
8
8
|
addNotification: () => void;
|
|
9
9
|
deleteNotification: (_notificationId: string) => void;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import { Box } from '@mui/material';
|
|
2
|
+
export declare const StyledBoxContainer: typeof Box;
|
|
3
|
+
export declare const StyledDialogContextText: typeof Box;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ThemeRootState } from './themeSlice';
|
|
2
|
+
import { ThemeName } from './themePreference';
|
|
3
|
+
/** Guarda el tema elegido en el backend. */
|
|
4
|
+
export declare const updateTheme: import("@reduxjs/toolkit").AsyncThunk<{
|
|
5
|
+
theme: ThemeName;
|
|
6
|
+
}, ThemeName, {
|
|
7
|
+
state: ThemeRootState;
|
|
8
|
+
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction> | undefined;
|
|
9
|
+
extra?: unknown;
|
|
10
|
+
rejectValue?: unknown;
|
|
11
|
+
serializedErrorType?: unknown;
|
|
12
|
+
pendingMeta?: unknown;
|
|
13
|
+
fulfilledMeta?: unknown;
|
|
14
|
+
rejectedMeta?: unknown;
|
|
15
|
+
}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { updateTheme } from './themePersistence';
|
|
1
2
|
import { Theme } from '@mui/material';
|
|
2
3
|
import { ThemeName, ThemePreference, ResolvedTheme } from './themePreference';
|
|
3
4
|
export { isValidThemeName } from './themePreference';
|
|
@@ -23,21 +24,8 @@ export interface ThemeState {
|
|
|
23
24
|
darkMode: boolean;
|
|
24
25
|
toggleStatus: 'idle' | 'toggled';
|
|
25
26
|
}
|
|
26
|
-
/** Guarda el tema elegido en el backend. */
|
|
27
|
-
export declare const updateTheme: import("@reduxjs/toolkit").AsyncThunk<{
|
|
28
|
-
theme: ThemeName;
|
|
29
|
-
}, ThemeName, {
|
|
30
|
-
state: ThemeRootState;
|
|
31
|
-
dispatch?: import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>;
|
|
32
|
-
extra?: unknown;
|
|
33
|
-
rejectValue?: unknown;
|
|
34
|
-
serializedErrorType?: unknown;
|
|
35
|
-
pendingMeta?: unknown;
|
|
36
|
-
fulfilledMeta?: unknown;
|
|
37
|
-
rejectedMeta?: unknown;
|
|
38
|
-
}>;
|
|
39
27
|
export declare const selectThemePreference: (state: ThemeRootState) => ThemePreference;
|
|
40
|
-
export declare const toggleTheme: import("@reduxjs/toolkit").
|
|
28
|
+
export declare const toggleTheme: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeName, "Theme/toggleTheme">, toggleModeTheme: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"Theme/toggleModeTheme">, systemThemeChanged: import("@reduxjs/toolkit").ActionCreatorWithPayload<ResolvedTheme, "Theme/systemThemeChanged">;
|
|
41
29
|
export declare const selectThemeToggleStatus: (state: ThemeRootState) => "idle" | "toggled";
|
|
42
30
|
export declare const selectTheme: (state: ThemeRootState) => Theme;
|
|
43
31
|
export declare const selectDarkTheme: (state: ThemeRootState) => boolean;
|