@canmingir/link 1.1.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 +49 -0
- package/.gitattributes +1 -0
- package/.github/workflows/publish.yml +9 -0
- package/.prettierignore +1 -0
- package/.prettierrc +10 -0
- package/README.md +1 -0
- package/commands/index.js +111 -0
- package/commands/user.json +34 -0
- package/components/AddItemWizard/AddItemWizard.jsx +211 -0
- package/components/AddItemWizard/index.js +1 -0
- package/components/IconSelector/IconSelector.jsx +88 -0
- package/components/ItemSummary/ItemSummary.jsx +77 -0
- package/components/ItemSummary/ItemsSummary.jsx +163 -0
- package/components/ProjectWizard.jsx +137 -0
- package/components/SparkleInput/SparkleInput.jsx +51 -0
- package/components/StepComponent/StepComponent.jsx +98 -0
- package/components/index.js +2 -0
- package/components/lib/Icons.js +40 -0
- package/components/lib/context.json +272 -0
- package/cypress/cypress.js +12 -0
- package/index.js +1 -0
- package/minimal/.editorconfig +9 -0
- package/minimal/.eslintignore +22 -0
- package/minimal/.prettierignore +9 -0
- package/minimal/.prettierrc +6 -0
- package/minimal/README.md +13 -0
- package/minimal/index.html +44 -0
- package/minimal/jsconfig.json +5 -0
- package/minimal/package-lock.json +20845 -0
- package/minimal/package.json +104 -0
- package/minimal/public/_redirects +1 -0
- package/minimal/public/assets/background/overlay_1.svg +1 -0
- package/minimal/public/assets/background/overlay_2.jpg +0 -0
- package/minimal/public/assets/background/overlay_3.jpg +0 -0
- package/minimal/public/assets/background/overlay_4.jpg +0 -0
- package/minimal/public/assets/cyan-blur.png +0 -0
- package/minimal/public/assets/icons/app/ic_chrome.svg +6 -0
- package/minimal/public/assets/icons/app/ic_drive.svg +5 -0
- package/minimal/public/assets/icons/app/ic_dropbox.svg +3 -0
- package/minimal/public/assets/icons/app/ic_evernote.svg +3 -0
- package/minimal/public/assets/icons/app/ic_github.svg +3 -0
- package/minimal/public/assets/icons/app/ic_onedrive.svg +4 -0
- package/minimal/public/assets/icons/auth/ic_amplify.svg +12 -0
- package/minimal/public/assets/icons/auth/ic_auth0.svg +5 -0
- package/minimal/public/assets/icons/auth/ic_firebase.svg +12 -0
- package/minimal/public/assets/icons/auth/ic_jwt.svg +15 -0
- package/minimal/public/assets/icons/brands/ic_brand_amazon.svg +3 -0
- package/minimal/public/assets/icons/brands/ic_brand_hbo.svg +3 -0
- package/minimal/public/assets/icons/brands/ic_brand_ibm.svg +3 -0
- package/minimal/public/assets/icons/brands/ic_brand_lya.svg +3 -0
- package/minimal/public/assets/icons/brands/ic_brand_netflix.svg +3 -0
- package/minimal/public/assets/icons/brands/ic_brand_spotify.svg +3 -0
- package/minimal/public/assets/icons/components/ic_accordion.svg +11 -0
- package/minimal/public/assets/icons/components/ic_alert.svg +6 -0
- package/minimal/public/assets/icons/components/ic_autocomplete.svg +8 -0
- package/minimal/public/assets/icons/components/ic_avatar.svg +4 -0
- package/minimal/public/assets/icons/components/ic_badge.svg +7 -0
- package/minimal/public/assets/icons/components/ic_breadcrumbs.svg +4 -0
- package/minimal/public/assets/icons/components/ic_buttons.svg +4 -0
- package/minimal/public/assets/icons/components/ic_checkbox.svg +4 -0
- package/minimal/public/assets/icons/components/ic_chip.svg +5 -0
- package/minimal/public/assets/icons/components/ic_colors.svg +5 -0
- package/minimal/public/assets/icons/components/ic_data_grid.svg +12 -0
- package/minimal/public/assets/icons/components/ic_dialog.svg +8 -0
- package/minimal/public/assets/icons/components/ic_extra_animate.svg +26 -0
- package/minimal/public/assets/icons/components/ic_extra_carousel.svg +98 -0
- package/minimal/public/assets/icons/components/ic_extra_chart.svg +60 -0
- package/minimal/public/assets/icons/components/ic_extra_copy_to_clipboard.svg +24 -0
- package/minimal/public/assets/icons/components/ic_extra_editor.svg +45 -0
- package/minimal/public/assets/icons/components/ic_extra_form_validation.svg +112 -0
- package/minimal/public/assets/icons/components/ic_extra_image.svg +59 -0
- package/minimal/public/assets/icons/components/ic_extra_label.svg +40 -0
- package/minimal/public/assets/icons/components/ic_extra_lightbox.svg +97 -0
- package/minimal/public/assets/icons/components/ic_extra_map.svg +60 -0
- package/minimal/public/assets/icons/components/ic_extra_markdown.svg +40 -0
- package/minimal/public/assets/icons/components/ic_extra_mega_menu.svg +120 -0
- package/minimal/public/assets/icons/components/ic_extra_multi_language.svg +59 -0
- package/minimal/public/assets/icons/components/ic_extra_navigation_bar.svg +122 -0
- package/minimal/public/assets/icons/components/ic_extra_organization_chart.svg +101 -0
- package/minimal/public/assets/icons/components/ic_extra_scroll.svg +67 -0
- package/minimal/public/assets/icons/components/ic_extra_scroll_progress.svg +46 -0
- package/minimal/public/assets/icons/components/ic_extra_snackbar.svg +47 -0
- package/minimal/public/assets/icons/components/ic_extra_text_max_line.svg +100 -0
- package/minimal/public/assets/icons/components/ic_extra_upload.svg +40 -0
- package/minimal/public/assets/icons/components/ic_grid.svg +8 -0
- package/minimal/public/assets/icons/components/ic_icons.svg +4 -0
- package/minimal/public/assets/icons/components/ic_list.svg +12 -0
- package/minimal/public/assets/icons/components/ic_menu.svg +7 -0
- package/minimal/public/assets/icons/components/ic_pagination.svg +6 -0
- package/minimal/public/assets/icons/components/ic_pickers.svg +18 -0
- package/minimal/public/assets/icons/components/ic_popover.svg +6 -0
- package/minimal/public/assets/icons/components/ic_progress.svg +4 -0
- package/minimal/public/assets/icons/components/ic_radio_button.svg +4 -0
- package/minimal/public/assets/icons/components/ic_rating.svg +9 -0
- package/minimal/public/assets/icons/components/ic_shadows.svg +4 -0
- package/minimal/public/assets/icons/components/ic_slider.svg +5 -0
- package/minimal/public/assets/icons/components/ic_stepper.svg +6 -0
- package/minimal/public/assets/icons/components/ic_switch.svg +4 -0
- package/minimal/public/assets/icons/components/ic_table.svg +10 -0
- package/minimal/public/assets/icons/components/ic_tabs.svg +5 -0
- package/minimal/public/assets/icons/components/ic_textfield.svg +5 -0
- package/minimal/public/assets/icons/components/ic_timeline.svg +12 -0
- package/minimal/public/assets/icons/components/ic_tooltip.svg +7 -0
- package/minimal/public/assets/icons/components/ic_transfer_list.svg +13 -0
- package/minimal/public/assets/icons/components/ic_tree_view.svg +11 -0
- package/minimal/public/assets/icons/components/ic_typography.svg +4 -0
- package/minimal/public/assets/icons/empty/ic_cart.svg +76 -0
- package/minimal/public/assets/icons/empty/ic_content.svg +57 -0
- package/minimal/public/assets/icons/empty/ic_email_disabled.svg +44 -0
- package/minimal/public/assets/icons/empty/ic_email_selected.svg +57 -0
- package/minimal/public/assets/icons/empty/ic_folder_empty.svg +32 -0
- package/minimal/public/assets/icons/empty/ic_mail.svg +56 -0
- package/minimal/public/assets/icons/faqs/ic_account.svg +34 -0
- package/minimal/public/assets/icons/faqs/ic_assurances.svg +33 -0
- package/minimal/public/assets/icons/faqs/ic_delivery.svg +30 -0
- package/minimal/public/assets/icons/faqs/ic_package.svg +29 -0
- package/minimal/public/assets/icons/faqs/ic_payment.svg +33 -0
- package/minimal/public/assets/icons/faqs/ic_refund.svg +31 -0
- package/minimal/public/assets/icons/files/ic_ai.svg +25 -0
- package/minimal/public/assets/icons/files/ic_audio.svg +24 -0
- package/minimal/public/assets/icons/files/ic_document.svg +19 -0
- package/minimal/public/assets/icons/files/ic_excel.svg +19 -0
- package/minimal/public/assets/icons/files/ic_file.svg +18 -0
- package/minimal/public/assets/icons/files/ic_folder.svg +5 -0
- package/minimal/public/assets/icons/files/ic_img.svg +26 -0
- package/minimal/public/assets/icons/files/ic_js.svg +12 -0
- package/minimal/public/assets/icons/files/ic_pdf.svg +19 -0
- package/minimal/public/assets/icons/files/ic_power_point.svg +20 -0
- package/minimal/public/assets/icons/files/ic_pts.svg +25 -0
- package/minimal/public/assets/icons/files/ic_txt.svg +26 -0
- package/minimal/public/assets/icons/files/ic_video.svg +20 -0
- package/minimal/public/assets/icons/files/ic_word.svg +19 -0
- package/minimal/public/assets/icons/files/ic_zip.svg +27 -0
- package/minimal/public/assets/icons/glass/ic_glass_bag.png +0 -0
- package/minimal/public/assets/icons/glass/ic_glass_buy.png +0 -0
- package/minimal/public/assets/icons/glass/ic_glass_message.png +0 -0
- package/minimal/public/assets/icons/glass/ic_glass_users.png +0 -0
- package/minimal/public/assets/icons/home/ic_design.svg +6 -0
- package/minimal/public/assets/icons/home/ic_development.svg +5 -0
- package/minimal/public/assets/icons/home/ic_make_brand.svg +6 -0
- package/minimal/public/assets/icons/navbar/ic_analytics.svg +8 -0
- package/minimal/public/assets/icons/navbar/ic_banking.svg +10 -0
- package/minimal/public/assets/icons/navbar/ic_blank.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_blog.svg +7 -0
- package/minimal/public/assets/icons/navbar/ic_booking.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_calendar.svg +5 -0
- package/minimal/public/assets/icons/navbar/ic_chat.svg +6 -0
- package/minimal/public/assets/icons/navbar/ic_dashboard.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_disabled.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_ecommerce.svg +5 -0
- package/minimal/public/assets/icons/navbar/ic_external.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_file.svg +6 -0
- package/minimal/public/assets/icons/navbar/ic_folder.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_invoice.svg +5 -0
- package/minimal/public/assets/icons/navbar/ic_job.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_kanban.svg +5 -0
- package/minimal/public/assets/icons/navbar/ic_label.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_lock.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_mail.svg +6 -0
- package/minimal/public/assets/icons/navbar/ic_menu_item.svg +5 -0
- package/minimal/public/assets/icons/navbar/ic_order.svg +7 -0
- package/minimal/public/assets/icons/navbar/ic_product.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_tour.svg +4 -0
- package/minimal/public/assets/icons/navbar/ic_user.svg +4 -0
- package/minimal/public/assets/icons/notification/ic_chat.svg +28 -0
- package/minimal/public/assets/icons/notification/ic_delivery.svg +20 -0
- package/minimal/public/assets/icons/notification/ic_mail.svg +15 -0
- package/minimal/public/assets/icons/notification/ic_order.svg +45 -0
- package/minimal/public/assets/icons/platforms/ic_figma.svg +7 -0
- package/minimal/public/assets/icons/platforms/ic_js.svg +4 -0
- package/minimal/public/assets/icons/platforms/ic_nextjs.svg +3 -0
- package/minimal/public/assets/icons/platforms/ic_ts.svg +4 -0
- package/minimal/public/assets/icons/platforms/ic_vite.svg +15 -0
- package/minimal/public/assets/icons/setting/ic_align_left.svg +7 -0
- package/minimal/public/assets/icons/setting/ic_align_right.svg +7 -0
- package/minimal/public/assets/icons/setting/ic_collapse.svg +4 -0
- package/minimal/public/assets/icons/setting/ic_contrast.svg +5 -0
- package/minimal/public/assets/icons/setting/ic_contrast_bold.svg +4 -0
- package/minimal/public/assets/icons/setting/ic_exit_full_screen.svg +6 -0
- package/minimal/public/assets/icons/setting/ic_full_screen.svg +6 -0
- package/minimal/public/assets/icons/setting/ic_moon.svg +4 -0
- package/minimal/public/assets/icons/setting/ic_setting.svg +6 -0
- package/minimal/public/assets/icons/setting/ic_sun.svg +13 -0
- package/minimal/public/assets/illustrations/characters/character_1.png +0 -0
- package/minimal/public/assets/illustrations/characters/character_10.png +0 -0
- package/minimal/public/assets/illustrations/characters/character_11.png +0 -0
- package/minimal/public/assets/illustrations/characters/character_2.png +0 -0
- package/minimal/public/assets/illustrations/characters/character_3.png +0 -0
- package/minimal/public/assets/illustrations/characters/character_4.png +0 -0
- package/minimal/public/assets/illustrations/characters/character_5.png +0 -0
- package/minimal/public/assets/illustrations/characters/character_6.png +0 -0
- package/minimal/public/assets/illustrations/characters/character_7.png +0 -0
- package/minimal/public/assets/illustrations/characters/character_8.png +0 -0
- package/minimal/public/assets/illustrations/characters/character_9.png +0 -0
- package/minimal/public/assets/illustrations/illustration_dashboard.png +0 -0
- package/minimal/public/assets/images/about/hero.jpg +0 -0
- package/minimal/public/assets/images/about/testimonials.jpg +0 -0
- package/minimal/public/assets/images/about/vision.jpg +0 -0
- package/minimal/public/assets/images/about/what_1.png +0 -0
- package/minimal/public/assets/images/about/what_2.png +0 -0
- package/minimal/public/assets/images/contact/hero.jpg +0 -0
- package/minimal/public/assets/images/faqs/hero.jpg +0 -0
- package/minimal/public/assets/images/home/clean/page_1.webp +0 -0
- package/minimal/public/assets/images/home/clean/page_10.webp +0 -0
- package/minimal/public/assets/images/home/clean/page_2.webp +0 -0
- package/minimal/public/assets/images/home/clean/page_3.webp +0 -0
- package/minimal/public/assets/images/home/clean/page_4.webp +0 -0
- package/minimal/public/assets/images/home/clean/page_5.webp +0 -0
- package/minimal/public/assets/images/home/clean/page_6.webp +0 -0
- package/minimal/public/assets/images/home/clean/page_7.webp +0 -0
- package/minimal/public/assets/images/home/clean/page_8.webp +0 -0
- package/minimal/public/assets/images/home/clean/page_9.webp +0 -0
- package/minimal/public/assets/images/home/darkmode.webp +0 -0
- package/minimal/public/assets/images/home/for_designer.webp +0 -0
- package/minimal/public/assets/images/home/hero/dark_1.webp +0 -0
- package/minimal/public/assets/images/home/hero/dark_2.webp +0 -0
- package/minimal/public/assets/images/home/hero/light_1.webp +0 -0
- package/minimal/public/assets/images/home/hero/light_2.webp +0 -0
- package/minimal/public/assets/images/home/presets/block_blue.webp +0 -0
- package/minimal/public/assets/images/home/presets/block_cyan.webp +0 -0
- package/minimal/public/assets/images/home/presets/block_default.webp +0 -0
- package/minimal/public/assets/images/home/presets/block_orange.webp +0 -0
- package/minimal/public/assets/images/home/presets/block_purple.webp +0 -0
- package/minimal/public/assets/images/home/presets/block_red.webp +0 -0
- package/minimal/public/assets/images/home/presets/chart_blue.webp +0 -0
- package/minimal/public/assets/images/home/presets/chart_cyan.webp +0 -0
- package/minimal/public/assets/images/home/presets/chart_default.webp +0 -0
- package/minimal/public/assets/images/home/presets/chart_orange.webp +0 -0
- package/minimal/public/assets/images/home/presets/chart_purple.webp +0 -0
- package/minimal/public/assets/images/home/presets/chart_red.webp +0 -0
- package/minimal/public/assets/images/home/presets/grid.webp +0 -0
- package/minimal/public/assets/images/home/presets/screen_blue.webp +0 -0
- package/minimal/public/assets/images/home/presets/screen_cyan.webp +0 -0
- package/minimal/public/assets/images/home/presets/screen_default.webp +0 -0
- package/minimal/public/assets/images/home/presets/screen_orange.webp +0 -0
- package/minimal/public/assets/images/home/presets/screen_purple.webp +0 -0
- package/minimal/public/assets/images/home/presets/screen_red.webp +0 -0
- package/minimal/public/assets/images/home/presets/sidebar_blue.webp +0 -0
- package/minimal/public/assets/images/home/presets/sidebar_cyan.webp +0 -0
- package/minimal/public/assets/images/home/presets/sidebar_default.webp +0 -0
- package/minimal/public/assets/images/home/presets/sidebar_orange.webp +0 -0
- package/minimal/public/assets/images/home/presets/sidebar_purple.webp +0 -0
- package/minimal/public/assets/images/home/presets/sidebar_red.webp +0 -0
- package/minimal/public/assets/images/home/rocket.webp +0 -0
- package/minimal/public/assets/images/home/zone_landing.webp +0 -0
- package/minimal/public/assets/placeholder.svg +8 -0
- package/minimal/public/assets/red-blur.png +0 -0
- package/minimal/public/assets/transparent.png +0 -0
- package/minimal/public/favicon/android-chrome-192x192.png +0 -0
- package/minimal/public/favicon/android-chrome-512x512.png +0 -0
- package/minimal/public/favicon/apple-touch-icon.png +0 -0
- package/minimal/public/favicon/favicon-16x16.png +0 -0
- package/minimal/public/favicon/favicon-32x32.png +0 -0
- package/minimal/public/favicon/favicon.ico +0 -0
- package/minimal/public/fonts/CircularStd-Bold.otf +0 -0
- package/minimal/public/fonts/CircularStd-Book.otf +0 -0
- package/minimal/public/fonts/CircularStd-Medium.otf +0 -0
- package/minimal/public/fonts/Roboto-Bold.ttf +0 -0
- package/minimal/public/fonts/Roboto-Regular.ttf +0 -0
- package/minimal/public/fonts/index.css +22 -0
- package/minimal/public/logo/logo_full.svg +1 -0
- package/minimal/public/logo/logo_single.png +0 -0
- package/minimal/public/logo/logo_single.svg +1 -0
- package/minimal/public/manifest.json +20 -0
- package/minimal/public/robots.txt +3 -0
- package/minimal/src/_mock/_blog.js +16 -0
- package/minimal/src/_mock/_calendar.js +14 -0
- package/minimal/src/_mock/_files.js +123 -0
- package/minimal/src/_mock/_invoice.js +65 -0
- package/minimal/src/_mock/_job.js +172 -0
- package/minimal/src/_mock/_mock.js +75 -0
- package/minimal/src/_mock/_order.js +95 -0
- package/minimal/src/_mock/_others.js +253 -0
- package/minimal/src/_mock/_overview.js +330 -0
- package/minimal/src/_mock/_product.js +88 -0
- package/minimal/src/_mock/_tour.js +150 -0
- package/minimal/src/_mock/_user.js +157 -0
- package/minimal/src/_mock/assets.js +527 -0
- package/minimal/src/_mock/index.js +16 -0
- package/minimal/src/_mock/map/cities.js +182 -0
- package/minimal/src/_mock/map/countries.js +86 -0
- package/minimal/src/_mock/map/map-style-basic-v8.json +554 -0
- package/minimal/src/api/blog.js +89 -0
- package/minimal/src/api/calendar.js +115 -0
- package/minimal/src/api/chat.js +206 -0
- package/minimal/src/api/kanban.js +401 -0
- package/minimal/src/api/mail.js +72 -0
- package/minimal/src/api/product.js +68 -0
- package/minimal/src/app.jsx +74 -0
- package/minimal/src/assets/data/countries.js +425 -0
- package/minimal/src/assets/data/index.js +1 -0
- package/minimal/src/assets/icons/email-inbox-icon.jsx +140 -0
- package/minimal/src/assets/icons/index.js +6 -0
- package/minimal/src/assets/icons/password-icon.jsx +107 -0
- package/minimal/src/assets/icons/plan-free-icon.jsx +49 -0
- package/minimal/src/assets/icons/plan-premium-icon.jsx +86 -0
- package/minimal/src/assets/icons/plan-starter-icon.jsx +73 -0
- package/minimal/src/assets/icons/sent-icon.jsx +73 -0
- package/minimal/src/assets/illustrations/avatar-shape.jsx +36 -0
- package/minimal/src/assets/illustrations/background-shape.jsx +31 -0
- package/minimal/src/assets/illustrations/booking-illustration.jsx +307 -0
- package/minimal/src/assets/illustrations/check-in-illustration.jsx +96 -0
- package/minimal/src/assets/illustrations/check-out-illustration.jsx +69 -0
- package/minimal/src/assets/illustrations/coming-soon-illustration.jsx +118 -0
- package/minimal/src/assets/illustrations/forbidden-illustration.jsx +88 -0
- package/minimal/src/assets/illustrations/index.js +15 -0
- package/minimal/src/assets/illustrations/maintenance-illustration.jsx +215 -0
- package/minimal/src/assets/illustrations/motivation-illustration.jsx +70 -0
- package/minimal/src/assets/illustrations/order-complete-illustration.jsx +122 -0
- package/minimal/src/assets/illustrations/page-not-found-illustration.jsx +74 -0
- package/minimal/src/assets/illustrations/seo-illustration.jsx +234 -0
- package/minimal/src/assets/illustrations/sever-error-illustration.jsx +148 -0
- package/minimal/src/assets/illustrations/upgrade-storage-illustration.jsx +157 -0
- package/minimal/src/assets/illustrations/upload-illustration.jsx +617 -0
- package/minimal/src/auth/context/amplify/auth-consumer.jsx +19 -0
- package/minimal/src/auth/context/amplify/auth-context.js +5 -0
- package/minimal/src/auth/context/amplify/auth-provider.jsx +183 -0
- package/minimal/src/auth/context/amplify/index.js +3 -0
- package/minimal/src/auth/context/auth0/auth-consumer.jsx +19 -0
- package/minimal/src/auth/context/auth0/auth-context.js +5 -0
- package/minimal/src/auth/context/auth0/auth-provider.jsx +101 -0
- package/minimal/src/auth/context/auth0/index.js +3 -0
- package/minimal/src/auth/context/firebase/auth-consumer.jsx +19 -0
- package/minimal/src/auth/context/firebase/auth-context.js +5 -0
- package/minimal/src/auth/context/firebase/auth-provider.jsx +202 -0
- package/minimal/src/auth/context/firebase/index.js +3 -0
- package/minimal/src/auth/context/jwt/auth-consumer.jsx +19 -0
- package/minimal/src/auth/context/jwt/auth-context.js +5 -0
- package/minimal/src/auth/context/jwt/auth-provider.jsx +184 -0
- package/minimal/src/auth/context/jwt/index.js +3 -0
- package/minimal/src/auth/context/jwt/utils.js +74 -0
- package/minimal/src/auth/guard/auth-guard.jsx +71 -0
- package/minimal/src/auth/guard/guest-guard.jsx +49 -0
- package/minimal/src/auth/guard/index.js +3 -0
- package/minimal/src/auth/guard/role-based-guard.jsx +57 -0
- package/minimal/src/auth/hooks/index.js +1 -0
- package/minimal/src/auth/hooks/use-auth-context.js +16 -0
- package/minimal/src/components/animate/index.js +6 -0
- package/minimal/src/components/animate/motion-container.jsx +43 -0
- package/minimal/src/components/animate/motion-lazy.jsx +16 -0
- package/minimal/src/components/animate/motion-viewport.jsx +36 -0
- package/minimal/src/components/animate/variants/actions.js +6 -0
- package/minimal/src/components/animate/variants/background.js +103 -0
- package/minimal/src/components/animate/variants/bounce.js +111 -0
- package/minimal/src/components/animate/variants/container.js +22 -0
- package/minimal/src/components/animate/variants/fade.js +131 -0
- package/minimal/src/components/animate/variants/flip.js +58 -0
- package/minimal/src/components/animate/variants/index.js +12 -0
- package/minimal/src/components/animate/variants/path.js +14 -0
- package/minimal/src/components/animate/variants/rotate.js +37 -0
- package/minimal/src/components/animate/variants/scale.js +58 -0
- package/minimal/src/components/animate/variants/slide.js +69 -0
- package/minimal/src/components/animate/variants/transition.js +22 -0
- package/minimal/src/components/animate/variants/zoom.js +134 -0
- package/minimal/src/components/carousel/arrow-icons.jsx +42 -0
- package/minimal/src/components/carousel/carousel-arrow-index.jsx +69 -0
- package/minimal/src/components/carousel/carousel-arrows.jsx +127 -0
- package/minimal/src/components/carousel/carousel-dots.jsx +85 -0
- package/minimal/src/components/carousel/index.js +9 -0
- package/minimal/src/components/carousel/use-carousel.js +65 -0
- package/minimal/src/components/chart/chart.js +67 -0
- package/minimal/src/components/chart/index.js +5 -0
- package/minimal/src/components/chart/use-chart.js +216 -0
- package/minimal/src/components/color-utils/color-picker.jsx +111 -0
- package/minimal/src/components/color-utils/color-preview.jsx +42 -0
- package/minimal/src/components/color-utils/index.js +2 -0
- package/minimal/src/components/custom-breadcrumbs/custom-breadcrumbs.jsx +97 -0
- package/minimal/src/components/custom-breadcrumbs/index.js +1 -0
- package/minimal/src/components/custom-breadcrumbs/link-item.jsx +62 -0
- package/minimal/src/components/custom-date-range-picker/custom-date-range-picker.jsx +130 -0
- package/minimal/src/components/custom-date-range-picker/index.js +5 -0
- package/minimal/src/components/custom-date-range-picker/use-date-range-picker.js +65 -0
- package/minimal/src/components/custom-date-range-picker/utils.js +32 -0
- package/minimal/src/components/custom-dialog/confirm-dialog.jsx +35 -0
- package/minimal/src/components/custom-dialog/index.js +1 -0
- package/minimal/src/components/custom-popover/custom-popover.jsx +72 -0
- package/minimal/src/components/custom-popover/index.js +3 -0
- package/minimal/src/components/custom-popover/styles.js +82 -0
- package/minimal/src/components/custom-popover/use-popover.js +22 -0
- package/minimal/src/components/custom-popover/utils.js +100 -0
- package/minimal/src/components/editor/editor.jsx +71 -0
- package/minimal/src/components/editor/index.js +1 -0
- package/minimal/src/components/editor/styles.js +180 -0
- package/minimal/src/components/editor/toolbar.jsx +108 -0
- package/minimal/src/components/empty-content/empty-content.jsx +63 -0
- package/minimal/src/components/empty-content/index.js +1 -0
- package/minimal/src/components/file-thumbnail/download-button.jsx +49 -0
- package/minimal/src/components/file-thumbnail/file-thumbnail.jsx +78 -0
- package/minimal/src/components/file-thumbnail/index.js +5 -0
- package/minimal/src/components/file-thumbnail/utils.js +148 -0
- package/minimal/src/components/hook-form/form-provider.jsx +18 -0
- package/minimal/src/components/hook-form/index.js +13 -0
- package/minimal/src/components/hook-form/rhf-autocomplete.jsx +41 -0
- package/minimal/src/components/hook-form/rhf-checkbox.jsx +113 -0
- package/minimal/src/components/hook-form/rhf-code.jsx +43 -0
- package/minimal/src/components/hook-form/rhf-editor.jsx +56 -0
- package/minimal/src/components/hook-form/rhf-radio-group.jsx +78 -0
- package/minimal/src/components/hook-form/rhf-select.jsx +151 -0
- package/minimal/src/components/hook-form/rhf-slider.jsx +32 -0
- package/minimal/src/components/hook-form/rhf-switch.jsx +33 -0
- package/minimal/src/components/hook-form/rhf-text-field.jsx +41 -0
- package/minimal/src/components/hook-form/rhf-upload.jsx +105 -0
- package/minimal/src/components/iconify/iconify.jsx +26 -0
- package/minimal/src/components/iconify/index.js +1 -0
- package/minimal/src/components/image/image.jsx +141 -0
- package/minimal/src/components/image/index.js +1 -0
- package/minimal/src/components/image/utils.js +15 -0
- package/minimal/src/components/index.js +214 -0
- package/minimal/src/components/label/index.js +1 -0
- package/minimal/src/components/label/label.jsx +61 -0
- package/minimal/src/components/label/styles.js +77 -0
- package/minimal/src/components/lightbox/index.js +5 -0
- package/minimal/src/components/lightbox/lightbox.jsx +152 -0
- package/minimal/src/components/lightbox/styles.jsx +52 -0
- package/minimal/src/components/lightbox/use-light-box.js +30 -0
- package/minimal/src/components/loading-screen/index.js +2 -0
- package/minimal/src/components/loading-screen/loading-screen.jsx +30 -0
- package/minimal/src/components/loading-screen/splash-screen.jsx +100 -0
- package/minimal/src/components/logo/index.js +1 -0
- package/minimal/src/components/logo/logo.jsx +95 -0
- package/minimal/src/components/map/index.js +5 -0
- package/minimal/src/components/map/map-control.jsx +36 -0
- package/minimal/src/components/map/map-marker.jsx +33 -0
- package/minimal/src/components/map/map-popup.jsx +18 -0
- package/minimal/src/components/map/styles.jsx +107 -0
- package/minimal/src/components/markdown/index.js +1 -0
- package/minimal/src/components/markdown/markdown.jsx +51 -0
- package/minimal/src/components/markdown/styles.js +146 -0
- package/minimal/src/components/mega-menu/common/menu-more-link.jsx +33 -0
- package/minimal/src/components/mega-menu/common/menu-products.jsx +81 -0
- package/minimal/src/components/mega-menu/common/menu-tags.jsx +47 -0
- package/minimal/src/components/mega-menu/common/nav-sub-list.jsx +64 -0
- package/minimal/src/components/mega-menu/horizontal/mega-menu-desktop-horizontal.jsx +33 -0
- package/minimal/src/components/mega-menu/horizontal/nav-item.jsx +104 -0
- package/minimal/src/components/mega-menu/horizontal/nav-list.jsx +169 -0
- package/minimal/src/components/mega-menu/index.js +3 -0
- package/minimal/src/components/mega-menu/mobile/mega-menu-mobile.jsx +22 -0
- package/minimal/src/components/mega-menu/mobile/nav-item.jsx +95 -0
- package/minimal/src/components/mega-menu/mobile/nav-list.jsx +218 -0
- package/minimal/src/components/mega-menu/vertical/mega-menu-desktop-vertical.jsx +31 -0
- package/minimal/src/components/mega-menu/vertical/nav-item.jsx +99 -0
- package/minimal/src/components/mega-menu/vertical/nav-list.jsx +124 -0
- package/minimal/src/components/nav-basic/desktop/nav-basic-desktop.jsx +25 -0
- package/minimal/src/components/nav-basic/desktop/nav-item.jsx +166 -0
- package/minimal/src/components/nav-basic/desktop/nav-list.jsx +122 -0
- package/minimal/src/components/nav-basic/index.js +2 -0
- package/minimal/src/components/nav-basic/mobile/nav-basic-mobile.jsx +25 -0
- package/minimal/src/components/nav-basic/mobile/nav-item.jsx +171 -0
- package/minimal/src/components/nav-basic/mobile/nav-list.jsx +87 -0
- package/minimal/src/components/nav-section/horizontal/index.js +1 -0
- package/minimal/src/components/nav-section/horizontal/nav-item.jsx +246 -0
- package/minimal/src/components/nav-section/horizontal/nav-list.jsx +126 -0
- package/minimal/src/components/nav-section/horizontal/nav-section-horizontal.jsx +54 -0
- package/minimal/src/components/nav-section/index.js +3 -0
- package/minimal/src/components/nav-section/mini/index.js +1 -0
- package/minimal/src/components/nav-section/mini/nav-item.jsx +260 -0
- package/minimal/src/components/nav-section/mini/nav-list.jsx +119 -0
- package/minimal/src/components/nav-section/mini/nav-section-mini.jsx +42 -0
- package/minimal/src/components/nav-section/vertical/index.js +1 -0
- package/minimal/src/components/nav-section/vertical/nav-item.jsx +298 -0
- package/minimal/src/components/nav-section/vertical/nav-list.jsx +95 -0
- package/minimal/src/components/nav-section/vertical/nav-section-vertical.jsx +89 -0
- package/minimal/src/components/organizational-chart/common/group-node.jsx +115 -0
- package/minimal/src/components/organizational-chart/common/simple-node.jsx +32 -0
- package/minimal/src/components/organizational-chart/common/standard-node.jsx +95 -0
- package/minimal/src/components/organizational-chart/index.js +1 -0
- package/minimal/src/components/organizational-chart/organizational-chart.jsx +106 -0
- package/minimal/src/components/progress-bar/index.js +3 -0
- package/minimal/src/components/progress-bar/progress-bar.jsx +48 -0
- package/minimal/src/components/progress-bar/styles.jsx +40 -0
- package/minimal/src/components/scroll-progress/index.js +1 -0
- package/minimal/src/components/scroll-progress/scroll-progress.jsx +58 -0
- package/minimal/src/components/scrollbar/index.js +1 -0
- package/minimal/src/components/scrollbar/scrollbar.jsx +44 -0
- package/minimal/src/components/scrollbar/styles.js +26 -0
- package/minimal/src/components/search-not-found/index.js +1 -0
- package/minimal/src/components/search-not-found/search-not-found.jsx +38 -0
- package/minimal/src/components/settings/context/index.js +2 -0
- package/minimal/src/components/settings/context/settings-context.js +13 -0
- package/minimal/src/components/settings/context/settings-provider.jsx +80 -0
- package/minimal/src/components/settings/drawer/base-option.jsx +59 -0
- package/minimal/src/components/settings/drawer/fullscreen-option.jsx +57 -0
- package/minimal/src/components/settings/drawer/index.js +1 -0
- package/minimal/src/components/settings/drawer/layout-options.jsx +153 -0
- package/minimal/src/components/settings/drawer/presets-options.jsx +55 -0
- package/minimal/src/components/settings/drawer/settings-drawer.jsx +193 -0
- package/minimal/src/components/settings/drawer/stretch-options.jsx +70 -0
- package/minimal/src/components/settings/index.js +3 -0
- package/minimal/src/components/snackbar/index.js +3 -0
- package/minimal/src/components/snackbar/snackbar-provider.jsx +73 -0
- package/minimal/src/components/snackbar/styles.js +47 -0
- package/minimal/src/components/svg-color/index.js +1 -0
- package/minimal/src/components/svg-color/svg-color.jsx +31 -0
- package/minimal/src/components/table/index.js +10 -0
- package/minimal/src/components/table/table-empty-rows.jsx +29 -0
- package/minimal/src/components/table/table-head-custom.jsx +90 -0
- package/minimal/src/components/table/table-no-data.jsx +34 -0
- package/minimal/src/components/table/table-pagination-custom.jsx +51 -0
- package/minimal/src/components/table/table-selected-action.jsx +75 -0
- package/minimal/src/components/table/table-skeleton.jsx +23 -0
- package/minimal/src/components/table/use-table.js +123 -0
- package/minimal/src/components/table/utils.js +27 -0
- package/minimal/src/components/text-max-line/index.js +3 -0
- package/minimal/src/components/text-max-line/text-max-line.jsx +67 -0
- package/minimal/src/components/text-max-line/use-typography.js +38 -0
- package/minimal/src/components/upload/errors-rejection-files.jsx +55 -0
- package/minimal/src/components/upload/index.js +8 -0
- package/minimal/src/components/upload/preview-multi-file.jsx +121 -0
- package/minimal/src/components/upload/preview-single-file.jsx +36 -0
- package/minimal/src/components/upload/upload-avatar.jsx +151 -0
- package/minimal/src/components/upload/upload-box.jsx +65 -0
- package/minimal/src/components/upload/upload.jsx +186 -0
- package/minimal/src/config-global.js +34 -0
- package/minimal/src/global.css +20 -0
- package/minimal/src/hooks/use-boolean.js +27 -0
- package/minimal/src/hooks/use-copy-to-clipboard.js +27 -0
- package/minimal/src/hooks/use-countdown.js +78 -0
- package/minimal/src/hooks/use-debounce.js +19 -0
- package/minimal/src/hooks/use-double-click.js +29 -0
- package/minimal/src/hooks/use-event-listener.js +33 -0
- package/minimal/src/hooks/use-local-storage.js +89 -0
- package/minimal/src/hooks/use-mocked-user.js +34 -0
- package/minimal/src/hooks/use-off-set-top.js +36 -0
- package/minimal/src/hooks/use-responsive.js +47 -0
- package/minimal/src/hooks/use-scroll-to-top.js +14 -0
- package/minimal/src/layouts/auth/classic.jsx +158 -0
- package/minimal/src/layouts/auth/modern-compact.jsx +56 -0
- package/minimal/src/layouts/auth/modern.jsx +95 -0
- package/minimal/src/layouts/common/account-popover.jsx +132 -0
- package/minimal/src/layouts/common/contacts-popover.jsx +73 -0
- package/minimal/src/layouts/common/header-shadow.jsx +31 -0
- package/minimal/src/layouts/common/header-simple.jsx +69 -0
- package/minimal/src/layouts/common/language-popover.jsx +64 -0
- package/minimal/src/layouts/common/login-button.jsx +21 -0
- package/minimal/src/layouts/common/nav-toggle-button.jsx +63 -0
- package/minimal/src/layouts/common/nav-upgrade.jsx +61 -0
- package/minimal/src/layouts/common/notifications-popover/index.jsx +191 -0
- package/minimal/src/layouts/common/notifications-popover/notification-item.jsx +246 -0
- package/minimal/src/layouts/common/searchbar/index.jsx +171 -0
- package/minimal/src/layouts/common/searchbar/result-item.jsx +69 -0
- package/minimal/src/layouts/common/searchbar/utils.js +86 -0
- package/minimal/src/layouts/common/settings-button.jsx +62 -0
- package/minimal/src/layouts/compact/index.jsx +35 -0
- package/minimal/src/layouts/config-layout.js +12 -0
- package/minimal/src/layouts/dashboard/config-navigation.jsx +324 -0
- package/minimal/src/layouts/dashboard/header.jsx +118 -0
- package/minimal/src/layouts/dashboard/index.jsx +88 -0
- package/minimal/src/layouts/dashboard/main.jsx +74 -0
- package/minimal/src/layouts/dashboard/nav-horizontal.jsx +65 -0
- package/minimal/src/layouts/dashboard/nav-mini.jsx +57 -0
- package/minimal/src/layouts/dashboard/nav-vertical.jsx +106 -0
- package/minimal/src/layouts/main/config-navigation.jsx +90 -0
- package/minimal/src/layouts/main/footer.jsx +172 -0
- package/minimal/src/layouts/main/header.jsx +112 -0
- package/minimal/src/layouts/main/index.jsx +40 -0
- package/minimal/src/layouts/main/nav/desktop/index.jsx +21 -0
- package/minimal/src/layouts/main/nav/desktop/nav-item.jsx +184 -0
- package/minimal/src/layouts/main/nav/desktop/nav-list.jsx +158 -0
- package/minimal/src/layouts/main/nav/mobile/index.jsx +67 -0
- package/minimal/src/layouts/main/nav/mobile/nav-item.jsx +90 -0
- package/minimal/src/layouts/main/nav/mobile/nav-list.jsx +83 -0
- package/minimal/src/layouts/simple/index.jsx +19 -0
- package/minimal/src/locales/config-lang.js +79 -0
- package/minimal/src/locales/i18n.js +39 -0
- package/minimal/src/locales/index.js +5 -0
- package/minimal/src/locales/langs/ar.json +54 -0
- package/minimal/src/locales/langs/cn.json +54 -0
- package/minimal/src/locales/langs/en.json +54 -0
- package/minimal/src/locales/langs/fr.json +54 -0
- package/minimal/src/locales/langs/vi.json +54 -0
- package/minimal/src/locales/localization-provider.jsx +22 -0
- package/minimal/src/locales/use-locales.js +44 -0
- package/minimal/src/main.jsx +20 -0
- package/minimal/src/pages/403.jsx +17 -0
- package/minimal/src/pages/404.jsx +17 -0
- package/minimal/src/pages/500.jsx +17 -0
- package/minimal/src/pages/about-us.jsx +17 -0
- package/minimal/src/pages/auth/amplify/forgot-password.jsx +17 -0
- package/minimal/src/pages/auth/amplify/login.jsx +17 -0
- package/minimal/src/pages/auth/amplify/new-password.jsx +17 -0
- package/minimal/src/pages/auth/amplify/register.jsx +17 -0
- package/minimal/src/pages/auth/amplify/verify.jsx +17 -0
- package/minimal/src/pages/auth/auth0/callback.js +6 -0
- package/minimal/src/pages/auth/auth0/login.jsx +17 -0
- package/minimal/src/pages/auth/firebase/forgot-password.jsx +17 -0
- package/minimal/src/pages/auth/firebase/login.jsx +17 -0
- package/minimal/src/pages/auth/firebase/register.jsx +17 -0
- package/minimal/src/pages/auth/firebase/verify.jsx +17 -0
- package/minimal/src/pages/auth/jwt/login.jsx +17 -0
- package/minimal/src/pages/auth/jwt/register.jsx +17 -0
- package/minimal/src/pages/auth-demo/classic/forgot-password.jsx +17 -0
- package/minimal/src/pages/auth-demo/classic/login.jsx +17 -0
- package/minimal/src/pages/auth-demo/classic/new-password.jsx +17 -0
- package/minimal/src/pages/auth-demo/classic/register.jsx +17 -0
- package/minimal/src/pages/auth-demo/classic/verify.jsx +17 -0
- package/minimal/src/pages/auth-demo/modern/forgot-password.jsx +17 -0
- package/minimal/src/pages/auth-demo/modern/login.jsx +17 -0
- package/minimal/src/pages/auth-demo/modern/new-password.jsx +17 -0
- package/minimal/src/pages/auth-demo/modern/register.jsx +17 -0
- package/minimal/src/pages/auth-demo/modern/verify.jsx +17 -0
- package/minimal/src/pages/coming-soon.jsx +17 -0
- package/minimal/src/pages/components/extra/animate.jsx +17 -0
- package/minimal/src/pages/components/extra/carousel.jsx +17 -0
- package/minimal/src/pages/components/extra/chart.jsx +17 -0
- package/minimal/src/pages/components/extra/copy-to-clipboard.jsx +17 -0
- package/minimal/src/pages/components/extra/editor.jsx +17 -0
- package/minimal/src/pages/components/extra/form-validation.jsx +17 -0
- package/minimal/src/pages/components/extra/image.jsx +17 -0
- package/minimal/src/pages/components/extra/label.jsx +17 -0
- package/minimal/src/pages/components/extra/lightbox.jsx +17 -0
- package/minimal/src/pages/components/extra/map.jsx +17 -0
- package/minimal/src/pages/components/extra/markdown.jsx +17 -0
- package/minimal/src/pages/components/extra/mega-menu.jsx +17 -0
- package/minimal/src/pages/components/extra/multi-language.jsx +17 -0
- package/minimal/src/pages/components/extra/navigation-bar.jsx +17 -0
- package/minimal/src/pages/components/extra/organization-chart.jsx +17 -0
- package/minimal/src/pages/components/extra/scroll-progress.jsx +17 -0
- package/minimal/src/pages/components/extra/scroll.jsx +17 -0
- package/minimal/src/pages/components/extra/snackbar.jsx +17 -0
- package/minimal/src/pages/components/extra/text-max-line.jsx +17 -0
- package/minimal/src/pages/components/extra/upload.jsx +17 -0
- package/minimal/src/pages/components/foundation/colors.jsx +17 -0
- package/minimal/src/pages/components/foundation/grid.jsx +17 -0
- package/minimal/src/pages/components/foundation/icons.jsx +17 -0
- package/minimal/src/pages/components/foundation/shadows.jsx +17 -0
- package/minimal/src/pages/components/foundation/typography.jsx +17 -0
- package/minimal/src/pages/components/index.jsx +17 -0
- package/minimal/src/pages/components/mui/accordion.jsx +17 -0
- package/minimal/src/pages/components/mui/alert.jsx +17 -0
- package/minimal/src/pages/components/mui/autocomplete.jsx +17 -0
- package/minimal/src/pages/components/mui/avatar.jsx +17 -0
- package/minimal/src/pages/components/mui/badge.jsx +17 -0
- package/minimal/src/pages/components/mui/breadcrumbs.jsx +17 -0
- package/minimal/src/pages/components/mui/buttons.jsx +17 -0
- package/minimal/src/pages/components/mui/checkbox.jsx +17 -0
- package/minimal/src/pages/components/mui/chip.jsx +17 -0
- package/minimal/src/pages/components/mui/data-grid.jsx +17 -0
- package/minimal/src/pages/components/mui/dialog.jsx +17 -0
- package/minimal/src/pages/components/mui/list.jsx +17 -0
- package/minimal/src/pages/components/mui/menu.jsx +17 -0
- package/minimal/src/pages/components/mui/pagination.jsx +17 -0
- package/minimal/src/pages/components/mui/pickers.jsx +17 -0
- package/minimal/src/pages/components/mui/popover.jsx +17 -0
- package/minimal/src/pages/components/mui/progress.jsx +17 -0
- package/minimal/src/pages/components/mui/radio-button.jsx +17 -0
- package/minimal/src/pages/components/mui/rating.jsx +17 -0
- package/minimal/src/pages/components/mui/slider.jsx +17 -0
- package/minimal/src/pages/components/mui/stepper.jsx +17 -0
- package/minimal/src/pages/components/mui/switch.jsx +17 -0
- package/minimal/src/pages/components/mui/table.jsx +17 -0
- package/minimal/src/pages/components/mui/tabs.jsx +17 -0
- package/minimal/src/pages/components/mui/textfield.jsx +17 -0
- package/minimal/src/pages/components/mui/timeline.jsx +17 -0
- package/minimal/src/pages/components/mui/tooltip.jsx +17 -0
- package/minimal/src/pages/components/mui/transfer-list.jsx +17 -0
- package/minimal/src/pages/contact-us.jsx +17 -0
- package/minimal/src/pages/dashboard/analytics.jsx +17 -0
- package/minimal/src/pages/dashboard/app.jsx +17 -0
- package/minimal/src/pages/dashboard/banking.jsx +17 -0
- package/minimal/src/pages/dashboard/blank.jsx +17 -0
- package/minimal/src/pages/dashboard/booking.jsx +17 -0
- package/minimal/src/pages/dashboard/calendar.jsx +17 -0
- package/minimal/src/pages/dashboard/chat.jsx +17 -0
- package/minimal/src/pages/dashboard/ecommerce.jsx +17 -0
- package/minimal/src/pages/dashboard/file-manager.jsx +17 -0
- package/minimal/src/pages/dashboard/file.jsx +17 -0
- package/minimal/src/pages/dashboard/invoice/details.jsx +23 -0
- package/minimal/src/pages/dashboard/invoice/edit.jsx +23 -0
- package/minimal/src/pages/dashboard/invoice/list.jsx +17 -0
- package/minimal/src/pages/dashboard/invoice/new.jsx +17 -0
- package/minimal/src/pages/dashboard/job/details.jsx +23 -0
- package/minimal/src/pages/dashboard/job/edit.jsx +23 -0
- package/minimal/src/pages/dashboard/job/list.jsx +17 -0
- package/minimal/src/pages/dashboard/job/new.jsx +17 -0
- package/minimal/src/pages/dashboard/kanban.jsx +17 -0
- package/minimal/src/pages/dashboard/mail.jsx +17 -0
- package/minimal/src/pages/dashboard/order/details.jsx +23 -0
- package/minimal/src/pages/dashboard/order/list.jsx +17 -0
- package/minimal/src/pages/dashboard/permission.jsx +17 -0
- package/minimal/src/pages/dashboard/post/details.jsx +23 -0
- package/minimal/src/pages/dashboard/post/edit.jsx +23 -0
- package/minimal/src/pages/dashboard/post/list.jsx +17 -0
- package/minimal/src/pages/dashboard/post/new.jsx +17 -0
- package/minimal/src/pages/dashboard/product/details.jsx +23 -0
- package/minimal/src/pages/dashboard/product/edit.jsx +23 -0
- package/minimal/src/pages/dashboard/product/list.jsx +17 -0
- package/minimal/src/pages/dashboard/product/new.jsx +17 -0
- package/minimal/src/pages/dashboard/tour/details.jsx +23 -0
- package/minimal/src/pages/dashboard/tour/edit.jsx +23 -0
- package/minimal/src/pages/dashboard/tour/list.jsx +17 -0
- package/minimal/src/pages/dashboard/tour/new.jsx +17 -0
- package/minimal/src/pages/dashboard/user/account.jsx +17 -0
- package/minimal/src/pages/dashboard/user/cards.jsx +17 -0
- package/minimal/src/pages/dashboard/user/edit.jsx +23 -0
- package/minimal/src/pages/dashboard/user/list.jsx +17 -0
- package/minimal/src/pages/dashboard/user/new.jsx +17 -0
- package/minimal/src/pages/dashboard/user/profile.jsx +17 -0
- package/minimal/src/pages/faqs.jsx +17 -0
- package/minimal/src/pages/home.jsx +17 -0
- package/minimal/src/pages/maintenance.jsx +17 -0
- package/minimal/src/pages/payment.jsx +17 -0
- package/minimal/src/pages/post/details.jsx +23 -0
- package/minimal/src/pages/post/list.jsx +17 -0
- package/minimal/src/pages/pricing.jsx +17 -0
- package/minimal/src/pages/product/checkout.jsx +17 -0
- package/minimal/src/pages/product/details.jsx +23 -0
- package/minimal/src/pages/product/list.jsx +17 -0
- package/minimal/src/routes/components/index.js +1 -0
- package/minimal/src/routes/components/router-link.jsx +13 -0
- package/minimal/src/routes/hooks/index.js +6 -0
- package/minimal/src/routes/hooks/use-active-link.js +13 -0
- package/minimal/src/routes/hooks/use-params.js +10 -0
- package/minimal/src/routes/hooks/use-pathname.js +10 -0
- package/minimal/src/routes/hooks/use-router.js +21 -0
- package/minimal/src/routes/hooks/use-search-params.js +10 -0
- package/minimal/src/routes/paths.js +180 -0
- package/minimal/src/routes/sections/auth-demo.jsx +112 -0
- package/minimal/src/routes/sections/auth.jsx +175 -0
- package/minimal/src/routes/sections/components.jsx +173 -0
- package/minimal/src/routes/sections/dashboard.jsx +165 -0
- package/minimal/src/routes/sections/index.jsx +50 -0
- package/minimal/src/routes/sections/main.jsx +94 -0
- package/minimal/src/sections/_examples/component-block.jsx +45 -0
- package/minimal/src/sections/_examples/component-card.jsx +54 -0
- package/minimal/src/sections/_examples/component-hero.jsx +80 -0
- package/minimal/src/sections/_examples/config-navigation.js +73 -0
- package/minimal/src/sections/_examples/extra/animate-view/background/container.jsx +42 -0
- package/minimal/src/sections/_examples/extra/animate-view/background/index.jsx +61 -0
- package/minimal/src/sections/_examples/extra/animate-view/background/toolbar.jsx +22 -0
- package/minimal/src/sections/_examples/extra/animate-view/control-panel.jsx +58 -0
- package/minimal/src/sections/_examples/extra/animate-view/dialog/container.jsx +72 -0
- package/minimal/src/sections/_examples/extra/animate-view/dialog/index.jsx +76 -0
- package/minimal/src/sections/_examples/extra/animate-view/get-variant.js +91 -0
- package/minimal/src/sections/_examples/extra/animate-view/index.jsx +78 -0
- package/minimal/src/sections/_examples/extra/animate-view/inview/container.jsx +80 -0
- package/minimal/src/sections/_examples/extra/animate-view/inview/index.jsx +129 -0
- package/minimal/src/sections/_examples/extra/animate-view/inview/toolbar.jsx +57 -0
- package/minimal/src/sections/_examples/extra/animate-view/other/buttons.jsx +86 -0
- package/minimal/src/sections/_examples/extra/animate-view/other/index.jsx +48 -0
- package/minimal/src/sections/_examples/extra/animate-view/other/logo.jsx +60 -0
- package/minimal/src/sections/_examples/extra/animate-view/scroll/container.jsx +60 -0
- package/minimal/src/sections/_examples/extra/animate-view/scroll/index.jsx +80 -0
- package/minimal/src/sections/_examples/extra/animate-view/scroll/toolbar.jsx +29 -0
- package/minimal/src/sections/_examples/extra/carousel-view/carousel-animation.jsx +113 -0
- package/minimal/src/sections/_examples/extra/carousel-view/carousel-basic-1.jsx +35 -0
- package/minimal/src/sections/_examples/extra/carousel-view/carousel-basic-2.jsx +53 -0
- package/minimal/src/sections/_examples/extra/carousel-view/carousel-basic-3.jsx +57 -0
- package/minimal/src/sections/_examples/extra/carousel-view/carousel-basic-4.jsx +89 -0
- package/minimal/src/sections/_examples/extra/carousel-view/carousel-center-mode.jsx +125 -0
- package/minimal/src/sections/_examples/extra/carousel-view/carousel-thumbnail.jsx +160 -0
- package/minimal/src/sections/_examples/extra/carousel-view/index.jsx +124 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-area.jsx +35 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-bar.jsx +43 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-column-multiple.jsx +32 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-column-negative.jsx +77 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-column-single.jsx +34 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-column-stacked.jsx +50 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-donut.jsx +42 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-line.jsx +27 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-mixed.jsx +59 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-pie.jsx +48 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-radar-bar.jsx +73 -0
- package/minimal/src/sections/_examples/extra/chart-view/chart-radial-bar.jsx +73 -0
- package/minimal/src/sections/_examples/extra/chart-view/index.jsx +234 -0
- package/minimal/src/sections/_examples/extra/copy-to-clipboard-view.jsx +115 -0
- package/minimal/src/sections/_examples/extra/editor-view.jsx +95 -0
- package/minimal/src/sections/_examples/extra/form-validation-view/index.jsx +59 -0
- package/minimal/src/sections/_examples/extra/form-validation-view/react-hook-form.jsx +405 -0
- package/minimal/src/sections/_examples/extra/form-validation-view/schema.js +50 -0
- package/minimal/src/sections/_examples/extra/form-validation-view/values-preview.jsx +87 -0
- package/minimal/src/sections/_examples/extra/image-view.jsx +94 -0
- package/minimal/src/sections/_examples/extra/label-view.jsx +116 -0
- package/minimal/src/sections/_examples/extra/lightbox-view.jsx +239 -0
- package/minimal/src/sections/_examples/extra/map-view/change-theme/control-panel.jsx +41 -0
- package/minimal/src/sections/_examples/extra/map-view/change-theme/index.jsx +41 -0
- package/minimal/src/sections/_examples/extra/map-view/clusters/index.jsx +61 -0
- package/minimal/src/sections/_examples/extra/map-view/clusters/layers.js +37 -0
- package/minimal/src/sections/_examples/extra/map-view/draggable-markers/control-panel.jsx +49 -0
- package/minimal/src/sections/_examples/extra/map-view/draggable-markers/index.jsx +56 -0
- package/minimal/src/sections/_examples/extra/map-view/heatmap/control-panel.jsx +91 -0
- package/minimal/src/sections/_examples/extra/map-view/heatmap/index.jsx +94 -0
- package/minimal/src/sections/_examples/extra/map-view/heatmap/map-style.js +40 -0
- package/minimal/src/sections/_examples/extra/map-view/index.jsx +183 -0
- package/minimal/src/sections/_examples/extra/map-view/interaction/control-panel.jsx +85 -0
- package/minimal/src/sections/_examples/extra/map-view/interaction/index.jsx +56 -0
- package/minimal/src/sections/_examples/extra/map-view/map-geo-json-animation.jsx +68 -0
- package/minimal/src/sections/_examples/extra/map-view/map-highlight-by-filter.jsx +83 -0
- package/minimal/src/sections/_examples/extra/map-view/map-markers-popups.jsx +95 -0
- package/minimal/src/sections/_examples/extra/map-view/side-by-side/control-panel.jsx +28 -0
- package/minimal/src/sections/_examples/extra/map-view/side-by-side/index.jsx +106 -0
- package/minimal/src/sections/_examples/extra/map-view/viewport-animation/control-panel.jsx +39 -0
- package/minimal/src/sections/_examples/extra/map-view/viewport-animation/index.jsx +44 -0
- package/minimal/src/sections/_examples/extra/markdown-view.jsx +204 -0
- package/minimal/src/sections/_examples/extra/mega-menu-view.jsx +318 -0
- package/minimal/src/sections/_examples/extra/multi-language-view.jsx +124 -0
- package/minimal/src/sections/_examples/extra/navigation-bar-view.jsx +564 -0
- package/minimal/src/sections/_examples/extra/organizational-chart-view.jsx +206 -0
- package/minimal/src/sections/_examples/extra/scroll-progress-view.jsx +136 -0
- package/minimal/src/sections/_examples/extra/scroll-view.jsx +113 -0
- package/minimal/src/sections/_examples/extra/snackbar-view.jsx +212 -0
- package/minimal/src/sections/_examples/extra/text-max-line-view.jsx +112 -0
- package/minimal/src/sections/_examples/extra/upload-view.jsx +190 -0
- package/minimal/src/sections/_examples/foundation/colors-view.jsx +181 -0
- package/minimal/src/sections/_examples/foundation/grid-view.jsx +154 -0
- package/minimal/src/sections/_examples/foundation/icons-view.jsx +95 -0
- package/minimal/src/sections/_examples/foundation/index.js +5 -0
- package/minimal/src/sections/_examples/foundation/shadows-view.jsx +122 -0
- package/minimal/src/sections/_examples/foundation/typography-view.jsx +153 -0
- package/minimal/src/sections/_examples/mui/accordion-view.jsx +101 -0
- package/minimal/src/sections/_examples/mui/alert-view.jsx +176 -0
- package/minimal/src/sections/_examples/mui/autocomplete-view.jsx +384 -0
- package/minimal/src/sections/_examples/mui/avatar-view.jsx +188 -0
- package/minimal/src/sections/_examples/mui/badge-view.jsx +139 -0
- package/minimal/src/sections/_examples/mui/breadcrumbs-view.jsx +158 -0
- package/minimal/src/sections/_examples/mui/button-view/button-groups.jsx +111 -0
- package/minimal/src/sections/_examples/mui/button-view/button-variants.jsx +144 -0
- package/minimal/src/sections/_examples/mui/button-view/floating-action-button.jsx +198 -0
- package/minimal/src/sections/_examples/mui/button-view/icon-buttons.jsx +90 -0
- package/minimal/src/sections/_examples/mui/button-view/index.jsx +102 -0
- package/minimal/src/sections/_examples/mui/button-view/toggle-buttons.jsx +183 -0
- package/minimal/src/sections/_examples/mui/checkbox-view.jsx +187 -0
- package/minimal/src/sections/_examples/mui/chip-view/chip.jsx +241 -0
- package/minimal/src/sections/_examples/mui/chip-view/index.jsx +72 -0
- package/minimal/src/sections/_examples/mui/data-grid-view/data-grid-basic.jsx +65 -0
- package/minimal/src/sections/_examples/mui/data-grid-view/data-grid-custom.jsx +236 -0
- package/minimal/src/sections/_examples/mui/data-grid-view/index.jsx +95 -0
- package/minimal/src/sections/_examples/mui/dialog-view/alert-dialog.jsx +39 -0
- package/minimal/src/sections/_examples/mui/dialog-view/form-dialog.jsx +52 -0
- package/minimal/src/sections/_examples/mui/dialog-view/full-screen-dialog.jsx +68 -0
- package/minimal/src/sections/_examples/mui/dialog-view/index.jsx +77 -0
- package/minimal/src/sections/_examples/mui/dialog-view/max-width-dialog.jsx +105 -0
- package/minimal/src/sections/_examples/mui/dialog-view/scroll-dialog.jsx +74 -0
- package/minimal/src/sections/_examples/mui/dialog-view/simple-dialog.jsx +69 -0
- package/minimal/src/sections/_examples/mui/dialog-view/transitions-dialog.jsx +49 -0
- package/minimal/src/sections/_examples/mui/list-view.jsx +324 -0
- package/minimal/src/sections/_examples/mui/menu-view.jsx +193 -0
- package/minimal/src/sections/_examples/mui/pagination-view.jsx +126 -0
- package/minimal/src/sections/_examples/mui/picker-view/index.jsx +76 -0
- package/minimal/src/sections/_examples/mui/picker-view/picker-date-range.jsx +91 -0
- package/minimal/src/sections/_examples/mui/picker-view/picker-date-time.jsx +74 -0
- package/minimal/src/sections/_examples/mui/picker-view/picker-date.jsx +140 -0
- package/minimal/src/sections/_examples/mui/picker-view/picker-time.jsx +115 -0
- package/minimal/src/sections/_examples/mui/popover-view.jsx +186 -0
- package/minimal/src/sections/_examples/mui/progress-view/index.jsx +99 -0
- package/minimal/src/sections/_examples/mui/progress-view/progress-circular.jsx +58 -0
- package/minimal/src/sections/_examples/mui/progress-view/progress-linear.jsx +86 -0
- package/minimal/src/sections/_examples/mui/radio-button-view.jsx +117 -0
- package/minimal/src/sections/_examples/mui/rating-view.jsx +184 -0
- package/minimal/src/sections/_examples/mui/slider-view.jsx +204 -0
- package/minimal/src/sections/_examples/mui/stepper-view/customized-steppers.jsx +260 -0
- package/minimal/src/sections/_examples/mui/stepper-view/horizontal-linear-stepper.jsx +125 -0
- package/minimal/src/sections/_examples/mui/stepper-view/index.jsx +95 -0
- package/minimal/src/sections/_examples/mui/stepper-view/linear-alternative-label-stepper.jsx +123 -0
- package/minimal/src/sections/_examples/mui/stepper-view/vertical-linear-stepper.jsx +89 -0
- package/minimal/src/sections/_examples/mui/switch-view.jsx +99 -0
- package/minimal/src/sections/_examples/mui/table-view/basic-table.jsx +56 -0
- package/minimal/src/sections/_examples/mui/table-view/collapsible-table.jsx +143 -0
- package/minimal/src/sections/_examples/mui/table-view/grouping-fixed-header-table.jsx +135 -0
- package/minimal/src/sections/_examples/mui/table-view/index.jsx +75 -0
- package/minimal/src/sections/_examples/mui/table-view/sorting-selecting-table.jsx +187 -0
- package/minimal/src/sections/_examples/mui/table-view/utils.js +24 -0
- package/minimal/src/sections/_examples/mui/tabs-view.jsx +211 -0
- package/minimal/src/sections/_examples/mui/textfield-view/index.jsx +86 -0
- package/minimal/src/sections/_examples/mui/textfield-view/textfield.jsx +278 -0
- package/minimal/src/sections/_examples/mui/timeline-view.jsx +237 -0
- package/minimal/src/sections/_examples/mui/tooltip-view.jsx +184 -0
- package/minimal/src/sections/_examples/mui/transfer-list-view/enhanced-transfer-list.jsx +159 -0
- package/minimal/src/sections/_examples/mui/transfer-list-view/index.jsx +52 -0
- package/minimal/src/sections/_examples/mui/transfer-list-view/simple-transfer-list.jsx +154 -0
- package/minimal/src/sections/_examples/view.jsx +120 -0
- package/minimal/src/sections/about/about-hero.jsx +93 -0
- package/minimal/src/sections/about/about-team.jsx +158 -0
- package/minimal/src/sections/about/about-testimonials.jsx +202 -0
- package/minimal/src/sections/about/about-vision.jsx +105 -0
- package/minimal/src/sections/about/about-what.jsx +133 -0
- package/minimal/src/sections/about/view/about-view.jsx +23 -0
- package/minimal/src/sections/about/view/index.js +1 -0
- package/minimal/src/sections/account/account-billing-address.jsx +130 -0
- package/minimal/src/sections/account/account-billing-history.jsx +78 -0
- package/minimal/src/sections/account/account-billing-payment.jsx +60 -0
- package/minimal/src/sections/account/account-billing-plan.jsx +225 -0
- package/minimal/src/sections/account/account-billing.jsx +35 -0
- package/minimal/src/sections/account/account-change-password.jsx +125 -0
- package/minimal/src/sections/account/account-general.jsx +201 -0
- package/minimal/src/sections/account/account-notifications.jsx +131 -0
- package/minimal/src/sections/account/account-social-links.jsx +87 -0
- package/minimal/src/sections/account/view/index.js +1 -0
- package/minimal/src/sections/account/view/user-account-view.jsx +106 -0
- package/minimal/src/sections/address/address-item.jsx +61 -0
- package/minimal/src/sections/address/address-list-dialog.jsx +165 -0
- package/minimal/src/sections/address/address-new-form.jsx +176 -0
- package/minimal/src/sections/address/index.js +3 -0
- package/minimal/src/sections/auth/amplify/amplify-forgot-password-view.jsx +112 -0
- package/minimal/src/sections/auth/amplify/amplify-login-view.jsx +140 -0
- package/minimal/src/sections/auth/amplify/amplify-new-password-view.jsx +199 -0
- package/minimal/src/sections/auth/amplify/amplify-register-view.jsx +163 -0
- package/minimal/src/sections/auth/amplify/amplify-verify-view.jsx +154 -0
- package/minimal/src/sections/auth/amplify/index.js +5 -0
- package/minimal/src/sections/auth/auth0/auth0-login-view.jsx +120 -0
- package/minimal/src/sections/auth/auth0/index.js +1 -0
- package/minimal/src/sections/auth/firebase/firebase-forgot-password-view.jsx +112 -0
- package/minimal/src/sections/auth/firebase/firebase-login-view.jsx +198 -0
- package/minimal/src/sections/auth/firebase/firebase-register-view.jsx +220 -0
- package/minimal/src/sections/auth/firebase/firebase-verify-view.jsx +56 -0
- package/minimal/src/sections/auth/firebase/index.js +4 -0
- package/minimal/src/sections/auth/jwt/index.js +2 -0
- package/minimal/src/sections/auth/jwt/jwt-login-view.jsx +137 -0
- package/minimal/src/sections/auth/jwt/jwt-register-view.jsx +164 -0
- package/minimal/src/sections/auth-demo/classic/classic-forgot-password-view.jsx +100 -0
- package/minimal/src/sections/auth-demo/classic/classic-login-view.jsx +118 -0
- package/minimal/src/sections/auth-demo/classic/classic-new-password-view.jsx +167 -0
- package/minimal/src/sections/auth-demo/classic/classic-register-view.jsx +140 -0
- package/minimal/src/sections/auth-demo/classic/classic-verify-view.jsx +122 -0
- package/minimal/src/sections/auth-demo/classic/index.js +5 -0
- package/minimal/src/sections/auth-demo/modern/index.js +5 -0
- package/minimal/src/sections/auth-demo/modern/modern-forgot-password-view.jsx +102 -0
- package/minimal/src/sections/auth-demo/modern/modern-login-view.jsx +120 -0
- package/minimal/src/sections/auth-demo/modern/modern-new-password-view.jsx +167 -0
- package/minimal/src/sections/auth-demo/modern/modern-register-view.jsx +142 -0
- package/minimal/src/sections/auth-demo/modern/modern-verify-view.jsx +122 -0
- package/minimal/src/sections/blank/view.jsx +29 -0
- package/minimal/src/sections/blog/post-comment-form.jsx +80 -0
- package/minimal/src/sections/blog/post-comment-item.jsx +88 -0
- package/minimal/src/sections/blog/post-comment-list.jsx +55 -0
- package/minimal/src/sections/blog/post-details-hero.jsx +124 -0
- package/minimal/src/sections/blog/post-details-preview.jsx +96 -0
- package/minimal/src/sections/blog/post-details-toolbar.jsx +111 -0
- package/minimal/src/sections/blog/post-item-horizontal.jsx +183 -0
- package/minimal/src/sections/blog/post-item.jsx +203 -0
- package/minimal/src/sections/blog/post-list-horizontal.jsx +59 -0
- package/minimal/src/sections/blog/post-list.jsx +66 -0
- package/minimal/src/sections/blog/post-new-edit-form.jsx +315 -0
- package/minimal/src/sections/blog/post-search.jsx +129 -0
- package/minimal/src/sections/blog/post-skeleton.jsx +94 -0
- package/minimal/src/sections/blog/post-sort.jsx +56 -0
- package/minimal/src/sections/blog/view/index.js +6 -0
- package/minimal/src/sections/blog/view/post-create-view.jsx +40 -0
- package/minimal/src/sections/blog/view/post-details-home-view.jsx +188 -0
- package/minimal/src/sections/blog/view/post-details-view.jsx +172 -0
- package/minimal/src/sections/blog/view/post-edit-view.jsx +50 -0
- package/minimal/src/sections/blog/view/post-list-home-view.jsx +99 -0
- package/minimal/src/sections/blog/view/post-list-view.jsx +187 -0
- package/minimal/src/sections/calendar/calendar-filters-result.jsx +132 -0
- package/minimal/src/sections/calendar/calendar-filters.jsx +217 -0
- package/minimal/src/sections/calendar/calendar-form.jsx +198 -0
- package/minimal/src/sections/calendar/calendar-toolbar.jsx +141 -0
- package/minimal/src/sections/calendar/hooks/index.js +2 -0
- package/minimal/src/sections/calendar/hooks/use-calendar.js +168 -0
- package/minimal/src/sections/calendar/hooks/use-event.js +33 -0
- package/minimal/src/sections/calendar/styles.js +163 -0
- package/minimal/src/sections/calendar/view/calendar-view.jsx +265 -0
- package/minimal/src/sections/calendar/view/index.js +1 -0
- package/minimal/src/sections/chat/chat-header-compose.jsx +112 -0
- package/minimal/src/sections/chat/chat-header-detail.jsx +84 -0
- package/minimal/src/sections/chat/chat-message-input.jsx +153 -0
- package/minimal/src/sections/chat/chat-message-item.jsx +153 -0
- package/minimal/src/sections/chat/chat-message-list.jsx +50 -0
- package/minimal/src/sections/chat/chat-nav-account.jsx +115 -0
- package/minimal/src/sections/chat/chat-nav-item.jsx +152 -0
- package/minimal/src/sections/chat/chat-nav-search-results.jsx +64 -0
- package/minimal/src/sections/chat/chat-nav.jsx +264 -0
- package/minimal/src/sections/chat/chat-room-attachments.jsx +125 -0
- package/minimal/src/sections/chat/chat-room-group.jsx +106 -0
- package/minimal/src/sections/chat/chat-room-participant-dialog.jsx +112 -0
- package/minimal/src/sections/chat/chat-room-single.jsx +102 -0
- package/minimal/src/sections/chat/chat-room.jsx +150 -0
- package/minimal/src/sections/chat/chat-skeleton.jsx +33 -0
- package/minimal/src/sections/chat/hooks/index.js +4 -0
- package/minimal/src/sections/chat/hooks/use-collapse-nav.js +35 -0
- package/minimal/src/sections/chat/hooks/use-get-message.js +25 -0
- package/minimal/src/sections/chat/hooks/use-get-nav-item.js +38 -0
- package/minimal/src/sections/chat/hooks/use-messages-scroll.js +33 -0
- package/minimal/src/sections/chat/view/chat-view.jsx +145 -0
- package/minimal/src/sections/chat/view/index.js +1 -0
- package/minimal/src/sections/checkout/checkout-billing-address.jsx +92 -0
- package/minimal/src/sections/checkout/checkout-billing-info.jsx +43 -0
- package/minimal/src/sections/checkout/checkout-cart-product-list.jsx +58 -0
- package/minimal/src/sections/checkout/checkout-cart-product.jsx +81 -0
- package/minimal/src/sections/checkout/checkout-cart.jsx +88 -0
- package/minimal/src/sections/checkout/checkout-delivery.jsx +103 -0
- package/minimal/src/sections/checkout/checkout-order-complete.jsx +116 -0
- package/minimal/src/sections/checkout/checkout-payment-methods.jsx +149 -0
- package/minimal/src/sections/checkout/checkout-payment.jsx +140 -0
- package/minimal/src/sections/checkout/checkout-steps.jsx +103 -0
- package/minimal/src/sections/checkout/checkout-summary.jsx +112 -0
- package/minimal/src/sections/checkout/context/checkout-context.js +13 -0
- package/minimal/src/sections/checkout/context/checkout-provider.jsx +219 -0
- package/minimal/src/sections/checkout/context/index.js +2 -0
- package/minimal/src/sections/checkout/view/checkout-view.jsx +52 -0
- package/minimal/src/sections/checkout/view/index.js +1 -0
- package/minimal/src/sections/coming-soon/view.jsx +113 -0
- package/minimal/src/sections/contact/contact-form.jsx +47 -0
- package/minimal/src/sections/contact/contact-hero.jsx +129 -0
- package/minimal/src/sections/contact/contact-map.jsx +100 -0
- package/minimal/src/sections/contact/view/contact-view.jsx +33 -0
- package/minimal/src/sections/contact/view/index.js +1 -0
- package/minimal/src/sections/error/403-view.jsx +43 -0
- package/minimal/src/sections/error/500-view.jsx +41 -0
- package/minimal/src/sections/error/index.js +3 -0
- package/minimal/src/sections/error/not-found-view.jsx +47 -0
- package/minimal/src/sections/faqs/faqs-category.jsx +172 -0
- package/minimal/src/sections/faqs/faqs-form.jsx +42 -0
- package/minimal/src/sections/faqs/faqs-hero.jsx +111 -0
- package/minimal/src/sections/faqs/faqs-list.jsx +28 -0
- package/minimal/src/sections/faqs/view/faqs-view.jsx +50 -0
- package/minimal/src/sections/faqs/view/index.js +1 -0
- package/minimal/src/sections/file-manager/file-data-activity.jsx +125 -0
- package/minimal/src/sections/file-manager/file-manager-action-selected.jsx +74 -0
- package/minimal/src/sections/file-manager/file-manager-file-details.jsx +281 -0
- package/minimal/src/sections/file-manager/file-manager-file-item.jsx +270 -0
- package/minimal/src/sections/file-manager/file-manager-filters-result.jsx +115 -0
- package/minimal/src/sections/file-manager/file-manager-filters.jsx +217 -0
- package/minimal/src/sections/file-manager/file-manager-folder-item.jsx +309 -0
- package/minimal/src/sections/file-manager/file-manager-grid-view.jsx +201 -0
- package/minimal/src/sections/file-manager/file-manager-invited-item.jsx +113 -0
- package/minimal/src/sections/file-manager/file-manager-new-folder-dialog.jsx +117 -0
- package/minimal/src/sections/file-manager/file-manager-panel.jsx +81 -0
- package/minimal/src/sections/file-manager/file-manager-share-dialog.jsx +95 -0
- package/minimal/src/sections/file-manager/file-manager-table-row.jsx +287 -0
- package/minimal/src/sections/file-manager/file-manager-table.jsx +208 -0
- package/minimal/src/sections/file-manager/file-recent-item.jsx +240 -0
- package/minimal/src/sections/file-manager/file-storage-overview.jsx +110 -0
- package/minimal/src/sections/file-manager/file-upgrade.jsx +60 -0
- package/minimal/src/sections/file-manager/file-widget.jsx +64 -0
- package/minimal/src/sections/file-manager/view/file-manager-view.jsx +284 -0
- package/minimal/src/sections/file-manager/view/index.js +1 -0
- package/minimal/src/sections/home/home-advertisement.jsx +118 -0
- package/minimal/src/sections/home/home-clean-interfaces.jsx +84 -0
- package/minimal/src/sections/home/home-color-presets.jsx +156 -0
- package/minimal/src/sections/home/home-dark-mode.jsx +80 -0
- package/minimal/src/sections/home/home-for-designer.jsx +114 -0
- package/minimal/src/sections/home/home-hero.jsx +425 -0
- package/minimal/src/sections/home/home-hugepack-elements.jsx +473 -0
- package/minimal/src/sections/home/home-looking-for.jsx +93 -0
- package/minimal/src/sections/home/home-minimal.jsx +109 -0
- package/minimal/src/sections/home/home-pricing.jsx +266 -0
- package/minimal/src/sections/home/view/home-view.jsx +83 -0
- package/minimal/src/sections/home/view/index.js +1 -0
- package/minimal/src/sections/invoice/invoice-analytic.jsx +70 -0
- package/minimal/src/sections/invoice/invoice-details.jsx +253 -0
- package/minimal/src/sections/invoice/invoice-new-edit-address.jsx +131 -0
- package/minimal/src/sections/invoice/invoice-new-edit-details.jsx +321 -0
- package/minimal/src/sections/invoice/invoice-new-edit-form.jsx +157 -0
- package/minimal/src/sections/invoice/invoice-new-edit-status-date.jsx +86 -0
- package/minimal/src/sections/invoice/invoice-pdf.jsx +278 -0
- package/minimal/src/sections/invoice/invoice-table-filters-result.jsx +126 -0
- package/minimal/src/sections/invoice/invoice-table-row.jsx +186 -0
- package/minimal/src/sections/invoice/invoice-table-toolbar.jsx +188 -0
- package/minimal/src/sections/invoice/invoice-toolbar.jsx +140 -0
- package/minimal/src/sections/invoice/view/index.js +4 -0
- package/minimal/src/sections/invoice/view/invoice-create-view.jsx +40 -0
- package/minimal/src/sections/invoice/view/invoice-details-view.jsx +46 -0
- package/minimal/src/sections/invoice/view/invoice-edit-view.jsx +48 -0
- package/minimal/src/sections/invoice/view/invoice-list-view.jsx +519 -0
- package/minimal/src/sections/job/job-details-candidates.jsx +114 -0
- package/minimal/src/sections/job/job-details-content.jsx +149 -0
- package/minimal/src/sections/job/job-details-toolbar.jsx +111 -0
- package/minimal/src/sections/job/job-filters-result.jsx +165 -0
- package/minimal/src/sections/job/job-filters.jsx +315 -0
- package/minimal/src/sections/job/job-item.jsx +160 -0
- package/minimal/src/sections/job/job-list.jsx +74 -0
- package/minimal/src/sections/job/job-new-edit-form.jsx +443 -0
- package/minimal/src/sections/job/job-search.jsx +93 -0
- package/minimal/src/sections/job/job-sort.jsx +63 -0
- package/minimal/src/sections/job/view/index.js +4 -0
- package/minimal/src/sections/job/view/job-create-view.jsx +38 -0
- package/minimal/src/sections/job/view/job-details-view.jsx +85 -0
- package/minimal/src/sections/job/view/job-edit-view.jsx +48 -0
- package/minimal/src/sections/job/view/job-list-view.jsx +244 -0
- package/minimal/src/sections/kanban/kanban-column-add.jsx +85 -0
- package/minimal/src/sections/kanban/kanban-column-tool-bar.jsx +149 -0
- package/minimal/src/sections/kanban/kanban-column.jsx +202 -0
- package/minimal/src/sections/kanban/kanban-contacts-dialog.jsx +138 -0
- package/minimal/src/sections/kanban/kanban-details-attachments.jsx +50 -0
- package/minimal/src/sections/kanban/kanban-details-comment-input.jsx +47 -0
- package/minimal/src/sections/kanban/kanban-details-comment-list.jsx +78 -0
- package/minimal/src/sections/kanban/kanban-details-priority.jsx +62 -0
- package/minimal/src/sections/kanban/kanban-details-toolbar.jsx +133 -0
- package/minimal/src/sections/kanban/kanban-details.jsx +303 -0
- package/minimal/src/sections/kanban/kanban-input-name.jsx +36 -0
- package/minimal/src/sections/kanban/kanban-skeleton.jsx +39 -0
- package/minimal/src/sections/kanban/kanban-task-add.jsx +94 -0
- package/minimal/src/sections/kanban/kanban-task-item.jsx +169 -0
- package/minimal/src/sections/kanban/view/index.js +1 -0
- package/minimal/src/sections/kanban/view/kanban-view.jsx +182 -0
- package/minimal/src/sections/mail/mail-compose.jsx +170 -0
- package/minimal/src/sections/mail/mail-details.jsx +335 -0
- package/minimal/src/sections/mail/mail-header.jsx +46 -0
- package/minimal/src/sections/mail/mail-item.jsx +87 -0
- package/minimal/src/sections/mail/mail-list.jsx +121 -0
- package/minimal/src/sections/mail/mail-nav-item.jsx +75 -0
- package/minimal/src/sections/mail/mail-nav.jsx +123 -0
- package/minimal/src/sections/mail/mail-skeleton.jsx +59 -0
- package/minimal/src/sections/mail/view/index.js +1 -0
- package/minimal/src/sections/mail/view/mail-view.jsx +237 -0
- package/minimal/src/sections/maintenance/view.jsx +29 -0
- package/minimal/src/sections/order/order-details-history.jsx +109 -0
- package/minimal/src/sections/order/order-details-info.jsx +169 -0
- package/minimal/src/sections/order/order-details-item.jsx +138 -0
- package/minimal/src/sections/order/order-details-toolbar.jsx +126 -0
- package/minimal/src/sections/order/order-table-filters-result.jsx +108 -0
- package/minimal/src/sections/order/order-table-row.jsx +229 -0
- package/minimal/src/sections/order/order-table-toolbar.jsx +159 -0
- package/minimal/src/sections/order/view/index.js +2 -0
- package/minimal/src/sections/order/view/order-details-view.jsx +74 -0
- package/minimal/src/sections/order/view/order-list-view.jsx +382 -0
- package/minimal/src/sections/overview/analytics/analytics-conversion-rates.jsx +64 -0
- package/minimal/src/sections/overview/analytics/analytics-current-subject.jsx +78 -0
- package/minimal/src/sections/overview/analytics/analytics-current-visits.jsx +101 -0
- package/minimal/src/sections/overview/analytics/analytics-news.jsx +95 -0
- package/minimal/src/sections/overview/analytics/analytics-order-timeline.jsx +79 -0
- package/minimal/src/sections/overview/analytics/analytics-tasks.jsx +135 -0
- package/minimal/src/sections/overview/analytics/analytics-traffic-by-site.jsx +53 -0
- package/minimal/src/sections/overview/analytics/analytics-website-visits.jsx +65 -0
- package/minimal/src/sections/overview/analytics/analytics-widget-summary.jsx +59 -0
- package/minimal/src/sections/overview/analytics/view/index.js +1 -0
- package/minimal/src/sections/overview/analytics/view/overview-analytics-view.jsx +185 -0
- package/minimal/src/sections/overview/app/app-area-installed.jsx +123 -0
- package/minimal/src/sections/overview/app/app-current-download.jsx +103 -0
- package/minimal/src/sections/overview/app/app-featured.jsx +118 -0
- package/minimal/src/sections/overview/app/app-new-invoice.jsx +155 -0
- package/minimal/src/sections/overview/app/app-top-authors.jsx +88 -0
- package/minimal/src/sections/overview/app/app-top-installed-countries.jsx +74 -0
- package/minimal/src/sections/overview/app/app-top-related.jsx +92 -0
- package/minimal/src/sections/overview/app/app-welcome.jsx +83 -0
- package/minimal/src/sections/overview/app/app-widget-summary.jsx +110 -0
- package/minimal/src/sections/overview/app/app-widget.jsx +120 -0
- package/minimal/src/sections/overview/app/view/index.js +1 -0
- package/minimal/src/sections/overview/app/view/overview-app-view.jsx +205 -0
- package/minimal/src/sections/overview/banking/banking-balance-statistics.jsx +113 -0
- package/minimal/src/sections/overview/banking/banking-contacts.jsx +56 -0
- package/minimal/src/sections/overview/banking/banking-current-balance.jsx +193 -0
- package/minimal/src/sections/overview/banking/banking-expenses-categories.jsx +115 -0
- package/minimal/src/sections/overview/banking/banking-invite-friends.jsx +78 -0
- package/minimal/src/sections/overview/banking/banking-quick-transfer.jsx +368 -0
- package/minimal/src/sections/overview/banking/banking-recent-transitions.jsx +223 -0
- package/minimal/src/sections/overview/banking/banking-widget-summary.jsx +144 -0
- package/minimal/src/sections/overview/banking/view/index.js +1 -0
- package/minimal/src/sections/overview/banking/view/overview-banking-view.jsx +202 -0
- package/minimal/src/sections/overview/booking/booking-available.jsx +109 -0
- package/minimal/src/sections/overview/booking/booking-booked.jsx +56 -0
- package/minimal/src/sections/overview/booking/booking-check-in-widgets.jsx +136 -0
- package/minimal/src/sections/overview/booking/booking-customer-reviews.jsx +115 -0
- package/minimal/src/sections/overview/booking/booking-details.jsx +204 -0
- package/minimal/src/sections/overview/booking/booking-newest.jsx +156 -0
- package/minimal/src/sections/overview/booking/booking-statistics.jsx +113 -0
- package/minimal/src/sections/overview/booking/booking-total-incomes.jsx +137 -0
- package/minimal/src/sections/overview/booking/booking-widget-summary.jsx +48 -0
- package/minimal/src/sections/overview/booking/view/index.js +1 -0
- package/minimal/src/sections/overview/booking/view/overview-booking-view.jsx +183 -0
- package/minimal/src/sections/overview/e-commerce/ecommerce-best-salesman.jsx +94 -0
- package/minimal/src/sections/overview/e-commerce/ecommerce-current-balance.jsx +70 -0
- package/minimal/src/sections/overview/e-commerce/ecommerce-latest-products.jsx +84 -0
- package/minimal/src/sections/overview/e-commerce/ecommerce-new-products.jsx +98 -0
- package/minimal/src/sections/overview/e-commerce/ecommerce-sale-by-gender.jsx +102 -0
- package/minimal/src/sections/overview/e-commerce/ecommerce-sales-overview.jsx +65 -0
- package/minimal/src/sections/overview/e-commerce/ecommerce-welcome.jsx +83 -0
- package/minimal/src/sections/overview/e-commerce/ecommerce-widget-summary.jsx +124 -0
- package/minimal/src/sections/overview/e-commerce/ecommerce-yearly-sales.jsx +107 -0
- package/minimal/src/sections/overview/e-commerce/view/index.js +1 -0
- package/minimal/src/sections/overview/e-commerce/view/overview-ecommerce-view.jsx +188 -0
- package/minimal/src/sections/overview/file/view/index.js +1 -0
- package/minimal/src/sections/overview/file/view/overview-file-view.jsx +285 -0
- package/minimal/src/sections/payment/payment-billing-address.jsx +20 -0
- package/minimal/src/sections/payment/payment-card-item.jsx +78 -0
- package/minimal/src/sections/payment/payment-card-list-dialog.jsx +116 -0
- package/minimal/src/sections/payment/payment-methods.jsx +165 -0
- package/minimal/src/sections/payment/payment-new-card-dialog.jsx +99 -0
- package/minimal/src/sections/payment/payment-summary.jsx +103 -0
- package/minimal/src/sections/payment/view/index.js +1 -0
- package/minimal/src/sections/payment/view/payment-view.jsx +58 -0
- package/minimal/src/sections/permission/view.jsx +82 -0
- package/minimal/src/sections/pricing/pricing-card.jsx +151 -0
- package/minimal/src/sections/pricing/view.jsx +84 -0
- package/minimal/src/sections/product/common/cart-icon.jsx +44 -0
- package/minimal/src/sections/product/common/incrementer-button.jsx +62 -0
- package/minimal/src/sections/product/product-details-carousel.jsx +191 -0
- package/minimal/src/sections/product/product-details-description.jsx +34 -0
- package/minimal/src/sections/product/product-details-review.jsx +137 -0
- package/minimal/src/sections/product/product-details-summary.jsx +355 -0
- package/minimal/src/sections/product/product-details-toolbar.jsx +111 -0
- package/minimal/src/sections/product/product-filters-result.jsx +170 -0
- package/minimal/src/sections/product/product-filters.jsx +365 -0
- package/minimal/src/sections/product/product-item.jsx +153 -0
- package/minimal/src/sections/product/product-list.jsx +62 -0
- package/minimal/src/sections/product/product-new-edit-form.jsx +452 -0
- package/minimal/src/sections/product/product-review-item.jsx +123 -0
- package/minimal/src/sections/product/product-review-list.jsx +33 -0
- package/minimal/src/sections/product/product-review-new-form.jsx +115 -0
- package/minimal/src/sections/product/product-search.jsx +131 -0
- package/minimal/src/sections/product/product-skeleton.jsx +81 -0
- package/minimal/src/sections/product/product-sort.jsx +58 -0
- package/minimal/src/sections/product/product-table-filters-result.jsx +115 -0
- package/minimal/src/sections/product/product-table-row.jsx +189 -0
- package/minimal/src/sections/product/product-table-toolbar.jsx +191 -0
- package/minimal/src/sections/product/view/index.js +6 -0
- package/minimal/src/sections/product/view/product-create-view.jsx +38 -0
- package/minimal/src/sections/product/view/product-details-view.jsx +193 -0
- package/minimal/src/sections/product/view/product-edit-view.jsx +45 -0
- package/minimal/src/sections/product/view/product-list-view.jsx +345 -0
- package/minimal/src/sections/product/view/product-shop-details-view.jsx +200 -0
- package/minimal/src/sections/product/view/product-shop-view.jsx +240 -0
- package/minimal/src/sections/tour/tour-details-bookers.jsx +145 -0
- package/minimal/src/sections/tour/tour-details-content.jsx +271 -0
- package/minimal/src/sections/tour/tour-details-toolbar.jsx +111 -0
- package/minimal/src/sections/tour/tour-filters-result.jsx +158 -0
- package/minimal/src/sections/tour/tour-filters.jsx +298 -0
- package/minimal/src/sections/tour/tour-item.jsx +227 -0
- package/minimal/src/sections/tour/tour-list.jsx +74 -0
- package/minimal/src/sections/tour/tour-new-edit-form.jsx +413 -0
- package/minimal/src/sections/tour/tour-search.jsx +123 -0
- package/minimal/src/sections/tour/tour-sort.jsx +63 -0
- package/minimal/src/sections/tour/view/index.js +4 -0
- package/minimal/src/sections/tour/view/tour-create-view.jsx +38 -0
- package/minimal/src/sections/tour/view/tour-details-view.jsx +85 -0
- package/minimal/src/sections/tour/view/tour-edit-view.jsx +48 -0
- package/minimal/src/sections/tour/view/tour-list-view.jsx +252 -0
- package/minimal/src/sections/user/profile-cover.jsx +77 -0
- package/minimal/src/sections/user/profile-followers.jsx +121 -0
- package/minimal/src/sections/user/profile-friends.jsx +180 -0
- package/minimal/src/sections/user/profile-gallery.jsx +97 -0
- package/minimal/src/sections/user/profile-home.jsx +201 -0
- package/minimal/src/sections/user/profile-post-item.jsx +226 -0
- package/minimal/src/sections/user/user-card-list.jsx +29 -0
- package/minimal/src/sections/user/user-card.jsx +124 -0
- package/minimal/src/sections/user/user-new-edit-form.jsx +285 -0
- package/minimal/src/sections/user/user-quick-edit-form.jsx +177 -0
- package/minimal/src/sections/user/user-table-filters-result.jsx +107 -0
- package/minimal/src/sections/user/user-table-row.jsx +138 -0
- package/minimal/src/sections/user/user-table-toolbar.jsx +150 -0
- package/minimal/src/sections/user/view/index.js +5 -0
- package/minimal/src/sections/user/view/user-cards-view.jsx +45 -0
- package/minimal/src/sections/user/view/user-create-view.jsx +38 -0
- package/minimal/src/sections/user/view/user-edit-view.jsx +48 -0
- package/minimal/src/sections/user/view/user-list-view.jsx +367 -0
- package/minimal/src/sections/user/view/user-profile-view.jsx +134 -0
- package/minimal/src/theme/css.js +152 -0
- package/minimal/src/theme/custom-shadows.js +32 -0
- package/minimal/src/theme/index.jsx +80 -0
- package/minimal/src/theme/options/contrast.js +34 -0
- package/minimal/src/theme/options/presets.js +89 -0
- package/minimal/src/theme/options/right-to-left.jsx +31 -0
- package/minimal/src/theme/overrides/components/accordion.js +43 -0
- package/minimal/src/theme/overrides/components/alert.js +68 -0
- package/minimal/src/theme/overrides/components/appbar.js +13 -0
- package/minimal/src/theme/overrides/components/autocomplete.js +44 -0
- package/minimal/src/theme/overrides/components/avatar.js +103 -0
- package/minimal/src/theme/overrides/components/backdrop.js +18 -0
- package/minimal/src/theme/overrides/components/badge.js +90 -0
- package/minimal/src/theme/overrides/components/breadcrumbs.js +21 -0
- package/minimal/src/theme/overrides/components/button-group.js +90 -0
- package/minimal/src/theme/overrides/components/button.js +139 -0
- package/minimal/src/theme/overrides/components/card.js +30 -0
- package/minimal/src/theme/overrides/components/checkbox.js +13 -0
- package/minimal/src/theme/overrides/components/chip.js +123 -0
- package/minimal/src/theme/overrides/components/css-baseline.js +48 -0
- package/minimal/src/theme/overrides/components/data-grid.js +95 -0
- package/minimal/src/theme/overrides/components/date-picker.jsx +83 -0
- package/minimal/src/theme/overrides/components/dialog.js +49 -0
- package/minimal/src/theme/overrides/components/drawer.js +36 -0
- package/minimal/src/theme/overrides/components/fab.js +159 -0
- package/minimal/src/theme/overrides/components/list.js +33 -0
- package/minimal/src/theme/overrides/components/loading-button.js +30 -0
- package/minimal/src/theme/overrides/components/menu.js +15 -0
- package/minimal/src/theme/overrides/components/pagination.js +77 -0
- package/minimal/src/theme/overrides/components/paper.js +18 -0
- package/minimal/src/theme/overrides/components/popover.js +21 -0
- package/minimal/src/theme/overrides/components/progress.js +40 -0
- package/minimal/src/theme/overrides/components/radio.js +22 -0
- package/minimal/src/theme/overrides/components/rating.js +40 -0
- package/minimal/src/theme/overrides/components/select.js +26 -0
- package/minimal/src/theme/overrides/components/skeleton.js +16 -0
- package/minimal/src/theme/overrides/components/slider.js +30 -0
- package/minimal/src/theme/overrides/components/stepper.js +13 -0
- package/minimal/src/theme/overrides/components/svg-icon.js +15 -0
- package/minimal/src/theme/overrides/components/switch.js +66 -0
- package/minimal/src/theme/overrides/components/table.js +79 -0
- package/minimal/src/theme/overrides/components/tabs.js +39 -0
- package/minimal/src/theme/overrides/components/textfield.js +146 -0
- package/minimal/src/theme/overrides/components/timeline.js +20 -0
- package/minimal/src/theme/overrides/components/toggle-button.js +67 -0
- package/minimal/src/theme/overrides/components/tooltip.js +18 -0
- package/minimal/src/theme/overrides/components/tree-view.js +16 -0
- package/minimal/src/theme/overrides/components/typography.js +16 -0
- package/minimal/src/theme/overrides/default-props.jsx +239 -0
- package/minimal/src/theme/overrides/index.js +98 -0
- package/minimal/src/theme/palette.js +144 -0
- package/minimal/src/theme/shadows.js +41 -0
- package/minimal/src/theme/typography.js +107 -0
- package/minimal/src/utils/axios.js +53 -0
- package/minimal/src/utils/change-case.js +13 -0
- package/minimal/src/utils/flatten-array.js +14 -0
- package/minimal/src/utils/format-number.js +37 -0
- package/minimal/src/utils/format-time.js +27 -0
- package/minimal/src/utils/highlight.js +12 -0
- package/minimal/src/utils/storage-available.js +24 -0
- package/minimal/src/utils/uuidv4.js +10 -0
- package/minimal/vercel.json +8 -0
- package/minimal/vite.config.js +35 -0
- package/minimal/yarn.lock +6748 -0
- package/package.json +94 -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 +20 -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 +6 -0
- package/src/components/animate/motion-container.jsx +40 -0
- package/src/components/animate/motion-lazy.jsx +13 -0
- package/src/components/animate/motion-viewport.jsx +32 -0
- package/src/components/animate/variants/actions.js +6 -0
- package/src/components/animate/variants/background.js +103 -0
- package/src/components/animate/variants/bounce.js +111 -0
- package/src/components/animate/variants/container.js +22 -0
- package/src/components/animate/variants/fade.js +131 -0
- package/src/components/animate/variants/flip.js +58 -0
- package/src/components/animate/variants/index.js +12 -0
- package/src/components/animate/variants/path.js +14 -0
- package/src/components/animate/variants/rotate.js +37 -0
- package/src/components/animate/variants/scale.js +58 -0
- package/src/components/animate/variants/slide.js +69 -0
- package/src/components/animate/variants/transition.js +22 -0
- package/src/components/animate/variants/zoom.js +134 -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 +48 -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 +41 -0
- package/src/components/file-thumbnail/file-thumbnail.jsx +74 -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 +121 -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 +53 -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 +25 -0
- package/src/components/loading-screen/splash-screen.jsx +97 -0
- package/src/components/logo/index.js +1 -0
- package/src/components/logo/logo.jsx +30 -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 +230 -0
- package/src/components/nav-section/horizontal/nav-list.jsx +120 -0
- package/src/components/nav-section/horizontal/nav-section-horizontal.jsx +45 -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 +249 -0
- package/src/components/nav-section/mini/nav-list.jsx +114 -0
- package/src/components/nav-section/mini/nav-section-mini.jsx +39 -0
- package/src/components/nav-section/vertical/index.js +1 -0
- package/src/components/nav-section/vertical/nav-item.jsx +302 -0
- package/src/components/nav-section/vertical/nav-list.jsx +73 -0
- package/src/components/nav-section/vertical/nav-section-vertical.jsx +78 -0
- package/src/components/scrollbar/index.js +1 -0
- package/src/components/scrollbar/scrollbar.jsx +41 -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 +31 -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 +52 -0
- package/src/components/settings/drawer/base-option.jsx +54 -0
- package/src/components/settings/drawer/fullscreen-option.jsx +60 -0
- package/src/components/settings/drawer/index.js +1 -0
- package/src/components/settings/drawer/layout-options.jsx +146 -0
- package/src/components/settings/drawer/presets-options.jsx +55 -0
- package/src/components/settings/drawer/settings-drawer.jsx +191 -0
- package/src/components/settings/drawer/stretch-options.jsx +69 -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 +25 -0
- package/src/config/config.js +47 -0
- package/src/config/schemas.js +134 -0
- package/src/context/reducer.js +55 -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 +152 -0
- package/src/http/oauth.js +27 -0
- package/src/http/user.js +92 -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 +106 -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 +79 -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 +45 -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 +93 -0
- package/src/layouts/common/ProjectBar/index.jsx +324 -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 +117 -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/pages/404.jsx +17 -0
- package/src/pages/Callback.jsx +66 -0
- package/src/pages/ConfigError.jsx +49 -0
- package/src/pages/LoginPage.jsx +35 -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/theme/css.js +152 -0
- package/src/theme/custom-shadows.js +47 -0
- package/src/theme/index.jsx +63 -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/Login.jsx +55 -0
- package/src/widgets/LoginForm/LoginForm.jsx +80 -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
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
import Paper from '@mui/material/Paper';
|
|
4
|
+
import IconButton from '@mui/material/IconButton';
|
|
5
|
+
|
|
6
|
+
import Iconify from 'src/components/iconify';
|
|
7
|
+
|
|
8
|
+
// ----------------------------------------------------------------------
|
|
9
|
+
|
|
10
|
+
export default function Toolbar({ onRefresh, ...other }) {
|
|
11
|
+
return (
|
|
12
|
+
<Paper sx={{ display: 'flex', alignItems: 'center', justifyContent: 'flex-end' }} {...other}>
|
|
13
|
+
<IconButton onClick={onRefresh}>
|
|
14
|
+
<Iconify icon="eva:refresh-fill" />
|
|
15
|
+
</IconButton>
|
|
16
|
+
</Paper>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
Toolbar.propTypes = {
|
|
21
|
+
onRefresh: PropTypes.func,
|
|
22
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
import Box from '@mui/material/Box';
|
|
4
|
+
import Radio from '@mui/material/Radio';
|
|
5
|
+
import Paper from '@mui/material/Paper';
|
|
6
|
+
import RadioGroup from '@mui/material/RadioGroup';
|
|
7
|
+
import Typography from '@mui/material/Typography';
|
|
8
|
+
import FormControlLabel from '@mui/material/FormControlLabel';
|
|
9
|
+
|
|
10
|
+
import Scrollbar from 'src/components/scrollbar';
|
|
11
|
+
|
|
12
|
+
// ----------------------------------------------------------------------
|
|
13
|
+
|
|
14
|
+
export default function ControlPanel({ variantKey, selectVariant, onChangeVariant, sx }) {
|
|
15
|
+
return (
|
|
16
|
+
<Paper variant="outlined" sx={{ height: 480, ...sx }}>
|
|
17
|
+
<Scrollbar>
|
|
18
|
+
<RadioGroup value={selectVariant} onChange={onChangeVariant} sx={{ px: 1, py: 1 }}>
|
|
19
|
+
{variantKey.map((variant) => (
|
|
20
|
+
<Box key={variant.type} sx={{ my: 1.5 }}>
|
|
21
|
+
<Typography variant="overline" sx={{ px: 1, mb: 1, display: 'block' }}>
|
|
22
|
+
{variant.type}
|
|
23
|
+
</Typography>
|
|
24
|
+
{variant.values.map((value) => (
|
|
25
|
+
<FormControlLabel
|
|
26
|
+
key={value}
|
|
27
|
+
value={value}
|
|
28
|
+
label={value}
|
|
29
|
+
control={<Radio sx={{ display: 'none' }} />}
|
|
30
|
+
sx={{
|
|
31
|
+
px: 1,
|
|
32
|
+
py: 0.5,
|
|
33
|
+
mx: 0,
|
|
34
|
+
my: 0.25,
|
|
35
|
+
width: '100%',
|
|
36
|
+
borderRadius: 0.75,
|
|
37
|
+
color: 'text.secondary',
|
|
38
|
+
...(selectVariant === value && {
|
|
39
|
+
color: 'warning.contrastText',
|
|
40
|
+
}),
|
|
41
|
+
...(selectVariant === value && { bgcolor: 'warning.main' }),
|
|
42
|
+
}}
|
|
43
|
+
/>
|
|
44
|
+
))}
|
|
45
|
+
</Box>
|
|
46
|
+
))}
|
|
47
|
+
</RadioGroup>
|
|
48
|
+
</Scrollbar>
|
|
49
|
+
</Paper>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
ControlPanel.propTypes = {
|
|
54
|
+
onChangeVariant: PropTypes.func,
|
|
55
|
+
selectVariant: PropTypes.string,
|
|
56
|
+
sx: PropTypes.object,
|
|
57
|
+
variantKey: PropTypes.array,
|
|
58
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import { m, AnimatePresence } from 'framer-motion';
|
|
3
|
+
|
|
4
|
+
import Paper from '@mui/material/Paper';
|
|
5
|
+
import Button from '@mui/material/Button';
|
|
6
|
+
import Dialog from '@mui/material/Dialog';
|
|
7
|
+
import DialogTitle from '@mui/material/DialogTitle';
|
|
8
|
+
import DialogContent from '@mui/material/DialogContent';
|
|
9
|
+
import DialogActions from '@mui/material/DialogActions';
|
|
10
|
+
|
|
11
|
+
import getVariant from '../get-variant';
|
|
12
|
+
|
|
13
|
+
// ----------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
export default function ContainerView({ open, onOpen, onClose, selectVariant, ...other }) {
|
|
16
|
+
return (
|
|
17
|
+
<>
|
|
18
|
+
<Paper
|
|
19
|
+
sx={{
|
|
20
|
+
height: 480,
|
|
21
|
+
display: 'flex',
|
|
22
|
+
alignItems: 'center',
|
|
23
|
+
justifyContent: 'center',
|
|
24
|
+
bgcolor: 'background.neutral',
|
|
25
|
+
}}
|
|
26
|
+
{...other}
|
|
27
|
+
>
|
|
28
|
+
<Button variant="contained" onClick={onOpen}>
|
|
29
|
+
Click Me!
|
|
30
|
+
</Button>
|
|
31
|
+
</Paper>
|
|
32
|
+
|
|
33
|
+
<AnimatePresence>
|
|
34
|
+
{open && (
|
|
35
|
+
<Dialog
|
|
36
|
+
fullWidth
|
|
37
|
+
maxWidth="xs"
|
|
38
|
+
open={open}
|
|
39
|
+
onClose={onClose}
|
|
40
|
+
PaperComponent={(props) => (
|
|
41
|
+
<m.div {...getVariant(selectVariant)}>
|
|
42
|
+
<Paper {...props}>{props.children}</Paper>
|
|
43
|
+
</m.div>
|
|
44
|
+
)}
|
|
45
|
+
>
|
|
46
|
+
<DialogTitle id="alert-dialog-title">{`Use Google's location service?`}</DialogTitle>
|
|
47
|
+
|
|
48
|
+
<DialogContent>
|
|
49
|
+
Let Google help apps determine location. This means sending anonymous location data to
|
|
50
|
+
Google, even when no apps are running.
|
|
51
|
+
</DialogContent>
|
|
52
|
+
|
|
53
|
+
<DialogActions>
|
|
54
|
+
<Button onClick={onClose}>Disagree</Button>
|
|
55
|
+
<Button variant="contained" onClick={onClose} autoFocus>
|
|
56
|
+
Agree
|
|
57
|
+
</Button>
|
|
58
|
+
</DialogActions>
|
|
59
|
+
</Dialog>
|
|
60
|
+
)}
|
|
61
|
+
</AnimatePresence>
|
|
62
|
+
</>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
ContainerView.propTypes = {
|
|
67
|
+
onClose: PropTypes.func,
|
|
68
|
+
onOpen: PropTypes.func,
|
|
69
|
+
open: PropTypes.bool,
|
|
70
|
+
selectVariant: PropTypes.string,
|
|
71
|
+
children: PropTypes.node,
|
|
72
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { useState, useCallback } from 'react';
|
|
2
|
+
|
|
3
|
+
import Card from '@mui/material/Card';
|
|
4
|
+
import Grid from '@mui/material/Unstable_Grid2';
|
|
5
|
+
|
|
6
|
+
import { useBoolean } from 'src/hooks/use-boolean';
|
|
7
|
+
|
|
8
|
+
import ContainerView from './container';
|
|
9
|
+
import ControlPanel from '../control-panel';
|
|
10
|
+
|
|
11
|
+
// ----------------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
export default function DialogView() {
|
|
14
|
+
const view = useBoolean();
|
|
15
|
+
|
|
16
|
+
const [selectVariant, setSelectVariant] = useState('slideInUp');
|
|
17
|
+
|
|
18
|
+
const handleChangeVariant = useCallback((event) => {
|
|
19
|
+
setSelectVariant(event.target.value);
|
|
20
|
+
}, []);
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<Card sx={{ p: 3 }}>
|
|
24
|
+
<Grid container spacing={3}>
|
|
25
|
+
<Grid xs={12} md={9}>
|
|
26
|
+
<ContainerView
|
|
27
|
+
open={view.value}
|
|
28
|
+
onOpen={view.onTrue}
|
|
29
|
+
onClose={view.onFalse}
|
|
30
|
+
selectVariant={selectVariant}
|
|
31
|
+
/>
|
|
32
|
+
</Grid>
|
|
33
|
+
<Grid xs={12} md={3}>
|
|
34
|
+
<ControlPanel
|
|
35
|
+
variantKey={variantKey}
|
|
36
|
+
selectVariant={selectVariant}
|
|
37
|
+
onChangeVariant={handleChangeVariant}
|
|
38
|
+
/>
|
|
39
|
+
</Grid>
|
|
40
|
+
</Grid>
|
|
41
|
+
</Card>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// ----------------------------------------------------------------------
|
|
46
|
+
|
|
47
|
+
const variantKey = [
|
|
48
|
+
{
|
|
49
|
+
type: 'slide',
|
|
50
|
+
values: ['slideInUp', 'slideInDown', 'slideInLeft', 'slideInRight'],
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
type: 'fade',
|
|
54
|
+
values: ['fadeIn', 'fadeInUp', 'fadeInDown', 'fadeInLeft', 'fadeInRight'],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
type: 'zoom',
|
|
58
|
+
values: ['zoomIn', 'zoomInUp', 'zoomInDown', 'zoomInLeft', 'zoomInRight'],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
type: 'bounce',
|
|
62
|
+
values: ['bounceIn', 'bounceInUp', 'bounceInDown', 'bounceInLeft', 'bounceInRight'],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
type: 'flip',
|
|
66
|
+
values: ['flipInX', 'flipInY'],
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
type: 'scale',
|
|
70
|
+
values: ['scaleInX', 'scaleInY'],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
type: 'rotate',
|
|
74
|
+
values: ['rotateIn'],
|
|
75
|
+
},
|
|
76
|
+
];
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import {
|
|
2
|
+
varFade,
|
|
3
|
+
varZoom,
|
|
4
|
+
varFlip,
|
|
5
|
+
varSlide,
|
|
6
|
+
varScale,
|
|
7
|
+
varBgPan,
|
|
8
|
+
varBounce,
|
|
9
|
+
varRotate,
|
|
10
|
+
varBgColor,
|
|
11
|
+
varBgKenburns,
|
|
12
|
+
} from 'src/components/animate';
|
|
13
|
+
|
|
14
|
+
// ----------------------------------------------------------------------
|
|
15
|
+
|
|
16
|
+
export default function getVariant(variant = 'slideInUp') {
|
|
17
|
+
return {
|
|
18
|
+
// Slide
|
|
19
|
+
slideInUp: varSlide().inUp,
|
|
20
|
+
slideInDown: varSlide().inDown,
|
|
21
|
+
slideInLeft: varSlide().inLeft,
|
|
22
|
+
slideInRight: varSlide().inRight,
|
|
23
|
+
slideOutUp: varSlide().outUp,
|
|
24
|
+
slideOutDown: varSlide().outDown,
|
|
25
|
+
slideOutLeft: varSlide().outLeft,
|
|
26
|
+
slideOutRight: varSlide().outRight,
|
|
27
|
+
// Fade
|
|
28
|
+
fadeIn: varFade().in,
|
|
29
|
+
fadeInUp: varFade().inUp,
|
|
30
|
+
fadeInDown: varFade().inDown,
|
|
31
|
+
fadeInLeft: varFade().inLeft,
|
|
32
|
+
fadeInRight: varFade().inRight,
|
|
33
|
+
fadeOut: varFade().out,
|
|
34
|
+
fadeOutUp: varFade().outUp,
|
|
35
|
+
fadeOutDown: varFade().outDown,
|
|
36
|
+
fadeOutLeft: varFade().outLeft,
|
|
37
|
+
fadeOutRight: varFade().outRight,
|
|
38
|
+
// Zoom
|
|
39
|
+
zoomIn: varZoom({ distance: 80 }).in,
|
|
40
|
+
zoomInUp: varZoom({ distance: 80 }).inUp,
|
|
41
|
+
zoomInDown: varZoom({ distance: 80 }).inDown,
|
|
42
|
+
zoomInLeft: varZoom({ distance: 240 }).inLeft,
|
|
43
|
+
zoomInRight: varZoom({ distance: 240 }).inRight,
|
|
44
|
+
zoomOut: varZoom().out,
|
|
45
|
+
zoomOutLeft: varZoom().outLeft,
|
|
46
|
+
zoomOutRight: varZoom().outRight,
|
|
47
|
+
zoomOutUp: varZoom().outUp,
|
|
48
|
+
zoomOutDown: varZoom().outDown,
|
|
49
|
+
// Bounce
|
|
50
|
+
bounceIn: varBounce().in,
|
|
51
|
+
bounceInUp: varBounce().inUp,
|
|
52
|
+
bounceInDown: varBounce().inDown,
|
|
53
|
+
bounceInLeft: varBounce().inLeft,
|
|
54
|
+
bounceInRight: varBounce().inRight,
|
|
55
|
+
bounceOut: varBounce().out,
|
|
56
|
+
bounceOutUp: varBounce().outUp,
|
|
57
|
+
bounceOutDown: varBounce().outDown,
|
|
58
|
+
bounceOutLeft: varBounce().outLeft,
|
|
59
|
+
bounceOutRight: varBounce().outRight,
|
|
60
|
+
// Flip
|
|
61
|
+
flipInX: varFlip().inX,
|
|
62
|
+
flipInY: varFlip().inY,
|
|
63
|
+
flipOutX: varFlip().outX,
|
|
64
|
+
flipOutY: varFlip().outY,
|
|
65
|
+
// Scale
|
|
66
|
+
scaleInX: varScale().inX,
|
|
67
|
+
scaleInY: varScale().inY,
|
|
68
|
+
scaleOutX: varScale().outX,
|
|
69
|
+
scaleOutY: varScale().outY,
|
|
70
|
+
// Rotate
|
|
71
|
+
rotateIn: varRotate().in,
|
|
72
|
+
rotateOut: varRotate().out,
|
|
73
|
+
// Background
|
|
74
|
+
kenburnsTop: varBgKenburns().top,
|
|
75
|
+
kenburnsBottom: varBgKenburns().bottom,
|
|
76
|
+
kenburnsLeft: varBgKenburns().left,
|
|
77
|
+
kenburnsRight: varBgKenburns().right,
|
|
78
|
+
panTop: varBgPan().top,
|
|
79
|
+
panBottom: varBgPan().bottom,
|
|
80
|
+
panLeft: varBgPan().left,
|
|
81
|
+
panRight: varBgPan().right,
|
|
82
|
+
color2x: varBgColor(),
|
|
83
|
+
color3x: varBgColor({ colors: ['#19dcea', '#b22cff', '#ea2222'] }),
|
|
84
|
+
color4x: varBgColor({
|
|
85
|
+
colors: ['#19dcea', '#b22cff', '#ea2222', '#f5be10'],
|
|
86
|
+
}),
|
|
87
|
+
color5x: varBgColor({
|
|
88
|
+
colors: ['#19dcea', '#b22cff', '#ea2222', '#f5be10', '#3bd80d'],
|
|
89
|
+
}),
|
|
90
|
+
}[variant];
|
|
91
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { useState, useCallback } from 'react';
|
|
2
|
+
|
|
3
|
+
import Tab from '@mui/material/Tab';
|
|
4
|
+
import Box from '@mui/material/Box';
|
|
5
|
+
import Tabs from '@mui/material/Tabs';
|
|
6
|
+
import Container from '@mui/material/Container';
|
|
7
|
+
|
|
8
|
+
import { paths } from 'src/routes/paths';
|
|
9
|
+
|
|
10
|
+
import CustomBreadcrumbs from 'src/components/custom-breadcrumbs';
|
|
11
|
+
|
|
12
|
+
import Inview from './inview';
|
|
13
|
+
import OtherView from './other';
|
|
14
|
+
import ScrollView from './scroll';
|
|
15
|
+
import DialogView from './dialog';
|
|
16
|
+
import BackgroundView from './background';
|
|
17
|
+
|
|
18
|
+
// ----------------------------------------------------------------------
|
|
19
|
+
|
|
20
|
+
const TABS = [
|
|
21
|
+
{ value: 'inview', label: 'In View', component: <Inview /> },
|
|
22
|
+
{ value: 'scroll', label: 'Scroll', component: <ScrollView /> },
|
|
23
|
+
{ value: 'dialog', label: 'Dialog', component: <DialogView /> },
|
|
24
|
+
{ value: 'background', label: 'Background', component: <BackgroundView /> },
|
|
25
|
+
{ value: 'other', label: 'Other', component: <OtherView /> },
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
// ----------------------------------------------------------------------
|
|
29
|
+
|
|
30
|
+
export default function AnimateView() {
|
|
31
|
+
const [currentTab, setCurrentTab] = useState('inview');
|
|
32
|
+
|
|
33
|
+
const handleChangeTab = useCallback((event, newValue) => {
|
|
34
|
+
setCurrentTab(newValue);
|
|
35
|
+
}, []);
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<>
|
|
39
|
+
<Box
|
|
40
|
+
sx={{
|
|
41
|
+
py: 5,
|
|
42
|
+
bgcolor: (theme) => (theme.palette.mode === 'light' ? 'grey.200' : 'grey.800'),
|
|
43
|
+
}}
|
|
44
|
+
>
|
|
45
|
+
<Container>
|
|
46
|
+
<CustomBreadcrumbs
|
|
47
|
+
heading="Animate"
|
|
48
|
+
links={[
|
|
49
|
+
{
|
|
50
|
+
name: 'Components',
|
|
51
|
+
href: paths.components,
|
|
52
|
+
},
|
|
53
|
+
{ name: 'Animate' },
|
|
54
|
+
]}
|
|
55
|
+
moreLink={['https://www.framer.com/api/motion']}
|
|
56
|
+
/>
|
|
57
|
+
</Container>
|
|
58
|
+
</Box>
|
|
59
|
+
|
|
60
|
+
<Container sx={{ my: 10 }}>
|
|
61
|
+
<Tabs value={currentTab} onChange={handleChangeTab}>
|
|
62
|
+
{TABS.map((tab) => (
|
|
63
|
+
<Tab key={tab.value} value={tab.value} label={tab.label} />
|
|
64
|
+
))}
|
|
65
|
+
</Tabs>
|
|
66
|
+
|
|
67
|
+
{TABS.map(
|
|
68
|
+
(tab) =>
|
|
69
|
+
tab.value === currentTab && (
|
|
70
|
+
<Box key={tab.value} sx={{ mt: 5 }}>
|
|
71
|
+
{tab.component}
|
|
72
|
+
</Box>
|
|
73
|
+
)
|
|
74
|
+
)}
|
|
75
|
+
</Container>
|
|
76
|
+
</>
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { m } from 'framer-motion';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
|
|
4
|
+
import Box from '@mui/material/Box';
|
|
5
|
+
import Paper from '@mui/material/Paper';
|
|
6
|
+
|
|
7
|
+
import { _mock } from 'src/_mock';
|
|
8
|
+
|
|
9
|
+
import { MotionContainer } from 'src/components/animate';
|
|
10
|
+
|
|
11
|
+
import getVariant from '../get-variant';
|
|
12
|
+
|
|
13
|
+
// ----------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
const TEXT = 'Minimals';
|
|
16
|
+
|
|
17
|
+
const IMG = [
|
|
18
|
+
_mock.image.cover(2),
|
|
19
|
+
_mock.image.cover(3),
|
|
20
|
+
_mock.image.cover(4),
|
|
21
|
+
_mock.image.cover(5),
|
|
22
|
+
_mock.image.cover(8),
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
export default function ContainerView({ isText, isMulti, selectVariant, ...other }) {
|
|
26
|
+
const items = isMulti ? IMG : IMG.slice(0, 1);
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<Paper
|
|
30
|
+
sx={{
|
|
31
|
+
p: 3,
|
|
32
|
+
minHeight: 480,
|
|
33
|
+
display: 'flex',
|
|
34
|
+
overflow: 'hidden',
|
|
35
|
+
alignItems: 'center',
|
|
36
|
+
justifyContent: 'center',
|
|
37
|
+
bgcolor: 'background.neutral',
|
|
38
|
+
}}
|
|
39
|
+
{...other}
|
|
40
|
+
>
|
|
41
|
+
{isText ? (
|
|
42
|
+
<MotionContainer
|
|
43
|
+
component={m.h1}
|
|
44
|
+
sx={{ typography: 'h1', display: 'flex', overflow: 'hidden' }}
|
|
45
|
+
>
|
|
46
|
+
{TEXT.split('').map((letter, index) => (
|
|
47
|
+
<m.span key={index} variants={getVariant(selectVariant)}>
|
|
48
|
+
{letter}
|
|
49
|
+
</m.span>
|
|
50
|
+
))}
|
|
51
|
+
</MotionContainer>
|
|
52
|
+
) : (
|
|
53
|
+
<MotionContainer>
|
|
54
|
+
{items.map((row, index) => (
|
|
55
|
+
<Box
|
|
56
|
+
key={index}
|
|
57
|
+
component={m.img}
|
|
58
|
+
src={row}
|
|
59
|
+
variants={getVariant(selectVariant)}
|
|
60
|
+
sx={{
|
|
61
|
+
my: 2,
|
|
62
|
+
width: 480,
|
|
63
|
+
borderRadius: 1,
|
|
64
|
+
objectFit: 'cover',
|
|
65
|
+
height: isMulti ? 72 : 320,
|
|
66
|
+
boxShadow: (theme) => theme.customShadows.z8,
|
|
67
|
+
}}
|
|
68
|
+
/>
|
|
69
|
+
))}
|
|
70
|
+
</MotionContainer>
|
|
71
|
+
)}
|
|
72
|
+
</Paper>
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
ContainerView.propTypes = {
|
|
77
|
+
isMulti: PropTypes.bool,
|
|
78
|
+
isText: PropTypes.bool,
|
|
79
|
+
selectVariant: PropTypes.string,
|
|
80
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { useState, useCallback } from 'react';
|
|
2
|
+
|
|
3
|
+
import Card from '@mui/material/Card';
|
|
4
|
+
import Grid from '@mui/material/Unstable_Grid2';
|
|
5
|
+
|
|
6
|
+
import { useBoolean } from 'src/hooks/use-boolean';
|
|
7
|
+
|
|
8
|
+
import Toolbar from './toolbar';
|
|
9
|
+
import ContainerView from './container';
|
|
10
|
+
import ControlPanel from '../control-panel';
|
|
11
|
+
|
|
12
|
+
// ----------------------------------------------------------------------
|
|
13
|
+
|
|
14
|
+
export default function Inview() {
|
|
15
|
+
const [count, setCount] = useState(0);
|
|
16
|
+
|
|
17
|
+
const multi = useBoolean();
|
|
18
|
+
|
|
19
|
+
const text = useBoolean();
|
|
20
|
+
|
|
21
|
+
const [selectVariant, setSelectVariant] = useState('slideInUp');
|
|
22
|
+
|
|
23
|
+
const handleRefresh = useCallback(() => {
|
|
24
|
+
setCount(count + 1);
|
|
25
|
+
}, [count]);
|
|
26
|
+
|
|
27
|
+
const handleChangeVariant = useCallback(
|
|
28
|
+
(event) => {
|
|
29
|
+
setCount(count + 1);
|
|
30
|
+
setSelectVariant(event.target.value);
|
|
31
|
+
},
|
|
32
|
+
[count]
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
return (
|
|
36
|
+
<Card sx={{ p: 3 }}>
|
|
37
|
+
<Grid container sx={{ mb: 3 }}>
|
|
38
|
+
<Grid xs={12} md={9}>
|
|
39
|
+
<Toolbar
|
|
40
|
+
isText={text.value}
|
|
41
|
+
isMulti={multi.value}
|
|
42
|
+
onChangeText={text.onToggle}
|
|
43
|
+
onChangeMulti={multi.onToggle}
|
|
44
|
+
onRefresh={handleRefresh}
|
|
45
|
+
/>
|
|
46
|
+
</Grid>
|
|
47
|
+
</Grid>
|
|
48
|
+
|
|
49
|
+
<Grid container spacing={3}>
|
|
50
|
+
<Grid xs={12} md={9}>
|
|
51
|
+
<ContainerView
|
|
52
|
+
key={count}
|
|
53
|
+
isText={text.value}
|
|
54
|
+
isMulti={multi.value}
|
|
55
|
+
selectVariant={selectVariant}
|
|
56
|
+
/>
|
|
57
|
+
</Grid>
|
|
58
|
+
<Grid xs={12} md={3}>
|
|
59
|
+
<ControlPanel
|
|
60
|
+
variantKey={variantKey}
|
|
61
|
+
selectVariant={selectVariant}
|
|
62
|
+
onChangeVariant={handleChangeVariant}
|
|
63
|
+
/>
|
|
64
|
+
</Grid>
|
|
65
|
+
</Grid>
|
|
66
|
+
</Card>
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// ----------------------------------------------------------------------
|
|
71
|
+
|
|
72
|
+
const variantKey = [
|
|
73
|
+
{
|
|
74
|
+
type: 'slide in',
|
|
75
|
+
values: ['slideInUp', 'slideInDown', 'slideInLeft', 'slideInRight'],
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
type: 'slide out',
|
|
79
|
+
values: ['slideOutUp', 'slideOutDown', 'slideOutLeft', 'slideOutRight'],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
type: 'fade in',
|
|
83
|
+
values: ['fadeIn', 'fadeInUp', 'fadeInDown', 'fadeInLeft', 'fadeInRight'],
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
type: 'fade out',
|
|
87
|
+
values: ['fadeOut', 'fadeOutUp', 'fadeOutDown', 'fadeOutLeft', 'fadeOutRight'],
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
type: 'zoom in',
|
|
91
|
+
values: ['zoomIn', 'zoomInUp', 'zoomInDown', 'zoomInLeft', 'zoomInRight'],
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: 'zoom out',
|
|
95
|
+
values: ['zoomOut', 'zoomOutUp', 'zoomOutDown', 'zoomOutLeft', 'zoomOutRight'],
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
type: 'bounce in',
|
|
99
|
+
values: ['bounceIn', 'bounceInUp', 'bounceInDown', 'bounceInLeft', 'bounceInRight'],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
type: 'bounce out',
|
|
103
|
+
values: ['bounceOut', 'bounceOutUp', 'bounceOutDown', 'bounceOutLeft', 'bounceOutRight'],
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: 'flip in',
|
|
107
|
+
values: ['flipInX', 'flipInY'],
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
type: 'flip out',
|
|
111
|
+
values: ['flipOutX', 'flipOutY'],
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: 'scale in',
|
|
115
|
+
values: ['scaleInX', 'scaleInY'],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
type: 'scale out',
|
|
119
|
+
values: ['scaleOutX', 'scaleOutY'],
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
type: 'rotate in',
|
|
123
|
+
values: ['rotateIn'],
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: 'rotate out',
|
|
127
|
+
values: ['rotateOut'],
|
|
128
|
+
},
|
|
129
|
+
];
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
import Box from '@mui/material/Box';
|
|
4
|
+
import Paper from '@mui/material/Paper';
|
|
5
|
+
import Switch from '@mui/material/Switch';
|
|
6
|
+
import IconButton from '@mui/material/IconButton';
|
|
7
|
+
import FormControlLabel from '@mui/material/FormControlLabel';
|
|
8
|
+
|
|
9
|
+
import Iconify from 'src/components/iconify';
|
|
10
|
+
|
|
11
|
+
// ----------------------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
export default function Toolbar({
|
|
14
|
+
isText,
|
|
15
|
+
isMulti,
|
|
16
|
+
onChangeText,
|
|
17
|
+
onChangeMulti,
|
|
18
|
+
onRefresh,
|
|
19
|
+
...other
|
|
20
|
+
}) {
|
|
21
|
+
return (
|
|
22
|
+
<Paper
|
|
23
|
+
sx={{
|
|
24
|
+
display: 'flex',
|
|
25
|
+
alignItems: 'center',
|
|
26
|
+
justifyContent: 'space-between',
|
|
27
|
+
}}
|
|
28
|
+
{...other}
|
|
29
|
+
>
|
|
30
|
+
<FormControlLabel
|
|
31
|
+
control={<Switch checked={isText} onChange={onChangeText} />}
|
|
32
|
+
label="Text Object"
|
|
33
|
+
/>
|
|
34
|
+
|
|
35
|
+
<Box sx={{ flexGrow: 1 }} />
|
|
36
|
+
|
|
37
|
+
{!isText && (
|
|
38
|
+
<FormControlLabel
|
|
39
|
+
control={<Switch checked={isMulti} onChange={onChangeMulti} />}
|
|
40
|
+
label="Multi Item"
|
|
41
|
+
/>
|
|
42
|
+
)}
|
|
43
|
+
|
|
44
|
+
<IconButton onClick={onRefresh}>
|
|
45
|
+
<Iconify icon="eva:refresh-fill" />
|
|
46
|
+
</IconButton>
|
|
47
|
+
</Paper>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
Toolbar.propTypes = {
|
|
52
|
+
isMulti: PropTypes.bool,
|
|
53
|
+
isText: PropTypes.bool,
|
|
54
|
+
onChangeMulti: PropTypes.func,
|
|
55
|
+
onChangeText: PropTypes.func,
|
|
56
|
+
onRefresh: PropTypes.func,
|
|
57
|
+
};
|