@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
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"emojiPicker": {
|
|
3
|
+
"searchResults": "Search results",
|
|
4
|
+
"icons": "Icons",
|
|
5
|
+
"searchNoResults": "No results found",
|
|
6
|
+
"categories": {
|
|
7
|
+
"activity": "Activities",
|
|
8
|
+
"custom": "Custom",
|
|
9
|
+
"flags": "Flags",
|
|
10
|
+
"foods": "Food and drinks",
|
|
11
|
+
"frequent": "Frequently used",
|
|
12
|
+
"nature": "Animals and nature",
|
|
13
|
+
"objects": "Objects",
|
|
14
|
+
"people": "Emotions and people",
|
|
15
|
+
"places": "Travel and places",
|
|
16
|
+
"symbols": "Symbols"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"uploadImage": {
|
|
20
|
+
"label": "Image",
|
|
21
|
+
"change": "Change",
|
|
22
|
+
"description": "You can upload images up to 256×256 and up to 5mb."
|
|
23
|
+
},
|
|
24
|
+
"coverGroups": {
|
|
25
|
+
"colorGradients": "Colors and gradients",
|
|
26
|
+
"jamesWebbTelescope": "Telescope",
|
|
27
|
+
"nasaArchive": "Planet",
|
|
28
|
+
"theIndianEdition": "Cyberpunk",
|
|
29
|
+
"theMetMuseum": "Museum",
|
|
30
|
+
"theMetMuseumPatterns": "Pattern",
|
|
31
|
+
"theMetMuseumJapanesePrints": "Nature",
|
|
32
|
+
"rijkmuseum": "Black hole"
|
|
33
|
+
},
|
|
34
|
+
"changeCover": {
|
|
35
|
+
"gallery": "Gallery",
|
|
36
|
+
"upload": "Upload",
|
|
37
|
+
"uploadFile": "Upload file",
|
|
38
|
+
"maxFileSize": "Maximum image size - 5MB",
|
|
39
|
+
"link": "Link",
|
|
40
|
+
"pasteLink": "Paste image link...",
|
|
41
|
+
"submitLink": "Apply",
|
|
42
|
+
"worksWithAnyImage": "Works with any image from the Internet",
|
|
43
|
+
"searchImage": "Search image...",
|
|
44
|
+
"noResult": "No image found for your query.",
|
|
45
|
+
"change": "Change cover",
|
|
46
|
+
"invalidLink": "Invalid link",
|
|
47
|
+
"position": "Resposition",
|
|
48
|
+
"dragSave": "Save position",
|
|
49
|
+
"dragCancel": "Cancel"
|
|
50
|
+
},
|
|
51
|
+
"colorPicker": {
|
|
52
|
+
"color": "Color",
|
|
53
|
+
"background": "Background",
|
|
54
|
+
"colors": {
|
|
55
|
+
"standard": "Standard",
|
|
56
|
+
"gray": "Gray",
|
|
57
|
+
"brown": "Brown",
|
|
58
|
+
"orange": "Orange",
|
|
59
|
+
"yellow": "Yellow",
|
|
60
|
+
"green": "Green",
|
|
61
|
+
"blue": "Blue",
|
|
62
|
+
"purple": "Purple",
|
|
63
|
+
"pink": "Pink",
|
|
64
|
+
"red": "Red"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"customDrawer": {
|
|
68
|
+
"save": "Save"
|
|
69
|
+
},
|
|
70
|
+
"gallery": {
|
|
71
|
+
"download": "Download",
|
|
72
|
+
"zoomOut": "Zoom out",
|
|
73
|
+
"zoomIn": "Zoom in",
|
|
74
|
+
"close": "Close",
|
|
75
|
+
"fileError": "Upload failed. Please try again."
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
;
|
|
79
|
+
|
|
80
|
+
export default _default;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"emojiPicker": {
|
|
3
|
+
"searchResults": "Resultados de búsqueda",
|
|
4
|
+
"icons": "Iconos",
|
|
5
|
+
"searchNoResults": "No se encontraron resultados",
|
|
6
|
+
"categories": {
|
|
7
|
+
"activity": "Actividades",
|
|
8
|
+
"custom": "Personalizado",
|
|
9
|
+
"flags": "Banderas",
|
|
10
|
+
"foods": "Comida y bebidas",
|
|
11
|
+
"frequent": "Usados frecuentemente",
|
|
12
|
+
"nature": "Animales y naturaleza",
|
|
13
|
+
"objects": "Objetos",
|
|
14
|
+
"people": "Emociones y personas",
|
|
15
|
+
"places": "Viajes y lugares",
|
|
16
|
+
"symbols": "Símbolos"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"uploadImage": {
|
|
20
|
+
"label": "Imagen",
|
|
21
|
+
"change": "Cambiar",
|
|
22
|
+
"description": "Puedes subir imágenes de hasta 256×256 y hasta 5 MB."
|
|
23
|
+
},
|
|
24
|
+
"coverGroups": {
|
|
25
|
+
"colorGradients": "Colores y degradados",
|
|
26
|
+
"jamesWebbTelescope": "Telescopio",
|
|
27
|
+
"nasaArchive": "Planeta",
|
|
28
|
+
"theIndianEdition": "Cyberpunk",
|
|
29
|
+
"theMetMuseum": "Museo",
|
|
30
|
+
"theMetMuseumPatterns": "Patrón",
|
|
31
|
+
"theMetMuseumJapanesePrints": "Naturaleza",
|
|
32
|
+
"rijkmuseum": "Agujero negro"
|
|
33
|
+
},
|
|
34
|
+
"changeCover": {
|
|
35
|
+
"gallery": "Galería",
|
|
36
|
+
"upload": "Subir",
|
|
37
|
+
"uploadFile": "Subir archivo",
|
|
38
|
+
"maxFileSize": "Tamaño máximo de imagen - 5MB",
|
|
39
|
+
"link": "Enlace",
|
|
40
|
+
"pasteLink": "Pegar enlace de imagen...",
|
|
41
|
+
"submitLink": "Aplicar",
|
|
42
|
+
"worksWithAnyImage": "Funciona con cualquier imagen de Internet",
|
|
43
|
+
"searchImage": "Buscar imagen...",
|
|
44
|
+
"noResult": "No se encontró ninguna imagen para tu búsqueda.",
|
|
45
|
+
"change": "Cambiar portada",
|
|
46
|
+
"invalidLink": "Enlace inválido"
|
|
47
|
+
},
|
|
48
|
+
"colorPicker": {
|
|
49
|
+
"color": "Color",
|
|
50
|
+
"background": "Fondo",
|
|
51
|
+
"colors": {
|
|
52
|
+
"standard": "Estándar",
|
|
53
|
+
"gray": "Gris",
|
|
54
|
+
"brown": "Marrón",
|
|
55
|
+
"orange": "Naranja",
|
|
56
|
+
"yellow": "Amarillo",
|
|
57
|
+
"green": "Verde",
|
|
58
|
+
"blue": "Azul",
|
|
59
|
+
"purple": "Púrpura",
|
|
60
|
+
"pink": "Rosa",
|
|
61
|
+
"red": "Rojo"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"customDrawer": {
|
|
65
|
+
"save": "Guardar"
|
|
66
|
+
},
|
|
67
|
+
"gallery": {
|
|
68
|
+
"download": "Descargar",
|
|
69
|
+
"zoomOut": "Alejar",
|
|
70
|
+
"zoomIn": "Acercar",
|
|
71
|
+
"close": "Cerrar",
|
|
72
|
+
"fileError": "La carga falló. Por favor, inténtalo de nuevo."
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
;
|
|
76
|
+
|
|
77
|
+
export default _default;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"emojiPicker": {
|
|
3
|
+
"searchResults": "Результаты поиска",
|
|
4
|
+
"searchNoResults": "Результаты не найдены",
|
|
5
|
+
"icons": "Иконки",
|
|
6
|
+
"categories": {
|
|
7
|
+
"activity": "Активности",
|
|
8
|
+
"custom": "Свои",
|
|
9
|
+
"flags": "Флаги",
|
|
10
|
+
"foods": "Еда и напитки",
|
|
11
|
+
"frequent": "Часто используемые",
|
|
12
|
+
"nature": "Животные и природа",
|
|
13
|
+
"objects": "Предметы",
|
|
14
|
+
"people": "Эмоции и люди",
|
|
15
|
+
"places": "Путешествия и места",
|
|
16
|
+
"symbols": "Символы"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"coverGroups": {
|
|
20
|
+
"colorGradients": "Цвета и градиенты",
|
|
21
|
+
"jamesWebbTelescope": "Телескоп",
|
|
22
|
+
"nasaArchive": "Планета",
|
|
23
|
+
"theIndianEdition": "Киберпанк",
|
|
24
|
+
"theMetMuseum": "Музей",
|
|
25
|
+
"theMetMuseumPatterns": "Паттерн",
|
|
26
|
+
"theMetMuseumJapanesePrints": "Природа",
|
|
27
|
+
"rijkmuseum": "Черная дыра"
|
|
28
|
+
},
|
|
29
|
+
"changeCover": {
|
|
30
|
+
"gallery": "Галерея",
|
|
31
|
+
"upload": "Загрузить",
|
|
32
|
+
"uploadFile": "Загрузить файл",
|
|
33
|
+
"maxFileSize": "Максимальный вес изображения - 5МБ",
|
|
34
|
+
"link": "Ссылка",
|
|
35
|
+
"pasteLink": "Вставьте ссылку на изображение...",
|
|
36
|
+
"submitLink": "Применить",
|
|
37
|
+
"worksWithAnyImage": "Работает с любыми изображениями из Интернета",
|
|
38
|
+
"searchImage": "Поиск изображения...",
|
|
39
|
+
"noResult": "По вашему запросу изображений не найдено",
|
|
40
|
+
"change": "Изменить обложку",
|
|
41
|
+
"invalidLink": "Неверная ссылка",
|
|
42
|
+
"position": "Изменить Позицию",
|
|
43
|
+
"dragSave": "Сохранить",
|
|
44
|
+
"dragCancel": "Отменить"
|
|
45
|
+
},
|
|
46
|
+
"uploadImage": {
|
|
47
|
+
"label": "Изображение",
|
|
48
|
+
"change": "Изменить",
|
|
49
|
+
"description": "Вы можете загружать изображения размером до 256×256 и весом до 5 МБ."
|
|
50
|
+
},
|
|
51
|
+
"colorPicker": {
|
|
52
|
+
"color": "Цвет",
|
|
53
|
+
"background": "Подложка",
|
|
54
|
+
"colors": {
|
|
55
|
+
"standard": "Стандартный",
|
|
56
|
+
"gray": "Серый",
|
|
57
|
+
"brown": "Коричневый",
|
|
58
|
+
"orange": "Оранжевый",
|
|
59
|
+
"yellow": "Желтый",
|
|
60
|
+
"green": "Зеленый",
|
|
61
|
+
"blue": "Синий",
|
|
62
|
+
"purple": "Фиолетовый",
|
|
63
|
+
"pink": "Розовый",
|
|
64
|
+
"red": "Красный"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"customDrawer": {
|
|
68
|
+
"save": "Сохранить"
|
|
69
|
+
},
|
|
70
|
+
"gallery": {
|
|
71
|
+
"download": "Скачать",
|
|
72
|
+
"zoomOut": "Уменьшить",
|
|
73
|
+
"zoomIn": "Приблизить",
|
|
74
|
+
"close": "Закрыть",
|
|
75
|
+
"fileError": "Загрузка не удалась. Попробуйте снова."
|
|
76
|
+
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
;
|
|
80
|
+
|
|
81
|
+
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.45",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -20,14 +20,22 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@emoji-mart/data": "^1.2.1"
|
|
22
22
|
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@vitejs/plugin-react": "^4.3.0",
|
|
25
|
+
"vite": "6.3.5",
|
|
26
|
+
"vite-plugin-css-injected-by-js": "^3.5.0",
|
|
27
|
+
"vite-plugin-dts": "^4.1.0",
|
|
28
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
29
|
+
"typescript": "^5.8.3"
|
|
30
|
+
},
|
|
23
31
|
"peerDependencies": {
|
|
24
|
-
"@mantine/core": "8.
|
|
25
|
-
"@mantine/dates": "8.
|
|
26
|
-
"@mantine/dropzone": "8.
|
|
27
|
-
"@mantine/form": "8.
|
|
28
|
-
"@mantine/hooks": "8.
|
|
29
|
-
"@mantine/modals": "8.
|
|
30
|
-
"@mantine/notifications": "8.
|
|
32
|
+
"@mantine/core": "^8.0.0",
|
|
33
|
+
"@mantine/dates": "^8.0.0",
|
|
34
|
+
"@mantine/dropzone": "^8.0.0",
|
|
35
|
+
"@mantine/form": "^8.0.0",
|
|
36
|
+
"@mantine/hooks": "^8.0.0",
|
|
37
|
+
"@mantine/modals": "^8.0.0",
|
|
38
|
+
"@mantine/notifications": "^8.0.0",
|
|
31
39
|
"@reduxjs/toolkit": "^2.2.7",
|
|
32
40
|
"@sinups/agg": "3.0.0",
|
|
33
41
|
"@tabler/icons-react": "^3.7.0",
|
|
@@ -36,7 +44,7 @@
|
|
|
36
44
|
"date-fns": "^4.1.0",
|
|
37
45
|
"draggable-ui": "^0.0.1",
|
|
38
46
|
"emoji-mart": "^5.6.0",
|
|
39
|
-
|
|
47
|
+
"framer-motion": "^11.3.24 || ^12.0.0",
|
|
40
48
|
"i18next": "^25.5.2",
|
|
41
49
|
"jwt-decode": "^4.0.0",
|
|
42
50
|
"lodash-es": "^4.17.21",
|
|
@@ -47,7 +55,6 @@
|
|
|
47
55
|
"react-i18next": "^15.7.3",
|
|
48
56
|
"react-joyride": "^2.8.2",
|
|
49
57
|
"react-router-dom": "^7.5.2",
|
|
50
|
-
"zustand": "^5.0.3"
|
|
51
|
-
"shaka-player-react": "^1.1.5"
|
|
58
|
+
"zustand": "^5.0.3"
|
|
52
59
|
}
|
|
53
60
|
}
|
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useTranslation } from "react-i18next";
|
|
3
|
-
import { Flex, Text, ActionIcon, Divider, Box, Avatar, Skeleton } from "@mantine/core";
|
|
4
|
-
import "react";
|
|
5
|
-
import { IconCheck, IconBug, IconSquareRotated, IconPlus, IconCalendarEvent, IconEqual } from "@tabler/icons-react";
|
|
6
|
-
import "react-router-dom";
|
|
7
|
-
import { randomId } from "@mantine/hooks";
|
|
8
|
-
import "@tanstack/react-query";
|
|
9
|
-
import "query-string";
|
|
10
|
-
import "@mantine/form";
|
|
11
|
-
import "@mantine/dropzone";
|
|
12
|
-
import "@mantine/notifications";
|
|
13
|
-
import "lodash-es";
|
|
14
|
-
import { u as useOnboardingState, S as StatusBadge } from "./index-B6qa0aiu.js";
|
|
15
|
-
import "react-dom";
|
|
16
|
-
import "draggable-ui";
|
|
17
|
-
import "@mantine/modals";
|
|
18
|
-
import "i18next";
|
|
19
|
-
import "framer-motion";
|
|
20
|
-
import "@mantine/dates";
|
|
21
|
-
const column = "_column_1trmk_1";
|
|
22
|
-
const card = "_card_1trmk_6";
|
|
23
|
-
const styles = {
|
|
24
|
-
column,
|
|
25
|
-
card
|
|
26
|
-
};
|
|
27
|
-
const KanbanLayout = () => {
|
|
28
|
-
const { tasksList, statusesList } = useOnboardingState();
|
|
29
|
-
const today = /* @__PURE__ */ new Date();
|
|
30
|
-
const getPlusDays = (prop) => {
|
|
31
|
-
const plusThreeDays = new Date(today);
|
|
32
|
-
plusThreeDays.setDate(plusThreeDays.getDate() + (3 + prop));
|
|
33
|
-
return plusThreeDays.toDateString();
|
|
34
|
-
};
|
|
35
|
-
const { t } = useTranslation("onboarding");
|
|
36
|
-
const defaultTypes = [
|
|
37
|
-
{
|
|
38
|
-
id: randomId(),
|
|
39
|
-
color: "blue",
|
|
40
|
-
icon: IconCheck,
|
|
41
|
-
name: t("selectCategory.options.task"),
|
|
42
|
-
type: "task",
|
|
43
|
-
order: 1
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
id: randomId(),
|
|
47
|
-
color: "orange",
|
|
48
|
-
icon: IconBug,
|
|
49
|
-
name: t("selectCategory.options.bug"),
|
|
50
|
-
type: "bug",
|
|
51
|
-
order: 2
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
id: randomId(),
|
|
55
|
-
color: "grape",
|
|
56
|
-
icon: IconSquareRotated,
|
|
57
|
-
name: t("selectCategory.options.milestone"),
|
|
58
|
-
type: "milestone",
|
|
59
|
-
order: 3
|
|
60
|
-
}
|
|
61
|
-
];
|
|
62
|
-
const getCurrentType = (type) => {
|
|
63
|
-
const current = defaultTypes.find((t2) => t2.type === type);
|
|
64
|
-
if (!current) return null;
|
|
65
|
-
return /* @__PURE__ */ jsx(ActionIcon, { size: 16, variant: "filled", color: current.color, children: /* @__PURE__ */ jsx(current.icon, {}) });
|
|
66
|
-
};
|
|
67
|
-
return /* @__PURE__ */ jsxs(Flex, { gap: 13, align: "start", w: "100%", children: [
|
|
68
|
-
/* @__PURE__ */ jsxs(
|
|
69
|
-
Flex,
|
|
70
|
-
{
|
|
71
|
-
gap: 11,
|
|
72
|
-
p: 7,
|
|
73
|
-
direction: "column",
|
|
74
|
-
w: 340,
|
|
75
|
-
className: styles.column,
|
|
76
|
-
children: [
|
|
77
|
-
/* @__PURE__ */ jsxs(Flex, { w: "100%", justify: "space-between", children: [
|
|
78
|
-
/* @__PURE__ */ jsxs(Flex, { gap: 14, align: "center", children: [
|
|
79
|
-
/* @__PURE__ */ jsx(StatusBadge, { color: "#228BE6", title: statusesList[0] }),
|
|
80
|
-
/* @__PURE__ */ jsxs(Text, { c: "#868E96", fz: 14, children: [
|
|
81
|
-
"(",
|
|
82
|
-
t("defineStatuses.tasks"),
|
|
83
|
-
": ",
|
|
84
|
-
tasksList.length,
|
|
85
|
-
")"
|
|
86
|
-
] })
|
|
87
|
-
] }),
|
|
88
|
-
/* @__PURE__ */ jsx(ActionIcon, { variant: "subtle", size: 18, children: /* @__PURE__ */ jsx(IconPlus, {}) })
|
|
89
|
-
] }),
|
|
90
|
-
/* @__PURE__ */ jsx(Divider, { w: "100%" }),
|
|
91
|
-
tasksList.map((task, idx) => /* @__PURE__ */ jsxs(
|
|
92
|
-
Flex,
|
|
93
|
-
{
|
|
94
|
-
gap: 0,
|
|
95
|
-
direction: "column",
|
|
96
|
-
align: "start",
|
|
97
|
-
justify: "space-between",
|
|
98
|
-
w: "100%",
|
|
99
|
-
h: 105,
|
|
100
|
-
className: styles.card,
|
|
101
|
-
px: 14,
|
|
102
|
-
py: 9,
|
|
103
|
-
children: [
|
|
104
|
-
/* @__PURE__ */ jsxs(Box, { children: [
|
|
105
|
-
/* @__PURE__ */ jsx(Text, { fz: 18, fw: 400, children: task.title }),
|
|
106
|
-
/* @__PURE__ */ jsxs(Flex, { align: "center", children: [
|
|
107
|
-
/* @__PURE__ */ jsx(IconCalendarEvent, { color: "#495057", size: 13 }),
|
|
108
|
-
/* @__PURE__ */ jsx(Text, { fz: 16, c: "#495057", children: getPlusDays(idx) })
|
|
109
|
-
] })
|
|
110
|
-
] }),
|
|
111
|
-
/* @__PURE__ */ jsxs(Flex, { justify: "space-between", w: "100%", children: [
|
|
112
|
-
/* @__PURE__ */ jsxs(Flex, { children: [
|
|
113
|
-
getCurrentType(task.type),
|
|
114
|
-
/* @__PURE__ */ jsxs(Text, { fz: 13, children: [
|
|
115
|
-
"DEMO-",
|
|
116
|
-
idx + 1
|
|
117
|
-
] })
|
|
118
|
-
] }),
|
|
119
|
-
/* @__PURE__ */ jsxs(Flex, { children: [
|
|
120
|
-
/* @__PURE__ */ jsx(IconEqual, { color: "#F59F00", size: 16 }),
|
|
121
|
-
/* @__PURE__ */ jsx(
|
|
122
|
-
Avatar,
|
|
123
|
-
{
|
|
124
|
-
variant: "filled",
|
|
125
|
-
color: "#228BE6",
|
|
126
|
-
radius: "xl",
|
|
127
|
-
size: 24
|
|
128
|
-
}
|
|
129
|
-
)
|
|
130
|
-
] })
|
|
131
|
-
] })
|
|
132
|
-
]
|
|
133
|
-
},
|
|
134
|
-
task.id
|
|
135
|
-
))
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
),
|
|
139
|
-
/* @__PURE__ */ jsxs(
|
|
140
|
-
Flex,
|
|
141
|
-
{
|
|
142
|
-
gap: 11,
|
|
143
|
-
p: 7,
|
|
144
|
-
direction: "column",
|
|
145
|
-
w: 340,
|
|
146
|
-
className: styles.column,
|
|
147
|
-
children: [
|
|
148
|
-
/* @__PURE__ */ jsxs(Flex, { w: "100%", justify: "space-between", children: [
|
|
149
|
-
/* @__PURE__ */ jsxs(Flex, { gap: 14, align: "center", children: [
|
|
150
|
-
/* @__PURE__ */ jsx(StatusBadge, { color: "#12B886", title: statusesList[1] }),
|
|
151
|
-
/* @__PURE__ */ jsxs(Text, { c: "#868E96", fz: 14, children: [
|
|
152
|
-
"(",
|
|
153
|
-
t("defineStatuses.tasks"),
|
|
154
|
-
": 2)"
|
|
155
|
-
] })
|
|
156
|
-
] }),
|
|
157
|
-
/* @__PURE__ */ jsx(ActionIcon, { variant: "subtle", size: 18, children: /* @__PURE__ */ jsx(IconPlus, {}) })
|
|
158
|
-
] }),
|
|
159
|
-
/* @__PURE__ */ jsx(Divider, { w: "100%" }),
|
|
160
|
-
Array(2).fill(0).map((_, idx) => /* @__PURE__ */ jsxs(
|
|
161
|
-
Flex,
|
|
162
|
-
{
|
|
163
|
-
gap: 0,
|
|
164
|
-
direction: "column",
|
|
165
|
-
align: "start",
|
|
166
|
-
justify: "space-between",
|
|
167
|
-
w: "100%",
|
|
168
|
-
h: 105,
|
|
169
|
-
className: styles.card,
|
|
170
|
-
px: 14,
|
|
171
|
-
py: 9,
|
|
172
|
-
children: [
|
|
173
|
-
/* @__PURE__ */ jsxs(Box, { children: [
|
|
174
|
-
/* @__PURE__ */ jsx(
|
|
175
|
-
Skeleton,
|
|
176
|
-
{
|
|
177
|
-
animate: false,
|
|
178
|
-
mb: 15,
|
|
179
|
-
w: idx === 0 ? 128 : 172,
|
|
180
|
-
h: 18
|
|
181
|
-
}
|
|
182
|
-
),
|
|
183
|
-
/* @__PURE__ */ jsxs(Flex, { align: "center", children: [
|
|
184
|
-
/* @__PURE__ */ jsx(IconCalendarEvent, { color: "#495057", size: 13 }),
|
|
185
|
-
/* @__PURE__ */ jsx(Skeleton, { animate: false, w: idx === 0 ? 52 : 63, h: 12 })
|
|
186
|
-
] })
|
|
187
|
-
] }),
|
|
188
|
-
/* @__PURE__ */ jsxs(Flex, { justify: "space-between", w: "100%", children: [
|
|
189
|
-
/* @__PURE__ */ jsxs(Flex, { children: [
|
|
190
|
-
/* @__PURE__ */ jsx(ActionIcon, { size: 16, variant: "filled", color: "#ADB5BD", children: /* @__PURE__ */ jsx(IconCheck, {}) }),
|
|
191
|
-
/* @__PURE__ */ jsxs(Text, { c: "#ADB5BD", fz: 13, children: [
|
|
192
|
-
"DEMO-",
|
|
193
|
-
idx + 4
|
|
194
|
-
] })
|
|
195
|
-
] }),
|
|
196
|
-
/* @__PURE__ */ jsxs(Flex, { children: [
|
|
197
|
-
/* @__PURE__ */ jsx(IconEqual, { color: "#F59F00", size: 16 }),
|
|
198
|
-
/* @__PURE__ */ jsx(
|
|
199
|
-
Avatar,
|
|
200
|
-
{
|
|
201
|
-
variant: "filled",
|
|
202
|
-
color: "#228BE6",
|
|
203
|
-
radius: "xl",
|
|
204
|
-
size: 24
|
|
205
|
-
}
|
|
206
|
-
)
|
|
207
|
-
] })
|
|
208
|
-
] })
|
|
209
|
-
]
|
|
210
|
-
},
|
|
211
|
-
idx
|
|
212
|
-
))
|
|
213
|
-
]
|
|
214
|
-
}
|
|
215
|
-
),
|
|
216
|
-
/* @__PURE__ */ jsxs(
|
|
217
|
-
Flex,
|
|
218
|
-
{
|
|
219
|
-
gap: 11,
|
|
220
|
-
p: 7,
|
|
221
|
-
direction: "column",
|
|
222
|
-
w: 340,
|
|
223
|
-
className: styles.column,
|
|
224
|
-
children: [
|
|
225
|
-
/* @__PURE__ */ jsxs(Flex, { w: "100%", justify: "space-between", children: [
|
|
226
|
-
/* @__PURE__ */ jsxs(Flex, { gap: 14, align: "center", children: [
|
|
227
|
-
/* @__PURE__ */ jsx(StatusBadge, { color: "#FA5252", title: statusesList[2] }),
|
|
228
|
-
/* @__PURE__ */ jsxs(Text, { c: "#868E96", fz: 14, children: [
|
|
229
|
-
"(",
|
|
230
|
-
t("defineStatuses.tasks"),
|
|
231
|
-
": 2)"
|
|
232
|
-
] })
|
|
233
|
-
] }),
|
|
234
|
-
/* @__PURE__ */ jsx(ActionIcon, { variant: "subtle", size: 18, children: /* @__PURE__ */ jsx(IconPlus, {}) })
|
|
235
|
-
] }),
|
|
236
|
-
/* @__PURE__ */ jsx(Divider, { w: "100%" }),
|
|
237
|
-
Array(2).fill(0).map((_, idx) => /* @__PURE__ */ jsxs(
|
|
238
|
-
Flex,
|
|
239
|
-
{
|
|
240
|
-
gap: 0,
|
|
241
|
-
direction: "column",
|
|
242
|
-
align: "start",
|
|
243
|
-
justify: "space-between",
|
|
244
|
-
w: "100%",
|
|
245
|
-
h: 105,
|
|
246
|
-
className: styles.card,
|
|
247
|
-
px: 14,
|
|
248
|
-
py: 9,
|
|
249
|
-
children: [
|
|
250
|
-
/* @__PURE__ */ jsxs(Box, { children: [
|
|
251
|
-
/* @__PURE__ */ jsx(
|
|
252
|
-
Skeleton,
|
|
253
|
-
{
|
|
254
|
-
animate: false,
|
|
255
|
-
mb: 15,
|
|
256
|
-
w: idx === 0 ? 266 : 150,
|
|
257
|
-
h: 18
|
|
258
|
-
}
|
|
259
|
-
),
|
|
260
|
-
/* @__PURE__ */ jsxs(Flex, { align: "center", children: [
|
|
261
|
-
/* @__PURE__ */ jsx(IconCalendarEvent, { color: "#495057", size: 13 }),
|
|
262
|
-
/* @__PURE__ */ jsx(Skeleton, { animate: false, w: idx === 0 ? 72 : 46, h: 12 })
|
|
263
|
-
] })
|
|
264
|
-
] }),
|
|
265
|
-
/* @__PURE__ */ jsxs(Flex, { justify: "space-between", w: "100%", children: [
|
|
266
|
-
/* @__PURE__ */ jsxs(Flex, { children: [
|
|
267
|
-
/* @__PURE__ */ jsx(ActionIcon, { size: 16, variant: "filled", color: "#ADB5BD", children: /* @__PURE__ */ jsx(IconCheck, {}) }),
|
|
268
|
-
/* @__PURE__ */ jsxs(Text, { c: "#ADB5BD", fz: 13, children: [
|
|
269
|
-
"DEMO-",
|
|
270
|
-
idx + 6
|
|
271
|
-
] })
|
|
272
|
-
] }),
|
|
273
|
-
/* @__PURE__ */ jsxs(Flex, { children: [
|
|
274
|
-
/* @__PURE__ */ jsx(IconEqual, { color: "#F59F00", size: 16 }),
|
|
275
|
-
/* @__PURE__ */ jsx(
|
|
276
|
-
Avatar,
|
|
277
|
-
{
|
|
278
|
-
variant: "filled",
|
|
279
|
-
color: "#228BE6",
|
|
280
|
-
radius: "xl",
|
|
281
|
-
size: 24
|
|
282
|
-
}
|
|
283
|
-
)
|
|
284
|
-
] })
|
|
285
|
-
] })
|
|
286
|
-
]
|
|
287
|
-
},
|
|
288
|
-
idx
|
|
289
|
-
))
|
|
290
|
-
]
|
|
291
|
-
}
|
|
292
|
-
)
|
|
293
|
-
] });
|
|
294
|
-
};
|
|
295
|
-
export {
|
|
296
|
-
KanbanLayout as default
|
|
297
|
-
};
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
export declare const InfoMenu: () => import("react/jsx-runtime").JSX.Element;
|