@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,31 +1,31 @@
|
|
|
1
1
|
import { jsx as a, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as u } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import S from "../../assets/images/flags/
|
|
7
|
-
import h from "../../assets/images/flags/
|
|
8
|
-
import y from "../../
|
|
3
|
+
import { Select as f, Image as o, Group as b } from "@mantine/core";
|
|
4
|
+
import { IconCheck as d } from "@tabler/icons-react";
|
|
5
|
+
import x from "../../assets/images/flags/es.svg.js";
|
|
6
|
+
import S from "../../assets/images/flags/ru.svg.js";
|
|
7
|
+
import h from "../../assets/images/flags/us.svg.js";
|
|
8
|
+
import { useMenu as y } from "../../hooks/useMenu.js";
|
|
9
9
|
import s from "./LanguagePicker.module.css.js";
|
|
10
10
|
const l = {
|
|
11
|
-
ru:
|
|
12
|
-
en:
|
|
13
|
-
es:
|
|
11
|
+
ru: S,
|
|
12
|
+
en: h,
|
|
13
|
+
es: x
|
|
14
14
|
}, t = [
|
|
15
15
|
{ value: "ru", label: "Русский (Россия)" },
|
|
16
16
|
{ value: "en", label: "English (US)" },
|
|
17
17
|
{ value: "es", label: "Español (España)" }
|
|
18
18
|
], O = ({ value: r, onChange: n }) => {
|
|
19
|
-
const { isMobile: m } =
|
|
19
|
+
const { isMobile: m } = y(), i = ({
|
|
20
20
|
option: e,
|
|
21
21
|
checked: c
|
|
22
|
-
}) => /* @__PURE__ */ g(
|
|
22
|
+
}) => /* @__PURE__ */ g(b, { flex: "1", gap: "xs", children: [
|
|
23
23
|
/* @__PURE__ */ a(o, { src: l[e.value], className: s.image }),
|
|
24
24
|
e.label,
|
|
25
|
-
c && /* @__PURE__ */ a(
|
|
25
|
+
c && /* @__PURE__ */ a(d, { style: { marginInlineStart: "auto" }, stroke: 1.2 })
|
|
26
26
|
] }), p = u(() => t.find((e) => e.value === r) ? r : "en", [r]);
|
|
27
27
|
return /* @__PURE__ */ a(
|
|
28
|
-
|
|
28
|
+
f,
|
|
29
29
|
{
|
|
30
30
|
w: m ? "100%" : 320,
|
|
31
31
|
onChange: (e) => e && n(e),
|
|
@@ -9,10 +9,13 @@ export type NavMenuProps = {
|
|
|
9
9
|
onOrderChange?: NavMenuOrderChange;
|
|
10
10
|
noItemsPlaceholder?: ReactNode;
|
|
11
11
|
totalCount?: number;
|
|
12
|
+
flatOrderChange?: boolean;
|
|
13
|
+
canUserDragDrop?: boolean;
|
|
14
|
+
canDragDropItem?: (item: ExpandNavMenuItemDef) => boolean;
|
|
12
15
|
} & Partial<NavMenuStore['props']> & {
|
|
13
16
|
store?: ReturnType<typeof createNavMenuStore>;
|
|
14
17
|
};
|
|
15
|
-
export declare const NavMenu: (({ items, loading, onLoadMore, noItemsPlaceholder, onOrderChange, onEdit, onToggle, store: _store, totalCount, }: NavMenuProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
18
|
+
export declare const NavMenu: (({ items, loading, onLoadMore, noItemsPlaceholder, onOrderChange, onEdit, onToggle, onClick, store: _store, totalCount, flatOrderChange, canUserDragDrop, canDragDropItem, }: NavMenuProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
16
19
|
Item: import("react").MemoExoticComponent<({ item, ignoreDepth }: {
|
|
17
20
|
item: ExpandNavMenuItemDef;
|
|
18
21
|
ignoreDepth?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../src/components/NavMenu/NavMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EAIV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAOhE,OAAO,EAAmB,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC5E,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"NavMenu.d.ts","sourceRoot":"","sources":["../../../src/components/NavMenu/NavMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,SAAS,EAIV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAOhE,OAAO,EAAmB,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC5E,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAKjB,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC;CAC3D,GAAG,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG;IACjC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;CAC/C,CAAC;AAkLJ,eAAO,MAAM,OAAO,iLAlKjB,YAAY;;;;;;;0CAqJ8B,iBAAiB,CAAC,QAAQ,CAAC;CAkBtE,CAAC"}
|
|
@@ -1,107 +1,126 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useMemo as
|
|
3
|
-
import { Stack as
|
|
4
|
-
import { DnDItem as
|
|
5
|
-
import { DnDProvider as
|
|
6
|
-
import { NavMenuActionIcon as
|
|
7
|
-
import { NavMenuItem as
|
|
8
|
-
import { NavMenuLabel as
|
|
9
|
-
import { createNavMenuStore as
|
|
10
|
-
import
|
|
11
|
-
const
|
|
1
|
+
import { jsxs as y, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as x, useLayoutEffect as E, useRef as O } from "react";
|
|
3
|
+
import { Stack as R, Skeleton as l, Text as w } from "@mantine/core";
|
|
4
|
+
import { DnDItem as z } from "./components/DnDItem.js";
|
|
5
|
+
import { DnDProvider as $ } from "./components/DnDProvider.js";
|
|
6
|
+
import { NavMenuActionIcon as q } from "./components/NavMenuActionIcon.js";
|
|
7
|
+
import { NavMenuItem as C, NavMenuLoadMore as D } from "./components/NavMenuItem.js";
|
|
8
|
+
import { NavMenuLabel as B } from "./components/NavMenuLabel.js";
|
|
9
|
+
import { createNavMenuStore as F, NavMenuProvider as L } from "./store.js";
|
|
10
|
+
import T from "./NavMenu.module.css.js";
|
|
11
|
+
const G = ({
|
|
12
12
|
items: o,
|
|
13
|
-
loading:
|
|
13
|
+
loading: s,
|
|
14
14
|
onLoadMore: i,
|
|
15
|
-
noItemsPlaceholder:
|
|
16
|
-
onOrderChange:
|
|
17
|
-
onEdit:
|
|
18
|
-
onToggle:
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
noItemsPlaceholder: j,
|
|
16
|
+
onOrderChange: m,
|
|
17
|
+
onEdit: g,
|
|
18
|
+
onToggle: S,
|
|
19
|
+
onClick: v,
|
|
20
|
+
store: I,
|
|
21
|
+
totalCount: N,
|
|
22
|
+
flatOrderChange: k,
|
|
23
|
+
canUserDragDrop: A = !0,
|
|
24
|
+
canDragDropItem: M
|
|
21
25
|
}) => {
|
|
22
|
-
const
|
|
23
|
-
const e = [], d = (
|
|
24
|
-
for (const [
|
|
25
|
-
const
|
|
26
|
-
...
|
|
27
|
-
depth:
|
|
28
|
-
parentChildrenCount:
|
|
29
|
-
parentTotalChildren:
|
|
30
|
-
isLast:
|
|
26
|
+
const n = x(() => I ?? F(), [I]), c = n.useStore((e) => e.opened), h = x(() => {
|
|
27
|
+
const e = [], d = (p, f) => {
|
|
28
|
+
for (const [P, a] of p.entries()) {
|
|
29
|
+
const t = {
|
|
30
|
+
...a,
|
|
31
|
+
depth: f.parentDepth + 1,
|
|
32
|
+
parentChildrenCount: f.parentChildrenCount,
|
|
33
|
+
parentTotalChildren: f.parentTotalChildren,
|
|
34
|
+
isLast: P === p.length - 1
|
|
31
35
|
};
|
|
32
|
-
e.push(
|
|
33
|
-
parentDepth:
|
|
34
|
-
parentChildrenCount:
|
|
35
|
-
parentTotalChildren:
|
|
36
|
-
}), i &&
|
|
37
|
-
...
|
|
38
|
-
id: `${
|
|
36
|
+
e.push(t), c?.includes(a.id) && a.children.length > 0 && d(a.children, {
|
|
37
|
+
parentDepth: t.depth,
|
|
38
|
+
parentChildrenCount: t.children.length,
|
|
39
|
+
parentTotalChildren: t.children.length
|
|
40
|
+
}), i && t.isLast && t.parentChildrenCount < t.parentTotalChildren && e.push({
|
|
41
|
+
...t,
|
|
42
|
+
id: `${t.id}-load-more`
|
|
39
43
|
});
|
|
40
44
|
}
|
|
41
45
|
};
|
|
42
46
|
return d(o, {
|
|
43
47
|
parentDepth: -1,
|
|
44
48
|
parentChildrenCount: o.length,
|
|
45
|
-
parentTotalChildren:
|
|
49
|
+
parentTotalChildren: N ?? o.length
|
|
46
50
|
}), e;
|
|
47
|
-
}, [o, i,
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
}, [o, i, c, N]);
|
|
52
|
+
E(() => {
|
|
53
|
+
n.useStore.setState({
|
|
50
54
|
props: {
|
|
51
|
-
onEdit:
|
|
52
|
-
onToggle:
|
|
53
|
-
|
|
55
|
+
onEdit: g ?? n.useStore.getState().props.onEdit,
|
|
56
|
+
onToggle: S ?? n.useStore.getState().props.onToggle,
|
|
57
|
+
onClick: v ?? n.useStore.getState().props.onClick,
|
|
58
|
+
onLoadMore: i ?? n.useStore.getState().props.onLoadMore
|
|
54
59
|
}
|
|
55
60
|
});
|
|
56
|
-
}, [
|
|
57
|
-
const
|
|
58
|
-
return
|
|
59
|
-
/* @__PURE__ */
|
|
60
|
-
/* @__PURE__ */
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
] }) : o?.length ?
|
|
64
|
-
|
|
61
|
+
}, [g, S, v, i, n]);
|
|
62
|
+
const u = O(null);
|
|
63
|
+
return s ? /* @__PURE__ */ y(R, { gap: 4, children: [
|
|
64
|
+
/* @__PURE__ */ r(l, { h: 32 }),
|
|
65
|
+
/* @__PURE__ */ r(l, { h: 32 }),
|
|
66
|
+
/* @__PURE__ */ r(l, { h: 32 }),
|
|
67
|
+
/* @__PURE__ */ r(l, { h: 32 })
|
|
68
|
+
] }) : o?.length ? m ? /* @__PURE__ */ r(L, { store: n, children: /* @__PURE__ */ r($, { containerRef: u, onOrderChange: m, children: /* @__PURE__ */ r(
|
|
69
|
+
"div",
|
|
65
70
|
{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
71
|
+
className: T.container,
|
|
72
|
+
ref: u,
|
|
73
|
+
"data-flat-order-change": k,
|
|
74
|
+
children: h.map((e, d) => {
|
|
75
|
+
if (e.id.includes("load-more"))
|
|
76
|
+
return /* @__PURE__ */ r(
|
|
77
|
+
D,
|
|
78
|
+
{
|
|
79
|
+
depth: e.depth,
|
|
80
|
+
itemId: e.parentId,
|
|
81
|
+
currentChildrenCount: e.parentChildrenCount ?? 0
|
|
82
|
+
},
|
|
83
|
+
e.id
|
|
84
|
+
);
|
|
85
|
+
const p = M ? M(e) : A;
|
|
86
|
+
return /* @__PURE__ */ r(
|
|
87
|
+
z,
|
|
88
|
+
{
|
|
89
|
+
item: e,
|
|
90
|
+
index: d,
|
|
91
|
+
items: h,
|
|
92
|
+
opened: c,
|
|
93
|
+
itemAllowDragDrop: p,
|
|
94
|
+
children: /* @__PURE__ */ r(C, { item: e })
|
|
95
|
+
},
|
|
96
|
+
e.id
|
|
97
|
+
);
|
|
98
|
+
})
|
|
99
|
+
}
|
|
100
|
+
) }) }) : /* @__PURE__ */ r(L, { store: n, children: /* @__PURE__ */ r("div", { className: T.container, ref: u, children: h.map((e) => e.id.includes("load-more") ? /* @__PURE__ */ r(
|
|
101
|
+
D,
|
|
83
102
|
{
|
|
84
103
|
depth: e.depth,
|
|
85
104
|
itemId: e.parentId,
|
|
86
105
|
currentChildrenCount: e.parentChildrenCount ?? 0
|
|
87
106
|
},
|
|
88
107
|
e.id
|
|
89
|
-
) : /* @__PURE__ */
|
|
90
|
-
},
|
|
91
|
-
|
|
108
|
+
) : /* @__PURE__ */ r(C, { item: e }, e.id)) }) }) : /* @__PURE__ */ r(b, { children: j });
|
|
109
|
+
}, b = ({ children: o, ...s }) => /* @__PURE__ */ r(
|
|
110
|
+
w,
|
|
92
111
|
{
|
|
93
112
|
size: "xs",
|
|
94
113
|
c: "var(--app-container-section-subtitle-color)",
|
|
95
114
|
px: 4,
|
|
96
|
-
...
|
|
115
|
+
...s,
|
|
97
116
|
children: o
|
|
98
117
|
}
|
|
99
|
-
),
|
|
100
|
-
Item:
|
|
101
|
-
ActionIcon:
|
|
102
|
-
Label:
|
|
103
|
-
Placeholder:
|
|
118
|
+
), ee = Object.assign(G, {
|
|
119
|
+
Item: C,
|
|
120
|
+
ActionIcon: q,
|
|
121
|
+
Label: B,
|
|
122
|
+
Placeholder: b
|
|
104
123
|
});
|
|
105
124
|
export {
|
|
106
|
-
|
|
125
|
+
ee as NavMenu
|
|
107
126
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
container:
|
|
1
|
+
const n = "_container_1ns3h_1", t = "_depthBox_1ns3h_13", e = "_itemContainer_1ns3h_38", o = "_item_1ns3h_38", _ = "_icon_1ns3h_90", s = "_chevron_1ns3h_94", a = "_droppable_1ns3h_119", c = "_draggableOverlay_1ns3h_176", r = "_editInput_1ns3h_185", i = {
|
|
2
|
+
container: n,
|
|
3
3
|
depthBox: t,
|
|
4
4
|
itemContainer: e,
|
|
5
|
-
item:
|
|
6
|
-
icon:
|
|
7
|
-
chevron:
|
|
5
|
+
item: o,
|
|
6
|
+
icon: _,
|
|
7
|
+
chevron: s,
|
|
8
8
|
droppable: a,
|
|
9
9
|
draggableOverlay: c,
|
|
10
10
|
editInput: r
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
s as chevron,
|
|
14
|
+
n as container,
|
|
15
|
+
i as default,
|
|
16
16
|
t as depthBox,
|
|
17
17
|
c as draggableOverlay,
|
|
18
18
|
a as droppable,
|
|
19
19
|
r as editInput,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
_ as icon,
|
|
21
|
+
o as item,
|
|
22
22
|
e as itemContainer
|
|
23
23
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { NavMenuItemDef } from '../types';
|
|
3
|
-
export declare const DnDItem: ({ item, children, index, opened, }: PropsWithChildren<{
|
|
3
|
+
export declare const DnDItem: ({ item, children, index, opened, itemAllowDragDrop, }: PropsWithChildren<{
|
|
4
4
|
item: NavMenuItemDef;
|
|
5
5
|
index: number;
|
|
6
6
|
items: NavMenuItemDef[];
|
|
7
7
|
opened?: string[];
|
|
8
|
+
itemAllowDragDrop: boolean;
|
|
8
9
|
}>) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
//# sourceMappingURL=DnDItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DnDItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/DnDItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DnDItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/DnDItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK1C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAI1C,eAAO,MAAM,OAAO,GAAI,uDAMrB,iBAAiB,CAAC;IACnB,IAAI,EAAE,cAAc,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC,4CAoDD,CAAC"}
|
|
@@ -1,44 +1,46 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useDraggable as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { jsx as y } from "react/jsx-runtime";
|
|
2
|
+
import { useDraggable as N, useDroppable as R } from "@dnd-kit/core";
|
|
3
|
+
import { useNavMenuStore as I } from "../store.js";
|
|
4
|
+
import S from "../NavMenu.module.css.js";
|
|
5
|
+
const C = ({
|
|
6
6
|
item: e,
|
|
7
|
-
children:
|
|
8
|
-
index:
|
|
9
|
-
opened:
|
|
7
|
+
children: n,
|
|
8
|
+
index: t,
|
|
9
|
+
opened: r,
|
|
10
|
+
itemAllowDragDrop: d
|
|
10
11
|
}) => {
|
|
11
|
-
const { useStore:
|
|
12
|
-
attributes:
|
|
13
|
-
listeners:
|
|
14
|
-
setNodeRef:
|
|
15
|
-
isDragging:
|
|
16
|
-
active:
|
|
17
|
-
} =
|
|
12
|
+
const { useStore: c } = I(), l = c((s) => !!s.editId), {
|
|
13
|
+
attributes: p,
|
|
14
|
+
listeners: f,
|
|
15
|
+
setNodeRef: u,
|
|
16
|
+
isDragging: b,
|
|
17
|
+
active: a
|
|
18
|
+
} = N({
|
|
18
19
|
id: e.id,
|
|
19
|
-
data: { ...e, index:
|
|
20
|
-
disabled:
|
|
21
|
-
}), g =
|
|
20
|
+
data: { ...e, index: t },
|
|
21
|
+
disabled: l || !d
|
|
22
|
+
}), g = a ? e.pathById.filter((s) => s !== e.id).includes(a.id.toString()) : !1, i = b || g, { setNodeRef: o, isOver: v } = R({
|
|
22
23
|
id: e.id,
|
|
23
|
-
data: { ...e, index: d },
|
|
24
|
-
disabled:
|
|
25
|
-
}),
|
|
26
|
-
return /* @__PURE__ */
|
|
24
|
+
data: { ...e, index: t, itemAllowDragDrop: d },
|
|
25
|
+
disabled: i
|
|
26
|
+
}), h = r?.includes(e.id) && e.children.length > 0;
|
|
27
|
+
return /* @__PURE__ */ y(
|
|
27
28
|
"div",
|
|
28
29
|
{
|
|
29
30
|
ref: (s) => {
|
|
30
|
-
|
|
31
|
+
d && u(s), o(s);
|
|
31
32
|
},
|
|
32
|
-
...l,
|
|
33
33
|
...p,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"data-
|
|
38
|
-
|
|
34
|
+
...f,
|
|
35
|
+
style: { opacity: i ? 0.25 : 1 },
|
|
36
|
+
className: S.droppable,
|
|
37
|
+
"data-opened": h,
|
|
38
|
+
"data-is-over": v,
|
|
39
|
+
"data-no-access": d ? void 0 : "true",
|
|
40
|
+
children: n
|
|
39
41
|
}
|
|
40
42
|
);
|
|
41
43
|
};
|
|
42
44
|
export {
|
|
43
|
-
|
|
45
|
+
C as DnDItem
|
|
44
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DnDProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/DnDProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAa/D,OAAO,EAEL,kBAAkB,EAEnB,MAAM,UAAU,CAAC;AAGlB,KAAK,gBAAgB,GAAG;IACtB,aAAa,EAAE,kBAAkB,CAAC;IAClC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,4CAIzB,iBAAiB,CAAC,gBAAgB,CAAC,
|
|
1
|
+
{"version":3,"file":"DnDProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/DnDProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAa/D,OAAO,EAEL,kBAAkB,EAEnB,MAAM,UAAU,CAAC;AAGlB,KAAK,gBAAgB,GAAG;IACtB,aAAa,EAAE,kBAAkB,CAAC;IAClC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,4CAIzB,iBAAiB,CAAC,gBAAgB,CAAC,4CAqFrC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useCallback as c, useRef as
|
|
3
|
-
import { useSensor as u, MouseSensor as v, TouchSensor as
|
|
1
|
+
import { jsxs as g, jsx as S } from "react/jsx-runtime";
|
|
2
|
+
import { useCallback as c, useRef as T } from "react";
|
|
3
|
+
import { useSensor as u, MouseSensor as v, TouchSensor as A, useSensors as x, DndContext as M, pointerWithin as B } from "@dnd-kit/core";
|
|
4
4
|
import { DraggableOverlay as C } from "./DraggableOverlay.js";
|
|
5
|
-
const
|
|
6
|
-
containerRef:
|
|
5
|
+
const W = ({
|
|
6
|
+
containerRef: e,
|
|
7
7
|
children: d,
|
|
8
8
|
onOrderChange: s
|
|
9
9
|
}) => {
|
|
@@ -11,54 +11,56 @@ const Y = ({
|
|
|
11
11
|
activationConstraint: {
|
|
12
12
|
distance: 15
|
|
13
13
|
}
|
|
14
|
-
}),
|
|
14
|
+
}), l = u(A, {
|
|
15
15
|
activationConstraint: {
|
|
16
16
|
distance: 15
|
|
17
17
|
}
|
|
18
|
-
}),
|
|
18
|
+
}), p = x(m, l), b = c(
|
|
19
19
|
({ active: t, over: n }) => {
|
|
20
|
-
!n || !t
|
|
21
|
-
|
|
20
|
+
if (!n || !t) return;
|
|
21
|
+
const r = n.data.current;
|
|
22
|
+
r.itemAllowDragDrop !== !1 && s({
|
|
23
|
+
over: r,
|
|
22
24
|
item: t.data.current,
|
|
23
|
-
position:
|
|
25
|
+
position: o.current ?? "inside"
|
|
24
26
|
});
|
|
25
27
|
},
|
|
26
28
|
[s]
|
|
27
|
-
),
|
|
29
|
+
), o = T(null), D = c(
|
|
28
30
|
({ over: t, active: n }) => {
|
|
29
31
|
if (!t) {
|
|
30
|
-
|
|
32
|
+
e.current?.removeAttribute("data-nearest-side");
|
|
31
33
|
return;
|
|
32
34
|
}
|
|
33
|
-
const
|
|
34
|
-
if (!
|
|
35
|
-
const
|
|
36
|
-
if (f <=
|
|
37
|
-
|
|
35
|
+
const r = n.rect.current.translated;
|
|
36
|
+
if (!r) return;
|
|
37
|
+
const a = r.top + r.height / 2, i = 8, f = Math.abs(a - t.rect.top), h = Math.abs(a - t.rect.bottom);
|
|
38
|
+
if (f <= i) {
|
|
39
|
+
o.current = "before", e.current?.setAttribute("data-nearest-side", "top");
|
|
38
40
|
return;
|
|
39
41
|
}
|
|
40
|
-
if (
|
|
41
|
-
|
|
42
|
+
if (h <= i) {
|
|
43
|
+
o.current = "after", e.current?.setAttribute("data-nearest-side", "bottom");
|
|
42
44
|
return;
|
|
43
45
|
}
|
|
44
|
-
|
|
46
|
+
o.current = "inside", e.current?.setAttribute("data-nearest-side", "inside");
|
|
45
47
|
},
|
|
46
|
-
[
|
|
48
|
+
[e]
|
|
47
49
|
);
|
|
48
|
-
return /* @__PURE__ */
|
|
50
|
+
return /* @__PURE__ */ g(
|
|
49
51
|
M,
|
|
50
52
|
{
|
|
51
|
-
sensors:
|
|
53
|
+
sensors: p,
|
|
52
54
|
onDragEnd: b,
|
|
53
55
|
collisionDetection: B,
|
|
54
|
-
onDragMove:
|
|
56
|
+
onDragMove: D,
|
|
55
57
|
children: [
|
|
56
58
|
d,
|
|
57
|
-
/* @__PURE__ */
|
|
59
|
+
/* @__PURE__ */ S(C, {})
|
|
58
60
|
]
|
|
59
61
|
}
|
|
60
62
|
);
|
|
61
63
|
};
|
|
62
64
|
export {
|
|
63
|
-
|
|
65
|
+
W as DnDProvider
|
|
64
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraggableOverlay.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/DraggableOverlay.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,gBAAgB,+
|
|
1
|
+
{"version":3,"file":"DraggableOverlay.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/DraggableOverlay.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,gBAAgB,+CAiB5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/NavMenuItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavMenuItem.d.ts","sourceRoot":"","sources":["../../../../src/components/NavMenu/components/NavMenuItem.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAKhD,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW,8DAAgC,gBAAgB,6CAQtE,CAAC;AA+OH,eAAO,MAAM,eAAe,GAAI,0CAI7B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;CAC9B,4CAiCA,CAAC"}
|