@layers-app/shared 0.0.44 → 0.0.45
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/KanbanLayout-C6wJBGZ2.js +287 -0
- package/dist/components/AppContainer/AppContainer.d.ts +2 -3
- package/dist/components/AppContainer/Header.d.ts +8 -0
- package/dist/components/AppContainer/Main.d.ts +2 -0
- package/dist/components/AppContainer/components/AppSidebarButton.d.ts +9 -0
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts +1 -0
- package/dist/components/AppContainer/components/AppsSidebar/AppsSidebar.d.ts +4 -0
- package/dist/components/AppContainer/components/AppsSidebar/TopSection.d.ts +1 -0
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts +4 -0
- package/dist/components/AppContainer/components/MobileNavbar.d.ts +2 -2
- package/dist/components/AppContainer/components/RightSidebar.d.ts +2 -0
- package/dist/components/AppContainer/components/SidebarToggleButton.d.ts +3 -0
- package/dist/components/AppContainer/components/SlideAnimation.d.ts +6 -0
- package/dist/components/AppContainer/components/ToolSidebar.d.ts +3 -0
- package/dist/components/AppContainer/components/ToolbarNewButton.d.ts +2 -0
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts +1 -0
- package/dist/components/AppContainer/components/menus/HelpMenu/WhatsNew.d.ts +7 -0
- package/dist/components/AppContainer/components/menus/MoreMenu.d.ts +1 -0
- package/dist/components/AppContainer/components/{MenuUserDropdown.d.ts → menus/UserMenu/MenuUserDropdown.d.ts} +1 -1
- package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
- package/dist/components/AppContainer/hooks/useAppContainerStore.d.ts +30 -12
- package/dist/components/AppContainer/types.d.ts +15 -11
- package/dist/components/AppShell/AppShell.d.ts +12 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +22 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryModal.d.ts +9 -0
- package/dist/components/AttachmentsGalleryModal/components/ErrorSection.d.ts +1 -0
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts +9 -0
- package/dist/components/AttachmentsGalleryModal/components/ModalFooter.d.ts +4 -0
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts +7 -0
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +7 -0
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts +9 -0
- package/dist/components/AttachmentsGalleryModal/constants.d.ts +19 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.d.ts +8 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useEmblaCarousel.d.ts +8 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +8 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useZoomReset.d.ts +1 -0
- package/dist/components/AttachmentsGalleryModal/types.d.ts +0 -8
- package/dist/components/CommentComposer/index.d.ts +1 -1
- package/dist/components/CommentsPanel/components/CommentsListItemMenu.d.ts +1 -1
- package/dist/components/EntityIcon.d.ts +7 -0
- package/dist/components/FormViewer/helpers/conditions.d.ts +1 -1
- package/dist/components/FormViewer/helpers/helpers.d.ts +1 -1
- package/dist/components/FormViewer/helpers/steps.d.ts +1 -1
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +1 -1
- package/dist/components/FormViewer/store/formStore.d.ts +30 -30
- package/dist/components/FormViewer/store/formStoreApi.d.ts +3 -3
- package/dist/components/FormViewer/store/selectors.d.ts +342 -342
- package/dist/components/FormViewer/types/schemes.d.ts +22 -22
- package/dist/components/Loaders/BaseLoader.d.ts +3 -0
- package/dist/components/NavMenu/NavMenu.d.ts +21 -0
- package/dist/components/NavMenu/components/DnDItem.d.ts +8 -0
- package/dist/components/NavMenu/components/DnDProvider.d.ts +8 -0
- package/dist/components/NavMenu/components/DraggableOverlay.d.ts +1 -0
- package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts +2 -0
- package/dist/components/NavMenu/components/NavMenuItem.d.ts +7 -0
- package/dist/components/NavMenu/components/NavMenuLabel.d.ts +3 -0
- package/dist/components/NavMenu/index.d.ts +5 -0
- package/dist/components/NavMenu/store.d.ts +37 -0
- package/dist/components/NavMenu/types.d.ts +29 -0
- package/dist/components/NavbarResizer/NavbarResizer.d.ts +5 -2
- package/dist/components/Notification/Notification.d.ts +1 -0
- package/dist/components/Notification/NotificationCard.d.ts +1 -1
- package/dist/components/ProjectIcon/ProjectIcon.d.ts +3 -3
- package/dist/components/SubmitModal/index.d.ts +2 -2
- package/dist/components/UserAvatar/index.d.ts +1 -1
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +6 -10
- package/dist/components/WorkspaceMenu/WorkspaceItem.d.ts +2 -14
- package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts +9 -8
- package/dist/components/modals/RemoveConfirmModal.d.ts +2 -0
- package/dist/constants.d.ts +0 -1
- package/dist/emoji-categorized-DAOdcF53.js +4 -0
- package/dist/helpers/download.d.ts +2 -2
- package/dist/hooks/useDateUtils.d.ts +1 -0
- package/dist/hooks/useMenu.d.ts +0 -3
- package/dist/icons.min-Chyr-bjL.js +4 -0
- package/dist/index-W83Evo8i.js +78459 -0
- package/dist/index.d.ts +11 -12
- package/dist/index.js +310 -263
- package/dist/index.umd.cjs +429 -60
- package/dist/lang/index.d.ts +4 -0
- package/dist/lang/locales/ui_en.json.d.ts +80 -0
- package/dist/lang/locales/ui_es.json.d.ts +77 -0
- package/dist/lang/locales/ui_ru.json.d.ts +81 -0
- package/dist/types/files.d.ts +18 -0
- package/package.json +18 -11
- package/dist/KanbanLayout-DrevX3Ow.js +0 -297
- package/dist/components/AppContainer/components/AllAppsMenu.d.ts +0 -5
- package/dist/components/AppContainer/components/DesktopNavbar.d.ts +0 -7
- package/dist/components/AppContainer/components/NavbarFooter.d.ts +0 -3
- package/dist/components/AppContainer/components/NavbarHeader.d.ts +0 -3
- package/dist/components/AttachmentsGalleryModal/ShakaPlayer.d.ts +0 -15
- package/dist/components/AttachmentsGalleryModal/index.d.ts +0 -2
- package/dist/components/InfoMenu/index.d.ts +0 -1
- package/dist/components/InviteModal/InviteModal.d.ts +0 -2
- package/dist/components/InviteModal/slice.d.ts +0 -13
- package/dist/components/Notification/index.d.ts +0 -6
- package/dist/components/RichText/extensions/bold.d.ts +0 -3
- package/dist/components/RichText/extensions/check-list.d.ts +0 -42
- package/dist/components/RichText/extensions/color-picker.d.ts +0 -28
- package/dist/components/RichText/extensions/font-size.d.ts +0 -23
- package/dist/components/RichText/extensions/italic.d.ts +0 -3
- package/dist/components/RichText/extensions/underline.d.ts +0 -3
- package/dist/components/RichText/index.d.ts +0 -41
- package/dist/components/modals/openRemoveConfirmModal.d.ts +0 -4
- package/dist/emoji-categorized-CRsMUQyD.js +0 -4
- package/dist/icons.min-wo13YUY4.js +0 -4
- package/dist/index-B6qa0aiu.js +0 -115264
- package/dist/store/aboutModal.d.ts +0 -7
- package/dist/store/trashModal.d.ts +0 -7
- /package/dist/components/{AttachmentsGalleryModal → ImageModal}/ImageModal.d.ts +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface InviteModalState {
|
|
2
|
-
opened: boolean;
|
|
3
|
-
title?: string;
|
|
4
|
-
workspaceName?: string;
|
|
5
|
-
workspaceAvatar?: string;
|
|
6
|
-
invitation: string;
|
|
7
|
-
onAccept?: () => void;
|
|
8
|
-
onDecline?: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const useInviteModalStore: import('zustand').UseBoundStore<import('zustand').StoreApi<InviteModalState>>;
|
|
11
|
-
export declare const openInviteModal: (params: Omit<InviteModalState, "opened">) => void;
|
|
12
|
-
export declare const closeInviteModal: () => void;
|
|
13
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
interface NotificationProps {
|
|
2
|
-
isNotificationOpen: boolean;
|
|
3
|
-
setNotificationOpen: (value: boolean) => void;
|
|
4
|
-
}
|
|
5
|
-
declare const Notification: ({ isNotificationOpen, setNotificationOpen, }: NotificationProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default Notification;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Node } from '@tiptap/core';
|
|
2
|
-
interface ICheckListOptions {
|
|
3
|
-
/**
|
|
4
|
-
* The node name for the list items
|
|
5
|
-
* @default 'listItem'
|
|
6
|
-
* @example 'paragraph'
|
|
7
|
-
*/
|
|
8
|
-
itemTypeName: string;
|
|
9
|
-
/**
|
|
10
|
-
* HTML attributes to add to the check list element
|
|
11
|
-
* @default {}
|
|
12
|
-
* @example { class: 'foo' }
|
|
13
|
-
*/
|
|
14
|
-
HTMLAttributes: Record<string, any>;
|
|
15
|
-
/**
|
|
16
|
-
* Keep the marks when splitting the list
|
|
17
|
-
* @default false
|
|
18
|
-
* @example true
|
|
19
|
-
*/
|
|
20
|
-
keepMarks: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Keep the attributes when splitting the list
|
|
23
|
-
* @default false
|
|
24
|
-
* @example true
|
|
25
|
-
*/
|
|
26
|
-
keepAttributes: boolean;
|
|
27
|
-
}
|
|
28
|
-
declare module '@tiptap/core' {
|
|
29
|
-
interface Commands<ReturnType> {
|
|
30
|
-
checkList: {
|
|
31
|
-
/**
|
|
32
|
-
* Toggle an check list
|
|
33
|
-
* @example editor.commands.toggleCheckList()
|
|
34
|
-
*/
|
|
35
|
-
toggleCheckList: () => ReturnType;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
export declare const CheckList: Node<ICheckListOptions, any> & {
|
|
40
|
-
Control: () => import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
};
|
|
42
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Extension } from '@tiptap/core';
|
|
2
|
-
export type ColorOptions = {
|
|
3
|
-
types: string[];
|
|
4
|
-
};
|
|
5
|
-
declare module '@tiptap/core' {
|
|
6
|
-
interface Commands<ReturnType> {
|
|
7
|
-
backColor: {
|
|
8
|
-
/**
|
|
9
|
-
* Set the text color
|
|
10
|
-
*/
|
|
11
|
-
setBackColor: (color: string) => ReturnType;
|
|
12
|
-
/**
|
|
13
|
-
* Unset the text color
|
|
14
|
-
*/
|
|
15
|
-
unsetBackColor: () => ReturnType;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export declare const BackColor: Extension<ColorOptions, any>;
|
|
20
|
-
export declare const ColorPicker: Extension<ColorOptions, any> & {
|
|
21
|
-
Control: ({ staticBg, onChange, }: {
|
|
22
|
-
staticBg?: boolean;
|
|
23
|
-
onChange?: (v: {
|
|
24
|
-
value: string;
|
|
25
|
-
mode: string;
|
|
26
|
-
}) => void;
|
|
27
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Extension } from '@tiptap/core';
|
|
2
|
-
interface IFontSizeOptions {
|
|
3
|
-
types: string[];
|
|
4
|
-
getStyle: (fontSize: string) => string;
|
|
5
|
-
}
|
|
6
|
-
declare module '@tiptap/core' {
|
|
7
|
-
interface Commands<ReturnType> {
|
|
8
|
-
fontSize: {
|
|
9
|
-
/**
|
|
10
|
-
* Set the font size attribute
|
|
11
|
-
*/
|
|
12
|
-
setFontSize: (size: string) => ReturnType;
|
|
13
|
-
/**
|
|
14
|
-
* Unset the font size attribute
|
|
15
|
-
*/
|
|
16
|
-
unsetFontSize: () => ReturnType;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export declare const FontSize: Extension<IFontSizeOptions, any> & {
|
|
21
|
-
Control: () => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
};
|
|
23
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { RichTextEditorContentProps } from '@mantine/tiptap';
|
|
2
|
-
interface IProps {
|
|
3
|
-
value?: string;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
onChange?: (v: string) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const RichText: import('react').ForwardRefExoticComponent<IProps & {
|
|
10
|
-
children?: import('react').ReactNode | undefined;
|
|
11
|
-
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
12
|
-
Content: (props: RichTextEditorContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
Bold: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
Italic: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
Underline: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
OrderedList: import('react').ForwardRefExoticComponent<import('@mantine/tiptap/lib/RichTextEditorControl/RichTextEditorControl').RichTextEditorControlBaseProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
17
|
-
BulletList: import('react').ForwardRefExoticComponent<import('@mantine/tiptap/lib/RichTextEditorControl/RichTextEditorControl').RichTextEditorControlBaseProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
18
|
-
Link: import('@mantine/core').MantineComponent<{
|
|
19
|
-
props: import('@mantine/tiptap').RichTextEditorLinkControlProps;
|
|
20
|
-
ref: HTMLButtonElement;
|
|
21
|
-
stylesNames: import('@mantine/tiptap/lib/RichTextEditorControl/RichTextEditorLinkControl').RichTextEditorLinkControlStylesNames;
|
|
22
|
-
compound: true;
|
|
23
|
-
}>;
|
|
24
|
-
CheckList: () => import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
FontSize: () => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
ColorPicker: ({ staticBg, onChange, }: {
|
|
27
|
-
staticBg?: boolean;
|
|
28
|
-
onChange?: (v: {
|
|
29
|
-
value: string;
|
|
30
|
-
mode: string;
|
|
31
|
-
}) => void;
|
|
32
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
};
|
|
34
|
-
export interface IRichTextRef extends HTMLDivElement {
|
|
35
|
-
isFocused: boolean;
|
|
36
|
-
text: string | undefined;
|
|
37
|
-
setContent: (v: string) => void;
|
|
38
|
-
focus: (v?: FocusOptions) => void;
|
|
39
|
-
setTextAlign: (v: 'left' | 'right' | 'center') => void;
|
|
40
|
-
}
|
|
41
|
-
export {};
|