@ebubekirylmaz/link-test 1.0.0
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/.babelrc +3 -0
- package/.browserslistrc +1 -0
- package/.env +2 -0
- package/.eslintignore +3 -0
- package/.eslintrc.json +58 -0
- package/.gitattributes +1 -0
- package/.github/workflows/publish.yml +66 -0
- package/.prettierignore +1 -0
- package/.prettierrc +10 -0
- package/.storybook/main.js +15 -0
- package/.storybook/preview.js +17 -0
- package/.storybook/vitest.setup.js +6 -0
- package/README.md +1 -0
- package/cypress.config.js +11 -0
- package/index.js +1 -0
- package/package.json +111 -0
- package/project/.eslintrc.cjs +22 -0
- package/project/config.js +18 -0
- package/project/config.menu.js +39 -0
- package/project/config.template.js +31 -0
- package/project/cypress/e2e/layouts.cy.js +170 -0
- package/project/cypress/e2e/login.cy.js +35 -0
- package/project/cypress/e2e/selectbar.cy.js +80 -0
- package/project/cypress/fixtures/CONFIG/MENU_CONFIG.js +39 -0
- package/project/cypress/fixtures/EMPEROR/EMPERORS_GET.json +51 -0
- package/project/cypress/fixtures/EMPEROR/EMPERORS_POST.json +9 -0
- package/project/cypress/fixtures/OAUTH/GITHUB/user.json +46 -0
- package/project/cypress/fixtures/example.json +5 -0
- package/project/cypress/support/commands.js +104 -0
- package/project/cypress/support/e2e.js +1 -0
- package/project/cypress.config.js +10 -0
- package/project/index.html +12 -0
- package/project/media/ProjectIcons/3d.png +0 -0
- package/project/media/ProjectIcons/box.png +0 -0
- package/project/media/ProjectIcons/cafe.png +0 -0
- package/project/media/ProjectIcons/cargo.png +0 -0
- package/project/media/ProjectIcons/cloud.png +0 -0
- package/project/media/ProjectIcons/code.png +0 -0
- package/project/media/ProjectIcons/company.png +0 -0
- package/project/media/ProjectIcons/conversation.png +0 -0
- package/project/media/ProjectIcons/distributed.png +0 -0
- package/project/media/ProjectIcons/fingerprint.png +0 -0
- package/project/media/ProjectIcons/forest.png +0 -0
- package/project/media/ProjectIcons/headphones.png +0 -0
- package/project/media/ProjectIcons/office.png +0 -0
- package/project/media/ProjectIcons/path.png +0 -0
- package/project/media/ProjectIcons/printer.png +0 -0
- package/project/media/ProjectIcons/project.png +0 -0
- package/project/media/ProjectIcons/resume.png +0 -0
- package/project/media/ProjectIcons/rocket.png +0 -0
- package/project/media/ProjectIcons/rtruck.png +0 -0
- package/project/media/ProjectIcons/sign.png +0 -0
- package/project/media/ProjectIcons/site.png +0 -0
- package/project/media/ProjectIcons/truck.png +0 -0
- package/project/media/logo.png +0 -0
- package/project/package-lock.json +22434 -0
- package/project/package.json +42 -0
- package/project/public/assets/background/overlay_2.jpg +0 -0
- package/project/public/assets/illustrations/illustration_dashboard.png +0 -0
- package/project/public/media/largeLogo.png +0 -0
- package/project/public/media/logo.png +0 -0
- package/project/public/vite.svg +1 -0
- package/project/routes.jsx +47 -0
- package/project/server/mock.json +110 -0
- package/project/server/oauthMock.js +27 -0
- package/project/server/package-lock.json +1505 -0
- package/project/server/package.json +20 -0
- package/project/server/server.js +127 -0
- package/project/src/Container.jsx +7 -0
- package/project/src/components/ActionButton.jsx +18 -0
- package/project/src/hooks/useEmperor.jsx +21 -0
- package/project/src/http/index.js +39 -0
- package/project/src/main.jsx +10 -0
- package/project/src/pages/Battles.jsx +16 -0
- package/project/src/pages/Emperor.jsx +50 -0
- package/project/src/pages/index.jsx +33 -0
- package/project/src/theme.js +151 -0
- package/project/src/widgets/ActionButton.jsx +68 -0
- package/project/src/widgets/AddNewEmperor.jsx +120 -0
- package/project/src/widgets/ProjectContainer.jsx +27 -0
- package/project/vite.config.js +6 -0
- package/project/vite.config.js.timestamp-1709564450418-45fdd27900806.mjs +341 -0
- package/public/assets/background/overlay_2.jpg +0 -0
- package/public/assets/illustrations/illustration_dashboard.png +0 -0
- package/public/vite.svg +1 -0
- package/src/ContextProvider/ContextProvider.jsx +19 -0
- package/src/GlobalSnackMessage/GlobalSnackMessage.jsx +45 -0
- package/src/GlobalSnackMessage/index.js +1 -0
- package/src/GlobalSnackMessage/styles.js +3 -0
- package/src/Platform.jsx +76 -0
- package/src/RouteManager/RouteManager.jsx +56 -0
- package/src/RouteManager/index.js +1 -0
- package/src/assets/illustrations/avatar-shape.jsx +31 -0
- package/src/assets/illustrations/background-shape.jsx +37 -0
- package/src/assets/illustrations/booking-illustration.jsx +335 -0
- package/src/assets/illustrations/check-in-illustration.jsx +96 -0
- package/src/assets/illustrations/check-out-illustration.jsx +69 -0
- package/src/assets/illustrations/coming-soon-illustration.jsx +125 -0
- package/src/assets/illustrations/forbidden-illustration.jsx +95 -0
- package/src/assets/illustrations/index.js +2 -0
- package/src/assets/illustrations/maintenance-illustration.jsx +228 -0
- package/src/assets/illustrations/motivation-illustration.jsx +74 -0
- package/src/assets/illustrations/order-complete-illustration.jsx +126 -0
- package/src/assets/illustrations/page-not-found-illustration.jsx +81 -0
- package/src/assets/illustrations/seo-illustration.jsx +244 -0
- package/src/assets/illustrations/sever-error-illustration.jsx +152 -0
- package/src/assets/illustrations/upgrade-storage-illustration.jsx +161 -0
- package/src/assets/illustrations/upload-illustration.jsx +622 -0
- package/src/components/Iconify/Iconify.jsx +18 -0
- package/src/components/Iconify/index.js +1 -0
- package/src/components/MiniTopBar/MiniTopBar.jsx +25 -0
- package/src/components/MiniTopBar/index.js +1 -0
- package/src/components/MiniTopBar/styles.js +6 -0
- package/src/components/NucleoidLoginForm/NucleoidLoginForm.jsx +69 -0
- package/src/components/NucleoidLoginForm/index.js +1 -0
- package/src/components/NucleoidLoginForm/styles.js +3 -0
- package/src/components/Sidebar/Sidebar.jsx +76 -0
- package/src/components/Sidebar/index.js +1 -0
- package/src/components/Sidebar/styles.js +25 -0
- package/src/components/SocialLoginButtons/SocialLoginButtons.jsx +55 -0
- package/src/components/SocialLoginButtons/index.js +1 -0
- package/src/components/SocialLoginButtons/styles.js +3 -0
- package/src/components/TopNavBar/TopNavBar.jsx +186 -0
- package/src/components/TopNavBar/index.js +1 -0
- package/src/components/TopNavBar/styles.js +7 -0
- package/src/components/animate/index.js +4 -0
- package/src/components/animate/motion-container.jsx +38 -0
- package/src/components/animate/motion-lazy.jsx +11 -0
- package/src/components/animate/motion-viewport.jsx +30 -0
- package/src/components/animate/variants/actions.js +4 -0
- package/src/components/animate/variants/background.js +97 -0
- package/src/components/animate/variants/bounce.js +107 -0
- package/src/components/animate/variants/container.js +20 -0
- package/src/components/animate/variants/fade.js +127 -0
- package/src/components/animate/variants/flip.js +54 -0
- package/src/components/animate/variants/index.js +12 -0
- package/src/components/animate/variants/path.js +12 -0
- package/src/components/animate/variants/rotate.js +33 -0
- package/src/components/animate/variants/scale.js +54 -0
- package/src/components/animate/variants/slide.js +65 -0
- package/src/components/animate/variants/transition.js +20 -0
- package/src/components/animate/variants/zoom.js +130 -0
- package/src/components/chart/chart.js +69 -0
- package/src/components/chart/index.js +5 -0
- package/src/components/chart/use-chart.js +215 -0
- package/src/components/custom-popover/custom-popover.jsx +46 -0
- package/src/components/custom-popover/index.js +3 -0
- package/src/components/custom-popover/styles.js +84 -0
- package/src/components/custom-popover/use-popover.js +22 -0
- package/src/components/custom-popover/utils.js +100 -0
- package/src/components/file-thumbnail/download-button.jsx +39 -0
- package/src/components/file-thumbnail/file-thumbnail.jsx +72 -0
- package/src/components/file-thumbnail/index.js +5 -0
- package/src/components/file-thumbnail/utils.js +148 -0
- package/src/components/image/image.jsx +119 -0
- package/src/components/image/index.js +1 -0
- package/src/components/image/utils.js +15 -0
- package/src/components/label/index.js +1 -0
- package/src/components/label/label.jsx +51 -0
- package/src/components/label/styles.js +78 -0
- package/src/components/loading-screen/index.js +2 -0
- package/src/components/loading-screen/loading-screen.jsx +23 -0
- package/src/components/loading-screen/splash-screen.jsx +95 -0
- package/src/components/logo/index.js +1 -0
- package/src/components/logo/logo.jsx +61 -0
- package/src/components/logo/styles.js +17 -0
- package/src/components/nav-section/horizontal/index.js +1 -0
- package/src/components/nav-section/horizontal/nav-item.jsx +224 -0
- package/src/components/nav-section/horizontal/nav-list.jsx +113 -0
- package/src/components/nav-section/horizontal/nav-section-horizontal.jsx +41 -0
- package/src/components/nav-section/index.js +3 -0
- package/src/components/nav-section/mini/index.js +1 -0
- package/src/components/nav-section/mini/nav-item.jsx +242 -0
- package/src/components/nav-section/mini/nav-list.jsx +107 -0
- package/src/components/nav-section/mini/nav-section-mini.jsx +35 -0
- package/src/components/nav-section/vertical/index.js +1 -0
- package/src/components/nav-section/vertical/nav-item.jsx +294 -0
- package/src/components/nav-section/vertical/nav-list.jsx +66 -0
- package/src/components/nav-section/vertical/nav-section-vertical.jsx +74 -0
- package/src/components/scrollbar/index.js +1 -0
- package/src/components/scrollbar/scrollbar.jsx +39 -0
- package/src/components/scrollbar/styles.js +27 -0
- package/src/components/search-not-found/index.js +1 -0
- package/src/components/search-not-found/search-not-found.jsx +29 -0
- package/src/components/settings/context/index.js +2 -0
- package/src/components/settings/context/settings-context.js +14 -0
- package/src/components/settings/context/settings-provider.jsx +46 -0
- package/src/components/settings/drawer/base-option.jsx +52 -0
- package/src/components/settings/drawer/fullscreen-option.jsx +58 -0
- package/src/components/settings/drawer/index.js +1 -0
- package/src/components/settings/drawer/layout-options.jsx +144 -0
- package/src/components/settings/drawer/presets-options.jsx +53 -0
- package/src/components/settings/drawer/settings-drawer.jsx +189 -0
- package/src/components/settings/drawer/stretch-options.jsx +67 -0
- package/src/components/settings/index.js +3 -0
- package/src/components/svg-color/index.js +1 -0
- package/src/components/svg-color/svg-color.jsx +23 -0
- package/src/config/config.js +48 -0
- package/src/config/schemas.js +148 -0
- package/src/context/reducer.js +52 -0
- package/src/global.css +2 -0
- package/src/hooks/index.js +2 -0
- package/src/hooks/use-boolean.js +27 -0
- package/src/hooks/use-event-listener.js +34 -0
- package/src/hooks/use-local-storage.js +89 -0
- package/src/hooks/use-off-set-top.js +37 -0
- package/src/hooks/use-responsive.js +47 -0
- package/src/hooks/use-scroll-to-top.js +14 -0
- package/src/hooks/use-user.js +58 -0
- package/src/hooks/useApi.js +25 -0
- package/src/hooks/useItemsState.js +23 -0
- package/src/hooks/useProjects.js +24 -0
- package/src/hooks/useSettings.jsx +51 -0
- package/src/http/index.js +155 -0
- package/src/http/oauth.js +27 -0
- package/src/http/user.js +110 -0
- package/src/layouts/AppLayout.jsx +113 -0
- package/src/layouts/CompactLayout/CompactLayout.jsx +32 -0
- package/src/layouts/CompactLayout/index.js +1 -0
- package/src/layouts/DashboardLayout/DashboardLayout.jsx +87 -0
- package/src/layouts/DashboardLayout/config-navigation.jsx +0 -0
- package/src/layouts/DashboardLayout/header.jsx +104 -0
- package/src/layouts/DashboardLayout/index.js +2 -0
- package/src/layouts/DashboardLayout/main.jsx +64 -0
- package/src/layouts/DashboardLayout/nav-horizontal.jsx +62 -0
- package/src/layouts/DashboardLayout/nav-mini.jsx +99 -0
- package/src/layouts/DashboardLayout/nav-vertical.jsx +201 -0
- package/src/layouts/FullScreenLayout/FullScreenLayout.jsx +101 -0
- package/src/layouts/FullScreenLayout/index.js +1 -0
- package/src/layouts/FullScreenLayout/nav-horizontal.jsx +50 -0
- package/src/layouts/FullScreenLayout/nav-vertical.jsx +136 -0
- package/src/layouts/MainLayout/MainLayout.jsx +21 -0
- package/src/layouts/MainLayout/footer.jsx +153 -0
- package/src/layouts/MainLayout/header.jsx +81 -0
- package/src/layouts/MainLayout/index.js +1 -0
- package/src/layouts/MainLayout/nav/desktop/index.jsx +20 -0
- package/src/layouts/MainLayout/nav/desktop/nav-item.jsx +186 -0
- package/src/layouts/MainLayout/nav/desktop/nav-list.jsx +145 -0
- package/src/layouts/MainLayout/nav/mobile/index.jsx +60 -0
- package/src/layouts/MainLayout/nav/mobile/nav-item.jsx +90 -0
- package/src/layouts/MainLayout/nav/mobile/nav-list.jsx +72 -0
- package/src/layouts/Page.jsx +16 -0
- package/src/layouts/SimpleLayout/SimpleLayout.jsx +8 -0
- package/src/layouts/SimpleLayout/index.js +1 -0
- package/src/layouts/TwoSideLayout/TwoSideLayout.jsx +31 -0
- package/src/layouts/TwoSideLayout/index.js +1 -0
- package/src/layouts/auth/classic.jsx +95 -0
- package/src/layouts/auth/modern-compact.jsx +51 -0
- package/src/layouts/auth/modern.jsx +94 -0
- package/src/layouts/common/ProjectBar/index.jsx +325 -0
- package/src/layouts/common/ProjectBar/result-item.jsx +90 -0
- package/src/layouts/common/ProjectBar/utils.js +86 -0
- package/src/layouts/common/account-popover.jsx +116 -0
- package/src/layouts/common/header-shadow.jsx +26 -0
- package/src/layouts/common/header-sim.jsx +52 -0
- package/src/layouts/common/header-simple.jsx +76 -0
- package/src/layouts/common/nav-toggle-button.jsx +57 -0
- package/src/layouts/common/notifications-popover/index.jsx +177 -0
- package/src/layouts/common/notifications-popover/notification-item.jsx +252 -0
- package/src/layouts/common/settings-button.jsx +48 -0
- package/src/layouts/config-layout.js +12 -0
- package/src/layouts/index.js +7 -0
- package/src/lib/AddItemWizard/AddItemWizard.jsx +211 -0
- package/src/lib/AddItemWizard/index.js +1 -0
- package/src/lib/CustomBreadcrumbs/CustomBreadcrumbs.jsx +88 -0
- package/src/lib/CustomBreadcrumbs/index.js +1 -0
- package/src/lib/CustomBreadcrumbs/link-item.jsx +58 -0
- package/src/lib/CustomPopover/CustomPopover.jsx +46 -0
- package/src/lib/CustomPopover/index.js +3 -0
- package/src/lib/CustomPopover/styles.js +82 -0
- package/src/lib/CustomPopover/usePopover.js +20 -0
- package/src/lib/CustomPopover/utils.js +100 -0
- package/src/lib/Flow/connectors/DynamicConnector.jsx +247 -0
- package/src/lib/Flow/core/Flow.jsx +79 -0
- package/src/lib/Flow/core/FlowNode.jsx +68 -0
- package/src/lib/Flow/core/FlowViewport.jsx +259 -0
- package/src/lib/Flow/graph/FloatingGraph.jsx +44 -0
- package/src/lib/Flow/hooks/useGraphOperations.js +362 -0
- package/src/lib/Flow/hooks/useNodeStyle.js +56 -0
- package/src/lib/Flow/index.js +1 -0
- package/src/lib/Flow/layouts/ActionNode.jsx +78 -0
- package/src/lib/Flow/layouts/AnimatedNode.jsx +22 -0
- package/src/lib/Flow/layouts/CardLayout.jsx +397 -0
- package/src/lib/Flow/layouts/InfoNode.jsx +255 -0
- package/src/lib/Flow/layouts/LoadingNode.jsx +37 -0
- package/src/lib/Flow/nodes/DefaultCard.jsx +107 -0
- package/src/lib/Flow/nodes/DraggableNode.jsx +162 -0
- package/src/lib/Flow/nodes/FlowNodeView.jsx +214 -0
- package/src/lib/Flow/selection/SelectionContext.jsx +259 -0
- package/src/lib/Flow/selection/SelectionOverlay.jsx +31 -0
- package/src/lib/Flow/styles.js +154 -0
- package/src/lib/Flow/utils/flowUtils.js +268 -0
- package/src/lib/FormProvider/FormProvider.jsx +16 -0
- package/src/lib/FormProvider/index.js +1 -0
- package/src/lib/IconSelector/IconSelector.jsx +89 -0
- package/src/lib/Iconify/Iconify.jsx +17 -0
- package/src/lib/Iconify/index.js +1 -0
- package/src/lib/Image/Image.jsx +116 -0
- package/src/lib/Image/index.js +1 -0
- package/src/lib/Image/utils.js +15 -0
- package/src/lib/ItemSummary/ItemSummary.jsx +77 -0
- package/src/lib/ItemSummary/ItemsSummary.jsx +163 -0
- package/src/lib/Label/Label.jsx +51 -0
- package/src/lib/Label/index.js +1 -0
- package/src/lib/Label/styles.js +76 -0
- package/src/lib/ProjectWizard.jsx +137 -0
- package/src/lib/RHFTextfield/RHFTextfield.jsx +39 -0
- package/src/lib/RHFTextfield/index.js +1 -0
- package/src/lib/Scrollbar/Scrollbar.jsx +39 -0
- package/src/lib/Scrollbar/index.js +1 -0
- package/src/lib/Scrollbar/styles.js +27 -0
- package/src/lib/SearchNotFound/SearchNotFound.jsx +29 -0
- package/src/lib/SearchNotFound/index.js +1 -0
- package/src/lib/SparkleInput/SparkleInput.jsx +51 -0
- package/src/lib/StepComponent/StepComponent.jsx +98 -0
- package/src/lib/SvgColor/SvgColor.jsx +28 -0
- package/src/lib/SvgColor/index.js +1 -0
- package/src/lib/TableHeadCustom/TableHeadCustom.jsx +87 -0
- package/src/lib/TableHeadCustom/index.js +1 -0
- package/src/lib/TableSelectedAction/TableSelectedAction.jsx +72 -0
- package/src/lib/TableSelectedAction/index.js +1 -0
- package/src/lib/index.js +36 -0
- package/src/lib/lib/Icons.js +40 -0
- package/src/lib/lib/context.json +272 -0
- package/src/lib/useChart/useChart.js +179 -0
- package/src/lib/useTable/useTable.js +121 -0
- package/src/pages/404.jsx +17 -0
- package/src/pages/Callback.jsx +126 -0
- package/src/pages/ConfigError.jsx +49 -0
- package/src/pages/LoginPage.jsx +43 -0
- package/src/routes/components/index.js +1 -0
- package/src/routes/components/router-link.jsx +11 -0
- package/src/routes/hooks/index.js +4 -0
- package/src/routes/hooks/use-active-link.js +15 -0
- package/src/routes/hooks/use-pathname.js +10 -0
- package/src/routes/hooks/use-router.js +21 -0
- package/src/stories/FlowChart.stories.jsx +333 -0
- package/src/stories/Iconify.stories.jsx +183 -0
- package/src/stories/Label.stories.jsx +447 -0
- package/src/stories/Navbar.stories.jsx +588 -0
- package/src/theme/css.js +152 -0
- package/src/theme/custom-shadows.js +47 -0
- package/src/theme/index.jsx +100 -0
- package/src/theme/options/contrast.js +34 -0
- package/src/theme/options/presets.js +89 -0
- package/src/theme/options/right-to-left.jsx +26 -0
- package/src/theme/overrides/components/accordion.js +43 -0
- package/src/theme/overrides/components/alert.js +69 -0
- package/src/theme/overrides/components/appbar.js +13 -0
- package/src/theme/overrides/components/autocomplete.js +44 -0
- package/src/theme/overrides/components/avatar.js +111 -0
- package/src/theme/overrides/components/backdrop.js +18 -0
- package/src/theme/overrides/components/badge.js +90 -0
- package/src/theme/overrides/components/breadcrumbs.js +21 -0
- package/src/theme/overrides/components/button-group.js +90 -0
- package/src/theme/overrides/components/button.js +145 -0
- package/src/theme/overrides/components/card.js +30 -0
- package/src/theme/overrides/components/checkbox.js +13 -0
- package/src/theme/overrides/components/chip.js +129 -0
- package/src/theme/overrides/components/css-baseline.js +48 -0
- package/src/theme/overrides/components/data-grid.js +94 -0
- package/src/theme/overrides/components/date-picker.jsx +94 -0
- package/src/theme/overrides/components/dialog.js +49 -0
- package/src/theme/overrides/components/drawer.js +39 -0
- package/src/theme/overrides/components/fab.js +165 -0
- package/src/theme/overrides/components/list.js +33 -0
- package/src/theme/overrides/components/loading-button.js +30 -0
- package/src/theme/overrides/components/menu.js +15 -0
- package/src/theme/overrides/components/pagination.js +81 -0
- package/src/theme/overrides/components/paper.js +18 -0
- package/src/theme/overrides/components/popover.js +20 -0
- package/src/theme/overrides/components/progress.js +40 -0
- package/src/theme/overrides/components/radio.js +22 -0
- package/src/theme/overrides/components/rating.js +40 -0
- package/src/theme/overrides/components/select.js +26 -0
- package/src/theme/overrides/components/skeleton.js +16 -0
- package/src/theme/overrides/components/slider.js +30 -0
- package/src/theme/overrides/components/stepper.js +13 -0
- package/src/theme/overrides/components/svg-icon.js +15 -0
- package/src/theme/overrides/components/switch.js +66 -0
- package/src/theme/overrides/components/table.js +79 -0
- package/src/theme/overrides/components/tabs.js +39 -0
- package/src/theme/overrides/components/textfield.js +146 -0
- package/src/theme/overrides/components/timeline.js +20 -0
- package/src/theme/overrides/components/toggle-button.js +70 -0
- package/src/theme/overrides/components/tooltip.js +18 -0
- package/src/theme/overrides/components/tree-view.js +16 -0
- package/src/theme/overrides/components/typography.js +16 -0
- package/src/theme/overrides/default-props.jsx +238 -0
- package/src/theme/overrides/index.js +100 -0
- package/src/theme/palette.js +144 -0
- package/src/theme/shadows.js +41 -0
- package/src/theme/typography.js +107 -0
- package/src/utils/flatten-array.js +16 -0
- package/src/utils/format-number.js +37 -0
- package/src/utils/format-time.js +27 -0
- package/src/utils/storage-available.js +24 -0
- package/src/widgets/Login/CognitoLogin.jsx +43 -0
- package/src/widgets/Login/Login.jsx +58 -0
- package/src/widgets/Login/cognitoAuth.jsx +26 -0
- package/src/widgets/LoginForm/LoginForm.jsx +87 -0
- package/src/widgets/LoginForm/LoginFormStyles.js +43 -0
- package/src/widgets/LoginForm/index.js +1 -0
- package/src/widgets/SettingsDialog.jsx +308 -0
- package/src/widgets/error/index.js +1 -0
- package/src/widgets/error/not-found-view.jsx +42 -0
- package/vite/vite.js +77 -0
- package/vite.config.js +7 -0
- package/vitest.config.js +32 -0
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
import Box from "@mui/material/Box";
|
|
2
|
+
import { BrowserRouter } from "react-router-dom";
|
|
3
|
+
import CssBaseline from "@mui/material/CssBaseline";
|
|
4
|
+
import React from "react";
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
NavSectionHorizontal,
|
|
8
|
+
NavSectionMini,
|
|
9
|
+
NavSectionVertical,
|
|
10
|
+
} from "../components/nav-section";
|
|
11
|
+
import { ThemeProvider, createTheme } from "@mui/material/styles";
|
|
12
|
+
|
|
13
|
+
const lightTheme = createTheme({
|
|
14
|
+
palette: {
|
|
15
|
+
mode: "light",
|
|
16
|
+
primary: {
|
|
17
|
+
main: "#1976d2",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const darkTheme = createTheme({
|
|
23
|
+
palette: {
|
|
24
|
+
mode: "dark",
|
|
25
|
+
primary: {
|
|
26
|
+
main: "#90caf9",
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
const mockNavData = [
|
|
32
|
+
{
|
|
33
|
+
subheader: "Management",
|
|
34
|
+
items: [
|
|
35
|
+
{
|
|
36
|
+
title: "Dashboard",
|
|
37
|
+
path: "/dashboard",
|
|
38
|
+
icon: "material-symbols:dashboard",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: "User Management",
|
|
42
|
+
path: "/users",
|
|
43
|
+
icon: "material-symbols:people",
|
|
44
|
+
info: "12",
|
|
45
|
+
children: [
|
|
46
|
+
{
|
|
47
|
+
title: "All Users",
|
|
48
|
+
path: "/users/all",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
title: "Active Users",
|
|
52
|
+
path: "/users/active",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
title: "Pending Users",
|
|
56
|
+
path: "/users/pending",
|
|
57
|
+
info: "3",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
title: "Analytics",
|
|
63
|
+
path: "/analytics",
|
|
64
|
+
icon: "material-symbols:analytics",
|
|
65
|
+
caption: "View detailed reports",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
subheader: "Content",
|
|
71
|
+
items: [
|
|
72
|
+
{
|
|
73
|
+
title: "Posts",
|
|
74
|
+
path: "/posts",
|
|
75
|
+
icon: "material-symbols:article",
|
|
76
|
+
children: [
|
|
77
|
+
{
|
|
78
|
+
title: "All Posts",
|
|
79
|
+
path: "/posts/all",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
title: "Published",
|
|
83
|
+
path: "/posts/published",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
title: "Drafts",
|
|
87
|
+
path: "/posts/drafts",
|
|
88
|
+
info: "5",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
title: "Media Library",
|
|
94
|
+
path: "/media",
|
|
95
|
+
icon: "material-symbols:photo-library",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
title: "Categories",
|
|
99
|
+
path: "/categories",
|
|
100
|
+
icon: "material-symbols:category",
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
items: [
|
|
106
|
+
{
|
|
107
|
+
title: "Settings",
|
|
108
|
+
path: "/settings",
|
|
109
|
+
icon: "material-symbols:settings",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
title: "Help Center",
|
|
113
|
+
path: "https://help.example.com",
|
|
114
|
+
icon: "material-symbols:help",
|
|
115
|
+
external: true,
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
title: "Admin Only",
|
|
119
|
+
path: "/admin",
|
|
120
|
+
icon: "material-symbols:admin-panel-settings",
|
|
121
|
+
roles: ["admin"],
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
title: "Disabled Item",
|
|
125
|
+
path: "/disabled",
|
|
126
|
+
icon: "material-symbols:block",
|
|
127
|
+
disabled: true,
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
];
|
|
132
|
+
|
|
133
|
+
const simpleNavData = [
|
|
134
|
+
{
|
|
135
|
+
items: [
|
|
136
|
+
{
|
|
137
|
+
title: "Home",
|
|
138
|
+
path: "/",
|
|
139
|
+
icon: "material-symbols:home",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
title: "About",
|
|
143
|
+
path: "/about",
|
|
144
|
+
icon: "material-symbols:info",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
title: "Contact",
|
|
148
|
+
path: "/contact",
|
|
149
|
+
icon: "material-symbols:contact-mail",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
title: "Services",
|
|
153
|
+
path: "/services",
|
|
154
|
+
icon: "material-symbols:work",
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
},
|
|
158
|
+
];
|
|
159
|
+
|
|
160
|
+
const minimalNavData = [
|
|
161
|
+
{
|
|
162
|
+
items: [
|
|
163
|
+
{
|
|
164
|
+
title: "Dashboard",
|
|
165
|
+
path: "/dashboard",
|
|
166
|
+
icon: "material-symbols:dashboard",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
title: "Profile",
|
|
170
|
+
path: "/profile",
|
|
171
|
+
icon: "material-symbols:person",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
title: "Messages",
|
|
175
|
+
path: "/messages",
|
|
176
|
+
icon: "material-symbols:mail",
|
|
177
|
+
info: "3",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
title: "Settings",
|
|
181
|
+
path: "/settings",
|
|
182
|
+
icon: "material-symbols:settings",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
];
|
|
187
|
+
|
|
188
|
+
const StoryWrapper = ({ children, width = "300px", theme = lightTheme }) => (
|
|
189
|
+
<BrowserRouter>
|
|
190
|
+
<ThemeProvider theme={theme}>
|
|
191
|
+
<CssBaseline />
|
|
192
|
+
<Box
|
|
193
|
+
sx={{
|
|
194
|
+
width,
|
|
195
|
+
minHeight: "400px",
|
|
196
|
+
border: "1px solid #e0e0e0",
|
|
197
|
+
borderRadius: "8px",
|
|
198
|
+
overflow: "hidden",
|
|
199
|
+
backgroundColor:
|
|
200
|
+
theme.palette.mode === "dark" ? "#1e1e1e" : "#fafafa",
|
|
201
|
+
}}
|
|
202
|
+
>
|
|
203
|
+
{children}
|
|
204
|
+
</Box>
|
|
205
|
+
</ThemeProvider>
|
|
206
|
+
</BrowserRouter>
|
|
207
|
+
);
|
|
208
|
+
|
|
209
|
+
export default {
|
|
210
|
+
title: "Components/NavSection",
|
|
211
|
+
parameters: {
|
|
212
|
+
layout: "centered",
|
|
213
|
+
docs: {
|
|
214
|
+
description: {
|
|
215
|
+
component: `
|
|
216
|
+
Navigation section components that provide different layouts for navigation menus:
|
|
217
|
+
|
|
218
|
+
- **NavSectionVertical**: Traditional sidebar navigation with collapsible groups and nested items
|
|
219
|
+
- **NavSectionHorizontal**: Horizontal navigation bar suitable for top navigation
|
|
220
|
+
- **NavSectionMini**: Compact navigation with minimal spacing, ideal for mini sidebars
|
|
221
|
+
|
|
222
|
+
All components support:
|
|
223
|
+
- Nested navigation items
|
|
224
|
+
- Role-based access control
|
|
225
|
+
- External links
|
|
226
|
+
- Info badges
|
|
227
|
+
- Icons and captions
|
|
228
|
+
- Active state management
|
|
229
|
+
`,
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
tags: ["autodocs"],
|
|
234
|
+
argTypes: {
|
|
235
|
+
data: {
|
|
236
|
+
control: "object",
|
|
237
|
+
description: "Navigation data structure with groups and items",
|
|
238
|
+
},
|
|
239
|
+
slotProps: {
|
|
240
|
+
control: "object",
|
|
241
|
+
description: "Additional props for customizing appearance",
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
args: { onClick: () => {} },
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
export const VerticalDefault = {
|
|
248
|
+
render: (args) => (
|
|
249
|
+
<StoryWrapper>
|
|
250
|
+
<NavSectionVertical {...args} />
|
|
251
|
+
</StoryWrapper>
|
|
252
|
+
),
|
|
253
|
+
args: {
|
|
254
|
+
data: mockNavData,
|
|
255
|
+
},
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
export const VerticalSimple = {
|
|
259
|
+
render: (args) => (
|
|
260
|
+
<StoryWrapper>
|
|
261
|
+
<NavSectionVertical {...args} />
|
|
262
|
+
</StoryWrapper>
|
|
263
|
+
),
|
|
264
|
+
args: {
|
|
265
|
+
data: simpleNavData,
|
|
266
|
+
},
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
export const VerticalWithCustomGap = {
|
|
270
|
+
render: (args) => (
|
|
271
|
+
<StoryWrapper>
|
|
272
|
+
<NavSectionVertical {...args} />
|
|
273
|
+
</StoryWrapper>
|
|
274
|
+
),
|
|
275
|
+
args: {
|
|
276
|
+
data: mockNavData,
|
|
277
|
+
slotProps: {
|
|
278
|
+
gap: 8,
|
|
279
|
+
subheader: {
|
|
280
|
+
color: "primary.main",
|
|
281
|
+
fontWeight: "bold",
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
export const VerticalCompact = {
|
|
288
|
+
render: (args) => (
|
|
289
|
+
<StoryWrapper width="250px">
|
|
290
|
+
<NavSectionVertical {...args} />
|
|
291
|
+
</StoryWrapper>
|
|
292
|
+
),
|
|
293
|
+
args: {
|
|
294
|
+
data: mockNavData,
|
|
295
|
+
slotProps: {
|
|
296
|
+
gap: 2,
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
// Horizontal Navigation Stories
|
|
302
|
+
export const HorizontalDefault = {
|
|
303
|
+
render: (args) => (
|
|
304
|
+
<StoryWrapper width="100%">
|
|
305
|
+
<Box sx={{ p: 2 }}>
|
|
306
|
+
<NavSectionHorizontal {...args} />
|
|
307
|
+
</Box>
|
|
308
|
+
</StoryWrapper>
|
|
309
|
+
),
|
|
310
|
+
args: {
|
|
311
|
+
data: simpleNavData,
|
|
312
|
+
},
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
export const HorizontalWithSpacing = {
|
|
316
|
+
render: (args) => (
|
|
317
|
+
<StoryWrapper width="100%">
|
|
318
|
+
<Box sx={{ p: 2 }}>
|
|
319
|
+
<NavSectionHorizontal {...args} />
|
|
320
|
+
</Box>
|
|
321
|
+
</StoryWrapper>
|
|
322
|
+
),
|
|
323
|
+
args: {
|
|
324
|
+
data: simpleNavData,
|
|
325
|
+
slotProps: {
|
|
326
|
+
gap: 12,
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
export const HorizontalCompact = {
|
|
332
|
+
render: (args) => (
|
|
333
|
+
<StoryWrapper width="100%">
|
|
334
|
+
<Box sx={{ p: 1 }}>
|
|
335
|
+
<NavSectionHorizontal {...args} />
|
|
336
|
+
</Box>
|
|
337
|
+
</StoryWrapper>
|
|
338
|
+
),
|
|
339
|
+
args: {
|
|
340
|
+
data: simpleNavData,
|
|
341
|
+
slotProps: {
|
|
342
|
+
gap: 4,
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
export const MiniDefault = {
|
|
348
|
+
render: (args) => (
|
|
349
|
+
<StoryWrapper width="80px">
|
|
350
|
+
<NavSectionMini {...args} />
|
|
351
|
+
</StoryWrapper>
|
|
352
|
+
),
|
|
353
|
+
args: {
|
|
354
|
+
data: minimalNavData,
|
|
355
|
+
},
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
export const MiniWithBadges = {
|
|
359
|
+
render: (args) => (
|
|
360
|
+
<StoryWrapper width="80px">
|
|
361
|
+
<NavSectionMini {...args} />
|
|
362
|
+
</StoryWrapper>
|
|
363
|
+
),
|
|
364
|
+
args: {
|
|
365
|
+
data: [
|
|
366
|
+
{
|
|
367
|
+
items: [
|
|
368
|
+
{
|
|
369
|
+
title: "Dashboard",
|
|
370
|
+
path: "/dashboard",
|
|
371
|
+
icon: "material-symbols:dashboard",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
title: "Messages",
|
|
375
|
+
path: "/messages",
|
|
376
|
+
icon: "material-symbols:mail",
|
|
377
|
+
info: "99+",
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
title: "Notifications",
|
|
381
|
+
path: "/notifications",
|
|
382
|
+
icon: "material-symbols:notifications",
|
|
383
|
+
info: "5",
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
title: "Settings",
|
|
387
|
+
path: "/settings",
|
|
388
|
+
icon: "material-symbols:settings",
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
},
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
export const MiniCustomSpacing = {
|
|
397
|
+
render: (args) => (
|
|
398
|
+
<StoryWrapper width="80px">
|
|
399
|
+
<NavSectionMini {...args} />
|
|
400
|
+
</StoryWrapper>
|
|
401
|
+
),
|
|
402
|
+
args: {
|
|
403
|
+
data: minimalNavData,
|
|
404
|
+
slotProps: {
|
|
405
|
+
gap: 8,
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
export const InteractiveComparison = {
|
|
411
|
+
render: () => (
|
|
412
|
+
<Box sx={{ display: "flex", gap: 3, alignItems: "flex-start" }}>
|
|
413
|
+
<Box>
|
|
414
|
+
<Box sx={{ mb: 2, textAlign: "center", fontWeight: "bold" }}>
|
|
415
|
+
Vertical
|
|
416
|
+
</Box>
|
|
417
|
+
<StoryWrapper width="280px">
|
|
418
|
+
<NavSectionVertical data={mockNavData} />
|
|
419
|
+
</StoryWrapper>
|
|
420
|
+
</Box>
|
|
421
|
+
|
|
422
|
+
<Box>
|
|
423
|
+
<Box sx={{ mb: 2, textAlign: "center", fontWeight: "bold" }}>Mini</Box>
|
|
424
|
+
<StoryWrapper width="80px">
|
|
425
|
+
<NavSectionMini data={minimalNavData} />
|
|
426
|
+
</StoryWrapper>
|
|
427
|
+
</Box>
|
|
428
|
+
|
|
429
|
+
<Box>
|
|
430
|
+
<Box sx={{ mb: 2, textAlign: "center", fontWeight: "bold" }}>
|
|
431
|
+
Horizontal
|
|
432
|
+
</Box>
|
|
433
|
+
<StoryWrapper width="600px">
|
|
434
|
+
<Box sx={{ p: 2 }}>
|
|
435
|
+
<NavSectionHorizontal data={simpleNavData} />
|
|
436
|
+
</Box>
|
|
437
|
+
</StoryWrapper>
|
|
438
|
+
</Box>
|
|
439
|
+
</Box>
|
|
440
|
+
),
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
export const RoleBasedAccess = {
|
|
444
|
+
render: () => (
|
|
445
|
+
<Box sx={{ display: "flex", gap: 3 }}>
|
|
446
|
+
<Box>
|
|
447
|
+
<Box sx={{ mb: 2, textAlign: "center", fontWeight: "bold" }}>
|
|
448
|
+
Admin View
|
|
449
|
+
</Box>
|
|
450
|
+
<StoryWrapper>
|
|
451
|
+
<NavSectionVertical
|
|
452
|
+
data={[
|
|
453
|
+
{
|
|
454
|
+
subheader: "Admin Panel",
|
|
455
|
+
items: [
|
|
456
|
+
{
|
|
457
|
+
title: "User Management",
|
|
458
|
+
path: "/admin/users",
|
|
459
|
+
icon: "material-symbols:people",
|
|
460
|
+
roles: ["admin"],
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
title: "System Settings",
|
|
464
|
+
path: "/admin/settings",
|
|
465
|
+
icon: "material-symbols:admin-panel-settings",
|
|
466
|
+
roles: ["admin"],
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
title: "Reports",
|
|
470
|
+
path: "/reports",
|
|
471
|
+
icon: "material-symbols:analytics",
|
|
472
|
+
roles: ["admin", "manager"],
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
title: "Profile",
|
|
476
|
+
path: "/profile",
|
|
477
|
+
icon: "material-symbols:person",
|
|
478
|
+
},
|
|
479
|
+
],
|
|
480
|
+
},
|
|
481
|
+
]}
|
|
482
|
+
/>
|
|
483
|
+
</StoryWrapper>
|
|
484
|
+
</Box>
|
|
485
|
+
|
|
486
|
+
<Box>
|
|
487
|
+
<Box sx={{ mb: 2, textAlign: "center", fontWeight: "bold" }}>
|
|
488
|
+
User View (Admin items hidden)
|
|
489
|
+
</Box>
|
|
490
|
+
<StoryWrapper>
|
|
491
|
+
<NavSectionVertical
|
|
492
|
+
data={[
|
|
493
|
+
{
|
|
494
|
+
subheader: "User Panel",
|
|
495
|
+
items: [
|
|
496
|
+
{
|
|
497
|
+
title: "User Management",
|
|
498
|
+
path: "/admin/users",
|
|
499
|
+
icon: "material-symbols:people",
|
|
500
|
+
roles: ["admin"],
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
title: "System Settings",
|
|
504
|
+
path: "/admin/settings",
|
|
505
|
+
icon: "material-symbols:admin-panel-settings",
|
|
506
|
+
roles: ["admin"],
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
title: "Reports",
|
|
510
|
+
path: "/reports",
|
|
511
|
+
icon: "material-symbols:analytics",
|
|
512
|
+
roles: ["admin", "manager"],
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
title: "Profile",
|
|
516
|
+
path: "/profile",
|
|
517
|
+
icon: "material-symbols:person",
|
|
518
|
+
},
|
|
519
|
+
],
|
|
520
|
+
},
|
|
521
|
+
]}
|
|
522
|
+
/>
|
|
523
|
+
</StoryWrapper>
|
|
524
|
+
</Box>
|
|
525
|
+
</Box>
|
|
526
|
+
),
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
export const WithExternalLinks = {
|
|
530
|
+
render: (args) => (
|
|
531
|
+
<StoryWrapper>
|
|
532
|
+
<NavSectionVertical {...args} />
|
|
533
|
+
</StoryWrapper>
|
|
534
|
+
),
|
|
535
|
+
args: {
|
|
536
|
+
data: [
|
|
537
|
+
{
|
|
538
|
+
subheader: "Internal Links",
|
|
539
|
+
items: [
|
|
540
|
+
{
|
|
541
|
+
title: "Dashboard",
|
|
542
|
+
path: "/dashboard",
|
|
543
|
+
icon: "material-symbols:dashboard",
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
title: "Settings",
|
|
547
|
+
path: "/settings",
|
|
548
|
+
icon: "material-symbols:settings",
|
|
549
|
+
},
|
|
550
|
+
],
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
subheader: "External Links",
|
|
554
|
+
items: [
|
|
555
|
+
{
|
|
556
|
+
title: "Documentation",
|
|
557
|
+
path: "https://docs.example.com",
|
|
558
|
+
icon: "material-symbols:description",
|
|
559
|
+
external: true,
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
title: "Support",
|
|
563
|
+
path: "https://support.example.com",
|
|
564
|
+
icon: "material-symbols:support",
|
|
565
|
+
external: true,
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
title: "GitHub",
|
|
569
|
+
path: "https://github.com/example/repo",
|
|
570
|
+
icon: "material-symbols:code",
|
|
571
|
+
external: true,
|
|
572
|
+
},
|
|
573
|
+
],
|
|
574
|
+
},
|
|
575
|
+
],
|
|
576
|
+
},
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
export const DarkTheme = {
|
|
580
|
+
render: (args) => (
|
|
581
|
+
<StoryWrapper theme={darkTheme}>
|
|
582
|
+
<NavSectionVertical {...args} />
|
|
583
|
+
</StoryWrapper>
|
|
584
|
+
),
|
|
585
|
+
args: {
|
|
586
|
+
data: mockNavData,
|
|
587
|
+
},
|
|
588
|
+
};
|