@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,115 @@
|
|
|
1
|
+
import { useMemo } from 'react';
|
|
2
|
+
import useSWR, { mutate } from 'swr';
|
|
3
|
+
|
|
4
|
+
import { fetcher, endpoints } from 'src/utils/axios';
|
|
5
|
+
|
|
6
|
+
// ----------------------------------------------------------------------
|
|
7
|
+
|
|
8
|
+
const URL = endpoints.calendar;
|
|
9
|
+
|
|
10
|
+
const options = {
|
|
11
|
+
revalidateIfStale: false,
|
|
12
|
+
revalidateOnFocus: false,
|
|
13
|
+
revalidateOnReconnect: false,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export function useGetEvents() {
|
|
17
|
+
const { data, isLoading, error, isValidating } = useSWR(URL, fetcher, options);
|
|
18
|
+
|
|
19
|
+
const memoizedValue = useMemo(() => {
|
|
20
|
+
const events = data?.events.map((event) => ({
|
|
21
|
+
...event,
|
|
22
|
+
textColor: event.color,
|
|
23
|
+
}));
|
|
24
|
+
|
|
25
|
+
return {
|
|
26
|
+
events: events || [],
|
|
27
|
+
eventsLoading: isLoading,
|
|
28
|
+
eventsError: error,
|
|
29
|
+
eventsValidating: isValidating,
|
|
30
|
+
eventsEmpty: !isLoading && !data?.events.length,
|
|
31
|
+
};
|
|
32
|
+
}, [data?.events, error, isLoading, isValidating]);
|
|
33
|
+
|
|
34
|
+
return memoizedValue;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// ----------------------------------------------------------------------
|
|
38
|
+
|
|
39
|
+
export async function createEvent(eventData) {
|
|
40
|
+
/**
|
|
41
|
+
* Work on server
|
|
42
|
+
*/
|
|
43
|
+
// const data = { eventData };
|
|
44
|
+
// await axios.post(URL, data);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Work in local
|
|
48
|
+
*/
|
|
49
|
+
mutate(
|
|
50
|
+
URL,
|
|
51
|
+
(currentData) => {
|
|
52
|
+
const events = [...currentData.events, eventData];
|
|
53
|
+
|
|
54
|
+
return {
|
|
55
|
+
...currentData,
|
|
56
|
+
events,
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
false
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// ----------------------------------------------------------------------
|
|
64
|
+
|
|
65
|
+
export async function updateEvent(eventData) {
|
|
66
|
+
/**
|
|
67
|
+
* Work on server
|
|
68
|
+
*/
|
|
69
|
+
// const data = { eventData };
|
|
70
|
+
// await axios.put(endpoints.calendar, data);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Work in local
|
|
74
|
+
*/
|
|
75
|
+
mutate(
|
|
76
|
+
URL,
|
|
77
|
+
(currentData) => {
|
|
78
|
+
const events = currentData.events.map((event) =>
|
|
79
|
+
event.id === eventData.id ? { ...event, ...eventData } : event
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
...currentData,
|
|
84
|
+
events,
|
|
85
|
+
};
|
|
86
|
+
},
|
|
87
|
+
false
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// ----------------------------------------------------------------------
|
|
92
|
+
|
|
93
|
+
export async function deleteEvent(eventId) {
|
|
94
|
+
/**
|
|
95
|
+
* Work on server
|
|
96
|
+
*/
|
|
97
|
+
// const data = { eventId };
|
|
98
|
+
// await axios.patch(endpoints.calendar, data);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Work in local
|
|
102
|
+
*/
|
|
103
|
+
mutate(
|
|
104
|
+
URL,
|
|
105
|
+
(currentData) => {
|
|
106
|
+
const events = currentData.events.filter((event) => event.id !== eventId);
|
|
107
|
+
|
|
108
|
+
return {
|
|
109
|
+
...currentData,
|
|
110
|
+
events,
|
|
111
|
+
};
|
|
112
|
+
},
|
|
113
|
+
false
|
|
114
|
+
);
|
|
115
|
+
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { useMemo } from 'react';
|
|
2
|
+
import keyBy from 'lodash/keyBy';
|
|
3
|
+
import useSWR, { mutate } from 'swr';
|
|
4
|
+
|
|
5
|
+
import axios, { fetcher, endpoints } from 'src/utils/axios';
|
|
6
|
+
|
|
7
|
+
// ----------------------------------------------------------------------
|
|
8
|
+
|
|
9
|
+
const options = {
|
|
10
|
+
revalidateIfStale: false,
|
|
11
|
+
revalidateOnFocus: false,
|
|
12
|
+
revalidateOnReconnect: false,
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export function useGetContacts() {
|
|
16
|
+
const URL = [endpoints.chat, { params: { endpoint: 'contacts' } }];
|
|
17
|
+
|
|
18
|
+
const { data, isLoading, error, isValidating } = useSWR(URL, fetcher, options);
|
|
19
|
+
|
|
20
|
+
const memoizedValue = useMemo(
|
|
21
|
+
() => ({
|
|
22
|
+
contacts: data?.contacts || [],
|
|
23
|
+
contactsLoading: isLoading,
|
|
24
|
+
contactsError: error,
|
|
25
|
+
contactsValidating: isValidating,
|
|
26
|
+
contactsEmpty: !isLoading && !data?.contacts.length,
|
|
27
|
+
}),
|
|
28
|
+
[data?.contacts, error, isLoading, isValidating]
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
return memoizedValue;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// ----------------------------------------------------------------------
|
|
35
|
+
|
|
36
|
+
export function useGetConversations() {
|
|
37
|
+
const URL = [endpoints.chat, { params: { endpoint: 'conversations' } }];
|
|
38
|
+
|
|
39
|
+
const { data, isLoading, error, isValidating } = useSWR(URL, fetcher, options);
|
|
40
|
+
|
|
41
|
+
const memoizedValue = useMemo(() => {
|
|
42
|
+
const byId = keyBy(data?.conversations, 'id') || {};
|
|
43
|
+
const allIds = Object.keys(byId) || [];
|
|
44
|
+
|
|
45
|
+
return {
|
|
46
|
+
conversations: {
|
|
47
|
+
byId,
|
|
48
|
+
allIds,
|
|
49
|
+
},
|
|
50
|
+
conversationsLoading: isLoading,
|
|
51
|
+
conversationsError: error,
|
|
52
|
+
conversationsValidating: isValidating,
|
|
53
|
+
conversationsEmpty: !isLoading && !allIds.length,
|
|
54
|
+
};
|
|
55
|
+
}, [data?.conversations, error, isLoading, isValidating]);
|
|
56
|
+
|
|
57
|
+
return memoizedValue;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// ----------------------------------------------------------------------
|
|
61
|
+
|
|
62
|
+
export function useGetConversation(conversationId) {
|
|
63
|
+
const URL = conversationId
|
|
64
|
+
? [endpoints.chat, { params: { conversationId, endpoint: 'conversation' } }]
|
|
65
|
+
: '';
|
|
66
|
+
|
|
67
|
+
const { data, isLoading, error, isValidating } = useSWR(URL, fetcher, options);
|
|
68
|
+
|
|
69
|
+
const memoizedValue = useMemo(
|
|
70
|
+
() => ({
|
|
71
|
+
conversation: data?.conversation,
|
|
72
|
+
conversationLoading: isLoading,
|
|
73
|
+
conversationError: error,
|
|
74
|
+
conversationValidating: isValidating,
|
|
75
|
+
}),
|
|
76
|
+
[data?.conversation, error, isLoading, isValidating]
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
return memoizedValue;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// ----------------------------------------------------------------------
|
|
83
|
+
|
|
84
|
+
export async function sendMessage(conversationId, messageData) {
|
|
85
|
+
const CONVERSATIONS_URL = [endpoints.chat, { params: { endpoint: 'conversations' } }];
|
|
86
|
+
|
|
87
|
+
const CONVERSATION_URL = [
|
|
88
|
+
endpoints.chat,
|
|
89
|
+
{
|
|
90
|
+
params: { conversationId, endpoint: 'conversation' },
|
|
91
|
+
},
|
|
92
|
+
];
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Work on server
|
|
96
|
+
*/
|
|
97
|
+
// const data = { conversationId, messageData };
|
|
98
|
+
// await axios.put(endpoints.chat, data);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Work in local
|
|
102
|
+
*/
|
|
103
|
+
mutate(
|
|
104
|
+
CONVERSATION_URL,
|
|
105
|
+
(currentData) => {
|
|
106
|
+
const { conversation: currentConversation } = currentData;
|
|
107
|
+
|
|
108
|
+
const conversation = {
|
|
109
|
+
...currentConversation,
|
|
110
|
+
messages: [...currentConversation.messages, messageData],
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
return {
|
|
114
|
+
conversation,
|
|
115
|
+
};
|
|
116
|
+
},
|
|
117
|
+
false
|
|
118
|
+
);
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Work in local
|
|
122
|
+
*/
|
|
123
|
+
mutate(
|
|
124
|
+
CONVERSATIONS_URL,
|
|
125
|
+
(currentData) => {
|
|
126
|
+
const { conversations: currentConversations } = currentData;
|
|
127
|
+
|
|
128
|
+
const conversations = currentConversations.map((conversation) =>
|
|
129
|
+
conversation.id === conversationId
|
|
130
|
+
? {
|
|
131
|
+
...conversation,
|
|
132
|
+
messages: [...conversation.messages, messageData],
|
|
133
|
+
}
|
|
134
|
+
: conversation
|
|
135
|
+
);
|
|
136
|
+
|
|
137
|
+
return {
|
|
138
|
+
conversations,
|
|
139
|
+
};
|
|
140
|
+
},
|
|
141
|
+
false
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// ----------------------------------------------------------------------
|
|
146
|
+
|
|
147
|
+
export async function createConversation(conversationData) {
|
|
148
|
+
const URL = [endpoints.chat, { params: { endpoint: 'conversations' } }];
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Work on server
|
|
152
|
+
*/
|
|
153
|
+
const data = { conversationData };
|
|
154
|
+
const res = await axios.post(endpoints.chat, data);
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Work in local
|
|
158
|
+
*/
|
|
159
|
+
mutate(
|
|
160
|
+
URL,
|
|
161
|
+
(currentData) => {
|
|
162
|
+
const conversations = [...currentData.conversations, conversationData];
|
|
163
|
+
return {
|
|
164
|
+
...currentData,
|
|
165
|
+
conversations,
|
|
166
|
+
};
|
|
167
|
+
},
|
|
168
|
+
false
|
|
169
|
+
);
|
|
170
|
+
|
|
171
|
+
return res.data;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// ----------------------------------------------------------------------
|
|
175
|
+
|
|
176
|
+
export async function clickConversation(conversationId) {
|
|
177
|
+
const URL = endpoints.chat;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Work on server
|
|
181
|
+
*/
|
|
182
|
+
// await axios.get(URL, { params: { conversationId, endpoint: 'mark-as-seen' } });
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Work in local
|
|
186
|
+
*/
|
|
187
|
+
mutate(
|
|
188
|
+
[
|
|
189
|
+
URL,
|
|
190
|
+
{
|
|
191
|
+
params: { endpoint: 'conversations' },
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
(currentData) => {
|
|
195
|
+
const conversations = currentData.conversations.map((conversation) =>
|
|
196
|
+
conversation.id === conversationId ? { ...conversation, unreadCount: 0 } : conversation
|
|
197
|
+
);
|
|
198
|
+
|
|
199
|
+
return {
|
|
200
|
+
...currentData,
|
|
201
|
+
conversations,
|
|
202
|
+
};
|
|
203
|
+
},
|
|
204
|
+
false
|
|
205
|
+
);
|
|
206
|
+
}
|
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
import { useMemo } from 'react';
|
|
2
|
+
import useSWR, { mutate } from 'swr';
|
|
3
|
+
|
|
4
|
+
import { fetcher, endpoints } from 'src/utils/axios';
|
|
5
|
+
|
|
6
|
+
// ----------------------------------------------------------------------
|
|
7
|
+
|
|
8
|
+
const URL = endpoints.kanban;
|
|
9
|
+
|
|
10
|
+
const options = {
|
|
11
|
+
revalidateIfStale: false,
|
|
12
|
+
revalidateOnFocus: false,
|
|
13
|
+
revalidateOnReconnect: false,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export function useGetBoard() {
|
|
17
|
+
const { data, isLoading, error, isValidating } = useSWR(URL, fetcher, options);
|
|
18
|
+
|
|
19
|
+
const memoizedValue = useMemo(
|
|
20
|
+
() => ({
|
|
21
|
+
board: data?.board,
|
|
22
|
+
boardLoading: isLoading,
|
|
23
|
+
boardError: error,
|
|
24
|
+
boardValidating: isValidating,
|
|
25
|
+
boardEmpty: !isLoading && !data?.board.ordered.length,
|
|
26
|
+
}),
|
|
27
|
+
[data?.board, error, isLoading, isValidating]
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
return memoizedValue;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// ----------------------------------------------------------------------
|
|
34
|
+
|
|
35
|
+
export async function createColumn(columnData) {
|
|
36
|
+
/**
|
|
37
|
+
* Work on server
|
|
38
|
+
*/
|
|
39
|
+
// const data = { columnData };
|
|
40
|
+
// await axios.post(endpoints.kanban, data, { params: { endpoint: 'create-column' } });
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Work in local
|
|
44
|
+
*/
|
|
45
|
+
mutate(
|
|
46
|
+
URL,
|
|
47
|
+
(currentData) => {
|
|
48
|
+
const { board } = currentData;
|
|
49
|
+
|
|
50
|
+
const columns = {
|
|
51
|
+
...board.columns,
|
|
52
|
+
// add new column in board.columns
|
|
53
|
+
[columnData.id]: columnData,
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
// add new column in board.ordered
|
|
57
|
+
const ordered = [...board.ordered, columnData.id];
|
|
58
|
+
|
|
59
|
+
return {
|
|
60
|
+
...currentData,
|
|
61
|
+
board: {
|
|
62
|
+
...board,
|
|
63
|
+
columns,
|
|
64
|
+
ordered,
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
false
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// ----------------------------------------------------------------------
|
|
73
|
+
|
|
74
|
+
export async function updateColumn(columnId, columnName) {
|
|
75
|
+
/**
|
|
76
|
+
* Work on server
|
|
77
|
+
*/
|
|
78
|
+
// const data = { columnId, columnName };
|
|
79
|
+
// await axios.post(endpoints.kanban, data, { params: { endpoint: 'update-column' } });
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Work in local
|
|
83
|
+
*/
|
|
84
|
+
mutate(
|
|
85
|
+
URL,
|
|
86
|
+
(currentData) => {
|
|
87
|
+
const { board } = currentData;
|
|
88
|
+
|
|
89
|
+
// current column
|
|
90
|
+
const column = board.columns[columnId];
|
|
91
|
+
|
|
92
|
+
const columns = {
|
|
93
|
+
...board.columns,
|
|
94
|
+
// update column in board.columns
|
|
95
|
+
[column.id]: {
|
|
96
|
+
...column,
|
|
97
|
+
name: columnName,
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
...currentData,
|
|
103
|
+
board: {
|
|
104
|
+
...board,
|
|
105
|
+
columns,
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
},
|
|
109
|
+
false
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// ----------------------------------------------------------------------
|
|
114
|
+
|
|
115
|
+
export async function moveColumn(newOrdered) {
|
|
116
|
+
/**
|
|
117
|
+
* Work in local
|
|
118
|
+
*/
|
|
119
|
+
mutate(
|
|
120
|
+
URL,
|
|
121
|
+
(currentData) => {
|
|
122
|
+
const { board } = currentData;
|
|
123
|
+
|
|
124
|
+
// update ordered in board.ordered
|
|
125
|
+
const ordered = newOrdered;
|
|
126
|
+
|
|
127
|
+
return {
|
|
128
|
+
...currentData,
|
|
129
|
+
board: {
|
|
130
|
+
...board,
|
|
131
|
+
ordered,
|
|
132
|
+
},
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
false
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Work on server
|
|
140
|
+
*/
|
|
141
|
+
// const data = { newOrdered };
|
|
142
|
+
// await axios.post(endpoints.kanban, data, { params: { endpoint: 'move-column' } });
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// ----------------------------------------------------------------------
|
|
146
|
+
|
|
147
|
+
export async function clearColumn(columnId) {
|
|
148
|
+
/**
|
|
149
|
+
* Work on server
|
|
150
|
+
*/
|
|
151
|
+
// const data = { columnId };
|
|
152
|
+
// await axios.post(endpoints.kanban, data, { params: { endpoint: 'clear-column' } });
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Work in local
|
|
156
|
+
*/
|
|
157
|
+
mutate(
|
|
158
|
+
URL,
|
|
159
|
+
(currentData) => {
|
|
160
|
+
const { board } = currentData;
|
|
161
|
+
|
|
162
|
+
const { tasks } = board;
|
|
163
|
+
|
|
164
|
+
// current column
|
|
165
|
+
const column = board.columns[columnId];
|
|
166
|
+
|
|
167
|
+
// delete tasks in board.tasks
|
|
168
|
+
column.taskIds.forEach((key) => {
|
|
169
|
+
delete tasks[key];
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
const columns = {
|
|
173
|
+
...board.columns,
|
|
174
|
+
[column.id]: {
|
|
175
|
+
...column,
|
|
176
|
+
// delete task in column
|
|
177
|
+
taskIds: [],
|
|
178
|
+
},
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
return {
|
|
182
|
+
...currentData,
|
|
183
|
+
board: {
|
|
184
|
+
...board,
|
|
185
|
+
columns,
|
|
186
|
+
tasks,
|
|
187
|
+
},
|
|
188
|
+
};
|
|
189
|
+
},
|
|
190
|
+
false
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// ----------------------------------------------------------------------
|
|
195
|
+
|
|
196
|
+
export async function deleteColumn(columnId) {
|
|
197
|
+
/**
|
|
198
|
+
* Work on server
|
|
199
|
+
*/
|
|
200
|
+
// const data = { columnId };
|
|
201
|
+
// await axios.post(endpoints.kanban, data, { params: { endpoint: 'delete-column' } });
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Work in local
|
|
205
|
+
*/
|
|
206
|
+
mutate(
|
|
207
|
+
URL,
|
|
208
|
+
(currentData) => {
|
|
209
|
+
const { board } = currentData;
|
|
210
|
+
|
|
211
|
+
const { columns, tasks } = board;
|
|
212
|
+
|
|
213
|
+
// current column
|
|
214
|
+
const column = columns[columnId];
|
|
215
|
+
|
|
216
|
+
// delete column in board.columns
|
|
217
|
+
delete columns[columnId];
|
|
218
|
+
|
|
219
|
+
// delete tasks in board.tasks
|
|
220
|
+
column.taskIds.forEach((key) => {
|
|
221
|
+
delete tasks[key];
|
|
222
|
+
});
|
|
223
|
+
|
|
224
|
+
// delete column in board.ordered
|
|
225
|
+
const ordered = board.ordered.filter((id) => id !== columnId);
|
|
226
|
+
|
|
227
|
+
return {
|
|
228
|
+
...currentData,
|
|
229
|
+
board: {
|
|
230
|
+
...board,
|
|
231
|
+
columns,
|
|
232
|
+
tasks,
|
|
233
|
+
ordered,
|
|
234
|
+
},
|
|
235
|
+
};
|
|
236
|
+
},
|
|
237
|
+
false
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// ----------------------------------------------------------------------
|
|
242
|
+
|
|
243
|
+
export async function createTask(columnId, taskData) {
|
|
244
|
+
/**
|
|
245
|
+
* Work on server
|
|
246
|
+
*/
|
|
247
|
+
// const data = { columnId, taskData };
|
|
248
|
+
// await axios.post(endpoints.kanban, data, { params: { endpoint: 'create-task' } });
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* Work in local
|
|
252
|
+
*/
|
|
253
|
+
mutate(
|
|
254
|
+
URL,
|
|
255
|
+
(currentData) => {
|
|
256
|
+
const { board } = currentData;
|
|
257
|
+
|
|
258
|
+
// current column
|
|
259
|
+
const column = board.columns[columnId];
|
|
260
|
+
|
|
261
|
+
const columns = {
|
|
262
|
+
...board.columns,
|
|
263
|
+
[columnId]: {
|
|
264
|
+
...column,
|
|
265
|
+
// add task in column
|
|
266
|
+
taskIds: [...column.taskIds, taskData.id],
|
|
267
|
+
},
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
// add task in board.tasks
|
|
271
|
+
const tasks = {
|
|
272
|
+
...board.tasks,
|
|
273
|
+
[taskData.id]: taskData,
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
return {
|
|
277
|
+
...currentData,
|
|
278
|
+
board: {
|
|
279
|
+
...board,
|
|
280
|
+
columns,
|
|
281
|
+
tasks,
|
|
282
|
+
},
|
|
283
|
+
};
|
|
284
|
+
},
|
|
285
|
+
false
|
|
286
|
+
);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// ----------------------------------------------------------------------
|
|
290
|
+
|
|
291
|
+
export async function updateTask(taskData) {
|
|
292
|
+
/**
|
|
293
|
+
* Work on server
|
|
294
|
+
*/
|
|
295
|
+
// const data = { taskData };
|
|
296
|
+
// await axios.post(endpoints.kanban, data, { params: { endpoint: 'update-task' } });
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Work in local
|
|
300
|
+
*/
|
|
301
|
+
mutate(
|
|
302
|
+
URL,
|
|
303
|
+
(currentData) => {
|
|
304
|
+
const { board } = currentData;
|
|
305
|
+
|
|
306
|
+
const tasks = {
|
|
307
|
+
...board.tasks,
|
|
308
|
+
// add task in board.tasks
|
|
309
|
+
[taskData.id]: taskData,
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
return {
|
|
313
|
+
...currentData,
|
|
314
|
+
board: {
|
|
315
|
+
...board,
|
|
316
|
+
tasks,
|
|
317
|
+
},
|
|
318
|
+
};
|
|
319
|
+
},
|
|
320
|
+
false
|
|
321
|
+
);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
// ----------------------------------------------------------------------
|
|
325
|
+
|
|
326
|
+
export async function moveTask(updateColumns) {
|
|
327
|
+
/**
|
|
328
|
+
* Work in local
|
|
329
|
+
*/
|
|
330
|
+
mutate(
|
|
331
|
+
URL,
|
|
332
|
+
(currentData) => {
|
|
333
|
+
const { board } = currentData;
|
|
334
|
+
|
|
335
|
+
// update board.columns
|
|
336
|
+
const columns = updateColumns;
|
|
337
|
+
|
|
338
|
+
return {
|
|
339
|
+
...currentData,
|
|
340
|
+
board: {
|
|
341
|
+
...board,
|
|
342
|
+
columns,
|
|
343
|
+
},
|
|
344
|
+
};
|
|
345
|
+
},
|
|
346
|
+
false
|
|
347
|
+
);
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Work on server
|
|
351
|
+
*/
|
|
352
|
+
// const data = { updateColumns };
|
|
353
|
+
// await axios.post(endpoints.kanban, data, { params: { endpoint: 'move-task' } });
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// ----------------------------------------------------------------------
|
|
357
|
+
|
|
358
|
+
export async function deleteTask(columnId, taskId) {
|
|
359
|
+
/**
|
|
360
|
+
* Work on server
|
|
361
|
+
*/
|
|
362
|
+
// const data = { columnId, taskId };
|
|
363
|
+
// await axios.post(endpoints.kanban, data, { params: { endpoint: 'delete-task' } });
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Work in local
|
|
367
|
+
*/
|
|
368
|
+
mutate(
|
|
369
|
+
URL,
|
|
370
|
+
(currentData) => {
|
|
371
|
+
const { board } = currentData;
|
|
372
|
+
|
|
373
|
+
const { tasks } = board;
|
|
374
|
+
|
|
375
|
+
// current column
|
|
376
|
+
const column = board.columns[columnId];
|
|
377
|
+
|
|
378
|
+
const columns = {
|
|
379
|
+
...board.columns,
|
|
380
|
+
[column.id]: {
|
|
381
|
+
...column,
|
|
382
|
+
// delete tasks in column
|
|
383
|
+
taskIds: column.taskIds.filter((id) => id !== taskId),
|
|
384
|
+
},
|
|
385
|
+
};
|
|
386
|
+
|
|
387
|
+
// delete tasks in board.tasks
|
|
388
|
+
delete tasks[taskId];
|
|
389
|
+
|
|
390
|
+
return {
|
|
391
|
+
...currentData,
|
|
392
|
+
board: {
|
|
393
|
+
...board,
|
|
394
|
+
columns,
|
|
395
|
+
tasks,
|
|
396
|
+
},
|
|
397
|
+
};
|
|
398
|
+
},
|
|
399
|
+
false
|
|
400
|
+
);
|
|
401
|
+
}
|