xertica-ui 2.1.2 → 2.1.3
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/CHANGELOG.md +31 -0
- package/README.md +1 -1
- package/assets/xertica-logo.svg +37 -37
- package/assets/xertica-x-logo.svg +20 -20
- package/bin/cli.ts +1 -1
- package/bin/generate-tokens.ts +13 -7
- package/components/assistant/index.ts +6 -6
- package/components/assistant/xertica-assistant/index.ts +2 -0
- package/components/assistant/xertica-assistant/use-assistant.ts +564 -0
- package/components/assistant/xertica-assistant/xertica-assistant.stories.tsx +200 -0
- package/components/assistant/xertica-assistant/xertica-assistant.tsx +183 -474
- package/components/blocks/card-patterns/ActivityCard.tsx +72 -72
- package/components/blocks/card-patterns/FeatureCard.tsx +100 -100
- package/components/blocks/card-patterns/NotificationCard.tsx +127 -127
- package/components/blocks/card-patterns/ProfileCard.tsx +84 -84
- package/components/blocks/card-patterns/ProjectCard.tsx +89 -89
- package/components/blocks/card-patterns/QuickActionCard.tsx +62 -62
- package/components/blocks/card-patterns/card-patterns.stories.tsx +445 -445
- package/components/blocks/card-patterns/index.ts +17 -17
- package/components/blocks/index.ts +1 -1
- package/components/brand/index.ts +6 -6
- package/components/brand/xertica-provider/XerticaProvider.tsx +48 -48
- package/components/brand/xertica-provider/xertica-provider.mdx +61 -61
- package/components/brand/xertica-provider/xertica-provider.test.tsx +52 -52
- package/components/examples/MapExamples.tsx +282 -282
- package/components/examples/SimpleFilterableMap.tsx +191 -191
- package/components/examples/index.ts +51 -51
- package/components/figma/ImageWithFallback.tsx +27 -27
- package/components/hooks/index.ts +7 -7
- package/components/index.ts +5 -5
- package/components/layout/header/header.test.tsx +8 -8
- package/components/layout/header/header.tsx +4 -4
- package/components/layout/index.ts +2 -2
- package/components/layout/sidebar/index.ts +2 -0
- package/components/layout/sidebar/sidebar.mdx +1 -1
- package/components/layout/sidebar/sidebar.stories.tsx +160 -8
- package/components/layout/sidebar/sidebar.test.tsx +11 -11
- package/components/layout/sidebar/sidebar.tsx +610 -471
- package/components/layout/sidebar/use-sidebar.ts +113 -0
- package/components/media/FloatingMediaWrapper.tsx +11 -11
- package/components/media/audio-player/AudioPlayer.tsx +22 -22
- package/components/media/index.ts +3 -3
- package/components/pages/home-content/HomeContent.tsx +7 -7
- package/components/pages/home-content/home-content.mdx +62 -62
- package/components/pages/home-page/HomePage.stories.tsx +39 -39
- package/components/pages/home-page/HomePage.tsx +1 -1
- package/components/pages/home-page/home-page.mdx +53 -53
- package/components/pages/index.ts +8 -8
- package/components/pages/template-content/TemplateContent.tsx +5 -5
- package/components/pages/template-content/template-content.mdx +61 -61
- package/components/pages/template-page/TemplatePage.stories.tsx +39 -39
- package/components/pages/template-page/TemplatePage.tsx +5 -5
- package/components/pages/template-page/template-page.mdx +53 -53
- package/components/public-api-smoke.test.tsx +52 -52
- package/components/shared/assistant-utils.ts +43 -43
- package/components/shared/layout-constants.ts +1 -1
- package/components/ui/accordion/accordion.mdx +8 -8
- package/components/ui/accordion/accordion.stories.tsx +53 -53
- package/components/ui/alert/alert.mdx +8 -8
- package/components/ui/alert-dialog/alert-dialog.mdx +8 -8
- package/components/ui/aspect-ratio/aspect-ratio.mdx +8 -8
- package/components/ui/assistant-chart/assistant-chart.mdx +8 -8
- package/components/ui/avatar/avatar.mdx +8 -8
- package/components/ui/badge/badge.mdx +8 -8
- package/components/ui/badge/badge.tsx +9 -9
- package/components/ui/breadcrumb/breadcrumb.mdx +8 -8
- package/components/ui/button/button.mdx +8 -8
- package/components/ui/calendar/calendar.mdx +8 -8
- package/components/ui/calendar/calendar.tsx +258 -258
- package/components/ui/card/card.mdx +8 -8
- package/components/ui/card/card.stories.tsx +245 -245
- package/components/ui/carousel/carousel.mdx +8 -8
- package/components/ui/chart/chart.mdx +8 -8
- package/components/ui/chart/chart.stories.tsx +1303 -344
- package/components/ui/chart/chart.test.tsx +154 -154
- package/components/ui/chart/chart.tsx +2367 -1494
- package/components/ui/checkbox/checkbox.mdx +8 -8
- package/components/ui/checkbox/checkbox.stories.tsx +20 -20
- package/components/ui/collapsible/collapsible.mdx +8 -8
- package/components/ui/command/command.mdx +8 -8
- package/components/ui/context-menu/context-menu.mdx +8 -8
- package/components/ui/dialog/dialog.mdx +8 -8
- package/components/ui/drawer/drawer.mdx +8 -8
- package/components/ui/dropdown-menu/dropdown-menu.mdx +8 -8
- package/components/ui/empty/empty.mdx +8 -8
- package/components/ui/file-upload/file-upload.mdx +8 -8
- package/components/ui/file-upload/file-upload.stories.tsx +100 -0
- package/components/ui/file-upload/file-upload.tsx +14 -74
- package/components/ui/file-upload/index.ts +1 -0
- package/components/ui/file-upload/use-file-upload.ts +181 -0
- package/components/ui/google-maps-loader/google-maps-loader.tsx +2 -2
- package/components/ui/hover-card/hover-card.mdx +8 -8
- package/components/ui/input/input.mdx +8 -8
- package/components/ui/input-otp/input-otp.mdx +8 -8
- package/components/ui/input-otp/input-otp.stories.tsx +6 -6
- package/components/ui/label/label.mdx +8 -8
- package/components/ui/map/map.mdx +8 -8
- package/components/ui/map/map.stories.tsx +51 -51
- package/components/ui/map/map.tsx +2 -2
- package/components/ui/menubar/menubar.mdx +8 -8
- package/components/ui/navigation-menu/navigation-menu.mdx +8 -8
- package/components/ui/notification-badge/notification-badge.mdx +8 -8
- package/components/ui/pagination/index.ts +2 -0
- package/components/ui/pagination/pagination.mdx +8 -8
- package/components/ui/pagination/pagination.stories.tsx +94 -0
- package/components/ui/pagination/use-pagination.ts +194 -0
- package/components/ui/popover/popover.mdx +8 -8
- package/components/ui/progress/progress.mdx +8 -8
- package/components/ui/progress/progress.tsx +68 -68
- package/components/ui/radio-group/radio-group.mdx +8 -8
- package/components/ui/rating/rating.mdx +8 -8
- package/components/ui/resizable/resizable.mdx +8 -8
- package/components/ui/rich-text-editor/index.ts +2 -0
- package/components/ui/rich-text-editor/rich-text-editor.stories.tsx +129 -1
- package/components/ui/rich-text-editor/rich-text-editor.tsx +86 -305
- package/components/ui/rich-text-editor/use-rich-text-editor.ts +439 -0
- package/components/ui/route-map/route-map.mdx +8 -8
- package/components/ui/route-map/route-map.stories.tsx +54 -54
- package/components/ui/route-map/route-map.tsx +2 -2
- package/components/ui/scroll-area/scroll-area.mdx +8 -8
- package/components/ui/search/search.mdx +8 -8
- package/components/ui/select/select.mdx +8 -8
- package/components/ui/select/select.stories.tsx +9 -9
- package/components/ui/separator/separator.mdx +8 -8
- package/components/ui/sheet/sheet.mdx +8 -8
- package/components/ui/sheet/sheet.stories.tsx +95 -95
- package/components/ui/simple-map/simple-map.mdx +8 -8
- package/components/ui/simple-map/simple-map.stories.tsx +48 -48
- package/components/ui/skeleton/skeleton.mdx +8 -8
- package/components/ui/slider/slider.mdx +8 -8
- package/components/ui/sonner/sonner.mdx +8 -8
- package/components/ui/stats-card/stats-card.mdx +8 -8
- package/components/ui/stepper/index.ts +3 -1
- package/components/ui/stepper/stepper.mdx +8 -8
- package/components/ui/stepper/stepper.stories.tsx +116 -0
- package/components/ui/stepper/stepper.tsx +4 -4
- package/components/ui/stepper/use-stepper.ts +137 -0
- package/components/ui/switch/switch.mdx +8 -8
- package/components/ui/switch/switch.stories.tsx +20 -20
- package/components/ui/table/table.mdx +8 -8
- package/components/ui/tabs/tabs.mdx +8 -8
- package/components/ui/tabs/tabs.stories.tsx +26 -26
- package/components/ui/textarea/textarea.mdx +8 -8
- package/components/ui/timeline/timeline.mdx +8 -8
- package/components/ui/toggle/toggle.mdx +8 -8
- package/components/ui/toggle-group/toggle-group.mdx +8 -8
- package/components/ui/tooltip/tooltip.mdx +8 -8
- package/components/ui/tree-view/index.ts +4 -1
- package/components/ui/tree-view/tree-view.mdx +8 -8
- package/components/ui/tree-view/tree-view.stories.tsx +110 -4
- package/components/ui/tree-view/tree-view.tsx +17 -125
- package/components/ui/tree-view/use-tree-view.ts +229 -0
- package/components.json +1512 -1512
- package/contexts/ApiKeyContext.tsx +72 -72
- package/contexts/BrandColorsContext.tsx +26 -26
- package/contexts/LanguageContext.tsx +13 -13
- package/contexts/LayoutContext.test.tsx +11 -11
- package/contexts/LayoutContext.tsx +29 -29
- package/contexts/ThemeContext.tsx +26 -26
- package/contexts/theme-data.ts +4 -4
- package/dist/{AssistantChart-CVzmmhx4.js → AssistantChart-C_hwFRRr.js} +4 -4
- package/dist/{AssistantChart-BAx9VQvb.cjs → AssistantChart-CldVCVDe.cjs} +311 -94
- package/dist/{AssistantChart-CVko2A1W.js → AssistantChart-Cu3m7RBo.js} +314 -97
- package/dist/{AssistantChart-9w31gdAb.cjs → AssistantChart-DoZCyS5r.cjs} +4 -4
- package/dist/AudioPlayer-B1lt5cPl.cjs +989 -0
- package/dist/AudioPlayer-BZ7bibzU.cjs +982 -0
- package/dist/AudioPlayer-C12BjQBV.cjs +997 -0
- package/dist/AudioPlayer-DMcG_c7L.js +990 -0
- package/dist/AudioPlayer-DcFKRJE_.js +998 -0
- package/dist/AudioPlayer-e8LfNoqO.js +983 -0
- package/dist/{xertica-assistant-Qp3ydksa.cjs → CodeBlock-7TTgmdGG.cjs} +263 -51
- package/dist/{xertica-assistant-gnCJdcZY.js → CodeBlock-BeSt1h5P.js} +219 -7
- package/dist/CodeBlock-BgfYL_rD.cjs +2094 -0
- package/dist/CodeBlock-BlcqlA9M.cjs +2094 -0
- package/dist/CodeBlock-Bnmeu5ez.cjs +2094 -0
- package/dist/CodeBlock-BtfPlbAI.js +2078 -0
- package/dist/CodeBlock-CIySIuYr.js +2078 -0
- package/dist/CodeBlock-CuPtUM-7.cjs +2094 -0
- package/dist/CodeBlock-D6ffWXgc.js +2078 -0
- package/dist/CodeBlock-D8dcwbit.cjs +2094 -0
- package/dist/CodeBlock-DMZrFnlw.cjs +2094 -0
- package/dist/CodeBlock-DlBehYN8.js +2078 -0
- package/dist/CodeBlock-DnYNI8rQ.js +2078 -0
- package/dist/CodeBlock-DvKWbSnE.cjs +2094 -0
- package/dist/CodeBlock-DwMCfkFY.js +2078 -0
- package/dist/CodeBlock-Dy6CNYyj.js +2078 -0
- package/dist/CodeBlock-U1pPOQI7.cjs +2094 -0
- package/dist/CodeBlock-f_GpNhEB.js +2078 -0
- package/dist/CodeBlock-oB6u8nI1.js +2078 -0
- package/dist/CodeBlock-tZC31B73.cjs +2094 -0
- package/dist/ImageWithFallback-CGtidP6B.cjs +4542 -0
- package/dist/ImageWithFallback-lsg3pdFg.js +4508 -0
- package/dist/LanguageSelector-B5YfbHra.js +231 -0
- package/dist/LanguageSelector-D6uacAIM.cjs +230 -0
- package/dist/LayoutContext-BAql6ZRY.js +97 -0
- package/dist/LayoutContext-BvK-ggDa.cjs +96 -0
- package/dist/ThemeContext-BoH4NLfN.js +734 -0
- package/dist/{ThemeContext-BbBNoFTG.js → ThemeContext-C2EwAPDt.js} +2 -2
- package/dist/ThemeContext-r69W20Xg.cjs +733 -0
- package/dist/{ThemeContext-Cmr8Ex8H.cjs → ThemeContext-vTjumZeM.cjs} +2 -2
- package/dist/{VerifyEmailPage-BE-L9mB7.js → VerifyEmailPage-C0c2e5n0.js} +7 -7
- package/dist/{VerifyEmailPage-DMBh4NM9.cjs → VerifyEmailPage-CYXtbKi3.cjs} +1 -1
- package/dist/{VerifyEmailPage-CR7kb5df.cjs → VerifyEmailPage-Cwi3kbol.cjs} +7 -7
- package/dist/{VerifyEmailPage-CdYPSJoO.js → VerifyEmailPage-DvMLZgFt.js} +1 -1
- package/dist/XerticaOrbe-KL1RBHzw.cjs +1354 -0
- package/dist/XerticaOrbe-zwS1p2a8.js +1355 -0
- package/dist/XerticaProvider-6btlAlzc.js +17 -0
- package/dist/XerticaProvider-BNoNOxQ5.cjs +16 -0
- package/dist/XerticaProvider-BlY2limY.cjs +38 -0
- package/dist/{XerticaProvider-BITjgC5p.js → XerticaProvider-CEoWMTxu.js} +2 -2
- package/dist/{XerticaProvider-By8q3Roe.cjs → XerticaProvider-CllrbMEJ.cjs} +2 -2
- package/dist/XerticaProvider-DDuiIcKo.js +39 -0
- package/dist/XerticaProvider-cI9hSs27.cjs +38 -0
- package/dist/XerticaProvider-hSwhNQex.js +39 -0
- package/dist/{alert-dialog-yckpaOpy.cjs → alert-dialog-DSKByiKZ.cjs} +3 -3
- package/dist/{alert-dialog-iDe5VE5o.js → alert-dialog-s-vmNkJ_.js} +3 -3
- package/dist/assistant.cjs.js +2 -1
- package/dist/assistant.es.js +3 -2
- package/dist/brand.cjs.js +1 -1
- package/dist/brand.es.js +1 -1
- package/dist/breadcrumb-CqJ7bHY5.js +161 -0
- package/dist/breadcrumb-m9Hb2_XN.cjs +177 -0
- package/dist/cli.js +14 -8
- package/dist/components/assistant/xertica-assistant/index.d.ts +2 -0
- package/dist/components/assistant/xertica-assistant/use-assistant.d.ts +126 -0
- package/dist/components/assistant/xertica-assistant/xertica-assistant.d.ts +7 -2
- package/dist/components/blocks/audio-player/AudioPlayer.d.ts +35 -0
- package/dist/components/blocks/audio-player/index.d.ts +1 -0
- package/dist/components/blocks/document-editor/DocumentEditor.d.ts +26 -0
- package/dist/components/blocks/document-editor/index.d.ts +1 -0
- package/dist/components/blocks/podcast-player/PodcastPlayer.d.ts +41 -0
- package/dist/components/blocks/podcast-player/index.d.ts +1 -0
- package/dist/components/layout/sidebar/index.d.ts +2 -0
- package/dist/components/layout/sidebar/sidebar.d.ts +80 -0
- package/dist/components/layout/sidebar/use-sidebar.d.ts +22 -0
- package/dist/components/shared/layout-constants.d.ts +1 -1
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/chart/chart.d.ts +162 -5
- package/dist/components/ui/file-upload/file-upload.d.ts +2 -0
- package/dist/components/ui/file-upload/index.d.ts +1 -0
- package/dist/components/ui/file-upload/use-file-upload.d.ts +49 -0
- package/dist/components/ui/pagination/index.d.ts +2 -0
- package/dist/components/ui/pagination/use-pagination.d.ts +78 -0
- package/dist/components/ui/rich-text-editor/index.d.ts +2 -0
- package/dist/components/ui/rich-text-editor/use-rich-text-editor.d.ts +107 -0
- package/dist/components/ui/stepper/index.d.ts +3 -1
- package/dist/components/ui/stepper/stepper.d.ts +2 -2
- package/dist/components/ui/stepper/use-stepper.d.ts +60 -0
- package/dist/components/ui/tree-view/index.d.ts +4 -1
- package/dist/components/ui/tree-view/tree-view.d.ts +4 -6
- package/dist/components/ui/tree-view/use-tree-view.d.ts +60 -0
- package/dist/dropdown-menu-BDB5CmQs.cjs +247 -0
- package/dist/dropdown-menu-DQidbKBD.js +231 -0
- package/dist/google-maps-loader-BFWp6VPd.js +287 -0
- package/dist/{google-maps-loader-t2IlYBzw.js → google-maps-loader-CTYySAun.js} +4 -0
- package/dist/{google-maps-loader-BqsYL48U.cjs → google-maps-loader-Y-QkD-Li.cjs} +5 -0
- package/dist/google-maps-loader-eS3uQ5TA.cjs +287 -0
- package/dist/header-Cgy6vYPk.cjs +731 -0
- package/dist/header-DRlT4jgI.js +715 -0
- package/dist/header-Dux00SI4.cjs +731 -0
- package/dist/header-EkGKXPsD.js +715 -0
- package/dist/header-WfEywpyc.cjs +731 -0
- package/dist/header-tifNQn2U.js +715 -0
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +1 -1
- package/dist/index-BhapVLVj.js +8 -0
- package/dist/{index-D3RLKRAs.cjs → index-COtD8bRW.cjs} +1 -1
- package/dist/index-D6fxYEY8.cjs +7 -0
- package/dist/index-DW5tYe26.js +8 -0
- package/dist/index.cjs.js +19 -8
- package/dist/index.es.js +39 -28
- package/dist/index.umd.js +1043 -470
- package/dist/input-2R4loU86.js +127 -0
- package/dist/input-DWANSKGb.cjs +145 -0
- package/dist/layout.cjs.js +89 -1
- package/dist/layout.es.js +90 -2
- package/dist/pages.cjs.js +1 -1
- package/dist/pages.es.js +1 -1
- package/dist/rich-text-editor-0mraWT5y.cjs +2376 -0
- package/dist/rich-text-editor-B6jMRLzk.cjs +1939 -0
- package/dist/rich-text-editor-B8_oYcIR.js +1730 -0
- package/dist/rich-text-editor-B9UbSXNb.js +1203 -0
- package/dist/rich-text-editor-BYuRBNBU.js +2373 -0
- package/dist/rich-text-editor-Bb9pySTs.cjs +2374 -0
- package/dist/rich-text-editor-BcL6L3cm.cjs +2374 -0
- package/dist/rich-text-editor-BoVZYtTs.cjs +2391 -0
- package/dist/rich-text-editor-CPV1lEPH.cjs +1748 -0
- package/dist/rich-text-editor-CoKqbCtu.cjs +1799 -0
- package/dist/rich-text-editor-Cw56T_mB.js +2356 -0
- package/dist/rich-text-editor-Cyt8qs2b.js +1921 -0
- package/dist/rich-text-editor-D6H84OcX.cjs +1220 -0
- package/dist/rich-text-editor-D76gD-QI.js +2328 -0
- package/dist/rich-text-editor-DKkokOnA.js +1781 -0
- package/dist/rich-text-editor-DNsdpN64.cjs +2359 -0
- package/dist/rich-text-editor-DfG8bCyY.js +2358 -0
- package/dist/rich-text-editor-DgF8s7xW.js +2949 -0
- package/dist/rich-text-editor-Dxjw31Z4.js +2341 -0
- package/dist/rich-text-editor-DzP0Epmb.js +2356 -0
- package/dist/rich-text-editor-mWoaSCE4.cjs +2966 -0
- package/dist/rich-text-editor-skplNlBM.cjs +2345 -0
- package/dist/select-Bkbr0f-Z.cjs +162 -0
- package/dist/select-CvIVdX2n.js +145 -0
- package/dist/sidebar-CK_0ZQHj.cjs +803 -0
- package/dist/sidebar-CUuOvYhK.js +787 -0
- package/dist/slider-Bc5Hd0y1.js +56 -0
- package/dist/slider-N7hFFj6X.cjs +73 -0
- package/dist/tooltip-Ded96neP.cjs +137 -0
- package/dist/tooltip-HDOoD2-0.js +120 -0
- package/dist/ui.cjs.js +14 -4
- package/dist/ui.es.js +26 -16
- package/dist/use-mobile-B0hNy_Y6.cjs +4303 -0
- package/dist/use-mobile-BXuYROXM.js +4202 -0
- package/dist/use-mobile-Bbd51ASU.cjs +4392 -0
- package/dist/use-mobile-Bk6CX-TC.js +4359 -0
- package/dist/use-mobile-BvYdisLP.js +4202 -0
- package/dist/use-mobile-BzuxjzNX.cjs +4392 -0
- package/dist/use-mobile-CG2-SdXV.cjs +4235 -0
- package/dist/use-mobile-CKb5pqTs.js +4269 -0
- package/dist/use-mobile-CYuAuGDl.js +4202 -0
- package/dist/use-mobile-CaENcqm-.js +4508 -0
- package/dist/use-mobile-CbrYgJGJ.js +4203 -0
- package/dist/use-mobile-DMOvImGQ.cjs +4542 -0
- package/dist/use-mobile-DRB3BQgD.cjs +4235 -0
- package/dist/use-mobile-DZvv7QMR.js +4359 -0
- package/dist/use-mobile-DdI_TXam.cjs +4235 -0
- package/dist/use-mobile-DlceKf8a.js +4359 -0
- package/dist/use-mobile-DsOnow1o.cjs +4236 -0
- package/dist/use-mobile-Kcj6jSnK.cjs +4392 -0
- package/dist/use-mobile-bnKcua_i.js +4202 -0
- package/dist/use-mobile-ncXBeE2z.cjs +4235 -0
- package/dist/{xertica-assistant-B1IaHXnB.cjs → xertica-assistant-dyP7KHM5.cjs} +533 -392
- package/dist/{xertica-assistant-DPsESB6t.js → xertica-assistant-yX1CFBBo.js} +535 -394
- package/dist/xertica-ui.css +2 -2
- package/docs/ai-usage.md +28 -10
- package/docs/architecture.md +76 -0
- package/docs/components/assistant.md +159 -0
- package/docs/components/calendar.md +154 -154
- package/docs/components/card-patterns.md +337 -337
- package/docs/components/card.md +235 -235
- package/docs/components/chart.md +354 -39
- package/docs/components/file-upload.md +119 -2
- package/docs/components/map.md +84 -84
- package/docs/components/pagination.md +187 -0
- package/docs/components/rich-text-editor.md +164 -0
- package/docs/components/sidebar.md +153 -4
- package/docs/components/stepper.md +157 -12
- package/docs/components/tree-view.md +164 -6
- package/docs/components/xertica-provider.md +24 -24
- package/docs/decision-tree.md +287 -287
- package/docs/getting-started.md +1 -1
- package/docs/guidelines.md +14 -8
- package/docs/layout.md +2 -2
- package/docs/llms.md +4 -4
- package/guidelines/Guidelines.md +252 -250
- package/hooks/useTheme.ts +3 -3
- package/imports/Podcast.tsx +388 -388
- package/imports/XerticaAi.tsx +45 -45
- package/imports/XerticaX.tsx +19 -19
- package/imports/svg-aueiaqngck.ts +11 -11
- package/imports/svg-v9krss1ozd.ts +16 -16
- package/imports/svg-vhrdofe3qe.ts +5 -5
- package/llms-compact.txt +327 -327
- package/llms.txt +160 -160
- package/package.json +203 -203
- package/styles/xertica/app-overrides/chat.css +61 -61
- package/styles/xertica/app-overrides/scrollbar.css +33 -33
- package/styles/xertica/integrations/google-maps.css +76 -76
- package/styles/xertica/integrations/sonner.css +73 -73
- package/styles/xertica/tokens.css +41 -12
- package/templates/CLAUDE.md +182 -172
- package/templates/guidelines/Guidelines.md +325 -313
- package/templates/package.json +3 -3
- package/templates/src/features/auth/index.ts +4 -4
- package/templates/src/features/auth/ui/AuthPageShell.tsx +34 -34
- package/templates/src/features/auth/ui/ForgotPasswordContent.tsx +70 -70
- package/templates/src/features/auth/ui/LoginContent.tsx +90 -90
- package/templates/src/features/auth/ui/ResetPasswordContent.tsx +151 -151
- package/templates/src/features/auth/ui/SocialLoginButtons.tsx +59 -59
- package/templates/src/features/auth/ui/VerifyEmailContent.tsx +82 -82
- package/templates/src/features/home/index.ts +1 -1
- package/templates/src/features/home/ui/HomeContent.tsx +100 -100
- package/templates/src/features/template/index.ts +5 -5
- package/templates/src/features/template/ui/CrudTemplate.tsx +3 -3
- package/templates/src/features/template/ui/DashboardTemplate.tsx +3 -3
- package/templates/src/features/template/ui/FormTemplate.tsx +120 -120
- package/templates/src/features/template/ui/LoginTemplate.tsx +3 -3
- package/templates/src/pages/AssistantPage.tsx +328 -328
- package/templates/src/pages/ForgotPasswordPage.tsx +6 -6
- package/templates/src/pages/HomePage.tsx +57 -57
- package/templates/src/pages/LoginPage.tsx +10 -10
- package/templates/src/pages/ResetPasswordPage.tsx +6 -6
- package/templates/src/pages/TemplatePage.tsx +30 -30
- package/templates/src/pages/VerifyEmailPage.tsx +6 -6
- package/templates/src/shared/config/navigation.ts +20 -20
- package/templates/src/shared/lib/auth.ts +20 -20
- package/templates/src/shared/types/auth.ts +3 -3
- package/templates/src/styles/xertica/tokens.css +39 -10
- package/templates/tsconfig.json +5 -5
- package/utils/gemini.ts +140 -140
- package/dist/VerifyEmailPage-Bae2cBXT.cjs +0 -2827
- package/dist/VerifyEmailPage-CbgjOF0v.js +0 -2828
- package/dist/index-CkTUgOwX.js +0 -8
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { L as LayoutProvider } from "./LayoutContext-BAql6ZRY.js";
|
|
3
|
+
import { G as GoogleMapsLoaderProvider } from "./google-maps-loader-BFWp6VPd.js";
|
|
4
|
+
import { T as Toaster } from "./sonner-g9RIfi35.js";
|
|
5
|
+
import { b as TooltipProvider } from "./tooltip-HDOoD2-0.js";
|
|
6
|
+
function XerticaProvider({
|
|
7
|
+
children,
|
|
8
|
+
googleMapsApiKey
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ jsx(GoogleMapsLoaderProvider, { apiKey: googleMapsApiKey, children: /* @__PURE__ */ jsx(LayoutProvider, { children: /* @__PURE__ */ jsxs(TooltipProvider, { children: [
|
|
11
|
+
children,
|
|
12
|
+
/* @__PURE__ */ jsx(Toaster, { position: "top-right", richColors: true })
|
|
13
|
+
] }) }) });
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
XerticaProvider as X
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const LayoutContext = require("./LayoutContext-BvK-ggDa.cjs");
|
|
4
|
+
const googleMapsLoader = require("./google-maps-loader-eS3uQ5TA.cjs");
|
|
5
|
+
const sonner = require("./sonner-DeUIj0Zg.cjs");
|
|
6
|
+
const tooltip = require("./tooltip-Ded96neP.cjs");
|
|
7
|
+
function XerticaProvider({
|
|
8
|
+
children,
|
|
9
|
+
googleMapsApiKey
|
|
10
|
+
}) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx(googleMapsLoader.GoogleMapsLoaderProvider, { apiKey: googleMapsApiKey, children: /* @__PURE__ */ jsxRuntime.jsx(LayoutContext.LayoutProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(tooltip.TooltipProvider, { children: [
|
|
12
|
+
children,
|
|
13
|
+
/* @__PURE__ */ jsxRuntime.jsx(sonner.Toaster, { position: "top-right", richColors: true })
|
|
14
|
+
] }) }) });
|
|
15
|
+
}
|
|
16
|
+
exports.XerticaProvider = XerticaProvider;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const ThemeContext = require("./ThemeContext-vTjumZeM.cjs");
|
|
4
|
+
const LayoutContext = require("./LayoutContext-CwT5KLiW.cjs");
|
|
5
|
+
const googleMapsLoader = require("./google-maps-loader-Y-QkD-Li.cjs");
|
|
6
|
+
const sonner = require("./sonner-DeUIj0Zg.cjs");
|
|
7
|
+
const tooltip = require("./tooltip-Ded96neP.cjs");
|
|
8
|
+
function XerticaProvider({
|
|
9
|
+
children,
|
|
10
|
+
apiKey,
|
|
11
|
+
googleMapsApiKey,
|
|
12
|
+
defaultBrandTheme,
|
|
13
|
+
primaryColor,
|
|
14
|
+
useCustomTokens,
|
|
15
|
+
disableDarkMode
|
|
16
|
+
}) {
|
|
17
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ThemeContext.ThemeProvider, { disableDarkMode, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18
|
+
ThemeContext.BrandColorsProvider,
|
|
19
|
+
{
|
|
20
|
+
defaultTheme: defaultBrandTheme,
|
|
21
|
+
primaryColor,
|
|
22
|
+
useCustomTokens,
|
|
23
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(ThemeContext.LanguageProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
24
|
+
ThemeContext.ApiKeyProvider,
|
|
25
|
+
{
|
|
26
|
+
initialApiKey: apiKey,
|
|
27
|
+
initialGeminiApiKey: apiKey,
|
|
28
|
+
initialGoogleMapsApiKey: googleMapsApiKey,
|
|
29
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(googleMapsLoader.GoogleMapsLoaderProvider, { apiKey: googleMapsApiKey, children: /* @__PURE__ */ jsxRuntime.jsx(ThemeContext.AssistenteProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(LayoutContext.LayoutProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(tooltip.TooltipProvider, { children: [
|
|
30
|
+
children,
|
|
31
|
+
/* @__PURE__ */ jsxRuntime.jsx(sonner.Toaster, { position: "top-right", richColors: true })
|
|
32
|
+
] }) }) }) })
|
|
33
|
+
}
|
|
34
|
+
) })
|
|
35
|
+
}
|
|
36
|
+
) });
|
|
37
|
+
}
|
|
38
|
+
exports.XerticaProvider = XerticaProvider;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { T as ThemeProvider, B as BrandColorsProvider, L as LanguageProvider, A as ApiKeyProvider, a as AssistenteProvider } from "./ThemeContext-
|
|
2
|
+
import { T as ThemeProvider, B as BrandColorsProvider, L as LanguageProvider, A as ApiKeyProvider, a as AssistenteProvider } from "./ThemeContext-C2EwAPDt.js";
|
|
3
3
|
import { L as LayoutProvider } from "./LayoutContext-DVLCsoQn.js";
|
|
4
|
-
import { b as GoogleMapsLoaderProvider } from "./google-maps-loader-
|
|
4
|
+
import { b as GoogleMapsLoaderProvider } from "./google-maps-loader-CTYySAun.js";
|
|
5
5
|
import { T as Toaster } from "./sonner-g9RIfi35.js";
|
|
6
6
|
import { b as TooltipProvider } from "./tooltip-CTyZCD8h.js";
|
|
7
7
|
function XerticaProvider({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const ThemeContext = require("./ThemeContext-
|
|
3
|
+
const ThemeContext = require("./ThemeContext-vTjumZeM.cjs");
|
|
4
4
|
const LayoutContext = require("./LayoutContext-CwT5KLiW.cjs");
|
|
5
|
-
const googleMapsLoader = require("./google-maps-loader-
|
|
5
|
+
const googleMapsLoader = require("./google-maps-loader-Y-QkD-Li.cjs");
|
|
6
6
|
const sonner = require("./sonner-DeUIj0Zg.cjs");
|
|
7
7
|
const tooltip = require("./tooltip-CNtsL5cB.cjs");
|
|
8
8
|
function XerticaProvider({
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { T as ThemeProvider, B as BrandColorsProvider, L as LanguageProvider, A as ApiKeyProvider, a as AssistenteProvider } from "./ThemeContext-C2EwAPDt.js";
|
|
3
|
+
import { L as LayoutProvider } from "./LayoutContext-DVLCsoQn.js";
|
|
4
|
+
import { b as GoogleMapsLoaderProvider } from "./google-maps-loader-CTYySAun.js";
|
|
5
|
+
import { T as Toaster } from "./sonner-g9RIfi35.js";
|
|
6
|
+
import { b as TooltipProvider } from "./tooltip-HDOoD2-0.js";
|
|
7
|
+
function XerticaProvider({
|
|
8
|
+
children,
|
|
9
|
+
apiKey,
|
|
10
|
+
googleMapsApiKey,
|
|
11
|
+
defaultBrandTheme,
|
|
12
|
+
primaryColor,
|
|
13
|
+
useCustomTokens,
|
|
14
|
+
disableDarkMode
|
|
15
|
+
}) {
|
|
16
|
+
return /* @__PURE__ */ jsx(ThemeProvider, { disableDarkMode, children: /* @__PURE__ */ jsx(
|
|
17
|
+
BrandColorsProvider,
|
|
18
|
+
{
|
|
19
|
+
defaultTheme: defaultBrandTheme,
|
|
20
|
+
primaryColor,
|
|
21
|
+
useCustomTokens,
|
|
22
|
+
children: /* @__PURE__ */ jsx(LanguageProvider, { children: /* @__PURE__ */ jsx(
|
|
23
|
+
ApiKeyProvider,
|
|
24
|
+
{
|
|
25
|
+
initialApiKey: apiKey,
|
|
26
|
+
initialGeminiApiKey: apiKey,
|
|
27
|
+
initialGoogleMapsApiKey: googleMapsApiKey,
|
|
28
|
+
children: /* @__PURE__ */ jsx(GoogleMapsLoaderProvider, { apiKey: googleMapsApiKey, children: /* @__PURE__ */ jsx(AssistenteProvider, { children: /* @__PURE__ */ jsx(LayoutProvider, { children: /* @__PURE__ */ jsxs(TooltipProvider, { children: [
|
|
29
|
+
children,
|
|
30
|
+
/* @__PURE__ */ jsx(Toaster, { position: "top-right", richColors: true })
|
|
31
|
+
] }) }) }) })
|
|
32
|
+
}
|
|
33
|
+
) })
|
|
34
|
+
}
|
|
35
|
+
) });
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
XerticaProvider as X
|
|
39
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const ThemeContext = require("./ThemeContext-r69W20Xg.cjs");
|
|
4
|
+
const LayoutContext = require("./LayoutContext-CwT5KLiW.cjs");
|
|
5
|
+
const googleMapsLoader = require("./google-maps-loader-Y-QkD-Li.cjs");
|
|
6
|
+
const sonner = require("./sonner-DeUIj0Zg.cjs");
|
|
7
|
+
const tooltip = require("./tooltip-Ded96neP.cjs");
|
|
8
|
+
function XerticaProvider({
|
|
9
|
+
children,
|
|
10
|
+
apiKey,
|
|
11
|
+
googleMapsApiKey,
|
|
12
|
+
defaultBrandTheme,
|
|
13
|
+
primaryColor,
|
|
14
|
+
useCustomTokens,
|
|
15
|
+
disableDarkMode
|
|
16
|
+
}) {
|
|
17
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ThemeContext.ThemeProvider, { disableDarkMode, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18
|
+
ThemeContext.BrandColorsProvider,
|
|
19
|
+
{
|
|
20
|
+
defaultTheme: defaultBrandTheme,
|
|
21
|
+
primaryColor,
|
|
22
|
+
useCustomTokens,
|
|
23
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(ThemeContext.LanguageProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
24
|
+
ThemeContext.ApiKeyProvider,
|
|
25
|
+
{
|
|
26
|
+
initialApiKey: apiKey,
|
|
27
|
+
initialGeminiApiKey: apiKey,
|
|
28
|
+
initialGoogleMapsApiKey: googleMapsApiKey,
|
|
29
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(googleMapsLoader.GoogleMapsLoaderProvider, { apiKey: googleMapsApiKey, children: /* @__PURE__ */ jsxRuntime.jsx(ThemeContext.AssistenteProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(LayoutContext.LayoutProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(tooltip.TooltipProvider, { children: [
|
|
30
|
+
children,
|
|
31
|
+
/* @__PURE__ */ jsxRuntime.jsx(sonner.Toaster, { position: "top-right", richColors: true })
|
|
32
|
+
] }) }) }) })
|
|
33
|
+
}
|
|
34
|
+
) })
|
|
35
|
+
}
|
|
36
|
+
) });
|
|
37
|
+
}
|
|
38
|
+
exports.XerticaProvider = XerticaProvider;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { T as ThemeProvider, B as BrandColorsProvider, L as LanguageProvider, A as ApiKeyProvider, a as AssistenteProvider } from "./ThemeContext-BoH4NLfN.js";
|
|
3
|
+
import { L as LayoutProvider } from "./LayoutContext-DVLCsoQn.js";
|
|
4
|
+
import { b as GoogleMapsLoaderProvider } from "./google-maps-loader-CTYySAun.js";
|
|
5
|
+
import { T as Toaster } from "./sonner-g9RIfi35.js";
|
|
6
|
+
import { b as TooltipProvider } from "./tooltip-HDOoD2-0.js";
|
|
7
|
+
function XerticaProvider({
|
|
8
|
+
children,
|
|
9
|
+
apiKey,
|
|
10
|
+
googleMapsApiKey,
|
|
11
|
+
defaultBrandTheme,
|
|
12
|
+
primaryColor,
|
|
13
|
+
useCustomTokens,
|
|
14
|
+
disableDarkMode
|
|
15
|
+
}) {
|
|
16
|
+
return /* @__PURE__ */ jsx(ThemeProvider, { disableDarkMode, children: /* @__PURE__ */ jsx(
|
|
17
|
+
BrandColorsProvider,
|
|
18
|
+
{
|
|
19
|
+
defaultTheme: defaultBrandTheme,
|
|
20
|
+
primaryColor,
|
|
21
|
+
useCustomTokens,
|
|
22
|
+
children: /* @__PURE__ */ jsx(LanguageProvider, { children: /* @__PURE__ */ jsx(
|
|
23
|
+
ApiKeyProvider,
|
|
24
|
+
{
|
|
25
|
+
initialApiKey: apiKey,
|
|
26
|
+
initialGeminiApiKey: apiKey,
|
|
27
|
+
initialGoogleMapsApiKey: googleMapsApiKey,
|
|
28
|
+
children: /* @__PURE__ */ jsx(GoogleMapsLoaderProvider, { apiKey: googleMapsApiKey, children: /* @__PURE__ */ jsx(AssistenteProvider, { children: /* @__PURE__ */ jsx(LayoutProvider, { children: /* @__PURE__ */ jsxs(TooltipProvider, { children: [
|
|
29
|
+
children,
|
|
30
|
+
/* @__PURE__ */ jsx(Toaster, { position: "top-right", richColors: true })
|
|
31
|
+
] }) }) }) })
|
|
32
|
+
}
|
|
33
|
+
) })
|
|
34
|
+
}
|
|
35
|
+
) });
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
XerticaProvider as X
|
|
39
|
+
};
|
|
@@ -10,7 +10,7 @@ const RadioGroupPrimitive = require("@radix-ui/react-radio-group");
|
|
|
10
10
|
const SwitchPrimitive = require("@radix-ui/react-switch");
|
|
11
11
|
const SeparatorPrimitive = require("@radix-ui/react-separator");
|
|
12
12
|
const client = require("react-dom/client");
|
|
13
|
-
const googleMapsLoader = require("./google-maps-loader-
|
|
13
|
+
const googleMapsLoader = require("./google-maps-loader-Y-QkD-Li.cjs");
|
|
14
14
|
const AlertDialogPrimitive = require("@radix-ui/react-alert-dialog");
|
|
15
15
|
var _documentCurrentScript = typeof document !== "undefined" ? document.currentScript : null;
|
|
16
16
|
function _interopNamespaceDefault(e) {
|
|
@@ -406,7 +406,7 @@ function useMapLayers(map, layers) {
|
|
|
406
406
|
};
|
|
407
407
|
}, [map, layers.bicycling]);
|
|
408
408
|
}
|
|
409
|
-
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SSR": false };
|
|
409
|
+
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SSR": false, "VITE_GEMINI_API_KEY": "AIzaSyBnoWKe4LjQzlIklON_dVXMXNUl2gvfH6U", "VITE_GOOGLE_MAPS_API_KEY": "AIzaSyCj19NndSgZOb8057q24UbJtSsfVJiyVdo" };
|
|
410
410
|
const DEFAULT_CENTER = { lat: -23.5505, lng: -46.6333 };
|
|
411
411
|
const DEFAULT_ZOOM = 12;
|
|
412
412
|
const MapContent = React.forwardRef(
|
|
@@ -678,7 +678,7 @@ MapContent.displayName = "MapContent";
|
|
|
678
678
|
const Map = React.forwardRef(
|
|
679
679
|
(props, ref) => {
|
|
680
680
|
const { isLoaded, loadError } = googleMapsLoader.useGoogleMapsLoader();
|
|
681
|
-
const effectiveApiKey = props.apiKey || typeof { url: typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("alert-dialog-
|
|
681
|
+
const effectiveApiKey = props.apiKey || typeof { url: typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("alert-dialog-DSKByiKZ.cjs", document.baseURI).href } !== "undefined" && __vite_import_meta_env__ && "AIzaSyCj19NndSgZOb8057q24UbJtSsfVJiyVdo" || "";
|
|
682
682
|
const isValidKey = effectiveApiKey && effectiveApiKey !== "YOUR_GOOGLE_MAPS_API_KEY_HERE" && effectiveApiKey.startsWith("AIza");
|
|
683
683
|
if (isLoaded || isValidKey || loadError) {
|
|
684
684
|
return /* @__PURE__ */ jsxRuntime.jsx(MapContent, { ref, ...props, apiKey: effectiveApiKey });
|
|
@@ -10,7 +10,7 @@ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
|
10
10
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
11
11
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
12
12
|
import { createRoot } from "react-dom/client";
|
|
13
|
-
import { u as useGoogleMapsLoader } from "./google-maps-loader-
|
|
13
|
+
import { u as useGoogleMapsLoader } from "./google-maps-loader-CTYySAun.js";
|
|
14
14
|
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
15
15
|
function Label({
|
|
16
16
|
className,
|
|
@@ -381,7 +381,7 @@ function useMapLayers(map, layers) {
|
|
|
381
381
|
};
|
|
382
382
|
}, [map, layers.bicycling]);
|
|
383
383
|
}
|
|
384
|
-
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SSR": false };
|
|
384
|
+
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SSR": false, "VITE_GEMINI_API_KEY": "AIzaSyBnoWKe4LjQzlIklON_dVXMXNUl2gvfH6U", "VITE_GOOGLE_MAPS_API_KEY": "AIzaSyCj19NndSgZOb8057q24UbJtSsfVJiyVdo" };
|
|
385
385
|
const DEFAULT_CENTER = { lat: -23.5505, lng: -46.6333 };
|
|
386
386
|
const DEFAULT_ZOOM = 12;
|
|
387
387
|
const MapContent = React__default.forwardRef(
|
|
@@ -653,7 +653,7 @@ MapContent.displayName = "MapContent";
|
|
|
653
653
|
const Map = React__default.forwardRef(
|
|
654
654
|
(props, ref) => {
|
|
655
655
|
const { isLoaded, loadError } = useGoogleMapsLoader();
|
|
656
|
-
const effectiveApiKey = props.apiKey || typeof import.meta !== "undefined" && __vite_import_meta_env__ &&
|
|
656
|
+
const effectiveApiKey = props.apiKey || typeof import.meta !== "undefined" && __vite_import_meta_env__ && "AIzaSyCj19NndSgZOb8057q24UbJtSsfVJiyVdo" || "";
|
|
657
657
|
const isValidKey = effectiveApiKey && effectiveApiKey !== "YOUR_GOOGLE_MAPS_API_KEY_HERE" && effectiveApiKey.startsWith("AIza");
|
|
658
658
|
if (isLoaded || isValidKey || loadError) {
|
|
659
659
|
return /* @__PURE__ */ jsx(MapContent, { ref, ...props, apiKey: effectiveApiKey });
|
package/dist/assistant.cjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const xerticaAssistant = require("./xertica-assistant-
|
|
3
|
+
const xerticaAssistant = require("./xertica-assistant-dyP7KHM5.cjs");
|
|
4
4
|
const CodeBlock = require("./CodeBlock-POVYONvC.cjs");
|
|
5
5
|
const generateDemoResponse = (mensagemUsuario) => {
|
|
6
6
|
const mensagemLower = mensagemUsuario.toLowerCase();
|
|
@@ -141,5 +141,6 @@ exports.FormattedDocument = xerticaAssistant.FormattedDocument;
|
|
|
141
141
|
exports.MarkdownMessage = xerticaAssistant.MarkdownMessage;
|
|
142
142
|
exports.ModernChatInput = xerticaAssistant.ModernChatInput;
|
|
143
143
|
exports.XerticaAssistant = xerticaAssistant.XerticaAssistant;
|
|
144
|
+
exports.useAssistant = xerticaAssistant.useAssistant;
|
|
144
145
|
exports.CodeBlock = CodeBlock.CodeBlock;
|
|
145
146
|
exports.generateDemoResponse = generateDemoResponse;
|
package/dist/assistant.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F, M, a, X } from "./xertica-assistant-
|
|
1
|
+
import { F, M, a, X, u } from "./xertica-assistant-yX1CFBBo.js";
|
|
2
2
|
import { C } from "./CodeBlock-DuxdtN-l.js";
|
|
3
3
|
const generateDemoResponse = (mensagemUsuario) => {
|
|
4
4
|
const mensagemLower = mensagemUsuario.toLowerCase();
|
|
@@ -141,5 +141,6 @@ export {
|
|
|
141
141
|
M as MarkdownMessage,
|
|
142
142
|
a as ModernChatInput,
|
|
143
143
|
X as XerticaAssistant,
|
|
144
|
-
generateDemoResponse
|
|
144
|
+
generateDemoResponse,
|
|
145
|
+
u as useAssistant
|
|
145
146
|
};
|
package/dist/brand.cjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const XerticaProvider = require("./XerticaProvider-
|
|
3
|
+
const XerticaProvider = require("./XerticaProvider-CllrbMEJ.cjs");
|
|
4
4
|
const XerticaXLogo = require("./XerticaXLogo-xWbElCZj.cjs");
|
|
5
5
|
const XerticaOrbe = require("./XerticaOrbe-FWGjBj0U.cjs");
|
|
6
6
|
exports.XerticaProvider = XerticaProvider.XerticaProvider;
|
package/dist/brand.es.js
CHANGED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
3
|
+
import { e as cn } from "./tooltip-HDOoD2-0.js";
|
|
4
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
5
|
+
import { MoreHorizontal, ChevronRight } from "lucide-react";
|
|
6
|
+
function Avatar({
|
|
7
|
+
className,
|
|
8
|
+
size = "md",
|
|
9
|
+
...props
|
|
10
|
+
}) {
|
|
11
|
+
const sizeClasses = {
|
|
12
|
+
xs: "size-6",
|
|
13
|
+
sm: "size-8",
|
|
14
|
+
md: "size-10",
|
|
15
|
+
lg: "size-12",
|
|
16
|
+
xl: "size-16"
|
|
17
|
+
};
|
|
18
|
+
return /* @__PURE__ */ jsx(
|
|
19
|
+
AvatarPrimitive.Root,
|
|
20
|
+
{
|
|
21
|
+
"data-slot": "avatar",
|
|
22
|
+
className: cn(
|
|
23
|
+
"relative flex shrink-0 overflow-hidden rounded-full",
|
|
24
|
+
sizeClasses[size],
|
|
25
|
+
className
|
|
26
|
+
),
|
|
27
|
+
...props
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
function AvatarImage({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}) {
|
|
35
|
+
return /* @__PURE__ */ jsx(
|
|
36
|
+
AvatarPrimitive.Image,
|
|
37
|
+
{
|
|
38
|
+
"data-slot": "avatar-image",
|
|
39
|
+
className: cn("aspect-square size-full", className),
|
|
40
|
+
...props
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
function AvatarFallback({
|
|
45
|
+
className,
|
|
46
|
+
...props
|
|
47
|
+
}) {
|
|
48
|
+
return /* @__PURE__ */ jsx(
|
|
49
|
+
AvatarPrimitive.Fallback,
|
|
50
|
+
{
|
|
51
|
+
"data-slot": "avatar-fallback",
|
|
52
|
+
className: cn(
|
|
53
|
+
"bg-muted flex size-full items-center justify-center rounded-full",
|
|
54
|
+
className
|
|
55
|
+
),
|
|
56
|
+
...props
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
function Breadcrumb({ ...props }) {
|
|
61
|
+
return /* @__PURE__ */ jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
62
|
+
}
|
|
63
|
+
function BreadcrumbList({ className, ...props }) {
|
|
64
|
+
return /* @__PURE__ */ jsx(
|
|
65
|
+
"ol",
|
|
66
|
+
{
|
|
67
|
+
"data-slot": "breadcrumb-list",
|
|
68
|
+
className: cn(
|
|
69
|
+
"text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
|
|
70
|
+
className
|
|
71
|
+
),
|
|
72
|
+
...props
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
function BreadcrumbItem({ className, ...props }) {
|
|
77
|
+
return /* @__PURE__ */ jsx(
|
|
78
|
+
"li",
|
|
79
|
+
{
|
|
80
|
+
"data-slot": "breadcrumb-item",
|
|
81
|
+
className: cn("inline-flex items-center gap-1.5", className),
|
|
82
|
+
...props
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
function BreadcrumbLink({
|
|
87
|
+
asChild,
|
|
88
|
+
className,
|
|
89
|
+
...props
|
|
90
|
+
}) {
|
|
91
|
+
const Comp = asChild ? Slot : "a";
|
|
92
|
+
return /* @__PURE__ */ jsx(
|
|
93
|
+
Comp,
|
|
94
|
+
{
|
|
95
|
+
"data-slot": "breadcrumb-link",
|
|
96
|
+
className: cn("hover:text-foreground transition-colors", className),
|
|
97
|
+
...props
|
|
98
|
+
}
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
function BreadcrumbPage({ className, ...props }) {
|
|
102
|
+
return /* @__PURE__ */ jsx(
|
|
103
|
+
"span",
|
|
104
|
+
{
|
|
105
|
+
"data-slot": "breadcrumb-page",
|
|
106
|
+
role: "link",
|
|
107
|
+
"aria-disabled": "true",
|
|
108
|
+
"aria-current": "page",
|
|
109
|
+
className: cn("text-foreground font-normal", className),
|
|
110
|
+
...props
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
function BreadcrumbSeparator({
|
|
115
|
+
children,
|
|
116
|
+
className,
|
|
117
|
+
...props
|
|
118
|
+
}) {
|
|
119
|
+
return /* @__PURE__ */ jsx(
|
|
120
|
+
"li",
|
|
121
|
+
{
|
|
122
|
+
"data-slot": "breadcrumb-separator",
|
|
123
|
+
role: "presentation",
|
|
124
|
+
"aria-hidden": "true",
|
|
125
|
+
className: cn("[&>svg]:size-3.5", className),
|
|
126
|
+
...props,
|
|
127
|
+
children: children ?? /* @__PURE__ */ jsx(ChevronRight, {})
|
|
128
|
+
}
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
function BreadcrumbEllipsis({
|
|
132
|
+
className,
|
|
133
|
+
...props
|
|
134
|
+
}) {
|
|
135
|
+
return /* @__PURE__ */ jsxs(
|
|
136
|
+
"span",
|
|
137
|
+
{
|
|
138
|
+
"data-slot": "breadcrumb-ellipsis",
|
|
139
|
+
role: "presentation",
|
|
140
|
+
"aria-hidden": "true",
|
|
141
|
+
className: cn("flex size-9 items-center justify-center", className),
|
|
142
|
+
...props,
|
|
143
|
+
children: [
|
|
144
|
+
/* @__PURE__ */ jsx(MoreHorizontal, { className: "size-4" }),
|
|
145
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "More" })
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
export {
|
|
151
|
+
Avatar as A,
|
|
152
|
+
Breadcrumb as B,
|
|
153
|
+
AvatarFallback as a,
|
|
154
|
+
AvatarImage as b,
|
|
155
|
+
BreadcrumbEllipsis as c,
|
|
156
|
+
BreadcrumbItem as d,
|
|
157
|
+
BreadcrumbLink as e,
|
|
158
|
+
BreadcrumbList as f,
|
|
159
|
+
BreadcrumbPage as g,
|
|
160
|
+
BreadcrumbSeparator as h
|
|
161
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const AvatarPrimitive = require("@radix-ui/react-avatar");
|
|
4
|
+
const tooltip = require("./tooltip-Ded96neP.cjs");
|
|
5
|
+
const reactSlot = require("@radix-ui/react-slot");
|
|
6
|
+
const lucideReact = require("lucide-react");
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
9
|
+
if (e) {
|
|
10
|
+
for (const k in e) {
|
|
11
|
+
if (k !== "default") {
|
|
12
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: () => e[k]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
const AvatarPrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(AvatarPrimitive);
|
|
24
|
+
function Avatar({
|
|
25
|
+
className,
|
|
26
|
+
size = "md",
|
|
27
|
+
...props
|
|
28
|
+
}) {
|
|
29
|
+
const sizeClasses = {
|
|
30
|
+
xs: "size-6",
|
|
31
|
+
sm: "size-8",
|
|
32
|
+
md: "size-10",
|
|
33
|
+
lg: "size-12",
|
|
34
|
+
xl: "size-16"
|
|
35
|
+
};
|
|
36
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
37
|
+
AvatarPrimitive__namespace.Root,
|
|
38
|
+
{
|
|
39
|
+
"data-slot": "avatar",
|
|
40
|
+
className: tooltip.cn(
|
|
41
|
+
"relative flex shrink-0 overflow-hidden rounded-full",
|
|
42
|
+
sizeClasses[size],
|
|
43
|
+
className
|
|
44
|
+
),
|
|
45
|
+
...props
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
function AvatarImage({
|
|
50
|
+
className,
|
|
51
|
+
...props
|
|
52
|
+
}) {
|
|
53
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
54
|
+
AvatarPrimitive__namespace.Image,
|
|
55
|
+
{
|
|
56
|
+
"data-slot": "avatar-image",
|
|
57
|
+
className: tooltip.cn("aspect-square size-full", className),
|
|
58
|
+
...props
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
function AvatarFallback({
|
|
63
|
+
className,
|
|
64
|
+
...props
|
|
65
|
+
}) {
|
|
66
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
67
|
+
AvatarPrimitive__namespace.Fallback,
|
|
68
|
+
{
|
|
69
|
+
"data-slot": "avatar-fallback",
|
|
70
|
+
className: tooltip.cn(
|
|
71
|
+
"bg-muted flex size-full items-center justify-center rounded-full",
|
|
72
|
+
className
|
|
73
|
+
),
|
|
74
|
+
...props
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
function Breadcrumb({ ...props }) {
|
|
79
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
|
|
80
|
+
}
|
|
81
|
+
function BreadcrumbList({ className, ...props }) {
|
|
82
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
83
|
+
"ol",
|
|
84
|
+
{
|
|
85
|
+
"data-slot": "breadcrumb-list",
|
|
86
|
+
className: tooltip.cn(
|
|
87
|
+
"text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
|
|
88
|
+
className
|
|
89
|
+
),
|
|
90
|
+
...props
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
function BreadcrumbItem({ className, ...props }) {
|
|
95
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
96
|
+
"li",
|
|
97
|
+
{
|
|
98
|
+
"data-slot": "breadcrumb-item",
|
|
99
|
+
className: tooltip.cn("inline-flex items-center gap-1.5", className),
|
|
100
|
+
...props
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
function BreadcrumbLink({
|
|
105
|
+
asChild,
|
|
106
|
+
className,
|
|
107
|
+
...props
|
|
108
|
+
}) {
|
|
109
|
+
const Comp = asChild ? reactSlot.Slot : "a";
|
|
110
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
111
|
+
Comp,
|
|
112
|
+
{
|
|
113
|
+
"data-slot": "breadcrumb-link",
|
|
114
|
+
className: tooltip.cn("hover:text-foreground transition-colors", className),
|
|
115
|
+
...props
|
|
116
|
+
}
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
function BreadcrumbPage({ className, ...props }) {
|
|
120
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
121
|
+
"span",
|
|
122
|
+
{
|
|
123
|
+
"data-slot": "breadcrumb-page",
|
|
124
|
+
role: "link",
|
|
125
|
+
"aria-disabled": "true",
|
|
126
|
+
"aria-current": "page",
|
|
127
|
+
className: tooltip.cn("text-foreground font-normal", className),
|
|
128
|
+
...props
|
|
129
|
+
}
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
function BreadcrumbSeparator({
|
|
133
|
+
children,
|
|
134
|
+
className,
|
|
135
|
+
...props
|
|
136
|
+
}) {
|
|
137
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
138
|
+
"li",
|
|
139
|
+
{
|
|
140
|
+
"data-slot": "breadcrumb-separator",
|
|
141
|
+
role: "presentation",
|
|
142
|
+
"aria-hidden": "true",
|
|
143
|
+
className: tooltip.cn("[&>svg]:size-3.5", className),
|
|
144
|
+
...props,
|
|
145
|
+
children: children ?? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, {})
|
|
146
|
+
}
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
function BreadcrumbEllipsis({
|
|
150
|
+
className,
|
|
151
|
+
...props
|
|
152
|
+
}) {
|
|
153
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
154
|
+
"span",
|
|
155
|
+
{
|
|
156
|
+
"data-slot": "breadcrumb-ellipsis",
|
|
157
|
+
role: "presentation",
|
|
158
|
+
"aria-hidden": "true",
|
|
159
|
+
className: tooltip.cn("flex size-9 items-center justify-center", className),
|
|
160
|
+
...props,
|
|
161
|
+
children: [
|
|
162
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "size-4" }),
|
|
163
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "More" })
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
|
+
exports.Avatar = Avatar;
|
|
169
|
+
exports.AvatarFallback = AvatarFallback;
|
|
170
|
+
exports.AvatarImage = AvatarImage;
|
|
171
|
+
exports.Breadcrumb = Breadcrumb;
|
|
172
|
+
exports.BreadcrumbEllipsis = BreadcrumbEllipsis;
|
|
173
|
+
exports.BreadcrumbItem = BreadcrumbItem;
|
|
174
|
+
exports.BreadcrumbLink = BreadcrumbLink;
|
|
175
|
+
exports.BreadcrumbList = BreadcrumbList;
|
|
176
|
+
exports.BreadcrumbPage = BreadcrumbPage;
|
|
177
|
+
exports.BreadcrumbSeparator = BreadcrumbSeparator;
|