@donotdev/ui 0.3.2 → 0.3.4
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/README.md +2 -3
- package/dist/crud/components/EntityCardList.d.ts +4 -1
- package/dist/crud/components/EntityCardList.d.ts.map +1 -1
- package/dist/crud/components/EntityCardList.js +1 -1
- package/dist/crud/components/useRecordBreadcrumb.d.ts +3 -1
- package/dist/crud/components/useRecordBreadcrumb.d.ts.map +1 -1
- package/dist/crud/components/useRecordBreadcrumb.js +1 -1
- package/dist/dndev.css +205 -865
- package/dist/index.js +1 -1
- package/dist/internal/devtools/components/LayoutReset.js +1 -1
- package/dist/internal/layout/components/AutoMetaTags.d.ts +3 -0
- package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
- package/dist/internal/layout/components/AutoMetaTags.js +1 -1
- package/dist/internal/layout/components/FaviconHead.d.ts +18 -14
- package/dist/internal/layout/components/FaviconHead.d.ts.map +1 -1
- package/dist/internal/layout/components/FaviconHead.js +1 -1
- package/dist/internal/layout/components/FontHead.d.ts +30 -0
- package/dist/internal/layout/components/FontHead.d.ts.map +1 -0
- package/dist/internal/layout/components/FontHead.js +1 -0
- package/dist/internal/layout/components/headTagElement.d.ts +16 -0
- package/dist/internal/layout/components/headTagElement.d.ts.map +1 -0
- package/dist/internal/layout/components/headTagElement.js +1 -0
- package/dist/internal/layout/components/prerenderedHead.d.ts +15 -0
- package/dist/internal/layout/components/prerenderedHead.d.ts.map +1 -0
- package/dist/internal/layout/components/prerenderedHead.js +1 -0
- package/dist/internal/layout/components/trailingSlash.d.ts +13 -0
- package/dist/internal/layout/components/trailingSlash.d.ts.map +1 -0
- package/dist/internal/layout/components/trailingSlash.js +1 -0
- package/dist/internal/layout/zones/DnDevMergedBar.d.ts.map +1 -1
- package/dist/internal/layout/zones/DnDevMergedBar.js +1 -1
- package/dist/next.d.ts +2 -1
- package/dist/next.d.ts.map +1 -1
- package/dist/next.js +1 -1
- package/dist/providers/NextJsAppProviders.d.ts.map +1 -1
- package/dist/providers/ViteAppProviders.d.ts +11 -9
- package/dist/providers/ViteAppProviders.d.ts.map +1 -1
- package/dist/providers/ViteAppProviders.js +1 -1
- package/dist/routing/DnDevNavigationMenu.d.ts.map +1 -1
- package/dist/routing/DnDevNavigationMenu.js +1 -1
- package/dist/routing/hooks/hooks.next.js +1 -1
- package/dist/routing/hooks/useRoutePath.next.d.ts +5 -3
- package/dist/routing/hooks/useRoutePath.next.d.ts.map +1 -1
- package/dist/routing/hooks/useRoutePath.next.js +1 -1
- package/dist/routing/useRouteDiscovery.d.ts +3 -0
- package/dist/routing/useRouteDiscovery.d.ts.map +1 -1
- package/dist/styles/index.css +202 -59
- package/dist/symbol-index.json +1 -1
- package/dist/utils/assetResolver.d.ts +19 -19
- package/dist/utils/assetResolver.d.ts.map +1 -1
- package/dist/utils/assetResolver.js +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/vite-routing/AppRoutes.d.ts.map +1 -1
- package/dist/vite-routing/AppRoutes.js +1 -1
- package/guidelines/ROUTING.md +1 -0
- package/guidelines/SEO.md +160 -145
- package/package.json +9 -10
- package/dist/dndev-next.css +0 -13702
- package/dist/files/inter-cyrillic-300-normal.woff +0 -0
- package/dist/files/inter-cyrillic-300-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-400-normal.woff +0 -0
- package/dist/files/inter-cyrillic-400-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-600-normal.woff +0 -0
- package/dist/files/inter-cyrillic-600-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-700-normal.woff +0 -0
- package/dist/files/inter-cyrillic-700-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-ext-300-normal.woff +0 -0
- package/dist/files/inter-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-ext-400-normal.woff +0 -0
- package/dist/files/inter-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-ext-600-normal.woff +0 -0
- package/dist/files/inter-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/files/inter-cyrillic-ext-700-normal.woff +0 -0
- package/dist/files/inter-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/files/inter-greek-300-normal.woff +0 -0
- package/dist/files/inter-greek-300-normal.woff2 +0 -0
- package/dist/files/inter-greek-400-normal.woff +0 -0
- package/dist/files/inter-greek-400-normal.woff2 +0 -0
- package/dist/files/inter-greek-600-normal.woff +0 -0
- package/dist/files/inter-greek-600-normal.woff2 +0 -0
- package/dist/files/inter-greek-700-normal.woff +0 -0
- package/dist/files/inter-greek-700-normal.woff2 +0 -0
- package/dist/files/inter-greek-ext-300-normal.woff +0 -0
- package/dist/files/inter-greek-ext-300-normal.woff2 +0 -0
- package/dist/files/inter-greek-ext-400-normal.woff +0 -0
- package/dist/files/inter-greek-ext-400-normal.woff2 +0 -0
- package/dist/files/inter-greek-ext-600-normal.woff +0 -0
- package/dist/files/inter-greek-ext-600-normal.woff2 +0 -0
- package/dist/files/inter-greek-ext-700-normal.woff +0 -0
- package/dist/files/inter-greek-ext-700-normal.woff2 +0 -0
- package/dist/files/inter-latin-300-normal.woff +0 -0
- package/dist/files/inter-latin-300-normal.woff2 +0 -0
- package/dist/files/inter-latin-400-normal.woff +0 -0
- package/dist/files/inter-latin-400-normal.woff2 +0 -0
- package/dist/files/inter-latin-600-normal.woff +0 -0
- package/dist/files/inter-latin-600-normal.woff2 +0 -0
- package/dist/files/inter-latin-700-normal.woff +0 -0
- package/dist/files/inter-latin-700-normal.woff2 +0 -0
- package/dist/files/inter-latin-ext-300-normal.woff +0 -0
- package/dist/files/inter-latin-ext-300-normal.woff2 +0 -0
- package/dist/files/inter-latin-ext-400-normal.woff +0 -0
- package/dist/files/inter-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/inter-latin-ext-600-normal.woff +0 -0
- package/dist/files/inter-latin-ext-600-normal.woff2 +0 -0
- package/dist/files/inter-latin-ext-700-normal.woff +0 -0
- package/dist/files/inter-latin-ext-700-normal.woff2 +0 -0
- package/dist/files/inter-vietnamese-300-normal.woff +0 -0
- package/dist/files/inter-vietnamese-300-normal.woff2 +0 -0
- package/dist/files/inter-vietnamese-400-normal.woff +0 -0
- package/dist/files/inter-vietnamese-400-normal.woff2 +0 -0
- package/dist/files/inter-vietnamese-600-normal.woff +0 -0
- package/dist/files/inter-vietnamese-600-normal.woff2 +0 -0
- package/dist/files/inter-vietnamese-700-normal.woff +0 -0
- package/dist/files/inter-vietnamese-700-normal.woff2 +0 -0
- package/dist/files/playfair-display-cyrillic-400-normal.woff +0 -0
- package/dist/files/playfair-display-cyrillic-400-normal.woff2 +0 -0
- package/dist/files/playfair-display-cyrillic-500-normal.woff +0 -0
- package/dist/files/playfair-display-cyrillic-500-normal.woff2 +0 -0
- package/dist/files/playfair-display-cyrillic-600-normal.woff +0 -0
- package/dist/files/playfair-display-cyrillic-600-normal.woff2 +0 -0
- package/dist/files/playfair-display-cyrillic-700-normal.woff +0 -0
- package/dist/files/playfair-display-cyrillic-700-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-400-normal.woff +0 -0
- package/dist/files/playfair-display-latin-400-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-500-normal.woff +0 -0
- package/dist/files/playfair-display-latin-500-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-600-normal.woff +0 -0
- package/dist/files/playfair-display-latin-600-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-700-normal.woff +0 -0
- package/dist/files/playfair-display-latin-700-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-ext-400-normal.woff +0 -0
- package/dist/files/playfair-display-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-ext-500-normal.woff +0 -0
- package/dist/files/playfair-display-latin-ext-500-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-ext-600-normal.woff +0 -0
- package/dist/files/playfair-display-latin-ext-600-normal.woff2 +0 -0
- package/dist/files/playfair-display-latin-ext-700-normal.woff +0 -0
- package/dist/files/playfair-display-latin-ext-700-normal.woff2 +0 -0
- package/dist/files/playfair-display-vietnamese-400-normal.woff +0 -0
- package/dist/files/playfair-display-vietnamese-400-normal.woff2 +0 -0
- package/dist/files/playfair-display-vietnamese-500-normal.woff +0 -0
- package/dist/files/playfair-display-vietnamese-500-normal.woff2 +0 -0
- package/dist/files/playfair-display-vietnamese-600-normal.woff +0 -0
- package/dist/files/playfair-display-vietnamese-600-normal.woff2 +0 -0
- package/dist/files/playfair-display-vietnamese-700-normal.woff +0 -0
- package/dist/files/playfair-display-vietnamese-700-normal.woff2 +0 -0
- package/dist/files/press-start-2p-cyrillic-400-normal.woff +0 -0
- package/dist/files/press-start-2p-cyrillic-400-normal.woff2 +0 -0
- package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff +0 -0
- package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/files/press-start-2p-greek-400-normal.woff +0 -0
- package/dist/files/press-start-2p-greek-400-normal.woff2 +0 -0
- package/dist/files/press-start-2p-latin-400-normal.woff +0 -0
- package/dist/files/press-start-2p-latin-400-normal.woff2 +0 -0
- package/dist/files/press-start-2p-latin-ext-400-normal.woff +0 -0
- package/dist/files/press-start-2p-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-400-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-400-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-700-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-700-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-ext-400-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-cyrillic-ext-700-normal.woff +0 -0
- package/dist/files/roboto-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/files/roboto-greek-400-normal.woff +0 -0
- package/dist/files/roboto-greek-400-normal.woff2 +0 -0
- package/dist/files/roboto-greek-700-normal.woff +0 -0
- package/dist/files/roboto-greek-700-normal.woff2 +0 -0
- package/dist/files/roboto-greek-ext-400-normal.woff +0 -0
- package/dist/files/roboto-greek-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-greek-ext-700-normal.woff +0 -0
- package/dist/files/roboto-greek-ext-700-normal.woff2 +0 -0
- package/dist/files/roboto-latin-400-normal.woff +0 -0
- package/dist/files/roboto-latin-400-normal.woff2 +0 -0
- package/dist/files/roboto-latin-700-normal.woff +0 -0
- package/dist/files/roboto-latin-700-normal.woff2 +0 -0
- package/dist/files/roboto-latin-ext-400-normal.woff +0 -0
- package/dist/files/roboto-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/roboto-latin-ext-700-normal.woff +0 -0
- package/dist/files/roboto-latin-ext-700-normal.woff2 +0 -0
- package/dist/files/roboto-math-400-normal.woff +0 -0
- package/dist/files/roboto-math-400-normal.woff2 +0 -0
- package/dist/files/roboto-math-700-normal.woff +0 -0
- package/dist/files/roboto-math-700-normal.woff2 +0 -0
- package/dist/files/roboto-symbols-400-normal.woff +0 -0
- package/dist/files/roboto-symbols-400-normal.woff2 +0 -0
- package/dist/files/roboto-symbols-700-normal.woff +0 -0
- package/dist/files/roboto-symbols-700-normal.woff2 +0 -0
- package/dist/files/roboto-vietnamese-400-normal.woff +0 -0
- package/dist/files/roboto-vietnamese-400-normal.woff2 +0 -0
- package/dist/files/roboto-vietnamese-700-normal.woff +0 -0
- package/dist/files/roboto-vietnamese-700-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-300-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-300-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-400-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-400-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-500-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-500-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-600-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-600-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-700-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-700-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-ext-300-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-ext-300-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-ext-400-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-ext-400-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-ext-500-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-ext-500-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-ext-600-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-ext-600-normal.woff2 +0 -0
- package/dist/files/space-grotesk-latin-ext-700-normal.woff +0 -0
- package/dist/files/space-grotesk-latin-ext-700-normal.woff2 +0 -0
- package/dist/files/space-grotesk-vietnamese-300-normal.woff +0 -0
- package/dist/files/space-grotesk-vietnamese-300-normal.woff2 +0 -0
- package/dist/files/space-grotesk-vietnamese-400-normal.woff +0 -0
- package/dist/files/space-grotesk-vietnamese-400-normal.woff2 +0 -0
- package/dist/files/space-grotesk-vietnamese-500-normal.woff +0 -0
- package/dist/files/space-grotesk-vietnamese-500-normal.woff2 +0 -0
- package/dist/files/space-grotesk-vietnamese-600-normal.woff +0 -0
- package/dist/files/space-grotesk-vietnamese-600-normal.woff2 +0 -0
- package/dist/files/space-grotesk-vietnamese-700-normal.woff +0 -0
- package/dist/files/space-grotesk-vietnamese-700-normal.woff2 +0 -0
- package/dist/internal/layout/components/FontPreloadLinks.d.ts +0 -19
- package/dist/internal/layout/components/FontPreloadLinks.d.ts.map +0 -1
- package/dist/internal/layout/components/FontPreloadLinks.js +0 -1
- package/dist/internal/layout/components/i18nSeoMeta.d.ts +0 -54
- package/dist/internal/layout/components/i18nSeoMeta.d.ts.map +0 -1
- package/dist/internal/layout/components/i18nSeoMeta.js +0 -1
- package/dist/utils/useSeo.d.ts +0 -129
- package/dist/utils/useSeo.d.ts.map +0 -1
- package/dist/utils/useSeo.js +0 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";export{AppBranding,AppIcon,AppTitle,AuthHeader,AuthMenu,Breadcrumbs,CacheSettings,ConsentBanner,DropdownNavigation,FeatureCard,FeatureDisabled,FloatingLanguageSwitcher,FooterBranding,FooterCopyright,FooterLegalLinks,GameContainer,GameFlow,GameTitle,HeaderMenu,HeaderNavigation,Icon,Notifications,PageConfig,PageContainer,ProgressBar,RedirectOverlay,SettingsMenu,Skeleton,TechBento,ThemeToggle}from"./components/index.js";export{EntityCardList,EntityDisplayRenderer,EntityFormRenderer,EntityList,EntityRecommendations,EntityWorkflow,Form,FormControl,FormDescription,FormField,FormItem,FormLabel,FormMessage,useFormField}from"./crud/index.js";export{techLogos}from"./data/techLogos.js";export{AuthGuard,AuthGuardFallback,AuthReturnTo,DnDevNavigationMenu,GoTo,GoToInput,GoToWrapper,Link,NotFoundDocument,NotFoundPage,SignedInRedirect,createAuthConfig,useAuthState,useBack,useCanNavigate,useGoTo,useHasRole,useIsNotFoundDocument,useLocalizedPath,useLocation,useMatch,useNavigate,useNavigationItems,useNavigationRoute,useParams,usePrefetch,useQueryParams,useRedirectGuard,useRefresh,useRouteParam,useRoutePath,useSearchParams,useUrlLanguage,useUserRole,withAuth}from"./routing/index.js";export{allLayoutClasses,cssVariables,layoutClasses,layoutUtilities,layoutVariables}from"./styles/index.js";export{AssetResolver,PasswordResetCallback,
|
|
1
|
+
"use client";export{AppBranding,AppIcon,AppTitle,AuthHeader,AuthMenu,Breadcrumbs,CacheSettings,ConsentBanner,DropdownNavigation,FeatureCard,FeatureDisabled,FloatingLanguageSwitcher,FooterBranding,FooterCopyright,FooterLegalLinks,GameContainer,GameFlow,GameTitle,HeaderMenu,HeaderNavigation,Icon,Notifications,PageConfig,PageContainer,ProgressBar,RedirectOverlay,SettingsMenu,Skeleton,TechBento,ThemeToggle}from"./components/index.js";export{EntityCardList,EntityDisplayRenderer,EntityFormRenderer,EntityList,EntityRecommendations,EntityWorkflow,Form,FormControl,FormDescription,FormField,FormItem,FormLabel,FormMessage,useFormField}from"./crud/index.js";export{techLogos}from"./data/techLogos.js";export{AuthGuard,AuthGuardFallback,AuthReturnTo,DnDevNavigationMenu,GoTo,GoToInput,GoToWrapper,Link,NotFoundDocument,NotFoundPage,SignedInRedirect,createAuthConfig,useAuthState,useBack,useCanNavigate,useGoTo,useHasRole,useIsNotFoundDocument,useLocalizedPath,useLocation,useMatch,useNavigate,useNavigationItems,useNavigationRoute,useParams,usePrefetch,useQueryParams,useRedirectGuard,useRefresh,useRouteParam,useRoutePath,useSearchParams,useUrlLanguage,useUserRole,withAuth}from"./routing/index.js";export{allLayoutClasses,cssVariables,layoutClasses,layoutUtilities,layoutVariables}from"./styles/index.js";export{AssetResolver,PasswordResetCallback,buildProductJsonLd,deriveEntitySeo,isAuthAvailable,isBillingAvailable,isCrudAvailable,isFormStoreAvailable,isOAuthAvailable,resolveFaviconSet,resolveLogo,sanitizeSvg,tList,useAuthSafe,useAuthVisibility,useBillingVisibility,useCrudSafe,useFormStoreSafe,useOAuthSafe,useStripeBillingSafe}from"./utils/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{Trash2 as h}from"lucide-react";import{memo as u,useState as m,useCallback as p}from"react";import{cn as f,Stack as w}from"@donotdev/components";import{isClient as l}from"@donotdev/core";import{jsx as i}from"react/jsx-runtime";var $=u(()=>{let[a,c]=m(!1),d=p(async()=>{a||l()},[a]);return i(w,{as:"button",align:"center",justify:"center",onClick:d,"aria-disabled":a,style:{width:"var(--touch-target)",height:"var(--touch-target)",borderRadius:"var(--radius-lg)",transition:"var(--
|
|
1
|
+
"use client";import{Trash2 as h}from"lucide-react";import{memo as u,useState as m,useCallback as p}from"react";import{cn as f,Stack as w}from"@donotdev/components";import{isClient as l}from"@donotdev/core";import{jsx as i}from"react/jsx-runtime";var $=u(()=>{let[a,c]=m(!1),d=p(async()=>{a||l()},[a]);return i(w,{as:"button",align:"center",justify:"center",onClick:d,"aria-disabled":a,style:{width:"var(--touch-target)",height:"var(--touch-target)",borderRadius:"var(--radius-lg)",transition:"background-color var(--dur-fast) var(--ease-in-out), color var(--dur-fast) var(--ease-in-out), box-shadow var(--dur-fast) var(--ease-in-out)",cursor:a?"not-allowed":"pointer",...a?{backgroundColor:"rgb(from var(--warning) r g b / 0.2)",color:"var(--warning)"}:{color:"var(--muted-foreground)"}},onMouseEnter:e=>{a||(e.currentTarget.style.backgroundColor="var(--accent)",e.currentTarget.style.color="var(--accent-foreground)",e.currentTarget.style.boxShadow="var(--shadow-xl)")},onMouseLeave:e=>{a||(e.currentTarget.style.backgroundColor="transparent",e.currentTarget.style.color="var(--muted-foreground)",e.currentTarget.style.boxShadow="none")},title:a?"Clearing...":"Clear all caches & stores (test first-visit)","aria-label":"Clear all caches and stores",children:i(h,{style:{width:"1.5rem",height:"1.5rem"},className:f(a&&"dndev-animate-pulse")})})});export{$ as LayoutReset};
|
|
@@ -14,6 +14,9 @@ import type { ComponentType } from 'react';
|
|
|
14
14
|
* - 100% Lighthouse SEO compliance
|
|
15
15
|
* - Inside a NotFoundDocument (the 404, served for any unknown URL): site-level tags
|
|
16
16
|
* only, titled with the site name; nothing derived from the URL
|
|
17
|
+
* - Vite prerendered page (static HTML the build wrote: static route, blog post, entity
|
|
18
|
+
* record): the identity tags the build embedded, exactly the prerendered ones; elsewhere
|
|
19
|
+
* `routeSeo` / `routeHeadTags` (@donotdev/core), the derivation the build uses
|
|
17
20
|
*/
|
|
18
21
|
export declare const AutoMetaTags: ComponentType;
|
|
19
22
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutoMetaTags.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/AutoMetaTags.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AutoMetaTags.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/AutoMetaTags.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAmM3C;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,YAAY,EAAE,aAqM1B,CAAC;AAEF;;;GAGG;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{useMemo as
|
|
1
|
+
"use client";import{useMemo as j}from"react";import{buildBreadcrumbJsonLd as k,formatTrailingSlash as x,getLanguageRouting as C,isMultilingual as U,languageUrl as O,languageUrls as F,matchRoute as I,routeHeadTags as J,routeSeo as z,siteHeadTags as q,SITE_LOGO_PATH as W,useTranslation as G}from"@donotdev/core";import{getDndevConfig as v}from"@donotdev/core";import{useSeoConfig as V,useAppConfig as K,getPlatformEnvVar as Q}from"@donotdev/core";import{useRoutePath as X,useUrlLanguage as Y}from"@donotdev/ui/routing/hooks";import{useIsNotFoundDocument as Z}from"../../../routing/NotFoundDocument.js";import{headTagElement as T}from"./headTagElement.js";import{HeadTags as ee}from"./HeadTags.js";import{prerenderedHead as te}from"./prerenderedHead.js";import{appTrailingSlash as ae}from"./trailingSlash.js";import{jsx as i,jsxs as ce}from"react/jsx-runtime";var ne={meta:{},serverMetadata:!1,authOnly:!1,recordBreadcrumb:!1};function re(s){let a=v(),e=a?.routes?.mapping,o=a?.routes?.manifest?.serverMetadataPaths??[],r=a?.routes?.manifest?.recordBreadcrumbPaths??[],t=n=>({meta:n.meta,serverMetadata:o.includes(n.path),authOnly:!!n.auth,recordBreadcrumb:r.includes(n.path)});if(e&&Array.isArray(e)){let n=I(e,s);if(n)return t(n.route)}let m=s.split("/").filter(Boolean);return m.length>0?{meta:{namespace:m[0]},serverMetadata:!1,authOnly:!1,recordBreadcrumb:!1}:{meta:{},serverMetadata:!1,authOnly:!1,recordBreadcrumb:!1}}function se(s,a,e){return{"@context":"https://schema.org","@type":"WebSite",name:a,url:s||"/",potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:`${s}${x("/search?q={search_term_string}",e)}`},"query-input":"required name=search_term_string"}}}function oe(s,a,e,o){let r=o?Object.values(o).filter(t=>!!t):[];return{"@context":"https://schema.org","@type":"Organization",name:a,url:s||"/",...e&&{description:e},...r.length>0&&{sameAs:r},logo:{"@type":"ImageObject",url:`${s}${W}`}}}function ie(){return{prerender:[{where:{and:[{href_matches:"/*"},{not:{href_matches:"/api/*"}},{not:{href_matches:"/admin/*"}},{not:{href_matches:"/login*"}},{not:{href_matches:"/signin*"}},{not:{href_matches:"/signup*"}},{not:{href_matches:"/logout*"}}]},eagerness:"moderate"}],prefetch:[{where:{and:[{href_matches:"/*"},{not:{href_matches:"/api/*"}}]},eagerness:"conservative"}]}}var le=()=>{let{t:s}=G(),a=X(),e=V(),o=K("app"),r=e&&e.siteName||o?.name||"",t=Q("APP_URL")||"",m=v()?.routes?.manifest?.hasBlogFeed===!0,n=Z(),{meta:d,serverMetadata:b,authOnly:y,recordBreadcrumb:R}=n?ne:re(a),_=b,c=C(),p=Y(),u=ae(),S=l=>O(l,p,t,c,u),g=n||b?null:te(S(a)),f=j(()=>{if(!e)return null;let{defaultNamespace:l="home",defaultImage:h}=e;return z({meta:d,ns:n?null:d.namespace||null,defaultNs:n?null:l,t:s,siteName:r,baseUrl:t,url:n?null:O(a,p,t,c,u),defaultImage:h,authOnly:y})},[n,a,p,u,d,y,r,t,e,s]);if(!e||!f)return null;let{twitterHandle:M,staticTags:B={}}=e,w=e.speculationRules===!0,A=e.hreflang!==!1,E=e.breadcrumbSchema!==!1,N=e.websiteSchema!==!1,P=e.organizationSchema!==!1,D=A&&!n&&U(c.languages),H=g?g.tags:_?[]:J(f,{siteName:r,baseUrl:t}),L=q({url:t?f.url:null,siteName:r,alternates:D?F(a,t,c,u):null,defaultLanguage:c.defaultLanguage}),$=R||g?.breadcrumb===!0;return ce(ee,{children:[L.map(T),H.map(T),M&&i("meta",{name:"twitter:site",content:`@${M}`}),i("meta",{name:"format-detection",content:"telephone=no"}),i("meta",{name:"mobile-web-app-capable",content:"yes"}),i("meta",{name:"apple-mobile-web-app-status-bar-style",content:"default"}),Object.entries(B).map(([l,h])=>i("meta",{name:l,content:h},l)),t&&m&&i("link",{rel:"alternate",type:"application/rss+xml",title:`${r} Blog`,href:`${t}/rss.xml`}),E&&!n&&!$&&a!=="/"&&i("script",{type:"application/ld+json",children:JSON.stringify(k(a,r,S))}),N&&t&&i("script",{type:"application/ld+json",children:JSON.stringify(se(t,r,u))}),P&&t&&a==="/"&&o?.links&&Object.values(o.links).some(Boolean)&&i("script",{type:"application/ld+json",children:JSON.stringify(oe(t,r,o.description,o.links))}),w&&i("script",{type:"speculationrules",children:JSON.stringify(ie())})]})},Me=le;export{le as AutoMetaTags,Me as default};
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
import type { ComponentType } from 'react';
|
|
2
1
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* @fileoverview Favicon tags of a Next app
|
|
3
|
+
* @description Renders the favicon set (`resolveFaviconFiles` over the build-time asset
|
|
4
|
+
* manifest, `AssetResolver.resolveFaviconSet`) as the tags of `faviconHeadTags`
|
|
5
|
+
* (`@donotdev/core` headTags), computed during render: the server HTML holds them, and
|
|
6
|
+
* the browser renders the same tags (same manifest), so the page hydrates. React 19
|
|
7
|
+
* hoists them into `<head>` ({@link HeadTags}). Next only: on Vite the build writes the
|
|
8
|
+
* same tags into `index.html` and every prerendered page (`createViteFaviconPlugin`).
|
|
7
9
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
* -
|
|
10
|
+
* @version 0.2.0
|
|
11
|
+
* @since 0.0.1
|
|
12
|
+
* @author AMBROISE PARK Consulting
|
|
13
|
+
*/
|
|
14
|
+
import type { ComponentType } from 'react';
|
|
15
|
+
/**
|
|
16
|
+
* Favicon tags (icons, apple-touch-icon, theme-color, color-scheme) from
|
|
17
|
+
* `useFaviconConfig()` (`appConfig.favicon`; `false` renders nothing) and the asset
|
|
18
|
+
* manifest. No props, no effect: the server render and the hydration pass emit the same
|
|
19
|
+
* tags.
|
|
15
20
|
*
|
|
16
|
-
* @version 0.
|
|
21
|
+
* @version 0.2.0
|
|
17
22
|
* @since 0.0.1
|
|
18
23
|
* @author AMBROISE PARK Consulting
|
|
19
|
-
* @note This component must be rendered inside <head> via React head management
|
|
20
24
|
*/
|
|
21
25
|
declare const FaviconHead: ComponentType;
|
|
22
26
|
export default FaviconHead;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FaviconHead.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/FaviconHead.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FaviconHead.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/FaviconHead.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAQ3C;;;;;;;;;GASG;AACH,QAAA,MAAM,WAAW,EAAE,aAMlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{
|
|
1
|
+
"use client";import{faviconHeadTags as t,useFaviconConfig as n}from"@donotdev/core";import{AssetResolver as a}from"../../../utils/assetResolver.js";import{headTagElement as r}from"./headTagElement.js";import{HeadTags as i}from"./HeadTags.js";import{jsx as p}from"react/jsx-runtime";var m=()=>{let o=n();if(!o)return null;let e=t(a.resolveFaviconSet(),o);return p(i,{children:e.map(r)})},l=m;export{l as default};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The font plan as the document head needs it (`src/app/fonts.generated.ts`).
|
|
3
|
+
*
|
|
4
|
+
* @version 0.1.0
|
|
5
|
+
* @since 0.3.3
|
|
6
|
+
* @author AMBROISE PARK Consulting
|
|
7
|
+
*/
|
|
8
|
+
export interface FontHeadData {
|
|
9
|
+
/** Every `@font-face` of the app (web faces, then the size-matched fallback faces) */
|
|
10
|
+
readonly css: string;
|
|
11
|
+
/** Per app language: the first-paint font file URLs */
|
|
12
|
+
readonly preloads: Readonly<Record<string, readonly string[]>>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Font preloads of `lang` and the inline `@font-face` style.
|
|
16
|
+
*
|
|
17
|
+
* @param props.fonts - The generated font plan (`FONTS` of `fonts.generated.ts`)
|
|
18
|
+
* @param props.lang - The page language
|
|
19
|
+
* @returns The `<style>` element (null when the theme uses system fonts only)
|
|
20
|
+
* @throws {Error} When the plan has no entry for `lang` (the generated file is stale)
|
|
21
|
+
*
|
|
22
|
+
* @version 0.1.0
|
|
23
|
+
* @since 0.3.3
|
|
24
|
+
* @author AMBROISE PARK Consulting
|
|
25
|
+
*/
|
|
26
|
+
export declare function FontHead({ fonts, lang }: {
|
|
27
|
+
fonts: FontHeadData;
|
|
28
|
+
lang: string;
|
|
29
|
+
}): import("react").JSX.Element | null;
|
|
30
|
+
//# sourceMappingURL=FontHead.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontHead.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/FontHead.tsx"],"names":[],"mappings":"AAuBA;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC3B,sFAAsF;IACtF,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,uDAAuD;IACvD,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC;CAChE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,sCAgB9E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{preload as s}from"react-dom";import{FONT_STYLE_ID as n}from"@donotdev/core";import{jsx as a}from"react/jsx-runtime";function l({fonts:e,lang:r}){let o=e.preloads[r];if(!o)throw new Error(`[dndev] FontHead: the font plan has no preloads for language '${r}' (src/app/fonts.generated.ts is stale: rebuild).`);for(let t of o)s(t,{as:"font",type:"font/woff2",crossOrigin:"anonymous"});return e.css?a("style",{href:n,precedence:n,children:e.css}):null}export{l as FontHead};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { HeadTag } from '@donotdev/core';
|
|
2
|
+
/**
|
|
3
|
+
* A head tag of the shared builders (`@donotdev/core` headTags) as the element
|
|
4
|
+
* `HeadTags` hoists (React 19 on Next, react-helmet-async on Vite). Usable as an
|
|
5
|
+
* `Array.map` callback: the index keys the element.
|
|
6
|
+
*
|
|
7
|
+
* @param headTag - Tag name, HTML attributes, text content
|
|
8
|
+
* @param index - Position in its list (React key)
|
|
9
|
+
* @returns The element
|
|
10
|
+
*
|
|
11
|
+
* @version 0.1.0
|
|
12
|
+
* @since 0.3.2
|
|
13
|
+
* @author AMBROISE PARK Consulting
|
|
14
|
+
*/
|
|
15
|
+
export declare function headTagElement({ tag, attributes, text }: HeadTag, index: number): import("react").DetailedReactHTMLElement<Record<string, string>, HTMLElement>;
|
|
16
|
+
//# sourceMappingURL=headTagElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"headTagElement.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/headTagElement.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAK9C;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,iFAM/E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createElement as s}from"react";var d={hreflang:"hrefLang"};function i({tag:e,attributes:o,text:t},a){let r={key:`${e}-${a}`};for(let[n,c]of Object.entries(o))r[d[n]??n]=c;return s(e,r,t)}export{i as headTagElement};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PrerenderedHead } from '@donotdev/core';
|
|
2
|
+
/**
|
|
3
|
+
* The prerendered head of the page at `url`, when the loaded document is that page's
|
|
4
|
+
* static HTML.
|
|
5
|
+
*
|
|
6
|
+
* @param url - Canonical URL of the current page (`languageUrl`)
|
|
7
|
+
* @returns The head the build embedded, or null (another URL, no prerendered page,
|
|
8
|
+
* server render)
|
|
9
|
+
*
|
|
10
|
+
* @version 0.2.0
|
|
11
|
+
* @since 0.3.2
|
|
12
|
+
* @author AMBROISE PARK Consulting
|
|
13
|
+
*/
|
|
14
|
+
export declare function prerenderedHead(url: string): PrerenderedHead | null;
|
|
15
|
+
//# sourceMappingURL=prerenderedHead.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prerenderedHead.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/prerenderedHead.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAKtD;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,GAAG,IAAI,CASnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{PRERENDERED_HEAD_ELEMENT_ID as r}from"@donotdev/core";var e;function o(n){if(typeof document>"u")return null;if(e===void 0){let d=document.getElementById(r)?.textContent;e=d?JSON.parse(d):null}return e?.url===n?e:null}export{o as prerenderedHead};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the app's page URLs end with `/`: the Next `trailingSlash` setting, written by
|
|
3
|
+
* the build into the route manifest (`routes.manifest.trailingSlash`, set on the server
|
|
4
|
+
* and in the browser alike). Never on Vite (no such setting).
|
|
5
|
+
*
|
|
6
|
+
* @returns true when the app sets Next `trailingSlash: true`
|
|
7
|
+
*
|
|
8
|
+
* @version 0.1.0
|
|
9
|
+
* @since 0.3.2
|
|
10
|
+
* @author AMBROISE PARK Consulting
|
|
11
|
+
*/
|
|
12
|
+
export declare function appTrailingSlash(): boolean;
|
|
13
|
+
//# sourceMappingURL=trailingSlash.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trailingSlash.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/trailingSlash.ts"],"names":[],"mappings":"AAcA;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAE1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{getDndevConfig as n}from"@donotdev/core";function t(){return n()?.routes?.manifest?.trailingSlash===!0}export{t as appTrailingSlash};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DnDevMergedBar.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/zones/DnDevMergedBar.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,MAAM,WAAW,mBAAmB;IAClC,mBAAmB;IACnB,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC3B,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,4DAA4D;IAC5D,GAAG,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACvB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,+DAA+D;IAC/D,MAAM,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CAC3B;AAED;;;;;;;;;;;;;;GAcG;AACH,iBAAS,uBAAuB,CAAC,EAC/B,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,EACH,OAAO,EACP,MAAM,GACP,EAAE,mBAAmB,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"DnDevMergedBar.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/zones/DnDevMergedBar.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,MAAM,WAAW,mBAAmB;IAClC,mBAAmB;IACnB,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC3B,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,4DAA4D;IAC5D,GAAG,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACvB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,+DAA+D;IAC/D,MAAM,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CAC3B;AAED;;;;;;;;;;;;;;GAcG;AACH,iBAAS,uBAAuB,CAAC,EAC/B,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,EACH,OAAO,EACP,MAAM,GACP,EAAE,mBAAmB,GAAG,SAAS,CAiEjC;AAED,eAAO,MAAM,cAAc,qEAAgC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{ChevronUp as R,Menu as D}from"lucide-react";import{memo as S,useState as T,useEffect as b}from"react";import{Stack as
|
|
1
|
+
"use client";import{ChevronUp as R,Menu as D}from"lucide-react";import{memo as S,useState as T,useEffect as b}from"react";import{Stack as c,Button as B,Sheet as M,BUTTON_VARIANT as A,Separator as l,SEPARATOR_VARIANT as d}from"@donotdev/components";import{useTranslation as O}from"@donotdev/core";import{useRoutePath as C}from"@donotdev/ui/routing/hooks";import{Fragment as m,jsx as e,jsxs as o}from"react/jsx-runtime";function E({position:t,height:P,trigger:g,top:a,content:r,bottom:n}){let{t:s}=O("dndev"),p=t==="top"?D:R,u=t==="top"?"left":t,[h,i]=T(!1),f=C();b(()=>{i(!1)},[f]);let v=o(c,{direction:"column",className:"merged-bar-sheet-content",children:[a&&o(m,{children:[a,e(l,{variant:d.MUTED})]}),r&&e("div",{className:"merged-bar-sheet-scroll",children:r}),n&&o(m,{children:[e(l,{variant:d.MUTED}),n]})]}),N=e(B,{variant:A.GHOST,icon:p,"aria-label":"Open navigation"});return e("div",{className:"merged-bar","data-position":t,children:o(c,{direction:"row",align:"center",justify:"between",className:"merged-bar-trigger",children:[g,e(M,{trigger:N,side:u,open:h,onOpenChange:i,title:s("sheet.navigation",{defaultValue:"Navigation"}),closeLabel:s("sheet.close",{defaultValue:"Close sheet"}),children:v})]})})}var y=S(E);export{y as DnDevMergedBar};
|
package/dist/next.d.ts
CHANGED
|
@@ -7,5 +7,6 @@
|
|
|
7
7
|
* @author AMBROISE PARK Consulting
|
|
8
8
|
*/
|
|
9
9
|
export { NextJsAppProviders } from './providers/NextJsAppProviders';
|
|
10
|
-
export {
|
|
10
|
+
export { FontHead } from './internal/layout/components/FontHead';
|
|
11
|
+
export type { FontHeadData } from './internal/layout/components/FontHead';
|
|
11
12
|
//# sourceMappingURL=next.d.ts.map
|
package/dist/next.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,
|
|
1
|
+
{"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../src/next.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC"}
|
package/dist/next.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{NextJsAppProviders as
|
|
1
|
+
import{NextJsAppProviders as e}from"./providers/NextJsAppProviders.js";import{FontHead as a}from"./internal/layout/components/FontHead.js";export{a as FontHead,e as NextJsAppProviders};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NextJsAppProviders.d.ts","sourceRoot":"","sources":["../../src/providers/NextJsAppProviders.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,iBAAiB,EAAoB,MAAM,gBAAgB,CAAC;AA2F1E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,WAAW,uBAAwB,SAAQ,iBAAiB;IAChE;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAQD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,+
|
|
1
|
+
{"version":3,"file":"NextJsAppProviders.d.ts","sourceRoot":"","sources":["../../src/providers/NextJsAppProviders.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,iBAAiB,EAAoB,MAAM,gBAAgB,CAAC;AA2F1E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,WAAW,uBAAwB,SAAQ,iBAAiB;IAChE;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAQD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,+BA4FhE"}
|
|
@@ -15,17 +15,19 @@ import type { AppProvidersProps } from '@donotdev/core';
|
|
|
15
15
|
* 2. SentryInitializer (error monitoring)
|
|
16
16
|
* 3. ViteStoresInitializer (store setup)
|
|
17
17
|
* 4. HelmetProvider (head management)
|
|
18
|
-
* 5.
|
|
19
|
-
* 6. NavigationProvider (RouterProvider with auto-abort)
|
|
18
|
+
* 5. NavigationProvider (RouterProvider with auto-abort)
|
|
20
19
|
*
|
|
21
20
|
* Provider hierarchy (inside router via RootLayout):
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
21
|
+
* 6. QueryProviders (React Query)
|
|
22
|
+
* 7. UIProviders (design system)
|
|
23
|
+
* 8. AutoMetaTags (SEO)
|
|
24
|
+
* 9. FrameworkReadySignal (framework initialization)
|
|
25
|
+
* 10. Layout (application layout)
|
|
26
|
+
* 11. ConsentBanner (cookie consent)
|
|
27
|
+
* 12. PWAUpdateNotification (PWA updates)
|
|
28
|
+
*
|
|
29
|
+
* No favicon component: the build writes the favicon tags into index.html and every
|
|
30
|
+
* prerendered page (`createViteFaviconPlugin`, `faviconHeadTags` of `@donotdev/core`).
|
|
29
31
|
*
|
|
30
32
|
* @version 0.1.0
|
|
31
33
|
* @since 0.0.1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViteAppProviders.d.ts","sourceRoot":"","sources":["../../src/providers/ViteAppProviders.tsx"],"names":[],"mappings":"AAeA,OAAO,aAAa,CAAC;AACrB,OAAO,gBAAgB,CAAC;AACxB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,gBAAgB,CAAC;AACxB,OAAO,gBAAgB,CAAC;AAUxB,OAAO,KAAK,EAAE,iBAAiB,EAAoB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ViteAppProviders.d.ts","sourceRoot":"","sources":["../../src/providers/ViteAppProviders.tsx"],"names":[],"mappings":"AAeA,OAAO,aAAa,CAAC;AACrB,OAAO,gBAAgB,CAAC;AACxB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,gBAAgB,CAAC;AACxB,OAAO,gBAAgB,CAAC;AAUxB,OAAO,KAAK,EAAE,iBAAiB,EAAoB,MAAM,gBAAgB,CAAC;AA+B1E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,+BAyDxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{lazy as d,Suspense as
|
|
1
|
+
"use client";import{lazy as d,Suspense as f,useEffect as m,useMemo as L,useRef as P,useState as S}from"react";import"virtual:env";import"virtual:themes";import"virtual:i18n-mapping";import"virtual:routes";import"virtual:assets";import{AppConfigProvider as y,applyFirstVisitLanguage as w,getI18nInstance as s,getLanguageRouting as R,getUrlLanguage as h,LanguageNavigationProvider as A}from"@donotdev/core";import{ViteStoresInitializer as I}from"../internal/initializers/ViteStoresInitializer.js";import{NavigationProvider as N}from"../internal/providers/NavigationProvider.js";import{SentryInitializer as z}from"../internal/providers/SentryInitializer.js";import{useRouteDiscovery as V}from"../routing/useRouteDiscovery.js";import{createAppRouter as E}from"../vite-routing/AppRoutes.js";import{jsx as t,jsxs as U}from"react/jsx-runtime";var H=d(()=>import("react-helmet-async").then(e=>({default:e.HelmetProvider})));function c(){return h(window.location.pathname)}function T(e){let o=P(e);m(()=>{o.current!==e&&o.current.dispose(),o.current=e},[e])}function W(e){let{config:o={},layout:i,children:C,customStores:v}=e,a=V(),[l,g]=S(c),u=L(()=>E({routeGroups:a,layout:i}),[a,i,l]);return T(u),m(()=>{let n=()=>{let r=R();w(r.languages,r.defaultLanguage);let p=c();s().changeLanguage(p),g(p)};return window.addEventListener("popstate",n),()=>window.removeEventListener("popstate",n)},[]),U(y,{config:o,platform:"vite",children:[t(z,{}),t(I,{customStores:v,children:t(f,{fallback:null,children:t(H,{children:t(A,{navigate:(n,r)=>{window.history.pushState(null,"",n),s().changeLanguage(r),g(r)},children:t(N,{router:u})})})})})]})}export{W as ViteAppProviders};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DnDevNavigationMenu.d.ts","sourceRoot":"","sources":["../../src/routing/DnDevNavigationMenu.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAEf,OAAO,EAOL,OAAO,EACR,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"DnDevNavigationMenu.d.ts","sourceRoot":"","sources":["../../src/routing/DnDevNavigationMenu.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAEf,OAAO,EAOL,OAAO,EACR,MAAM,sBAAsB,CAAC;AAW9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAatD,mDAAmD;AACnD,MAAM,WAAW,wBAAwB;IACvC,kEAAkE;IAClE,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,mEAAmE;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;IACjD,mEAAmE;IACnE,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,4BAA4B;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC,wBAAwB,CA0LvE,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{MoreHorizontal as
|
|
1
|
+
"use client";import{MoreHorizontal as B,Link as k}from"lucide-react";import{useState as z,useEffect as R,useRef as E,useMemo as H}from"react";import{NavigationMenu as P,NavigationMenuListPrimitive as O,NavigationMenuItemPrimitive as D,Button as Y,DropdownMenu as q,cn as f,DISPLAY as U}from"@donotdev/components";import{useTranslation as V}from"@donotdev/core";import{useRoutePath as $}from"@donotdev/ui/routing/hooks";import{Link as v}from"./Link.js";import{useNavigationItems as F}from"./useNavigation.js";import{Icon as C}from"../components/common/icon.js";import{jsx as a,jsxs as h}from"react/jsx-runtime";function g(s,n){return s?s==="/"?n==="/":n===s||n.startsWith(`${s}/`):!1}var G=({routes:s,vertical:n=!1,display:S=U.AUTO,overflowDetection:l=!1,showIcons:b=!0,className:N,style:T})=>{let{t:x}=V("dndev"),u=$(),A=F(),o=s??A,d=E(null),[W,M]=z(o.length),p=H(()=>o.map(t=>({label:t.label,path:t.path,icon:a(C,{icon:t.icon,fallback:k}),active:g(t.path,u)||(t.children?.some(i=>g(i.path,u))??!1),children:t.children?t.children.map(i=>({label:i.label,path:i.path,icon:a(C,{icon:i.icon,fallback:k}),active:g(i.path,u)})):void 0})),[o,u]);if(R(()=>{if(!l||o.length===0||n)return;let t=()=>{let r=d.current;if(!r)return;let e=r.getBoundingClientRect(),c=r.querySelectorAll("[data-nav-item]"),y=r.querySelector("[data-more-button]"),I=0,w=y?.offsetWidth||0;for(let m=0;m<c.length;m++){let L=c[m];if(!L)break;if(L.getBoundingClientRect().right-e.left+(m===c.length-1&&y?w:0)<=e.width)I=m+1;else break}M(Math.max(0,I))},i=new ResizeObserver(t);return d.current&&i.observe(d.current),setTimeout(t,0),()=>i.disconnect()},[l,o.length,n]),R(()=>{l&&!n&&M(o.length)},[o.length,l,n]),o.length===0)return null;if(l&&!n){let t=Math.min(W,p.length),i=p.slice(0,t),r=p.slice(t);return a(P,{className:f(N),style:T||{flex:1},children:h(O,{ref:d,"data-vertical":"false",style:{display:"flex",alignItems:"center",gap:"var(--gap-sm)",flexWrap:"nowrap",overflow:"hidden"},children:[i.filter(e=>e.path).map((e,c)=>a(D,{"data-nav-item":!0,children:h(v,{path:e.path,className:f("dndev-interactive"),"data-role":"nav-trigger","aria-current":e.active?"page":void 0,"data-active":e.active?"true":void 0,children:[b&&e.icon,a("span",{className:"dndev-interactive-label",children:e.label})]})},e.path||c)),r.length>0&&a(D,{"data-more-button":!0,children:a(q,{trigger:a(Y,{className:"dndev-size-touch",style:{flexShrink:0},"aria-label":x("navigation.more","More"),children:a(B,{className:"dndev-size-md"})}),items:r.filter(e=>e.path).map(e=>({label:e.label,children:h(v,{path:e.path,className:f("dndev-interactive"),"data-role":"menu-item","aria-current":e.active?"page":void 0,"data-active":e.active?"true":void 0,children:[b&&e.icon,a("span",{className:"dndev-interactive-label",children:e.label})]}),asChild:!0})),contentWidth:"14rem",contentAlign:"end"})})]})})}return a(P,{items:p,vertical:n,display:S,className:f(N,n&&"dndev-sidebar-nav-menu"),LinkComponent:v})},ae=G;export{G as DnDevNavigationMenu,ae as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{useRouter as d}from"next/navigation";import{isClient as G,useOverlayStore as $}from"@donotdev/core";import{usePathname as
|
|
1
|
+
"use client";import{useRouter as d}from"next/navigation";import{isClient as G,useOverlayStore as $}from"@donotdev/core";import{usePathname as C}from"next/navigation";import{getLanguageRouting as b,localizePath as L,publicPathname as N,splitLanguagePath as I}from"@donotdev/core";function w(){return I(N(C()??"/"),b()).language}function h(){let e=w(),t=b();return r=>L(r,e,t)}function P(){let e=d(),t=$(n=>n.closeAll),r=h();return(n,o)=>{if(n==="back")return t(),e.back();t();let u=r(n);if(o?.preserveScroll&&G()){let s=window.scrollY;o?.replace?e.replace(u):e.push(u),requestAnimationFrame(()=>{window.scrollTo({top:s,behavior:"auto"})});return}return o?.replace?e.replace(u):e.push(u)}}function U(){let e=d();return()=>e.back()}function K(){let e=d();return()=>e.refresh()}function E(){let e=d(),t=h();return r=>e.prefetch(t(r))}import{useSearchParams as F}from"next/navigation";import{usePathname as O}from"next/navigation";import{getLanguageRouting as z,publicPathname as q,splitLanguagePath as Q,stripTrailingSlash as D}from"@donotdev/core";function m(){return Q(q(D(O()??"/")),z()).path}function R(){let e=m(),r=F().toString(),n=r?`?${r}`:void 0;return{pathname:e,search:n,hash:"",state:null}}import{useParams as M}from"next/navigation";function x(){let e=M();return e||{}}function j(e){let r=x()[e];if(typeof r=="string")return r;if(Array.isArray(r)&&r.length>0)return r[0]}import{useSearchParams as _}from"next/navigation";function A(){return _()}function B(e){let t=m(),r=e.replace(/:[^/]+/g,"([^/]+)").replace(/\*/g,".*"),n=new RegExp(`^${r}$`),o=t.match(n);if(!o)return null;let u=e.match(/:[^/]+/g)?.map(a=>a.slice(1))||[],s={};return u.forEach((a,i)=>{s[a]=o[i+1]||""}),{params:s,pathname:t,pattern:e}}import{useCallback as S}from"react";function Y(){let e=A(),t=P(),r=R(),n=S((s,a)=>{let i=new URLSearchParams(e.toString());i.set(s,a);let p=i.toString(),c=`${r.pathname||"/"}${p?`?${p}`:""}`;t(c)},[e,t,r.pathname]),o=S(s=>{let a=new URLSearchParams(e.toString());a.delete(s);let i=a.toString(),l=`${r.pathname||"/"}${i?`?${i}`:""}`;t(l)},[e,t,r.pathname]),u=S(()=>{let s=r.pathname||"/";t(s)},[t,r.pathname]);return{query:e,setQuery:n,removeQuery:o,clearQueries:u}}import{useMemo as J}from"react";import{isClient as V,FEATURE_STATUS as W}from"@donotdev/core";import{useAppConfig as X,useAuthConfig as ee}from"@donotdev/core";import*as k from"@donotdev/auth";import{DEGRADED_AUTH_API as H}from"@donotdev/core";var v=k?.useAuth;function Z(e){return H[e]}function g(e){return v?v(e):Z(e)}var Le=k?.PasswordResetCallback??(()=>null);function te(e={}){let{auth:t,redirectTo:r,condition:n}=e,o=ee(),u=X().auth===!1,s=g("user"),a=g("can"),i=g("status");return J(()=>{let l={shouldRedirect:!1,redirectTo:null,isChecking:!1};if(!V())return l;if(i===W.INITIALIZING)return{...l,isChecking:!0};if(n){let c=n(s,i);return{shouldRedirect:c,redirectTo:c&&r||null,isChecking:!1}}if(t!==!1&&t!==void 0){if(!a)return l;if(!a.navigate(t)){if(u&&!r)throw new Error("[dndev] This route declares auth requirements but AppConfig.auth is false, so there is no auth route to redirect to. Enable auth in AppConfig or remove the route's auth requirement.");let c=null;if(typeof t=="object"&&t.required&&!s){let f=window.location.search,T=f.includes("code=")||f.includes("state=")||f.includes("error="),y=o.authRoute;T?c=`${y}${f}`:c=y}else typeof t=="object"&&t.role?c=o.roleRoute:typeof t=="object"&&t.tier?c=o.tierRoute:c=o.roleRoute;return{shouldRedirect:!0,redirectTo:r||c,isChecking:!1}}}return l},[t,i,s,a,n,r,u,o.authRoute,o.roleRoute,o.tierRoute])}export{U as useBack,h as useLocalizedPath,R as useLocation,B as useMatch,P as useNavigate,x as useParams,E as usePrefetch,Y as useQueryParams,te as useRedirectGuard,K as useRefresh,j as useRouteParam,m as useRoutePath,A as useSearchParams,w as useUrlLanguage};
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
* `useSearchParams`) moves the render to the browser up to the nearest Suspense
|
|
6
6
|
* boundary. Use it whenever the query string is not needed. The server render of a
|
|
7
7
|
* per-request page reads its internal pathname (`/<lang>/dndev-session/…`): dropped here, so
|
|
8
|
-
* the server and the browser see the same path.
|
|
8
|
+
* the server and the browser see the same path. Under Next `trailingSlash: true` the URL
|
|
9
|
+
* ends with `/` (`/en/produits/`): the route path does not (`/produits`), the form of the
|
|
10
|
+
* route mapping.
|
|
9
11
|
*
|
|
10
|
-
* @returns Route path, always starting with `/`
|
|
12
|
+
* @returns Route path, always starting with `/`, never ending with `/` (except the root)
|
|
11
13
|
*
|
|
12
14
|
* @example
|
|
13
15
|
* ```tsx
|
|
@@ -15,7 +17,7 @@
|
|
|
15
17
|
* const active = path === '/produits';
|
|
16
18
|
* ```
|
|
17
19
|
*
|
|
18
|
-
* @version 0.1.
|
|
20
|
+
* @version 0.1.1
|
|
19
21
|
* @since 0.2.3
|
|
20
22
|
* @author AMBROISE PARK Consulting
|
|
21
23
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRoutePath.next.d.ts","sourceRoot":"","sources":["../../../src/routing/hooks/useRoutePath.next.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useRoutePath.next.d.ts","sourceRoot":"","sources":["../../../src/routing/hooks/useRoutePath.next.ts"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAKrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{usePathname as t}from"next/navigation";import{getLanguageRouting as
|
|
1
|
+
"use client";import{usePathname as t}from"next/navigation";import{getLanguageRouting as a,publicPathname as e,splitLanguagePath as i,stripTrailingSlash as n}from"@donotdev/core";function g(){return i(e(n(t()??"/")),a()).path}export{g as useRoutePath};
|
|
@@ -184,6 +184,9 @@ export declare function useRouteManifest(): {
|
|
|
184
184
|
publicRoutes: number;
|
|
185
185
|
source: import("@donotdev/types").RouteSource;
|
|
186
186
|
hasBlogFeed?: boolean;
|
|
187
|
+
trailingSlash?: boolean;
|
|
188
|
+
serverMetadataPaths?: string[];
|
|
189
|
+
recordBreadcrumbPaths?: string[];
|
|
187
190
|
generatedAt: string;
|
|
188
191
|
} | null;
|
|
189
192
|
//# sourceMappingURL=useRouteDiscovery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRouteDiscovery.d.ts","sourceRoot":"","sources":["../../src/routing/useRouteDiscovery.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvC,OAAO,KAAK,EAEV,eAAe,IAAI,mBAAmB,EACvC,MAAM,gBAAgB,CAAC;AAOxB;;;;;;GAMG;AACH,MAAM,WAAW,SAAS;IACxB,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,sEAAsE;IACtE,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,gCAAgC;IAChC,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,UAAU;IACzB,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,qCAAqC;IACrC,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,iBAAiB,IAAI,UAAU,EAAE,CA2BhD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,mBAAmB,IAAI,UAAU,EAAE,CAoBlD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,6BAA6B,IAAI,eAAe,EAAE,CAejE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,gBAK3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,gBAAgB
|
|
1
|
+
{"version":3,"file":"useRouteDiscovery.d.ts","sourceRoot":"","sources":["../../src/routing/useRouteDiscovery.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvC,OAAO,KAAK,EAEV,eAAe,IAAI,mBAAmB,EACvC,MAAM,gBAAgB,CAAC;AAOxB;;;;;;GAMG;AACH,MAAM,WAAW,SAAS;IACxB,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,sEAAsE;IACtE,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC,gCAAgC;IAChC,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,UAAU;IACzB,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,qCAAqC;IACrC,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,iBAAiB,IAAI,UAAU,EAAE,CA2BhD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,mBAAmB,IAAI,UAAU,EAAE,CAoBlD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,6BAA6B,IAAI,eAAe,EAAE,CAejE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,gBAK3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,gBAAgB;;;;;;;;;;SAQ/B"}
|