@layers-app/shared 0.2.3 → 0.2.5
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/assets/jsons/emoji-categorized-windows.json.js +4 -0
- package/dist/assets/jsons/emoji-categorized-windows10.json.js +4 -0
- package/dist/assets/svg/users.svg.js +5 -0
- package/dist/assets/svg/whatsapp-icon.svg.js +5 -0
- package/dist/components/AliasTextInput/AliasTextInput.d.ts +3 -1
- package/dist/components/AliasTextInput/AliasTextInput.d.ts.map +1 -1
- package/dist/components/AliasTextInput/AliasTextInput.js +63 -54
- package/dist/components/AppContainer/AppContainer.d.ts +1 -1
- package/dist/components/AppContainer/AppContainer.d.ts.map +1 -1
- package/dist/components/AppContainer/AppContainer.js +54 -43
- package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
- package/dist/components/AppContainer/components/AppSidebarButton.js +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +5 -5
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +56 -43
- package/dist/components/AppContainer/components/Main.d.ts +5 -1
- package/dist/components/AppContainer/components/Main.d.ts.map +1 -1
- package/dist/components/AppContainer/components/Main.js +11 -8
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts.map +1 -1
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.js +34 -19
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
- package/dist/components/AppContainer/components/menus/MoreMenu.js +8 -8
- package/dist/components/AppContainer/components/menus/UserMenu/MenuUserDropdown.d.ts +1 -0
- package/dist/components/AppContainer/components/menus/UserMenu/MenuUserDropdown.d.ts.map +1 -1
- package/dist/components/AppContainer/hooks/useAppContainerStore.d.ts.map +1 -1
- package/dist/components/AppContainer/hooks/useAppContainerStore.js +12 -9
- package/dist/components/AppContainer/types.d.ts +2 -0
- package/dist/components/AppContainer/types.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryModal.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryModal.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +5 -5
- package/dist/components/AttachmentsGalleryModal/components/ModalFooter.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalFooter.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalFooter.js +4 -4
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +9 -9
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.js +114 -88
- package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +9 -9
- package/dist/components/BouncingLogo/BouncingLogo.d.ts +6 -2
- package/dist/components/BouncingLogo/BouncingLogo.d.ts.map +1 -1
- package/dist/components/BouncingLogo/BouncingLogo.js +13 -14
- package/dist/components/BouncingLogo/BouncingLogo.module.css.js +12 -10
- package/dist/components/ColorPicker/ColorPicker.d.ts +2 -0
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +66 -59
- package/dist/components/CommentComposer/CommentEditorHotkeys.js +1 -1
- package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
- package/dist/components/Copyright/index.d.ts.map +1 -1
- package/dist/components/Copyright/index.js +6 -6
- package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.js +47 -46
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.js +87 -95
- package/dist/components/EmojiPicker/IconsPanel.d.ts.map +1 -1
- package/dist/components/EmojiPicker/IconsPanel.js +72 -72
- package/dist/components/EmojiPicker/utils.d.ts +11 -0
- package/dist/components/EmojiPicker/utils.d.ts.map +1 -0
- package/dist/components/EmojiPicker/utils.js +46 -0
- package/dist/components/EntityIcon.d.ts +5 -2
- package/dist/components/EntityIcon.d.ts.map +1 -1
- package/dist/components/EntityIcon.js +44 -46
- package/dist/components/FilePicker/FilePicker.d.ts +2 -3
- package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePicker.js +95 -130
- package/dist/components/FilePicker/FilePickerGiphy.d.ts +1 -3
- package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGiphy.js +43 -44
- package/dist/components/FilePicker/FilePickerLink.d.ts +2 -3
- package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerLink.js +21 -21
- package/dist/components/FilePicker/FilePickerUnsplash.d.ts +1 -3
- package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUnsplash.js +45 -46
- package/dist/components/FilePicker/FilePickerUpload.d.ts +3 -3
- package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUpload.js +49 -43
- package/dist/components/FilePicker/types.d.ts +1 -1
- package/dist/components/FilePicker/types.d.ts.map +1 -1
- package/dist/components/FormViewer/FormViewer.module.css.js +18 -18
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.d.ts +4 -2
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.js +51 -26
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceField.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceField.js +25 -23
- package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.d.ts +5 -2
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.js +105 -96
- package/dist/components/FormViewer/components/fields/SliderField.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/SliderField.js +19 -18
- package/dist/components/FormViewer/components/fields/UploadField/UploadField.d.ts.map +1 -1
- package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +1 -1
- package/dist/components/FormViewer/helpers/cssScoping.d.ts.map +1 -1
- package/dist/components/FormViewer/helpers/staticClasses.d.ts.map +1 -1
- package/dist/components/FormViewer/store/formStore.d.ts +10 -3
- package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
- package/dist/components/LanguagePicker/LanguagePicker.js +13 -13
- package/dist/components/Loaders/styles.module.css.js +1 -1
- package/dist/components/NavMenu/NavMenu.d.ts +4 -1
- package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
- package/dist/components/NavMenu/NavMenu.js +96 -77
- package/dist/components/NavMenu/NavMenu.module.css.js +10 -10
- package/dist/components/NavMenu/components/DnDItem.d.ts +2 -1
- package/dist/components/NavMenu/components/DnDItem.d.ts.map +1 -1
- package/dist/components/NavMenu/components/DnDItem.js +32 -30
- package/dist/components/NavMenu/components/DnDProvider.d.ts.map +1 -1
- package/dist/components/NavMenu/components/DnDProvider.js +28 -26
- package/dist/components/NavMenu/components/DraggableOverlay.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuItem.d.ts +1 -1
- package/dist/components/NavMenu/components/NavMenuItem.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuItem.js +109 -94
- package/dist/components/NavMenu/store.d.ts +1 -0
- package/dist/components/NavMenu/store.d.ts.map +1 -1
- package/dist/components/NavMenu/types.d.ts +1 -0
- package/dist/components/NavMenu/types.d.ts.map +1 -1
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NoData/NoData.d.ts +32 -26
- package/dist/components/NoData/NoData.d.ts.map +1 -1
- package/dist/components/NoData/NoData.js +73 -73
- package/dist/components/OnBoarding/ProjectBoard.js +17 -17
- package/dist/components/OnBoarding/steps/AddTasks/AddTasksNav.js +7 -7
- package/dist/components/OnBoarding/steps/AddTasks/TasksListBoard.d.ts.map +1 -1
- package/dist/components/OnBoarding/steps/AddTasks/TasksListBoard.js +9 -9
- package/dist/components/OnBoarding/steps/CreateFirstProject.js +5 -5
- package/dist/components/OnBoarding/steps/DefineStatuses/DefineStatusesNav.js +7 -7
- package/dist/components/OnBoarding/steps/DefineStatuses/StatusesListBoard.js +6 -6
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsBoard.d.ts.map +1 -1
- package/dist/components/OnBoarding/steps/DifferentLayouts/DifferentLayoutsNav.js +10 -10
- package/dist/components/OnBoarding/steps/DifferentLayouts/KanbanLayout.js +5 -5
- package/dist/components/OnBoarding/steps/InviteUsers/BoardModal.js +10 -10
- package/dist/components/OnBoarding/steps/InviteUsers/InviteUsers.d.ts.map +1 -1
- package/dist/components/OnBoarding/steps/SelectCategory/CategorySelect.d.ts.map +1 -1
- package/dist/components/OnBoarding/steps/SelectCategory/CategorySelect.js +8 -8
- package/dist/components/OnBoarding/steps/SelectCategory/SelectCategoryNav.js +5 -5
- package/dist/components/OnBoarding/steps/StartedStep.js +5 -5
- package/dist/components/PaymentSuccess/PaymentSuccess.d.ts.map +1 -1
- package/dist/components/PaymentSuccess/PaymentSuccess.js +9 -9
- package/dist/components/SearchFilters/components/DateFilter.js +19 -19
- package/dist/components/SearchFilters/components/SearchHelp.d.ts.map +1 -1
- package/dist/components/SearchFilters/components/SearchHelp.js +7 -7
- package/dist/components/SortableList/SortableList.d.ts.map +1 -1
- package/dist/components/SortableList/components/SortableItem/SortableItem.d.ts.map +1 -1
- package/dist/components/SortableList/components/SortableItem/SortableItem.js +1 -9
- package/dist/components/SortableList/components/SortableItem/index.d.ts +1 -1
- package/dist/components/SortableList/components/SortableItem/index.d.ts.map +1 -1
- package/dist/components/StorageUsageEntityList/StorageEntityItem.d.ts +2 -6
- package/dist/components/StorageUsageEntityList/StorageEntityItem.d.ts.map +1 -1
- package/dist/components/StorageUsageEntityList/StorageEntityItem.js +19 -59
- package/dist/components/StorageUsageEntityList/StorageUsageEntityList.d.ts +1 -1
- package/dist/components/StorageUsageEntityList/StorageUsageEntityList.d.ts.map +1 -1
- package/dist/components/StorageUsageEntityList/StorageUsageEntityList.js +6 -24
- package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +7 -0
- package/dist/components/StorageUsageProgress/index.d.ts +2 -2
- package/dist/components/StorageUsageProgress/index.d.ts.map +1 -1
- package/dist/components/StorageUsageProgress/index.js +73 -40
- package/dist/components/ThemeIndicator/index.d.ts.map +1 -1
- package/dist/components/ThemeIndicator/index.js +4 -4
- package/dist/components/UserAvatar/index.js +14 -14
- package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts +2 -2
- package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts.map +1 -1
- package/dist/components/WorkspaceMenu/WorkspaceMenu.js +103 -103
- package/dist/components/modals/RemoveConfirmModal.d.ts.map +1 -1
- package/dist/components/modals/RemoveConfirmModal.js +31 -24
- package/dist/components/table/export.d.ts.map +1 -1
- package/dist/components/table/hooks/useSaveRowCount.d.ts.map +1 -1
- package/dist/components/table/hooks/useSaveRowCount.js +4 -4
- package/dist/components/table/hooks/useSorting.d.ts.map +1 -1
- package/dist/components/table/hooks/useSorting.js +3 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +8 -1
- package/dist/helpers/getFileIcons.js +12 -12
- package/dist/helpers/isAppMode.d.ts +1 -1
- package/dist/helpers/isAppMode.d.ts.map +1 -1
- package/dist/helpers/validateAliasFormat.d.ts +2 -0
- package/dist/helpers/validateAliasFormat.d.ts.map +1 -0
- package/dist/helpers/validateAliasFormat.js +4 -0
- package/dist/hooks/useOutsideClick.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +328 -329
- package/dist/lang/locales/ui_en.json.js +20 -12
- package/dist/lang/locales/ui_es.json.js +18 -10
- package/dist/lang/locales/ui_ru.json.js +26 -18
- package/dist/store/trashModal.d.ts +8 -0
- package/dist/store/trashModal.d.ts.map +1 -0
- package/dist/store/trashModal.js +13 -0
- package/dist/types/storageCategories.d.ts +4 -0
- package/dist/types/storageCategories.d.ts.map +1 -0
- package/dist/types/storageCategories.js +21 -0
- package/dist/utils/formatStorage.d.ts +1 -1
- package/dist/utils/formatStorage.d.ts.map +1 -1
- package/dist/utils/formatStorage.js +3 -3
- package/docs/README.md +17 -4
- package/package.json +1 -1
- package/dist/assets/fileTypes/archives.svg.js +0 -5
- package/dist/assets/fileTypes/audio.svg.js +0 -5
- package/dist/assets/fileTypes/code.svg.js +0 -5
- package/dist/assets/fileTypes/documentsStorage.svg.js +0 -5
- package/dist/assets/fileTypes/images.svg.js +0 -5
- package/dist/assets/fileTypes/other.svg.js +0 -5
- package/dist/assets/fileTypes/videos.svg.js +0 -5
- package/dist/components/AppContainer/hooks/useSetAppContainerLayout.d.ts +0 -3
- package/dist/components/AppContainer/hooks/useSetAppContainerLayout.d.ts.map +0 -1
- package/dist/components/AppContainer/hooks/useSetAppContainerLayout.js +0 -10
- package/dist/components/EmojiPicker/getIconsList.d.ts +0 -8
- package/dist/components/EmojiPicker/getIconsList.d.ts.map +0 -1
- package/dist/components/EmojiPicker/getIconsList.js +0 -32
- package/dist/components/EmojiPicker/getRandomIcon.d.ts +0 -2
- package/dist/components/EmojiPicker/getRandomIcon.d.ts.map +0 -1
- package/dist/components/EmojiPicker/getRandomIcon.js +0 -10
- package/dist/components/NoData/NoData.module.css.js +0 -7
- package/dist/components/PaymentCancel/PaymentCancel.d.ts +0 -2
- package/dist/components/PaymentCancel/PaymentCancel.d.ts.map +0 -1
- package/dist/components/PaymentCancel/PaymentCancel.js +0 -41
- package/dist/components/PaymentError/PaymentError.d.ts +0 -2
- package/dist/components/PaymentError/PaymentError.d.ts.map +0 -1
- package/dist/components/PaymentError/PaymentError.js +0 -41
- package/dist/node_modules/@layers-app/layers/src/api/common.js +0 -41
- package/dist/store/accessOptionsControl.d.ts +0 -17
- package/dist/store/accessOptionsControl.d.ts.map +0 -1
- package/dist/store/accessOptionsControl.js +0 -18
|
@@ -1,21 +1,29 @@
|
|
|
1
|
-
const e = { searchResults: "Search results", icons: "Icons", searchNoResults: "No results found", chooseColor: "Choose color", categories: { activity: "Activities", custom: "Custom", flags: "Flags", foods: "Food and drinks", frequent: "Recent", nature: "Animals and nature", objects: "Objects", people: "Emotions and people", places: "Travel and places", symbols: "Symbols" } }, o = { label: "Image", change: "Change", description: "You can upload images up to 256×256 and up to 5mb." }, a = { colorGradients: "Colors and gradients", jamesWebbTelescope: "Telescope", nasaArchive: "Planet", theIndianEdition: "Cyberpunk", theMetMuseum: "Museum", theMetMuseumPatterns: "Pattern", theMetMuseumJapanesePrints: "Nature", rijkmuseum: "Black hole" },
|
|
1
|
+
const e = { searchResults: "Search results", icons: "Icons", searchNoResults: "No results found", chooseColor: "Choose color", categories: { activity: "Activities", custom: "Custom", flags: "Flags", foods: "Food and drinks", frequent: "Recent", nature: "Animals and nature", objects: "Objects", people: "Emotions and people", places: "Travel and places", symbols: "Symbols" } }, o = { label: "Image", change: "Change", description: "You can upload images up to 256×256 and up to 5mb." }, a = { colorGradients: "Colors and gradients", jamesWebbTelescope: "Telescope", nasaArchive: "Planet", theIndianEdition: "Cyberpunk", theMetMuseum: "Museum", theMetMuseumPatterns: "Pattern", theMetMuseumJapanesePrints: "Nature", rijkmuseum: "Black hole" }, s = { gallery: "Gallery", upload: "Upload", uploadFile: "Upload file", maxFileSize: "Images wider than 1600px are recommended. Maximum file size: 5MB.", link: "Link", searchImages: "Search Image", pasteLink: "Paste an image link...", submitLink: "Apply", worksWithAnyImage: "Works with any image from the Internet", searchImage: "Search for an image...", noResult: "No image found for your query.", change: "Change cover", invalidLink: "Invalid link", position: "Reposition", dragSave: "Save position", dragCancel: "Cancel" }, r = { color: "Color", background: "Background", colors: { standard: "Standard", gray: "Gray", brown: "Brown", orange: "Orange", yellow: "Yellow", green: "Green", blue: "Blue", purple: "Purple", pink: "Pink", red: "Red" } }, n = { save: "Save" }, i = "Remove", t = "Error", l = "Drag images here or click to select files", c = { dropFileHere: { image: "Drag images here or click to select files", video: "Drag videos here or click to select files", audio: "Drag audio files here or click to select files", file: "Drag files here or click to select files" }, description: { image: "Images wider than 1600px are recommended. Maximum file size: {{maxSize}}MB.", video: "Maximum file size: {{maxSize}}MB.", audio: "Maximum file size: {{maxSize}}MB.", file: "Maximum file size: {{maxSize}}MB.", avatar: "Images wider than 256×256 px are recommended. Maximum file size: {{maxSize}}MB." }, errors: { typeIsNotAllowed: "This file type is not supported", shouldNotExceed: "File size should not exceed 5 MB.", doNotUploadMoreThanSingleFile: "Please upload no more than one file." } }, u = { download: "Download", zoomOut: "Zoom out", zoomIn: "Zoom in", close: "Close", fileError: "Upload failed. Please try again." }, d = { day_one: "{{count}} day ago", day_other: "{{count}} days ago", hour_one: "{{count}} hour ago", hour_other: "{{count}} hours ago", minute_one: "{{count}} minute ago", minute_other: "{{count}} minutes ago", second_one: "{{count}} second ago", second_other: "{{count}} seconds ago", justNow: "just now", shortDay: "{{count}}d ago.", shortHour: "{{count}}h ago.", shortMinute: "{{count}}m ago.", shortSecond: "{{count}}s ago.", shortJustNow: "now." }, m = {
|
|
2
2
|
emojiPicker: e,
|
|
3
3
|
uploadImage: o,
|
|
4
4
|
coverGroups: a,
|
|
5
|
-
changeCover:
|
|
6
|
-
colorPicker:
|
|
7
|
-
customDrawer:
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
changeCover: s,
|
|
6
|
+
colorPicker: r,
|
|
7
|
+
customDrawer: n,
|
|
8
|
+
remove: i,
|
|
9
|
+
errorMessage: t,
|
|
10
|
+
dropFileHere: l,
|
|
11
|
+
filePicker: c,
|
|
12
|
+
gallery: u,
|
|
13
|
+
relativeTime: d
|
|
10
14
|
};
|
|
11
15
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
s as changeCover,
|
|
17
|
+
r as colorPicker,
|
|
14
18
|
a as coverGroups,
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
n as customDrawer,
|
|
20
|
+
m as default,
|
|
21
|
+
l as dropFileHere,
|
|
17
22
|
e as emojiPicker,
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
t as errorMessage,
|
|
24
|
+
c as filePicker,
|
|
25
|
+
u as gallery,
|
|
26
|
+
d as relativeTime,
|
|
27
|
+
i as remove,
|
|
20
28
|
o as uploadImage
|
|
21
29
|
};
|
|
@@ -1,21 +1,29 @@
|
|
|
1
|
-
const e = { searchResults: "Resultados de búsqueda", icons: "Iconos", searchNoResults: "No se encontraron resultados", chooseColor: "Elegir color", categories: { activity: "Actividades", custom: "Personalizado", flags: "Banderas", foods: "Comida y bebidas", frequent: "Usados frecuentemente", nature: "Animales y naturaleza", objects: "Objetos", people: "Emociones y personas", places: "Viajes y lugares", symbols: "Símbolos" } }, a = { label: "Imagen", change: "Cambiar", description: "Puedes subir imágenes de hasta 256×256 y hasta 5 MB." }, o = { colorGradients: "Colores y degradados", jamesWebbTelescope: "Telescopio", nasaArchive: "Planeta", theIndianEdition: "Cyberpunk", theMetMuseum: "Museo", theMetMuseumPatterns: "Patrón", theMetMuseumJapanesePrints: "Naturaleza", rijkmuseum: "Agujero negro" }, r = { gallery: "Galería", upload: "Subir", uploadFile: "Subir archivo", maxFileSize: "Se recomiendan imágenes de más de 1600px de ancho. Tamaño máximo de archivo: 5MB.", link: "Enlace", searchImages: "Buscar imagen", pasteLink: "Pegar enlace de imagen...", submitLink: "Aplicar", worksWithAnyImage: "Funciona con cualquier imagen de Internet", searchImage: "Buscar imagen...", noResult: "No se encontró ninguna imagen para tu búsqueda.", change: "Cambiar portada", invalidLink: "Enlace inválido", position: "Reposicionar", dragSave: "Guardar posición", dragCancel: "Cancelar" },
|
|
1
|
+
const e = { searchResults: "Resultados de búsqueda", icons: "Iconos", searchNoResults: "No se encontraron resultados", chooseColor: "Elegir color", categories: { activity: "Actividades", custom: "Personalizado", flags: "Banderas", foods: "Comida y bebidas", frequent: "Usados frecuentemente", nature: "Animales y naturaleza", objects: "Objetos", people: "Emociones y personas", places: "Viajes y lugares", symbols: "Símbolos" } }, a = { label: "Imagen", change: "Cambiar", description: "Puedes subir imágenes de hasta 256×256 y hasta 5 MB." }, o = { colorGradients: "Colores y degradados", jamesWebbTelescope: "Telescopio", nasaArchive: "Planeta", theIndianEdition: "Cyberpunk", theMetMuseum: "Museo", theMetMuseumPatterns: "Patrón", theMetMuseumJapanesePrints: "Naturaleza", rijkmuseum: "Agujero negro" }, r = { gallery: "Galería", upload: "Subir", uploadFile: "Subir archivo", maxFileSize: "Se recomiendan imágenes de más de 1600px de ancho. Tamaño máximo de archivo: 5MB.", link: "Enlace", searchImages: "Buscar imagen", pasteLink: "Pegar enlace de imagen...", submitLink: "Aplicar", worksWithAnyImage: "Funciona con cualquier imagen de Internet", searchImage: "Buscar imagen...", noResult: "No se encontró ninguna imagen para tu búsqueda.", change: "Cambiar portada", invalidLink: "Enlace inválido", position: "Reposicionar", dragSave: "Guardar posición", dragCancel: "Cancelar" }, s = { color: "Color", background: "Fondo", colors: { standard: "Estándar", gray: "Gris", brown: "Marrón", orange: "Naranja", yellow: "Amarillo", green: "Verde", blue: "Azul", purple: "Púrpura", pink: "Rosa", red: "Rojo" } }, n = { save: "Guardar" }, i = "Eliminar", c = "Error", t = "Arrastra imágenes aquí o haz clic para seleccionar archivos", d = { dropFileHere: { image: "Arrastra imágenes aquí o haz clic para seleccionar archivos", video: "Arrastra videos aquí o haz clic para seleccionar archivos", audio: "Arrastra archivos de audio aquí o haz clic para seleccionar archivos", file: "Arrastra archivos aquí o haz clic para seleccionar archivos" }, description: { image: "Se recomiendan imágenes de más de 1600px de ancho. Tamaño máximo de archivo: {{maxSize}}MB.", video: "Tamaño máximo de archivo: {{maxSize}}MB.", audio: "Tamaño máximo de archivo: {{maxSize}}MB.", file: "Tamaño máximo de archivo: {{maxSize}}MB.", avatar: "Se recomiendan imágenes de más de 256×256 px. Tamaño máximo de archivo: {{maxSize}}MB." }, errors: { typeIsNotAllowed: "Este tipo de archivo no es compatible", shouldNotExceed: "El tamaño del archivo no debe exceder 5 MB.", doNotUploadMoreThanSingleFile: "Por favor, carga no más de un archivo." } }, l = { download: "Descargar", zoomOut: "Alejar", zoomIn: "Acercar", close: "Cerrar", fileError: "La carga falló. Por favor, inténtalo de nuevo." }, u = { day_one: "hace {{count}} día", day_other: "hace {{count}} días", hour_one: "hace {{count}} hora", hour_other: "hace {{count}} horas", minute_one: "hace {{count}} minuto", minute_other: "hace {{count}} minutos", second_one: "hace {{count}} segundo", second_other: "hace {{count}} segundos", justNow: "ahora mismo", shortDay: "hace {{count}}d.", shortHour: "hace {{count}}h.", shortMinute: "hace {{count}}m.", shortSecond: "hace {{count}}s.", shortJustNow: "ahora." }, m = {
|
|
2
2
|
emojiPicker: e,
|
|
3
3
|
uploadImage: a,
|
|
4
4
|
coverGroups: o,
|
|
5
5
|
changeCover: r,
|
|
6
|
-
colorPicker:
|
|
7
|
-
customDrawer:
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
colorPicker: s,
|
|
7
|
+
customDrawer: n,
|
|
8
|
+
remove: i,
|
|
9
|
+
errorMessage: c,
|
|
10
|
+
dropFileHere: t,
|
|
11
|
+
filePicker: d,
|
|
12
|
+
gallery: l,
|
|
13
|
+
relativeTime: u
|
|
10
14
|
};
|
|
11
15
|
export {
|
|
12
16
|
r as changeCover,
|
|
13
|
-
|
|
17
|
+
s as colorPicker,
|
|
14
18
|
o as coverGroups,
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
n as customDrawer,
|
|
20
|
+
m as default,
|
|
21
|
+
t as dropFileHere,
|
|
17
22
|
e as emojiPicker,
|
|
18
|
-
c as
|
|
19
|
-
|
|
23
|
+
c as errorMessage,
|
|
24
|
+
d as filePicker,
|
|
25
|
+
l as gallery,
|
|
26
|
+
u as relativeTime,
|
|
27
|
+
i as remove,
|
|
20
28
|
a as uploadImage
|
|
21
29
|
};
|
|
@@ -1,21 +1,29 @@
|
|
|
1
|
-
const
|
|
2
|
-
emojiPicker:
|
|
3
|
-
coverGroups:
|
|
4
|
-
changeCover:
|
|
5
|
-
uploadImage:
|
|
6
|
-
colorPicker:
|
|
7
|
-
customDrawer:
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
const e = { searchResults: "Результаты поиска", searchNoResults: "Результаты не найдены", icons: "Иконки", chooseColor: "Выбрать цвет", categories: { activity: "Активности", custom: "Свои", flags: "Флаги", foods: "Еда и напитки", frequent: "Часто используемые", nature: "Животные и природа", objects: "Предметы", people: "Эмоции и люди", places: "Путешествия и места", symbols: "Символы" } }, o = { colorGradients: "Цвета и градиенты", jamesWebbTelescope: "Телескоп", nasaArchive: "Планета", theIndianEdition: "Киберпанк", theMetMuseum: "Музей", theMetMuseumPatterns: "Паттерн", theMetMuseumJapanesePrints: "Природа", rijkmuseum: "Черная дыра" }, t = { gallery: "Галерея", upload: "Загрузить", uploadFile: "Загрузить файл", maxFileSize: "Рекомендуются изображения шире 1600px. Максимальный размер файла: 5МБ.", link: "Ссылка", searchImages: "Поиск изображения", pasteLink: "Вставьте ссылку на изображение...", submitLink: "Применить", worksWithAnyImage: "Работает с любыми изображениями из Интернета", searchImage: "Поиск изображения...", noResult: "По вашему запросу изображений не найдено", change: "Изменить обложку", invalidLink: "Неверная ссылка", position: "Изменить Позицию", dragSave: "Сохранить", dragCancel: "Отменить" }, n = { label: "Изображение", change: "Изменить", description: "Вы можете загружать изображения размером до 256×256 и весом до 5 МБ." }, r = { color: "Цвет", background: "Подложка", colors: { standard: "Стандартный", gray: "Серый", brown: "Коричневый", orange: "Оранжевый", yellow: "Желтый", green: "Зеленый", blue: "Синий", purple: "Фиолетовый", pink: "Розовый", red: "Красный" } }, s = { save: "Сохранить" }, a = "Удалить", c = "Ошибка", u = "Перетащите изображения сюда или нажмите, чтобы выбрать файлы", i = { dropFileHere: { image: "Перетащите изображения сюда или нажмите, чтобы выбрать файлы", video: "Перетащите видео сюда или нажмите, чтобы выбрать файлы", audio: "Перетащите аудио файлы сюда или нажмите, чтобы выбрать файлы", file: "Перетащите файлы сюда или нажмите, чтобы выбрать файлы" }, description: { image: "Рекомендуются изображения шире 1600px. Максимальный размер файла: {{maxSize}}МБ.", video: "Максимальный размер файла: {{maxSize}}МБ.", audio: "Максимальный размер файла: {{maxSize}}МБ.", file: "Максимальный размер файла: {{maxSize}}МБ.", avatar: "Рекомендуются изображения шире 256×256 px. Максимальный размер файла: {{maxSize}}МБ." }, errors: { typeIsNotAllowed: "Этот тип файла не поддерживается", shouldNotExceed: "Размер файла не должен превышать 5 МБ.", doNotUploadMoreThanSingleFile: "Пожалуйста, загрузите не более одного файла." } }, l = { download: "Скачать", zoomOut: "Уменьшить", zoomIn: "Приблизить", close: "Закрыть", fileError: "Загрузка не удалась. Попробуйте снова." }, d = { day_one: "{{count}} день назад", day_few: "{{count}} дня назад", day_many: "{{count}} дней назад", day_other: "{{count}} дней назад", hour_one: "{{count}} час назад", hour_few: "{{count}} часа назад", hour_many: "{{count}} часов назад", hour_other: "{{count}} часов назад", minute_one: "{{count}} минута назад", minute_few: "{{count}} минуты назад", minute_many: "{{count}} минут назад", minute_other: "{{count}} минут назад", second_one: "{{count}} секунда назад", second_few: "{{count}} секунды назад", second_many: "{{count}} секунд назад", second_other: "{{count}} секунд назад", justNow: "только что", shortDay: "{{count}}д назад.", shortHour: "{{count}}ч назад.", shortMinute: "{{count}}м назад.", shortSecond: "{{count}}с назад.", shortJustNow: "сейчас." }, m = {
|
|
2
|
+
emojiPicker: e,
|
|
3
|
+
coverGroups: o,
|
|
4
|
+
changeCover: t,
|
|
5
|
+
uploadImage: n,
|
|
6
|
+
colorPicker: r,
|
|
7
|
+
customDrawer: s,
|
|
8
|
+
remove: a,
|
|
9
|
+
errorMessage: c,
|
|
10
|
+
dropFileHere: u,
|
|
11
|
+
filePicker: i,
|
|
12
|
+
gallery: l,
|
|
13
|
+
relativeTime: d
|
|
10
14
|
};
|
|
11
15
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
t as changeCover,
|
|
17
|
+
r as colorPicker,
|
|
18
|
+
o as coverGroups,
|
|
19
|
+
s as customDrawer,
|
|
20
|
+
m as default,
|
|
21
|
+
u as dropFileHere,
|
|
22
|
+
e as emojiPicker,
|
|
23
|
+
c as errorMessage,
|
|
24
|
+
i as filePicker,
|
|
25
|
+
l as gallery,
|
|
26
|
+
d as relativeTime,
|
|
27
|
+
a as remove,
|
|
28
|
+
n as uploadImage
|
|
21
29
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface TrashModalState {
|
|
2
|
+
opened: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const useTrashModalStore: import("zustand").UseBoundStore<import("zustand").StoreApi<TrashModalState>>;
|
|
5
|
+
export declare const openTrashModal: () => void;
|
|
6
|
+
export declare const closeTrashModal: () => void;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=trashModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trashModal.d.ts","sourceRoot":"","sources":["../../src/store/trashModal.ts"],"names":[],"mappings":"AAEA,UAAU,eAAe;IACvB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB,8EAE5B,CAAC;AAEJ,eAAO,MAAM,cAAc,YAE1B,CAAC;AAEF,eAAO,MAAM,eAAe,YAE3B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { create as o } from "zustand";
|
|
2
|
+
const e = o(() => ({
|
|
3
|
+
opened: !1
|
|
4
|
+
})), s = () => {
|
|
5
|
+
e.setState({ opened: !0 });
|
|
6
|
+
}, a = () => {
|
|
7
|
+
e.setState({ opened: !1 });
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
a as closeTrashModal,
|
|
11
|
+
s as openTrashModal,
|
|
12
|
+
e as useTrashModalStore
|
|
13
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type StorageCategory = 'archives' | 'documents' | 'audio' | 'images' | 'other' | 'code' | 'videos';
|
|
2
|
+
export declare const storageCategoryColors: Record<StorageCategory, string>;
|
|
3
|
+
export declare const orderMap: Record<StorageCategory, number>;
|
|
4
|
+
//# sourceMappingURL=storageCategories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageCategories.d.ts","sourceRoot":"","sources":["../../src/types/storageCategories.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,WAAW,GACX,OAAO,GACP,QAAQ,GACR,OAAO,GACP,MAAM,GACN,QAAQ,CAAC;AAEb,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAQjE,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAQpD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const o = {
|
|
2
|
+
documents: "red",
|
|
3
|
+
images: "orange",
|
|
4
|
+
other: "var(--mantine-color-gray-light-color)",
|
|
5
|
+
archives: "violet",
|
|
6
|
+
audio: "green",
|
|
7
|
+
code: "blue",
|
|
8
|
+
videos: "yellow"
|
|
9
|
+
}, e = {
|
|
10
|
+
documents: 0,
|
|
11
|
+
images: 1,
|
|
12
|
+
videos: 2,
|
|
13
|
+
audio: 3,
|
|
14
|
+
code: 4,
|
|
15
|
+
archives: 5,
|
|
16
|
+
other: 6
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
e as orderMap,
|
|
20
|
+
o as storageCategoryColors
|
|
21
|
+
};
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
* @param sizeInKb Size in kilobytes
|
|
4
4
|
* @returns Formatted string with units
|
|
5
5
|
*/
|
|
6
|
-
export declare const formatStorage: (sizeInKb: number | undefined) => string;
|
|
6
|
+
export declare const formatStorage: (sizeInKb: number | undefined, toFixed?: number) => string;
|
|
7
7
|
//# sourceMappingURL=formatStorage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatStorage.d.ts","sourceRoot":"","sources":["../../src/utils/formatStorage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"formatStorage.d.ts","sourceRoot":"","sources":["../../src/utils/formatStorage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,aAAa,GACxB,UAAU,MAAM,GAAG,SAAS,EAC5B,UAAS,MAAU,WAiBpB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const
|
|
1
|
+
const n = (e, t = 1) => {
|
|
2
2
|
if (e == null) return "0 MB";
|
|
3
3
|
const r = Number(e);
|
|
4
|
-
return isNaN(r) ? (console.error("Invalid storage size:", e), "0 MB") : r < 512 ? `${r}KB` : r < 524288 ? `${(r / 1024).toFixed(
|
|
4
|
+
return isNaN(r) ? (console.error("Invalid storage size:", e), "0 MB") : r < 512 ? `${r} KB` : r < 524288 ? `${(r / 1024).toFixed(t)} MB` : `${(r / 1048576).toFixed(t)} GB`;
|
|
5
5
|
};
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
n as formatStorage
|
|
8
8
|
};
|
package/docs/README.md
CHANGED
|
@@ -55,6 +55,7 @@ function App() {
|
|
|
55
55
|
## 📚 Available Exports
|
|
56
56
|
|
|
57
57
|
### Components
|
|
58
|
+
|
|
58
59
|
- `NoData` - Empty state component
|
|
59
60
|
- `FilePicker` / `FilePickerUpload` - File selection and upload
|
|
60
61
|
- `EmojiPicker` - Emoji selector
|
|
@@ -96,6 +97,7 @@ function App() {
|
|
|
96
97
|
- `EntityIcon` - Entity icon
|
|
97
98
|
|
|
98
99
|
### Helpers
|
|
100
|
+
|
|
99
101
|
- `showNotifications` - Show notifications
|
|
100
102
|
- `pickRandomEmoji` - Random emoji selector
|
|
101
103
|
- `themeUtils` - Theme utilities
|
|
@@ -115,6 +117,7 @@ function App() {
|
|
|
115
117
|
- `hotjar` - Hotjar integration
|
|
116
118
|
|
|
117
119
|
### Hooks
|
|
120
|
+
|
|
118
121
|
- `useMenu` - Menu hook
|
|
119
122
|
- `useDateFnsLocale` - Date-fns locale
|
|
120
123
|
- `useFormatDistance` - Format distance
|
|
@@ -127,9 +130,9 @@ function App() {
|
|
|
127
130
|
- `useAppContainer` - App container
|
|
128
131
|
- `useAppContainerStore` - App container store
|
|
129
132
|
- `useAppContainerDataStore` - App container data store
|
|
130
|
-
- `useSetAppContainerLayout` - Set layout
|
|
131
133
|
|
|
132
134
|
### Store
|
|
135
|
+
|
|
133
136
|
- `searchModal` - Search modal store
|
|
134
137
|
- `onboarding` - Onboarding store
|
|
135
138
|
- `workspacesOrder` - Workspaces order
|
|
@@ -139,6 +142,7 @@ function App() {
|
|
|
139
142
|
- `accessOptionsControl` - Access options control
|
|
140
143
|
|
|
141
144
|
### Utils
|
|
145
|
+
|
|
142
146
|
- `formatStorage` - Format storage
|
|
143
147
|
- `getPlanBadgeColor` - Plan badge color
|
|
144
148
|
- `queryParams` - Query params utilities
|
|
@@ -152,6 +156,7 @@ function App() {
|
|
|
152
156
|
This library uses **CSS Modules** for component styling. All styles are bundled into a single `index.css` file.
|
|
153
157
|
|
|
154
158
|
**Structure:**
|
|
159
|
+
|
|
155
160
|
```
|
|
156
161
|
dist/
|
|
157
162
|
├── index.css ← All styles (54 KB)
|
|
@@ -165,11 +170,13 @@ dist/
|
|
|
165
170
|
### How It Works
|
|
166
171
|
|
|
167
172
|
1. **Import styles once:**
|
|
173
|
+
|
|
168
174
|
```typescript
|
|
169
175
|
import '@layers-app/shared/styles';
|
|
170
176
|
```
|
|
171
177
|
|
|
172
178
|
2. **All components automatically get correct CSS classes**
|
|
179
|
+
|
|
173
180
|
```typescript
|
|
174
181
|
// Component uses CSS Modules internally
|
|
175
182
|
import styles from './CustomKBD.module.css';
|
|
@@ -185,6 +192,7 @@ dist/
|
|
|
185
192
|
Install these dependencies in your project:
|
|
186
193
|
|
|
187
194
|
### Required
|
|
195
|
+
|
|
188
196
|
```json
|
|
189
197
|
{
|
|
190
198
|
"react": "^18.3.1",
|
|
@@ -198,6 +206,7 @@ Install these dependencies in your project:
|
|
|
198
206
|
```
|
|
199
207
|
|
|
200
208
|
### Optional (based on usage)
|
|
209
|
+
|
|
201
210
|
```json
|
|
202
211
|
{
|
|
203
212
|
"@dnd-kit/core": "^6.0.0",
|
|
@@ -226,6 +235,7 @@ Types are included. No additional configuration needed.
|
|
|
226
235
|
|
|
227
236
|
```typescript
|
|
228
237
|
import { CustomKBD } from '@layers-app/shared';
|
|
238
|
+
|
|
229
239
|
// ✅ Full TypeScript support
|
|
230
240
|
```
|
|
231
241
|
|
|
@@ -404,15 +414,16 @@ function App() {
|
|
|
404
414
|
### Optimization Tips
|
|
405
415
|
|
|
406
416
|
1. **Import only what you need:**
|
|
417
|
+
|
|
407
418
|
```typescript
|
|
408
419
|
// ✅ Good - tree-shaking works
|
|
409
420
|
import { CustomKBD } from '@layers-app/shared';
|
|
410
|
-
|
|
411
421
|
// ❌ Bad - imports everything
|
|
412
422
|
import * as Shared from '@layers-app/shared';
|
|
413
423
|
```
|
|
414
424
|
|
|
415
425
|
2. **Styles are loaded once:**
|
|
426
|
+
|
|
416
427
|
```typescript
|
|
417
428
|
// Import in main.tsx only
|
|
418
429
|
import '@layers-app/shared/styles';
|
|
@@ -421,7 +432,7 @@ function App() {
|
|
|
421
432
|
3. **Use lazy loading for heavy components:**
|
|
422
433
|
```typescript
|
|
423
434
|
const FormViewer = lazy(() =>
|
|
424
|
-
import('@layers-app/shared').then(m => ({ default: m.FormViewer }))
|
|
435
|
+
import('@layers-app/shared').then((m) => ({ default: m.FormViewer })),
|
|
425
436
|
);
|
|
426
437
|
```
|
|
427
438
|
|
|
@@ -432,6 +443,7 @@ function App() {
|
|
|
432
443
|
### Styles not applied
|
|
433
444
|
|
|
434
445
|
**Solution:** Ensure you imported styles:
|
|
446
|
+
|
|
435
447
|
```typescript
|
|
436
448
|
import '@layers-app/shared/styles';
|
|
437
449
|
```
|
|
@@ -439,6 +451,7 @@ import '@layers-app/shared/styles';
|
|
|
439
451
|
### TypeScript errors
|
|
440
452
|
|
|
441
453
|
**Solution:** Check peer dependencies are installed:
|
|
454
|
+
|
|
442
455
|
```bash
|
|
443
456
|
npm install react react-dom @mantine/core @mantine/hooks
|
|
444
457
|
```
|
|
@@ -457,7 +470,7 @@ Files like `CustomKBD.module.css.js` are **JavaScript mappings** for CSS Modules
|
|
|
457
470
|
|
|
458
471
|
```javascript
|
|
459
472
|
// CustomKBD.module.css.js
|
|
460
|
-
export default { root:
|
|
473
|
+
export default { root: '_root_195do_1' };
|
|
461
474
|
```
|
|
462
475
|
|
|
463
476
|
**This is correct behavior!** Actual styles are in `index.css`.
|
package/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as C from "react";
|
|
2
|
-
const H = (e) => /* @__PURE__ */ C.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z", fill: "#9B14EA" }), /* @__PURE__ */ C.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.83325 5.33317C7.61224 5.33317 7.40028 5.42097 7.244 5.57725C7.08772 5.73353 6.99992 5.94549 6.99992 6.1665L6.99992 17.8344C6.9997 17.9809 7.03811 18.1248 7.11126 18.2518C7.18441 18.3787 7.28972 18.4841 7.41659 18.5573C7.81516 18.7874 7.95173 19.2971 7.72161 19.6957C7.49149 20.0942 6.98183 20.2308 6.58325 20.0007C6.20266 19.781 5.88672 19.4648 5.66727 19.084C5.44793 18.7035 5.33273 18.2719 5.33325 17.8326C5.33325 17.8329 5.33325 17.8324 5.33325 17.8326V6.1665C5.33325 5.50346 5.59665 4.86758 6.06549 4.39874C6.53433 3.9299 7.17021 3.6665 7.83325 3.6665H13.6666C13.8876 3.6665 14.0996 3.7543 14.2558 3.91058L18.4225 8.07725C18.5788 8.23353 18.6666 8.44549 18.6666 8.6665V17.8332C18.6666 18.4962 18.4032 19.1321 17.9344 19.6009C17.4655 20.0698 16.8296 20.3332 16.1666 20.3332H15.3333C14.873 20.3332 14.4999 19.9601 14.4999 19.4998C14.4999 19.0396 14.873 18.6665 15.3333 18.6665H16.1666C16.3876 18.6665 16.5996 18.5787 16.7558 18.4224C16.9121 18.2661 16.9999 18.0542 16.9999 17.8332V9.01168L13.3214 5.33317H11.1666C11.6268 5.33317 11.9999 5.70627 11.9999 6.1665C11.9999 6.62674 11.6268 6.99984 11.1666 6.99984H10.3333C9.87301 6.99984 9.49992 6.62674 9.49992 6.1665C9.49992 5.70627 9.87301 5.33317 10.3333 5.33317H7.83325ZM11.1666 7.83317C11.1666 7.37293 11.5397 6.99984 11.9999 6.99984H12.8333C13.2935 6.99984 13.6666 7.37293 13.6666 7.83317C13.6666 8.29341 13.2935 8.6665 12.8333 8.6665H11.9999C11.5397 8.6665 11.1666 8.29341 11.1666 7.83317ZM9.49992 9.49984C9.49992 9.0396 9.87301 8.6665 10.3333 8.6665H11.1666C11.6268 8.6665 11.9999 9.0396 11.9999 9.49984C11.9999 9.96007 11.6268 10.3332 11.1666 10.3332H10.3333C9.87301 10.3332 9.49992 9.96007 9.49992 9.49984ZM11.1666 11.1665C11.1666 10.7063 11.5397 10.3332 11.9999 10.3332H12.8333C13.2935 10.3332 13.6666 10.7063 13.6666 11.1665C13.6666 11.6267 13.2935 11.9998 12.8333 11.9998H11.9999C11.5397 11.9998 11.1666 11.6267 11.1666 11.1665ZM9.49992 12.8332C9.49992 12.3729 9.87301 11.9998 10.3333 11.9998H11.1666C11.6268 11.9998 11.9999 12.3729 11.9999 12.8332C11.9999 13.2934 11.6268 13.6665 11.1666 13.6665H10.3333C9.87301 13.6665 9.49992 13.2934 9.49992 12.8332ZM11.1666 14.4998C11.1666 14.0396 11.5397 13.6665 11.9999 13.6665H12.8333C13.2935 13.6665 13.6666 14.0396 13.6666 14.4998C13.6666 14.9601 13.2935 15.3332 12.8333 15.3332H11.9999C11.5397 15.3332 11.1666 14.9601 11.1666 14.4998ZM11.1666 16.9998C10.9456 16.9998 10.7336 17.0876 10.5773 17.2439C10.421 17.4002 10.3333 17.6122 10.3333 17.8332V19.4998H11.9999V17.8332C11.9999 17.6122 11.9121 17.4002 11.7558 17.2439C11.5996 17.0876 11.3876 16.9998 11.1666 16.9998ZM9.39882 16.0654C9.86766 15.5966 10.5035 15.3332 11.1666 15.3332C11.8296 15.3332 12.4655 15.5966 12.9344 16.0654C13.4032 16.5342 13.6666 17.1701 13.6666 17.8332V19.4998C13.6666 19.9419 13.491 20.3658 13.1784 20.6783C12.8659 20.9909 12.4419 21.1665 11.9999 21.1665H10.3333C9.89123 21.1665 9.4673 20.9909 9.15474 20.6783C8.84218 20.3658 8.66659 19.9419 8.66659 19.4998V17.8332C8.66659 17.1701 8.92998 16.5342 9.39882 16.0654Z", fill: "white" }));
|
|
3
|
-
export {
|
|
4
|
-
H as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as C from "react";
|
|
2
|
-
const t = (e) => /* @__PURE__ */ C.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z", fill: "#0CA678" }), /* @__PURE__ */ C.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 6.16667C10.4529 6.16667 8.96917 6.78125 7.87521 7.87521C6.78125 8.96917 6.16667 10.4529 6.16667 12V12.1423C6.42732 12.0501 6.7078 12 7 12H7.83333C9.21405 12 10.3333 13.1193 10.3333 14.5V17C10.3333 18.3807 9.21405 19.5 7.83333 19.5H7C5.61929 19.5 4.5 18.3807 4.5 17V12C4.5 10.0109 5.29018 8.10322 6.6967 6.6967C8.10322 5.29018 10.0109 4.5 12 4.5C13.9891 4.5 15.8968 5.29018 17.3033 6.6967C18.7098 8.10322 19.5 10.0109 19.5 12V17C19.5 18.3807 18.3807 19.5 17 19.5H16.1667C14.786 19.5 13.6667 18.3807 13.6667 17V14.5C13.6667 13.1193 14.786 12 16.1667 12H17C17.2922 12 17.5727 12.0501 17.8333 12.1423V12C17.8333 10.4529 17.2188 8.96917 16.1248 7.87521C15.0308 6.78125 13.5471 6.16667 12 6.16667ZM17.8333 14.5C17.8333 14.0398 17.4602 13.6667 17 13.6667H16.1667C15.7064 13.6667 15.3333 14.0398 15.3333 14.5V17C15.3333 17.4602 15.7064 17.8333 16.1667 17.8333H17C17.4602 17.8333 17.8333 17.4602 17.8333 17V14.5ZM6.16667 14.5V17C6.16667 17.4602 6.53976 17.8333 7 17.8333H7.83333C8.29357 17.8333 8.66667 17.4602 8.66667 17V14.5C8.66667 14.0398 8.29357 13.6667 7.83333 13.6667H7C6.53976 13.6667 6.16667 14.0398 6.16667 14.5Z", fill: "white" }));
|
|
3
|
-
export {
|
|
4
|
-
t as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
const t = (C) => /* @__PURE__ */ e.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...C }, /* @__PURE__ */ e.createElement("path", { d: "M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z", fill: "#1C7ED6" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.8689 4.52508C14.3154 4.6367 14.5868 5.08915 14.4752 5.53564L11.1419 18.869C11.0302 19.3155 10.5778 19.5869 10.1313 19.4753C9.68481 19.3637 9.41334 18.9112 9.52496 18.4648L12.8583 5.13142C12.9699 4.68492 13.4224 4.41345 13.8689 4.52508ZM8.42267 8.07761C8.74811 8.40305 8.74811 8.93068 8.42267 9.25612L5.67859 12.0002L8.42267 14.7443C8.74811 15.0697 8.74811 15.5973 8.42267 15.9228C8.09723 16.2482 7.5696 16.2482 7.24416 15.9228L3.91083 12.5895C3.58539 12.264 3.58539 11.7364 3.91083 11.4109L7.24416 8.07761C7.5696 7.75217 8.09723 7.75217 8.42267 8.07761ZM15.5775 8.07761C15.9029 7.75217 16.4306 7.75217 16.756 8.07761L20.0893 11.4109C20.4148 11.7364 20.4148 12.264 20.0893 12.5895L16.756 15.9228C16.4306 16.2482 15.9029 16.2482 15.5775 15.9228C15.2521 15.5973 15.2521 15.0697 15.5775 14.7443L18.3216 12.0002L15.5775 9.25612C15.2521 8.93068 15.2521 8.40305 15.5775 8.07761Z", fill: "white" }));
|
|
3
|
-
export {
|
|
4
|
-
t as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
const C = (t) => /* @__PURE__ */ e.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z", fill: "#F03E3E" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.23223 5.23223C5.70107 4.76339 6.33696 4.5 7 4.5H17C17.663 4.5 18.2989 4.76339 18.7678 5.23223C19.2366 5.70107 19.5 6.33696 19.5 7V12.8333C19.5 13.0543 19.4122 13.2663 19.2559 13.4226L13.4226 19.2559C13.2663 19.4122 13.0543 19.5 12.8333 19.5H7C6.33696 19.5 5.70107 19.2366 5.23223 18.7678C4.76339 18.2989 4.5 17.663 4.5 17V7C4.5 6.33696 4.76339 5.70107 5.23223 5.23223ZM7 6.16667C6.77899 6.16667 6.56702 6.25446 6.41074 6.41074C6.25446 6.56702 6.16667 6.77899 6.16667 7V17C6.16667 17.221 6.25446 17.433 6.41074 17.5893C6.56702 17.7455 6.77899 17.8333 7 17.8333H12V13.6667C12 13.2246 12.1756 12.8007 12.4882 12.4882C12.8007 12.1756 13.2246 12 13.6667 12H17.8333V7C17.8333 6.77899 17.7455 6.56702 17.5893 6.41074C17.433 6.25446 17.221 6.16667 17 6.16667H7ZM16.6548 13.6667H13.6667V16.6548L16.6548 13.6667Z", fill: "white" }));
|
|
3
|
-
export {
|
|
4
|
-
C as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as C from "react";
|
|
2
|
-
const t = (e) => /* @__PURE__ */ C.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z", fill: "#FF6F00" }), /* @__PURE__ */ C.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.83333 6.16667C6.91286 6.16667 6.16667 6.91286 6.16667 7.83333V12.4882L8.07741 10.5774L8.08885 10.5662C8.59083 10.0832 9.22016 9.77512 9.91667 9.77512C10.6132 9.77512 11.2425 10.0832 11.7445 10.5662L11.7559 10.5774L13.6667 12.4882L13.9107 12.2441L13.9222 12.2329C14.4242 11.7498 15.0535 11.4418 15.75 11.4418C16.4465 11.4418 17.0758 11.7498 17.5778 12.2329L17.5893 12.2441L17.8333 12.4882V7.83333C17.8333 6.91286 17.0871 6.16667 16.1667 6.16667H7.83333ZM19.5 14.4992V7.83333C19.5 5.99238 18.0076 4.5 16.1667 4.5H7.83333C5.99238 4.5 4.5 5.99238 4.5 7.83333V14.4999C4.5 14.4998 4.5 14.5 4.5 14.4999V16.1667C4.5 18.0076 5.99238 19.5 7.83333 19.5H16.1667C18.0076 19.5 19.5 18.0076 19.5 16.1667V14.5008C19.5 14.5003 19.5 14.4997 19.5 14.4992ZM17.8333 14.8452L16.417 13.4288C16.1609 13.1844 15.93 13.1084 15.75 13.1084C15.57 13.1084 15.3391 13.1844 15.083 13.4288L14.8452 13.6667L15.9226 14.7441C16.248 15.0695 16.248 15.5972 15.9226 15.9226C15.5972 16.248 15.0695 16.248 14.7441 15.9226L10.5836 11.7621C10.3276 11.5177 10.0966 11.4418 9.91667 11.4418C9.73671 11.4418 9.50575 11.5177 9.24971 11.7621L6.16667 14.8452V16.1667C6.16667 17.0871 6.91286 17.8333 7.83333 17.8333H16.1667C17.0871 17.8333 17.8333 17.0871 17.8333 16.1667V14.8452ZM13.6667 8.66667C13.6667 8.20643 14.0398 7.83333 14.5 7.83333H14.5083C14.9686 7.83333 15.3417 8.20643 15.3417 8.66667C15.3417 9.1269 14.9686 9.5 14.5083 9.5H14.5C14.0398 9.5 13.6667 9.1269 13.6667 8.66667Z", fill: "white" }));
|
|
3
|
-
export {
|
|
4
|
-
t as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as C from "react";
|
|
2
|
-
const t = (e) => /* @__PURE__ */ C.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z", fill: "#868E96" }), /* @__PURE__ */ C.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.83325 5.33317C7.61224 5.33317 7.40028 5.42097 7.244 5.57725C7.08772 5.73353 6.99992 5.94549 6.99992 6.1665V17.8332C6.99992 18.0542 7.08772 18.2661 7.244 18.4224C7.40028 18.5787 7.61224 18.6665 7.83325 18.6665H16.1666C16.3876 18.6665 16.5996 18.5787 16.7558 18.4224C16.9121 18.2661 16.9999 18.0542 16.9999 17.8332V9.49984H14.4999C14.0579 9.49984 13.634 9.32424 13.3214 9.01168C13.0088 8.69912 12.8333 8.2752 12.8333 7.83317V5.33317H7.83325ZM14.4999 6.51168L15.8214 7.83317H14.4999V6.51168ZM6.06548 4.39874C6.53433 3.9299 7.17021 3.6665 7.83325 3.6665H13.6666C13.8876 3.6665 14.0996 3.7543 14.2558 3.91058L18.4225 8.07725C18.5788 8.23353 18.6666 8.44549 18.6666 8.6665V17.8332C18.6666 18.4962 18.4032 19.1321 17.9344 19.6009C17.4655 20.0698 16.8296 20.3332 16.1666 20.3332H7.83325C7.17021 20.3332 6.53433 20.0698 6.06548 19.6009C5.59664 19.1321 5.33325 18.4962 5.33325 17.8332V6.1665C5.33325 5.50346 5.59664 4.86758 6.06548 4.39874ZM11.2603 10.4692C11.587 10.3449 11.9398 10.3049 12.2861 10.3528C12.6324 10.4007 12.9611 10.535 13.2418 10.7433C13.5226 10.9515 13.7465 11.2271 13.8928 11.5446C14.0391 11.8621 14.1031 12.2113 14.079 12.5601C14.0549 12.9089 13.9435 13.2459 13.7549 13.5403C13.5663 13.8347 13.3067 14.0768 12.9999 14.2445C12.6932 14.4122 12.3492 14.5 11.9996 14.4998C11.5394 14.4996 11.1664 14.1263 11.1667 13.6661C11.1669 13.2058 11.5402 12.8329 12.0004 12.8332C12.0703 12.8332 12.1391 12.8156 12.2005 12.7821C12.2618 12.7486 12.3138 12.7001 12.3515 12.6413C12.3892 12.5824 12.4115 12.515 12.4163 12.4452C12.4211 12.3755 12.4083 12.3056 12.3791 12.2421C12.3498 12.1786 12.305 12.1235 12.2489 12.0819C12.1927 12.0402 12.127 12.0133 12.0577 12.0038C11.9885 11.9942 11.9179 12.0022 11.8526 12.027C11.7872 12.0519 11.7292 12.0928 11.6838 12.1459C11.3849 12.496 10.8589 12.5374 10.5089 12.2386C10.1589 11.9397 10.1174 11.4137 10.4163 11.0637C10.6433 10.7979 10.9335 10.5934 11.2603 10.4692ZM11.9999 15.3332C12.4602 15.3332 12.8333 15.7063 12.8333 16.1665V16.1748C12.8333 16.6351 12.4602 17.0082 11.9999 17.0082C11.5397 17.0082 11.1666 16.6351 11.1666 16.1748V16.1665C11.1666 15.7063 11.5397 15.3332 11.9999 15.3332Z", fill: "white" }));
|
|
3
|
-
export {
|
|
4
|
-
t as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
const H = (V) => /* @__PURE__ */ e.createElement("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...V }, /* @__PURE__ */ e.createElement("path", { d: "M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z", fill: "#FAB005" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7 6.16667C6.53976 6.16667 6.16667 6.53976 6.16667 7V7.83333H7.83333V6.16667H7ZM7 4.5C5.61929 4.5 4.5 5.61929 4.5 7V17C4.5 18.3807 5.61929 19.5 7 19.5H17C18.3807 19.5 19.5 18.3807 19.5 17V7C19.5 5.61929 18.3807 4.5 17 4.5H7ZM9.5 6.16667V11.1667H14.5V6.16667H9.5ZM16.1667 6.16667V7.83333H17.8333V7C17.8333 6.53976 17.4602 6.16667 17 6.16667H16.1667ZM17.8333 9.5H16.1667V11.1667H17.8333V9.5ZM17.8333 12.8333H16.1667V14.5H17.8333V12.8333ZM17.8333 16.1667H16.1667V17.8333H17C17.4602 17.8333 17.8333 17.4602 17.8333 17V16.1667ZM14.5 17.8333V12.8333H9.5V17.8333H14.5ZM7.83333 17.8333V16.1667H6.16667V17C6.16667 17.4602 6.53976 17.8333 7 17.8333H7.83333ZM6.16667 14.5H7.83333V12.8333H6.16667V14.5ZM6.16667 11.1667H7.83333V9.5H6.16667V11.1667Z", fill: "white" }));
|
|
3
|
-
export {
|
|
4
|
-
H as default
|
|
5
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSetAppContainerLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/AppContainer/hooks/useSetAppContainerLayout.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAG9C,eAAO,MAAM,wBAAwB,GACnC,SAAQ,kBAA8B,SASvC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { useEffect as o } from "react";
|
|
2
|
-
import { appContainerStore as e } from "./useAppContainerStore.js";
|
|
3
|
-
const p = (t = "default") => {
|
|
4
|
-
o(() => (e.api.setLayout(t), () => {
|
|
5
|
-
e.api.setLayout("default");
|
|
6
|
-
}), [t]);
|
|
7
|
-
};
|
|
8
|
-
export {
|
|
9
|
-
p as useSetAppContainerLayout
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getIconsList.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/getIconsList.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,YAAY,GAAG;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;CACrC,EAAE,CAAC;AAIJ,eAAO,MAAM,YAAY,GAAU,UAAU,MAAM,0BAqElD,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { excludeCategories as d } from "./constants.js";
|
|
2
|
-
let c = null;
|
|
3
|
-
const u = async (a) => {
|
|
4
|
-
if (c) return c;
|
|
5
|
-
const s = (await import("../../assets/jsons/icons.min.json.js")).default.filter(
|
|
6
|
-
(n) => n.s === "filled" && !d.includes(n.c)
|
|
7
|
-
), o = s.find((n) => n.n === "tool"), i = s.find((n) => n.n === "check");
|
|
8
|
-
let l;
|
|
9
|
-
if (a === "PROJECT") {
|
|
10
|
-
const n = [
|
|
11
|
-
"check",
|
|
12
|
-
"bug",
|
|
13
|
-
"heart-handshake",
|
|
14
|
-
"square-rotated",
|
|
15
|
-
"circle-dashed"
|
|
16
|
-
], e = s.filter(
|
|
17
|
-
(t) => t.n.startsWith("antenna-bars-") || n.includes(t.n)
|
|
18
|
-
);
|
|
19
|
-
e.forEach((t) => {
|
|
20
|
-
t.c = "Additional";
|
|
21
|
-
});
|
|
22
|
-
const r = s.filter(
|
|
23
|
-
(t) => !t.n.startsWith("antenna-bars-") && !n.includes(t.n)
|
|
24
|
-
);
|
|
25
|
-
o && (o.c = "Additional", e.some((t) => t.n === "tool") || e.push(o)), i && (i.c = "Additional", e.some((t) => t.n === "check") || e.push(i)), l = [...e, ...r];
|
|
26
|
-
} else
|
|
27
|
-
l = s;
|
|
28
|
-
return c = l, c;
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
u as getIconsList
|
|
32
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRandomIcon.d.ts","sourceRoot":"","sources":["../../../src/components/EmojiPicker/getRandomIcon.ts"],"names":[],"mappings":"AAEA,wBAAsB,aAAa,CAAC,OAAO,CAAC,EAAE,MAAM,+BAMnD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentCancel.d.ts","sourceRoot":"","sources":["../../../src/components/PaymentCancel/PaymentCancel.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,aAAa,+CAiCzB,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useTranslation as n } from "react-i18next";
|
|
3
|
-
import { useNavigate as r } from "react-router-dom";
|
|
4
|
-
import { NoData as a } from "../NoData/NoData.js";
|
|
5
|
-
import { useMenu as s } from "../../hooks/useMenu.js";
|
|
6
|
-
import { Stack as l } from "@mantine/core";
|
|
7
|
-
import { IconChevronLeft as m, IconHome2 as c } from "@tabler/icons-react";
|
|
8
|
-
const g = () => {
|
|
9
|
-
const i = r(), { t } = n(), { isMobile: o } = s();
|
|
10
|
-
return /* @__PURE__ */ e(l, { mih: "100dvh", gap: "sm", justify: "center", flex: 1, align: "center", children: /* @__PURE__ */ e(
|
|
11
|
-
a,
|
|
12
|
-
{
|
|
13
|
-
title: t("backPayment.title"),
|
|
14
|
-
flex: "0,0,0",
|
|
15
|
-
h: "60dvh",
|
|
16
|
-
w: o ? 500 : "70%",
|
|
17
|
-
titleProps: { mt: 40 },
|
|
18
|
-
description: t("backPayment.description"),
|
|
19
|
-
buttons: [
|
|
20
|
-
{
|
|
21
|
-
size: "md",
|
|
22
|
-
variant: "subtle",
|
|
23
|
-
leftSection: /* @__PURE__ */ e(m, { size: 18 }),
|
|
24
|
-
onClick: () => i("/settings/plans"),
|
|
25
|
-
children: t("backToPlans")
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
size: "md",
|
|
29
|
-
variant: "filled",
|
|
30
|
-
leftSection: /* @__PURE__ */ e(c, { size: 18 }),
|
|
31
|
-
onClick: () => i("/"),
|
|
32
|
-
children: t("404.goHome")
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
illustration: "alertMan"
|
|
36
|
-
}
|
|
37
|
-
) });
|
|
38
|
-
};
|
|
39
|
-
export {
|
|
40
|
-
g as PaymentCancel
|
|
41
|
-
};
|