@layers-app/shared 0.0.44 → 0.0.50
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-DrevX3Ow.js → KanbanLayout-oWz6EhPt.js} +5 -5
- package/dist/assets/jsons/icons.min.json.d.ts +1 -1
- 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 +16 -11
- package/dist/components/AppShell/AppShell.d.ts +12 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +24 -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 +10 -0
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts +9 -0
- package/dist/components/AttachmentsGalleryModal/constants.d.ts +20 -0
- package/dist/components/AttachmentsGalleryModal/helpers.d.ts +22 -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/usePanning.d.ts +10 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useZoomReset.d.ts +1 -0
- package/dist/components/AttachmentsGalleryModal/types.d.ts +0 -8
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts +9 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts +1 -0
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts +16 -11
- package/dist/components/CommentComposer/index.d.ts +2 -55
- package/dist/components/CommentComposer/types.d.ts +96 -0
- package/dist/components/CommentsPanel/index.d.ts +1 -26
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -0
- package/dist/components/EmojiPicker/getIconsList.d.ts +11 -0
- package/dist/components/EmojiPicker/getRandomIcon.d.ts +1 -0
- package/dist/components/EntityIcon.d.ts +7 -0
- package/dist/components/FilePicker/FilePicker.d.ts +2 -1
- package/dist/components/FilePicker/types.d.ts +1 -0
- package/dist/components/FormViewer/helpers/conditions.d.ts +2 -2
- package/dist/components/FormViewer/helpers/helpers.d.ts +2 -2
- package/dist/components/FormViewer/helpers/steps.d.ts +2 -2
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +2 -2
- package/dist/components/FormViewer/store/formStore.d.ts +36 -36
- package/dist/components/FormViewer/store/formStoreApi.d.ts +6 -6
- package/dist/components/FormViewer/store/selectors.d.ts +684 -684
- package/dist/components/FormViewer/types/schemes.d.ts +44 -44
- 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 +8 -3
- package/dist/components/RichText/index.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 +7 -0
- package/dist/constants.d.ts +0 -1
- package/dist/helpers/download.d.ts +2 -2
- package/dist/helpers/hotjar.d.ts +9 -0
- package/dist/helpers/pickRandomEmoji.d.ts +1 -0
- package/dist/hooks/useDateUtils.d.ts +1 -0
- package/dist/hooks/useMenu.d.ts +0 -3
- package/dist/icons.min-43tm8BtD.js +4 -0
- package/dist/{index-B6qa0aiu.js → index-tn5CWDGz.js} +23985 -22644
- package/dist/index.d.ts +14 -13
- package/dist/index.js +247 -249
- package/dist/index.umd.cjs +59 -59
- package/dist/lang/index.d.ts +4 -0
- package/dist/lang/locales/ui_en.json.d.ts +81 -0
- package/dist/lang/locales/ui_es.json.d.ts +78 -0
- package/dist/lang/locales/ui_ru.json.d.ts +82 -0
- package/dist/types/files.d.ts +18 -0
- package/package.json +2 -3
- 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/CommentFilterMenu/index.d.ts +0 -9
- package/dist/components/CommentsPanel/components/CommentActionMenu.d.ts +0 -10
- package/dist/components/CommentsPanel/components/CommentActions.d.ts +0 -16
- package/dist/components/CommentsPanel/components/CommentPanelListItem.d.ts +0 -21
- package/dist/components/CommentsPanel/components/CommentTabFilter.d.ts +0 -7
- package/dist/components/CommentsPanel/components/CommentsEmptyPlaceholder.d.ts +0 -6
- package/dist/components/CommentsPanel/components/CommentsFilterHeader.d.ts +0 -3
- package/dist/components/CommentsPanel/components/CommentsListItemMenu.d.ts +0 -7
- package/dist/components/CommentsPanel/components/CommentsPanelList.d.ts +0 -18
- package/dist/components/CommentsPanel/components/CommentsThreadReplyControls.d.ts +0 -15
- package/dist/components/CommentsPanel/components/CommentsUploadFilesPreview.d.ts +0 -10
- package/dist/components/CommentsPanel/components/Icon.d.ts +0 -8
- package/dist/components/CommentsPanel/store.d.ts +0 -25
- package/dist/components/CommentsPanel/types.d.ts +0 -339
- package/dist/components/CommentsPanel/utils.d.ts +0 -14
- 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/modals/openRemoveConfirmModal.d.ts +0 -4
- package/dist/helpers/pickRandomIcon.d.ts +0 -1
- package/dist/icons.min-wo13YUY4.js +0 -4
- 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
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"emojiPicker": {
|
|
3
|
+
"searchResults": "Search results",
|
|
4
|
+
"icons": "Icons",
|
|
5
|
+
"searchNoResults": "No results found",
|
|
6
|
+
"chooseColor": "Choose color",
|
|
7
|
+
"categories": {
|
|
8
|
+
"activity": "Activities",
|
|
9
|
+
"custom": "Custom",
|
|
10
|
+
"flags": "Flags",
|
|
11
|
+
"foods": "Food and drinks",
|
|
12
|
+
"frequent": "Recent",
|
|
13
|
+
"nature": "Animals and nature",
|
|
14
|
+
"objects": "Objects",
|
|
15
|
+
"people": "Emotions and people",
|
|
16
|
+
"places": "Travel and places",
|
|
17
|
+
"symbols": "Symbols"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"uploadImage": {
|
|
21
|
+
"label": "Image",
|
|
22
|
+
"change": "Change",
|
|
23
|
+
"description": "You can upload images up to 256×256 and up to 5mb."
|
|
24
|
+
},
|
|
25
|
+
"coverGroups": {
|
|
26
|
+
"colorGradients": "Colors and gradients",
|
|
27
|
+
"jamesWebbTelescope": "Telescope",
|
|
28
|
+
"nasaArchive": "Planet",
|
|
29
|
+
"theIndianEdition": "Cyberpunk",
|
|
30
|
+
"theMetMuseum": "Museum",
|
|
31
|
+
"theMetMuseumPatterns": "Pattern",
|
|
32
|
+
"theMetMuseumJapanesePrints": "Nature",
|
|
33
|
+
"rijkmuseum": "Black hole"
|
|
34
|
+
},
|
|
35
|
+
"changeCover": {
|
|
36
|
+
"gallery": "Gallery",
|
|
37
|
+
"upload": "Upload",
|
|
38
|
+
"uploadFile": "Upload file",
|
|
39
|
+
"maxFileSize": "Images wider than 1600px are recommended. Maximum file size: 5MB.",
|
|
40
|
+
"link": "Link",
|
|
41
|
+
"pasteLink": "Paste an image link...",
|
|
42
|
+
"submitLink": "Apply",
|
|
43
|
+
"worksWithAnyImage": "Works with any image from the Internet",
|
|
44
|
+
"searchImage": "Search for an image...",
|
|
45
|
+
"noResult": "No image found for your query.",
|
|
46
|
+
"change": "Change cover",
|
|
47
|
+
"invalidLink": "Invalid link",
|
|
48
|
+
"position": "Resposition",
|
|
49
|
+
"dragSave": "Save position",
|
|
50
|
+
"dragCancel": "Cancel"
|
|
51
|
+
},
|
|
52
|
+
"colorPicker": {
|
|
53
|
+
"color": "Color",
|
|
54
|
+
"background": "Background",
|
|
55
|
+
"colors": {
|
|
56
|
+
"standard": "Standard",
|
|
57
|
+
"gray": "Gray",
|
|
58
|
+
"brown": "Brown",
|
|
59
|
+
"orange": "Orange",
|
|
60
|
+
"yellow": "Yellow",
|
|
61
|
+
"green": "Green",
|
|
62
|
+
"blue": "Blue",
|
|
63
|
+
"purple": "Purple",
|
|
64
|
+
"pink": "Pink",
|
|
65
|
+
"red": "Red"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"customDrawer": {
|
|
69
|
+
"save": "Save"
|
|
70
|
+
},
|
|
71
|
+
"gallery": {
|
|
72
|
+
"download": "Download",
|
|
73
|
+
"zoomOut": "Zoom out",
|
|
74
|
+
"zoomIn": "Zoom in",
|
|
75
|
+
"close": "Close",
|
|
76
|
+
"fileError": "Upload failed. Please try again."
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
;
|
|
80
|
+
|
|
81
|
+
export default _default;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"emojiPicker": {
|
|
3
|
+
"searchResults": "Resultados de búsqueda",
|
|
4
|
+
"icons": "Iconos",
|
|
5
|
+
"searchNoResults": "No se encontraron resultados",
|
|
6
|
+
"chooseColor": "Elegir color",
|
|
7
|
+
"categories": {
|
|
8
|
+
"activity": "Actividades",
|
|
9
|
+
"custom": "Personalizado",
|
|
10
|
+
"flags": "Banderas",
|
|
11
|
+
"foods": "Comida y bebidas",
|
|
12
|
+
"frequent": "Usados frecuentemente",
|
|
13
|
+
"nature": "Animales y naturaleza",
|
|
14
|
+
"objects": "Objetos",
|
|
15
|
+
"people": "Emociones y personas",
|
|
16
|
+
"places": "Viajes y lugares",
|
|
17
|
+
"symbols": "Símbolos"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"uploadImage": {
|
|
21
|
+
"label": "Imagen",
|
|
22
|
+
"change": "Cambiar",
|
|
23
|
+
"description": "Puedes subir imágenes de hasta 256×256 y hasta 5 MB."
|
|
24
|
+
},
|
|
25
|
+
"coverGroups": {
|
|
26
|
+
"colorGradients": "Colores y degradados",
|
|
27
|
+
"jamesWebbTelescope": "Telescopio",
|
|
28
|
+
"nasaArchive": "Planeta",
|
|
29
|
+
"theIndianEdition": "Cyberpunk",
|
|
30
|
+
"theMetMuseum": "Museo",
|
|
31
|
+
"theMetMuseumPatterns": "Patrón",
|
|
32
|
+
"theMetMuseumJapanesePrints": "Naturaleza",
|
|
33
|
+
"rijkmuseum": "Agujero negro"
|
|
34
|
+
},
|
|
35
|
+
"changeCover": {
|
|
36
|
+
"gallery": "Galería",
|
|
37
|
+
"upload": "Subir",
|
|
38
|
+
"uploadFile": "Subir archivo",
|
|
39
|
+
"maxFileSize": "Se recomiendan imágenes de más de 1600px de ancho. Tamaño máximo de archivo: 5MB.",
|
|
40
|
+
"link": "Enlace",
|
|
41
|
+
"pasteLink": "Pegar enlace de imagen...",
|
|
42
|
+
"submitLink": "Aplicar",
|
|
43
|
+
"worksWithAnyImage": "Funciona con cualquier imagen de Internet",
|
|
44
|
+
"searchImage": "Buscar imagen...",
|
|
45
|
+
"noResult": "No se encontró ninguna imagen para tu búsqueda.",
|
|
46
|
+
"change": "Cambiar portada",
|
|
47
|
+
"invalidLink": "Enlace inválido"
|
|
48
|
+
},
|
|
49
|
+
"colorPicker": {
|
|
50
|
+
"color": "Color",
|
|
51
|
+
"background": "Fondo",
|
|
52
|
+
"colors": {
|
|
53
|
+
"standard": "Estándar",
|
|
54
|
+
"gray": "Gris",
|
|
55
|
+
"brown": "Marrón",
|
|
56
|
+
"orange": "Naranja",
|
|
57
|
+
"yellow": "Amarillo",
|
|
58
|
+
"green": "Verde",
|
|
59
|
+
"blue": "Azul",
|
|
60
|
+
"purple": "Púrpura",
|
|
61
|
+
"pink": "Rosa",
|
|
62
|
+
"red": "Rojo"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"customDrawer": {
|
|
66
|
+
"save": "Guardar"
|
|
67
|
+
},
|
|
68
|
+
"gallery": {
|
|
69
|
+
"download": "Descargar",
|
|
70
|
+
"zoomOut": "Alejar",
|
|
71
|
+
"zoomIn": "Acercar",
|
|
72
|
+
"close": "Cerrar",
|
|
73
|
+
"fileError": "La carga falló. Por favor, inténtalo de nuevo."
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
;
|
|
77
|
+
|
|
78
|
+
export default _default;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"emojiPicker": {
|
|
3
|
+
"searchResults": "Результаты поиска",
|
|
4
|
+
"searchNoResults": "Результаты не найдены",
|
|
5
|
+
"icons": "Иконки",
|
|
6
|
+
"chooseColor": "Выбрать цвет",
|
|
7
|
+
"categories": {
|
|
8
|
+
"activity": "Активности",
|
|
9
|
+
"custom": "Свои",
|
|
10
|
+
"flags": "Флаги",
|
|
11
|
+
"foods": "Еда и напитки",
|
|
12
|
+
"frequent": "Часто используемые",
|
|
13
|
+
"nature": "Животные и природа",
|
|
14
|
+
"objects": "Предметы",
|
|
15
|
+
"people": "Эмоции и люди",
|
|
16
|
+
"places": "Путешествия и места",
|
|
17
|
+
"symbols": "Символы"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"coverGroups": {
|
|
21
|
+
"colorGradients": "Цвета и градиенты",
|
|
22
|
+
"jamesWebbTelescope": "Телескоп",
|
|
23
|
+
"nasaArchive": "Планета",
|
|
24
|
+
"theIndianEdition": "Киберпанк",
|
|
25
|
+
"theMetMuseum": "Музей",
|
|
26
|
+
"theMetMuseumPatterns": "Паттерн",
|
|
27
|
+
"theMetMuseumJapanesePrints": "Природа",
|
|
28
|
+
"rijkmuseum": "Черная дыра"
|
|
29
|
+
},
|
|
30
|
+
"changeCover": {
|
|
31
|
+
"gallery": "Галерея",
|
|
32
|
+
"upload": "Загрузить",
|
|
33
|
+
"uploadFile": "Загрузить файл",
|
|
34
|
+
"maxFileSize": "Рекомендуются изображения шире 1600px. Максимальный размер файла: 5МБ.",
|
|
35
|
+
"link": "Ссылка",
|
|
36
|
+
"pasteLink": "Вставьте ссылку на изображение...",
|
|
37
|
+
"submitLink": "Применить",
|
|
38
|
+
"worksWithAnyImage": "Работает с любыми изображениями из Интернета",
|
|
39
|
+
"searchImage": "Поиск изображения...",
|
|
40
|
+
"noResult": "По вашему запросу изображений не найдено",
|
|
41
|
+
"change": "Изменить обложку",
|
|
42
|
+
"invalidLink": "Неверная ссылка",
|
|
43
|
+
"position": "Изменить Позицию",
|
|
44
|
+
"dragSave": "Сохранить",
|
|
45
|
+
"dragCancel": "Отменить"
|
|
46
|
+
},
|
|
47
|
+
"uploadImage": {
|
|
48
|
+
"label": "Изображение",
|
|
49
|
+
"change": "Изменить",
|
|
50
|
+
"description": "Вы можете загружать изображения размером до 256×256 и весом до 5 МБ."
|
|
51
|
+
},
|
|
52
|
+
"colorPicker": {
|
|
53
|
+
"color": "Цвет",
|
|
54
|
+
"background": "Подложка",
|
|
55
|
+
"colors": {
|
|
56
|
+
"standard": "Стандартный",
|
|
57
|
+
"gray": "Серый",
|
|
58
|
+
"brown": "Коричневый",
|
|
59
|
+
"orange": "Оранжевый",
|
|
60
|
+
"yellow": "Желтый",
|
|
61
|
+
"green": "Зеленый",
|
|
62
|
+
"blue": "Синий",
|
|
63
|
+
"purple": "Фиолетовый",
|
|
64
|
+
"pink": "Розовый",
|
|
65
|
+
"red": "Красный"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"customDrawer": {
|
|
69
|
+
"save": "Сохранить"
|
|
70
|
+
},
|
|
71
|
+
"gallery": {
|
|
72
|
+
"download": "Скачать",
|
|
73
|
+
"zoomOut": "Уменьшить",
|
|
74
|
+
"zoomIn": "Приблизить",
|
|
75
|
+
"close": "Закрыть",
|
|
76
|
+
"fileError": "Загрузка не удалась. Попробуйте снова."
|
|
77
|
+
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
;
|
|
81
|
+
|
|
82
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface IFileResponse {
|
|
2
|
+
id: string;
|
|
3
|
+
originalFileName: string;
|
|
4
|
+
contentType: string;
|
|
5
|
+
fileSize: number;
|
|
6
|
+
storageType: string;
|
|
7
|
+
storagePath: string;
|
|
8
|
+
fileName: string;
|
|
9
|
+
parentType: string;
|
|
10
|
+
parentId: string;
|
|
11
|
+
ownerId: string;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
version: number;
|
|
15
|
+
deleted: boolean;
|
|
16
|
+
deletedAt: Date;
|
|
17
|
+
Url?: string;
|
|
18
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@layers-app/shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.50",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
"react-i18next": "^15.7.3",
|
|
48
48
|
"react-joyride": "^2.8.2",
|
|
49
49
|
"react-router-dom": "^7.5.2",
|
|
50
|
-
"zustand": "^5.0.3"
|
|
51
|
-
"shaka-player-react": "^1.1.5"
|
|
50
|
+
"zustand": "^5.0.3"
|
|
52
51
|
}
|
|
53
52
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AppContainerProps } from '../types';
|
|
2
|
-
declare global {
|
|
3
|
-
interface Window {
|
|
4
|
-
openTemplatesModal?: () => void;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
export declare const DesktopNavbar: (props: Pick<AppContainerProps, "navbar" | "navbarTitle" | "displayType" | "onTitleChange">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
type BaseProps = {
|
|
3
|
-
stylesContainer?: CSSProperties;
|
|
4
|
-
autoPlay?: boolean;
|
|
5
|
-
loader?: ReactNode;
|
|
6
|
-
};
|
|
7
|
-
type Props = (BaseProps & {
|
|
8
|
-
attachmentId: string;
|
|
9
|
-
src?: never;
|
|
10
|
-
}) | (BaseProps & {
|
|
11
|
-
src: string;
|
|
12
|
-
attachmentId?: never;
|
|
13
|
-
});
|
|
14
|
-
export declare const ShakaVideoPlayer: ({ attachmentId, stylesContainer, src, autoPlay, loader, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { AttachmentsGalleryModalProps } from './types';
|
|
2
|
-
export declare const AttachmentsGalleryModal: import('react').MemoExoticComponent<({ attachments, onOpenChange, opened, setShowAttach, showAttach, translation, }: AttachmentsGalleryModalProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CommentsFilter } from '../CommentsPanel/types.ts';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export declare const CommentFilterMenu: ({ commentsFilter, setCommentsFilter, disabled, onCollapse, listRef, }: {
|
|
4
|
-
commentsFilter: CommentsFilter;
|
|
5
|
-
setCommentsFilter: React.Dispatch<React.SetStateAction<CommentsFilter>>;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
listRef?: React.RefObject<HTMLElement>;
|
|
8
|
-
onCollapse?: React.Dispatch<React.SetStateAction<string | null>>;
|
|
9
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CommentsNs } from '../types.ts';
|
|
2
|
-
interface CommentActionMenuProps {
|
|
3
|
-
onDownload: () => void;
|
|
4
|
-
onDelete: () => void;
|
|
5
|
-
iconColor?: string;
|
|
6
|
-
hasPermission: boolean;
|
|
7
|
-
locales?: CommentsNs;
|
|
8
|
-
}
|
|
9
|
-
export declare const CommentActionMenu: ({ onDownload, onDelete, iconColor, hasPermission, locales: propLocales, }: CommentActionMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Comment, GeneralComment, SharedCommentProps, Thread } from '../types.ts';
|
|
3
|
-
interface CommentActionsProps extends Omit<SharedCommentProps, 'commentOrThread'> {
|
|
4
|
-
accepted: boolean;
|
|
5
|
-
showEmojiPicker: boolean;
|
|
6
|
-
setShowEmojiPicker: React.Dispatch<React.SetStateAction<boolean>>;
|
|
7
|
-
commentSelected?: boolean;
|
|
8
|
-
commentOrThread: Thread | GeneralComment;
|
|
9
|
-
handleBlur: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
10
|
-
toggleRepliesInput?: (id: string, event: React.MouseEvent<HTMLElement>) => void;
|
|
11
|
-
handleEditClick: (comment: Comment | Thread | GeneralComment) => void;
|
|
12
|
-
handleReactionClick: (emoji: string) => void;
|
|
13
|
-
hasPermission: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare const CommentActions: React.FC<CommentActionsProps>;
|
|
16
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { NodeKey, RangeSelection } from '@layers-app/editor';
|
|
2
|
-
import { Comment, CommentsNs, GeneralComment, ICommentFile, SharedCommentProps, Thread, UpdateCommentTextArgs } from '../types.ts';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
interface ICommentPanelListItemProps extends SharedCommentProps {
|
|
5
|
-
deleteCommentImage: (photoToRemove: string, threadOrGeneralId: string, commentId?: string) => void;
|
|
6
|
-
addCommentReaction: (reaction: string, comment: Thread | GeneralComment | Comment, threatOrGeneral?: Thread | GeneralComment) => void;
|
|
7
|
-
removeCommentReactions: (reaction: string, threatOrGeneral: Thread | GeneralComment | Comment, comment?: Thread | GeneralComment) => void;
|
|
8
|
-
toggleRepliesInput: (id: string) => void;
|
|
9
|
-
parentThreadOrGeneral?: Thread | GeneralComment;
|
|
10
|
-
updateThreadId?: (tempId: string, realId: string, updatedAt: string, commentType: string, files: ICommentFile[], thread?: Thread) => void;
|
|
11
|
-
handleClickThread?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
12
|
-
markNodeMap?: Map<string, Set<NodeKey>>;
|
|
13
|
-
submitAddComment?: (commentOrThread: Comment | Thread | GeneralComment, isInlineComment: boolean, thread?: Thread | GeneralComment, selection?: RangeSelection | null, files?: File[]) => void;
|
|
14
|
-
updateCommentTextOrImage: UpdateCommentTextArgs;
|
|
15
|
-
replyInput?: string;
|
|
16
|
-
setShowReplyInput?: React.Dispatch<React.SetStateAction<string>>;
|
|
17
|
-
activeIDs?: Array<string>;
|
|
18
|
-
locales: CommentsNs;
|
|
19
|
-
}
|
|
20
|
-
export declare const CommentPanelListItem: ({ commentOrThread, handleClickThread, markNodeMap, parentThreadOrGeneral, submitAddComment, removeCommentReactions, updateThreadId, addCommentReaction, deleteCommentImage, activeIDs, updateCommentTextOrImage, resolveThreat, toggleRepliesInput, locales, deleteCommentOrThread, replyInput, }: ICommentPanelListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CommentsFilter } from '../types.ts';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export declare const CommentTabFilter: ({ commentsFilter, setCommentsFilter, listRef, }: {
|
|
4
|
-
commentsFilter: CommentsFilter;
|
|
5
|
-
setCommentsFilter: React.Dispatch<React.SetStateAction<CommentsFilter>>;
|
|
6
|
-
listRef: React.RefObject<HTMLElement>;
|
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CommentsFilter } from '../types.ts';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export declare const CommentsEmptyPlaceholder: ({ commentsFilter, listRef }: {
|
|
4
|
-
commentsFilter: CommentsFilter;
|
|
5
|
-
listRef: React.RefObject<HTMLElement>;
|
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Comment, GeneralComment, Thread } from '../types.ts';
|
|
2
|
-
export declare const CommentsListItemMenu: ({ handleEditClick, commentOrThread, deleteCommentOrThread, hasPermission }: {
|
|
3
|
-
handleEditClick: (comment: Comment | Thread | GeneralComment) => void;
|
|
4
|
-
commentOrThread: Comment | Thread | GeneralComment;
|
|
5
|
-
deleteCommentOrThread: (commentOrThread: Comment | Thread, thread?: Thread) => void;
|
|
6
|
-
hasPermission: boolean;
|
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { RangeSelection, NodeKey } from '@layers-app/editor';
|
|
3
|
-
import { Comment, Comments, GeneralComment, ICommentFile, SharedCommentProps, Thread, UpdateCommentTextArgs } from '../types.ts';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
interface CommentsPanelListProps extends Omit<SharedCommentProps, 'commentOrThread'> {
|
|
6
|
-
activeIDs: string[];
|
|
7
|
-
comments: Comments;
|
|
8
|
-
listRef: React.RefObject<HTMLElement>;
|
|
9
|
-
updateThreadId: (tempId: string, realId: string, updatedAt: string, commentType: string, files: ICommentFile[], thread?: Thread) => void;
|
|
10
|
-
deleteCommentImage: (photoToRemove: string, threadOrGeneralId: string, commentId?: string) => void;
|
|
11
|
-
removeCommentReactions: (reaction: string, threatOrGeneral: Thread | GeneralComment | Comment, comment?: Thread | GeneralComment) => void;
|
|
12
|
-
addCommentReaction: (reaction: string, comment: Thread | GeneralComment | Comment, threatOrGeneral?: Thread | GeneralComment) => void;
|
|
13
|
-
markNodeMap?: Map<string, Set<NodeKey>>;
|
|
14
|
-
submitAddComment: (commentOrThread: Comment | Thread | GeneralComment, isInlineComment: boolean, thread?: Thread | GeneralComment, selection?: RangeSelection | null, files?: File[]) => void;
|
|
15
|
-
updateCommentTextOrImage: UpdateCommentTextArgs;
|
|
16
|
-
}
|
|
17
|
-
export declare function CommentsPanelList({ activeIDs, comments, deleteCommentOrThread, listRef, addCommentReaction, updateThreadId, submitAddComment, deleteCommentImage, removeCommentReactions, markNodeMap, resolveThreat, updateCommentTextOrImage, }: CommentsPanelListProps): ReactElement;
|
|
18
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CommentsNs } from '../types.ts';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
interface CommentsThreadReplyControlsProps {
|
|
4
|
-
onSubmit: () => void;
|
|
5
|
-
handleFileChange: (files: File[]) => void;
|
|
6
|
-
disabledSubmitButton: boolean;
|
|
7
|
-
disabledUploadButton: boolean;
|
|
8
|
-
isSubmitting: boolean;
|
|
9
|
-
setIsSubmitting: React.Dispatch<React.SetStateAction<boolean>>;
|
|
10
|
-
handleClearInput: () => void;
|
|
11
|
-
isFloatInput?: boolean;
|
|
12
|
-
locales?: CommentsNs;
|
|
13
|
-
}
|
|
14
|
-
export declare const CommentsThreadReplyControls: ({ onSubmit, handleFileChange, disabledSubmitButton, disabledUploadButton, isFloatInput, setIsSubmitting, isSubmitting, handleClearInput, locales: propLocales, }: CommentsThreadReplyControlsProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CommentsNs, ICommentFile } from '../types.ts';
|
|
2
|
-
interface CommentsUploadFilesPreviewProps {
|
|
3
|
-
files: Array<ICommentFile>;
|
|
4
|
-
hasPermission?: boolean;
|
|
5
|
-
removeImage: (index: number | string) => void;
|
|
6
|
-
showLoading?: boolean;
|
|
7
|
-
locales?: CommentsNs;
|
|
8
|
-
}
|
|
9
|
-
export declare const CommentsUploadFilesPreview: ({ files, hasPermission, removeImage, showLoading, locales, }: CommentsUploadFilesPreviewProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { IconProps } from '@tabler/icons-react';
|
|
3
|
-
declare const iconsBlockTypeToBlockName: Record<string, FC<IconProps>>;
|
|
4
|
-
declare const Icon: ({ name, iconStyle, ...rest }: {
|
|
5
|
-
name: keyof typeof iconsBlockTypeToBlockName;
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default Icon;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { CommentsNs, GetEditorFn, ICommentOptions, IMember, IUser } from './types';
|
|
2
|
-
interface CommentsState {
|
|
3
|
-
workspaceMembers: IMember[];
|
|
4
|
-
currentUser?: IUser;
|
|
5
|
-
showComments: boolean;
|
|
6
|
-
adminPermission: boolean;
|
|
7
|
-
commentOptions?: ICommentOptions;
|
|
8
|
-
getEditor?: GetEditorFn;
|
|
9
|
-
isSidebar: boolean;
|
|
10
|
-
isGuest: boolean;
|
|
11
|
-
commentsLocales: CommentsNs;
|
|
12
|
-
selectMarkNode?: (markNodeKeys: Set<string>, activeElement: Element | null) => void;
|
|
13
|
-
initializeComments: (data: {
|
|
14
|
-
workspaceMembers?: IMember[];
|
|
15
|
-
currentUser?: IUser;
|
|
16
|
-
showComments?: boolean;
|
|
17
|
-
commentOptions?: ICommentOptions;
|
|
18
|
-
getEditor?: GetEditorFn;
|
|
19
|
-
isSidebar: boolean;
|
|
20
|
-
commentsLocales: CommentsNs;
|
|
21
|
-
selectMarkNode?: (markNodeKeys: Set<string>, activeElement: Element | null) => void;
|
|
22
|
-
}) => void;
|
|
23
|
-
}
|
|
24
|
-
export declare const useCommentsStore: import('zustand').UseBoundStore<import('zustand').StoreApi<CommentsState>>;
|
|
25
|
-
export {};
|