nuxt-ignis 0.2.5 → 0.3.1
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/.data/content/contents.sqlite +0 -0
- package/.env +43 -0
- package/.nuxt/app.config.mjs +18 -0
- package/.nuxt/component-chunk.mjs +1 -0
- package/.nuxt/components.d.ts +322 -0
- package/.nuxt/content/components.ts +51 -0
- package/.nuxt/content/database.compressed.mjs +1 -0
- package/.nuxt/content/manifest.ts +33 -0
- package/.nuxt/content/sql_dump +6 -0
- package/.nuxt/content/types.d.ts +13 -0
- package/.nuxt/dist/server/client.manifest.json +18 -0
- package/.nuxt/dist/server/client.manifest.mjs +18 -0
- package/.nuxt/dist/server/server.mjs +1 -0
- package/.nuxt/eslint-typegen.d.ts +9401 -0
- package/.nuxt/eslint.config.d.mts +9 -0
- package/.nuxt/eslint.config.mjs +53 -0
- package/.nuxt/i18n.options.mjs +165 -0
- package/.nuxt/imports.d.ts +82 -0
- package/.nuxt/manifest/latest.json +1 -0
- package/.nuxt/manifest/meta/dev.json +1 -0
- package/.nuxt/mdc-configs.mjs +8 -0
- package/.nuxt/mdc-highlighter.mjs +213 -0
- package/.nuxt/mdc-image-component.mjs +1 -0
- package/.nuxt/mdc-imports.mjs +12 -0
- package/.nuxt/module/@nuxtjs-sitemap.d.ts +28 -0
- package/.nuxt/module/nuxt-robots.d.ts +35 -0
- package/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
- package/.nuxt/module/nuxt-seo-utils.d.ts +22 -0
- package/.nuxt/module/nuxt-site-config.d.ts +43 -0
- package/.nuxt/modules/@nuxt-scripts.d.ts +13 -0
- package/.nuxt/nitro.json +17 -0
- package/.nuxt/nuxt-fonts-global.css +0 -0
- package/.nuxt/nuxt-i18n-logger.mjs +1 -0
- package/.nuxt/nuxt-icon-client-bundle.mjs +1 -0
- package/.nuxt/nuxt-icon-server-bundle.mjs +15 -0
- package/.nuxt/nuxt.d.ts +49 -0
- package/.nuxt/nuxt.json +9 -0
- package/.nuxt/schema/nuxt.schema.d.ts +17 -0
- package/.nuxt/schema/nuxt.schema.json +3 -0
- package/.nuxt/tailwind/postcss.mjs +15 -0
- package/.nuxt/tsconfig.json +374 -0
- package/.nuxt/tsconfig.server.json +292 -0
- package/.nuxt/types/app-defaults.d.ts +7 -0
- package/.nuxt/types/app.config.d.ts +31 -0
- package/.nuxt/types/build.d.ts +27 -0
- package/.nuxt/types/builder-env.d.ts +1 -0
- package/.nuxt/types/i18n-plugin.d.ts +104 -0
- package/.nuxt/types/imports.d.ts +899 -0
- package/.nuxt/types/layouts.d.ts +7 -0
- package/.nuxt/types/middleware.d.ts +7 -0
- package/.nuxt/types/neon.d.ts +35 -0
- package/.nuxt/types/nitro-config.d.ts +14 -0
- package/.nuxt/types/nitro-imports.d.ts +405 -0
- package/.nuxt/types/nitro-middleware.d.ts +6 -0
- package/.nuxt/types/nitro-nuxt.d.ts +34 -0
- package/.nuxt/types/nitro-routes.d.ts +81 -0
- package/.nuxt/types/nitro.d.ts +3 -0
- package/.nuxt/types/plugins.d.ts +57 -0
- package/.nuxt/types/schema.d.ts +1372 -0
- package/.nuxt/types/ui.d.ts +35 -0
- package/.nuxt/types/vue-shim.d.ts +0 -0
- package/.nuxt/ui/accordion.ts +20 -0
- package/.nuxt/ui/alert.ts +264 -0
- package/.nuxt/ui/avatar-group.ts +52 -0
- package/.nuxt/ui/avatar.ts +54 -0
- package/.nuxt/ui/badge.ts +263 -0
- package/.nuxt/ui/breadcrumb.ts +45 -0
- package/.nuxt/ui/button-group.ts +16 -0
- package/.nuxt/ui/button.ts +378 -0
- package/.nuxt/ui/calendar.ts +103 -0
- package/.nuxt/ui/card.ts +34 -0
- package/.nuxt/ui/carousel.ts +38 -0
- package/.nuxt/ui/checkbox-group.ts +204 -0
- package/.nuxt/ui/checkbox.ts +236 -0
- package/.nuxt/ui/chip.ts +96 -0
- package/.nuxt/ui/collapsible.ts +6 -0
- package/.nuxt/ui/color-picker.ts +47 -0
- package/.nuxt/ui/command-palette.ts +50 -0
- package/.nuxt/ui/container.ts +3 -0
- package/.nuxt/ui/context-menu.ts +216 -0
- package/.nuxt/ui/drawer.ts +126 -0
- package/.nuxt/ui/dropdown-menu.ts +217 -0
- package/.nuxt/ui/form-field.ts +48 -0
- package/.nuxt/ui/form.ts +3 -0
- package/.nuxt/ui/index.ts +50 -0
- package/.nuxt/ui/input-menu.ts +436 -0
- package/.nuxt/ui/input-number.ts +245 -0
- package/.nuxt/ui/input.ts +289 -0
- package/.nuxt/ui/kbd.ts +31 -0
- package/.nuxt/ui/link.ts +22 -0
- package/.nuxt/ui/modal.ts +29 -0
- package/.nuxt/ui/navigation-menu.ts +501 -0
- package/.nuxt/ui/pagination.ts +13 -0
- package/.nuxt/ui/pin-input.ts +171 -0
- package/.nuxt/ui/popover.ts +6 -0
- package/.nuxt/ui/progress.ts +297 -0
- package/.nuxt/ui/radio-group.ts +350 -0
- package/.nuxt/ui/select-menu.ts +346 -0
- package/.nuxt/ui/select.ts +341 -0
- package/.nuxt/ui/separator.ts +172 -0
- package/.nuxt/ui/skeleton.ts +3 -0
- package/.nuxt/ui/slideover.ts +71 -0
- package/.nuxt/ui/slider.ts +171 -0
- package/.nuxt/ui/stepper.ts +202 -0
- package/.nuxt/ui/switch.ts +131 -0
- package/.nuxt/ui/table.ts +147 -0
- package/.nuxt/ui/tabs.ts +256 -0
- package/.nuxt/ui/textarea.ts +294 -0
- package/.nuxt/ui/toast.ts +81 -0
- package/.nuxt/ui/toaster.ts +91 -0
- package/.nuxt/ui/tooltip.ts +9 -0
- package/.nuxt/ui/tree.ts +154 -0
- package/.nuxt/ui-image-component.ts +1 -0
- package/.nuxt/ui.css +143 -0
- package/app.vue +16 -36
- package/assets/css/nuxt-ui.css +16 -0
- package/assets/css/tailwind.css +10 -44
- package/components/AppFeature.vue +47 -3
- package/components/AppFeatureList.vue +86 -26
- package/components/CurrentTime.vue +9 -9
- package/components/ignis/IgnisFooter.vue +16 -0
- package/components/ignis/IgnisHeader.vue +48 -0
- package/components/ignis/IgnisInfo.vue +26 -0
- package/composables/useTranslation.ts +11 -4
- package/content/second.md +4 -0
- package/features.ts +129 -23
- package/i18n/i18n.config.ts +2 -2
- package/{assets/lang → i18n/locales}/en.json +6 -1
- package/i18n/locales/es.json +4 -0
- package/nuxt.config.ts +26 -2
- package/package.json +71 -79
- package/pages/ignis.vue +3 -0
- package/pages/index.vue +1 -12
- package/tailwind.config.ts +2 -1
- package/utils/i18n-sources.ts +20 -2
- package/vueform.config.ts +20 -0
- package/.gitattributes +0 -2
- package/CHANGELOG.md +0 -72
- package/LICENSE +0 -21
- package/README.md +0 -147
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FlatConfigComposer } from "../node_modules/.pnpm/eslint-flat-config-utils@2.0.1/node_modules/eslint-flat-config-utils/dist/index.mjs"
|
|
2
|
+
import { defineFlatConfigs } from "../node_modules/.pnpm/@nuxt+eslint-config@1.4.1_@_9c5e9132b70bbf2b64db8b04a56e910c/node_modules/@nuxt/eslint-config/dist/flat.mjs"
|
|
3
|
+
import type { NuxtESLintConfigOptionsResolved } from "../node_modules/.pnpm/@nuxt+eslint-config@1.4.1_@_9c5e9132b70bbf2b64db8b04a56e910c/node_modules/@nuxt/eslint-config/dist/flat.mjs"
|
|
4
|
+
|
|
5
|
+
declare const configs: FlatConfigComposer
|
|
6
|
+
declare const options: NuxtESLintConfigOptionsResolved
|
|
7
|
+
declare const withNuxt: typeof defineFlatConfigs
|
|
8
|
+
export default withNuxt
|
|
9
|
+
export { withNuxt, defineFlatConfigs, configs, options }
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// ESLint config generated by Nuxt
|
|
2
|
+
/// <reference path="./eslint-typegen.d.ts" />
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import typegen from '../node_modules/.pnpm/eslint-typegen@2.2.0_eslint@9.25.1_jiti@2.4.2_/node_modules/eslint-typegen/dist/index.mjs';
|
|
7
|
+
import { createConfigForNuxt, defineFlatConfigs, resolveOptions } from '../node_modules/.pnpm/@nuxt+eslint-config@1.4.1_@_9c5e9132b70bbf2b64db8b04a56e910c/node_modules/@nuxt/eslint-config/dist/flat.mjs';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
9
|
+
|
|
10
|
+
const r = (...args) => fileURLToPath(new URL(...args, import.meta.url))
|
|
11
|
+
|
|
12
|
+
export { defineFlatConfigs }
|
|
13
|
+
|
|
14
|
+
export const options = resolveOptions({
|
|
15
|
+
features: {
|
|
16
|
+
"standalone": true,
|
|
17
|
+
"stylistic": true
|
|
18
|
+
},
|
|
19
|
+
dirs: {
|
|
20
|
+
pages: ["pages", "node_modules/.pnpm/nuxt-spec@0.0.4_@types+debu_fbd62cce99e0c6b5414599c74ec32b3d/node_modules/nuxt-spec/pages"],
|
|
21
|
+
composables: ["composables", "utils", "node_modules/.pnpm/nuxt-spec@0.0.4_@types+debu_fbd62cce99e0c6b5414599c74ec32b3d/node_modules/nuxt-spec/composables", "node_modules/.pnpm/nuxt-spec@0.0.4_@types+debu_fbd62cce99e0c6b5414599c74ec32b3d/node_modules/nuxt-spec/utils"],
|
|
22
|
+
components: ["components", "node_modules/.pnpm/nuxt-spec@0.0.4_@types+debu_fbd62cce99e0c6b5414599c74ec32b3d/node_modules/nuxt-spec/components"],
|
|
23
|
+
componentsPrefixed: [],
|
|
24
|
+
layouts: ["layouts", "node_modules/.pnpm/nuxt-spec@0.0.4_@types+debu_fbd62cce99e0c6b5414599c74ec32b3d/node_modules/nuxt-spec/layouts"],
|
|
25
|
+
plugins: ["plugins", "node_modules/.pnpm/nuxt-spec@0.0.4_@types+debu_fbd62cce99e0c6b5414599c74ec32b3d/node_modules/nuxt-spec/plugins"],
|
|
26
|
+
middleware: ["middleware", "node_modules/.pnpm/nuxt-spec@0.0.4_@types+debu_fbd62cce99e0c6b5414599c74ec32b3d/node_modules/nuxt-spec/middleware"],
|
|
27
|
+
modules: ["modules", "node_modules/.pnpm/nuxt-spec@0.0.4_@types+debu_fbd62cce99e0c6b5414599c74ec32b3d/node_modules/nuxt-spec/modules"],
|
|
28
|
+
servers: [],
|
|
29
|
+
root: [],
|
|
30
|
+
src: ["", "node_modules/.pnpm/nuxt-spec@0.0.4_@types+debu_fbd62cce99e0c6b5414599c74ec32b3d/node_modules/nuxt-spec"],
|
|
31
|
+
}
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
export const configs = createConfigForNuxt(options)
|
|
35
|
+
|
|
36
|
+
configs.append(
|
|
37
|
+
// Set globals from imports registry
|
|
38
|
+
{
|
|
39
|
+
name: 'nuxt/import-globals',
|
|
40
|
+
languageOptions: {
|
|
41
|
+
globals: Object.fromEntries(["asyncComputed","autoResetRef","computedAsync","computedEager","computedInject","computedWithControl","controlledComputed","controlledRef","createEventHook","createGlobalState","createInjectionState","createReactiveFn","createRef","createReusableTemplate","createSharedComposable","createTemplatePromise","createUnrefFn","debouncedRef","debouncedWatch","eagerComputed","extendRef","ignorableWatch","injectLocal","isDefined","makeDestructurable","onClickOutside","onElementRemoval","onKeyStroke","onLongPress","onStartTyping","pausableWatch","provideLocal","reactify","reactifyObject","reactiveComputed","reactiveOmit","reactivePick","refAutoReset","refDebounced","refDefault","refThrottled","refWithControl","resolveRef","resolveUnref","syncRef","syncRefs","templateRef","throttledRef","throttledWatch","toReactive","tryOnBeforeMount","tryOnBeforeUnmount","tryOnMounted","tryOnScopeDispose","tryOnUnmounted","unrefElement","until","useActiveElement","useAnimate","useArrayDifference","useArrayEvery","useArrayFilter","useArrayFind","useArrayFindIndex","useArrayFindLast","useArrayIncludes","useArrayJoin","useArrayMap","useArrayReduce","useArraySome","useArrayUnique","useAsyncQueue","useAsyncState","useBase64","useBattery","useBluetooth","useBreakpoints","useBroadcastChannel","useBrowserLocation","useCached","useClipboard","useClipboardItems","useCloned","useColorMode","useConfirmDialog","useCountdown","useCounter","useCssVar","useCurrentElement","useCycleList","useDark","useDateFormat","useDebounce","useDebouncedRefHistory","useDebounceFn","useDeviceMotion","useDeviceOrientation","useDevicePixelRatio","useDevicesList","useDisplayMedia","useDocumentVisibility","useDraggable","useDropZone","useElementBounding","useElementByPoint","useElementHover","useElementSize","useElementVisibility","useEventBus","useEventListener","useEventSource","useEyeDropper","useFavicon","useFileDialog","useFileSystemAccess","useFocus","useFocusWithin","useFps","useFullscreen","useGamepad","useGeolocation","useIdle","useInfiniteScroll","useIntersectionObserver","useInterval","useIntervalFn","useKeyModifier","useLastChanged","useLocalStorage","useMagicKeys","useManualRefHistory","useMediaControls","useMediaQuery","useMemoize","useMemory","useMounted","useMouse","useMouseInElement","useMousePressed","useMutationObserver","useNavigatorLanguage","useNetwork","useNow","useObjectUrl","useOffsetPagination","useOnline","usePageLeave","useParallax","useParentElement","usePerformanceObserver","usePermission","usePointer","usePointerLock","usePointerSwipe","usePreferredColorScheme","usePreferredContrast","usePreferredDark","usePreferredLanguages","usePreferredReducedMotion","usePreferredReducedTransparency","usePrevious","useRafFn","useRefHistory","useResizeObserver","useScreenOrientation","useScreenSafeArea","useScriptTag","useScroll","useScrollLock","useSessionStorage","useShare","useSorted","useSpeechRecognition","useSpeechSynthesis","useSSRWidth","useStepper","useStorageAsync","useStyleTag","useSupported","useSwipe","useTemplateRefsList","useTextareaAutosize","useTextDirection","useTextSelection","useThrottle","useThrottledRefHistory","useThrottleFn","useTimeAgo","useTimeout","useTimeoutFn","useTimeoutPoll","useTimestamp","useTitle","useToggle","useToNumber","useToString","useTransition","useUrlSearchParams","useUserMedia","useVibrate","useVirtualList","useVModel","useVModels","useWakeLock","useWebNotification","useWebSocket","useWebWorker","useWebWorkerFn","useWindowFocus","useWindowScroll","useWindowSize","watchArray","watchAtMost","watchDebounced","watchDeep","watchIgnorable","watchImmediate","watchOnce","watchPausable","watchThrottled","watchTriggerable","watchWithFilter","whenever","cancelIdleCallback","requestIdleCallback","defineNuxtLink","clearNuxtData","refreshNuxtData","useAsyncData","useLazyAsyncData","useNuxtData","defineNuxtComponent","refreshCookie","useCookie","clearError","createError","isNuxtError","showError","useError","useFetch","useLazyFetch","injectHead","useHead","useHeadSafe","useSeoMeta","useServerHead","useServerHeadSafe","useServerSeoMeta","useHydration","reloadNuxtApp","useLoadingIndicator","getAppManifest","getRouteRules","callOnce","definePayloadReducer","definePayloadReviver","isPrerendered","loadPayload","preloadPayload","prefetchComponents","preloadComponents","preloadRouteComponents","usePreviewMode","onNuxtReady","useRouteAnnouncer","abortNavigation","addRouteMiddleware","defineNuxtRouteMiddleware","navigateTo","setPageLayout","useRoute","useRouter","useRuntimeHook","onPrehydrate","prerenderRoutes","setResponseStatus","useRequestEvent","useRequestFetch","useRequestHeader","useRequestHeaders","useResponseHeader","clearNuxtState","useState","useRequestURL","updateAppConfig","useAppConfig","defineAppConfig","defineNuxtPlugin","definePayloadPlugin","tryUseNuxtApp","useNuxtApp","useRuntimeConfig","useIgnisT","useT","queryCollection","queryCollectionItemSurroundings","queryCollectionNavigation","queryCollectionSearchSections","useNuxtDevTools","useImage","useScript","useScriptEventPage","useScriptTriggerConsent","useScriptTriggerElement","useScriptClarity","useScriptCloudflareWebAnalytics","useScriptCrisp","useScriptFathomAnalytics","useScriptGoogleAdsense","useScriptGoogleAnalytics","useScriptGoogleMaps","useScriptGoogleTagManager","useScriptHotjar","useScriptIntercom","useScriptLemonSqueezy","useScriptMatomoAnalytics","useScriptMetaPixel","useScriptNpm","useScriptPlausibleAnalytics","useScriptRybbitAnalytics","useScriptSegment","useScriptSnapchatPixel","useScriptStripe","useScriptUmamiAnalytics","useScriptVimeoPlayer","useScriptXPixel","useScriptYouTubePlayer","defineI18nConfig","defineI18nLocale","defineI18nRoute","useBrowserLocale","useCookieLocale","useLocaleHead","useLocalePath","useLocaleRoute","useRouteBaseName","useSetI18nParams","useSwitchLocalePath","parseMarkdown","stringifyMarkdown","unwrapSlot","useRobotsRule","acceptHMRUpdate","defineStore","storeToRefs","usePinia","useUserSession","useNeon","formatNeonError","isNeonError","isNeonSuccess","defineOgImage","defineOgImageComponent","defineOgImageScreenshot","useNonce","useBreadcrumbItems","updateSiteConfig","useNitroOrigin","useSiteConfig","createSitePathResolver","withSiteTrailingSlash","withSiteUrl","definePageMeta","useI18n","initConsola","log","scanI18Names","scanI18NSources","DBOptions","UIOptions","pslo","Component","ComponentPublicInstance","computed","ComputedRef","customRef","defineAsyncComponent","defineComponent","DirectiveBinding","effect","effectScope","ExtractDefaultPropTypes","ExtractPropTypes","ExtractPublicPropTypes","getCurrentInstance","getCurrentScope","h","hasInjectionContext","inject","InjectionKey","isProxy","isReactive","isReadonly","isRef","isShallow","markRaw","MaybeRef","MaybeRefOrGetter","mergeModels","nextTick","onActivated","onBeforeMount","onBeforeUnmount","onBeforeUpdate","onDeactivated","onErrorCaptured","onMounted","onRenderTracked","onRenderTriggered","onScopeDispose","onServerPrefetch","onUnmounted","onUpdated","PropType","provide","proxyRefs","reactive","readonly","ref","Ref","resolveComponent","shallowReactive","shallowReadonly","shallowRef","toRaw","toRef","toRefs","toValue","triggerRef","unref","useAttrs","useCssModule","useCssVars","useId","useModel","useShadowRoot","useSlots","useTemplateRef","useTransitionState","VNode","watch","watchEffect","watchPostEffect","watchSyncEffect","withCtx","withDirectives","withKeys","withMemo","withModifiers","withScopeId","WritableComputedRef","isVue2","isVue3","onBeforeRouteLeave","onBeforeRouteUpdate","useLink"].map(i => [i, 'readonly'])),
|
|
42
|
+
},
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
export function withNuxt(...customs) {
|
|
47
|
+
return configs
|
|
48
|
+
.clone()
|
|
49
|
+
.append(...customs)
|
|
50
|
+
.onResolved(configs => typegen(configs, { dtsPath: r("./eslint-typegen.d.ts"), augmentFlatConfigUtils: true }))
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export default withNuxt
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export const localeCodes = [
|
|
6
|
+
"en"
|
|
7
|
+
]
|
|
8
|
+
|
|
9
|
+
export const localeLoaders = {
|
|
10
|
+
en: []
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const vueI18nConfigs = [
|
|
14
|
+
() => import("#nuxt-i18n/b87d93de" /* webpackChunkName: "config_i18n_46config_46ts_b87d93de" */)
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
export const nuxtI18nOptions = {
|
|
18
|
+
restructureDir: "i18n",
|
|
19
|
+
experimental: {
|
|
20
|
+
localeDetector: "",
|
|
21
|
+
switchLocalePathLinkSSR: false,
|
|
22
|
+
autoImportTranslationFunctions: false,
|
|
23
|
+
typedPages: true,
|
|
24
|
+
typedOptionsAndMessages: false,
|
|
25
|
+
generatedLocaleFilePathFormat: "absolute",
|
|
26
|
+
alternateLinkCanonicalQueries: false,
|
|
27
|
+
hmr: true
|
|
28
|
+
},
|
|
29
|
+
bundle: {
|
|
30
|
+
compositionOnly: true,
|
|
31
|
+
runtimeOnly: false,
|
|
32
|
+
fullInstall: true,
|
|
33
|
+
dropMessageCompiler: false,
|
|
34
|
+
optimizeTranslationDirective: false
|
|
35
|
+
},
|
|
36
|
+
compilation: {
|
|
37
|
+
strictMessage: true,
|
|
38
|
+
escapeHtml: false
|
|
39
|
+
},
|
|
40
|
+
customBlocks: {
|
|
41
|
+
defaultSFCLang: "json",
|
|
42
|
+
globalSFCScope: false
|
|
43
|
+
},
|
|
44
|
+
locales: [
|
|
45
|
+
"en"
|
|
46
|
+
],
|
|
47
|
+
defaultLocale: "",
|
|
48
|
+
defaultDirection: "ltr",
|
|
49
|
+
routesNameSeparator: "___",
|
|
50
|
+
trailingSlash: false,
|
|
51
|
+
defaultLocaleRouteNameSuffix: "default",
|
|
52
|
+
strategy: "no_prefix",
|
|
53
|
+
lazy: false,
|
|
54
|
+
langDir: "locales",
|
|
55
|
+
rootRedirect: undefined,
|
|
56
|
+
detectBrowserLanguage: {
|
|
57
|
+
alwaysRedirect: false,
|
|
58
|
+
cookieCrossOrigin: false,
|
|
59
|
+
cookieDomain: null,
|
|
60
|
+
cookieKey: "i18n_redirected",
|
|
61
|
+
cookieSecure: false,
|
|
62
|
+
fallbackLocale: "",
|
|
63
|
+
redirectOn: "root",
|
|
64
|
+
useCookie: true
|
|
65
|
+
},
|
|
66
|
+
differentDomains: false,
|
|
67
|
+
baseUrl: "",
|
|
68
|
+
customRoutes: "page",
|
|
69
|
+
pages: {},
|
|
70
|
+
skipSettingLocaleOnNavigate: false,
|
|
71
|
+
types: "composition",
|
|
72
|
+
debug: false,
|
|
73
|
+
parallelPlugin: false,
|
|
74
|
+
multiDomainLocales: false,
|
|
75
|
+
i18nModules: []
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export const normalizedLocales = [
|
|
79
|
+
{
|
|
80
|
+
language: "en",
|
|
81
|
+
code: "en"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
|
|
85
|
+
export const NUXT_I18N_MODULE_ID = "@nuxtjs/i18n"
|
|
86
|
+
export const parallelPlugin = false
|
|
87
|
+
export const isSSG = false
|
|
88
|
+
export const hasPages = true
|
|
89
|
+
|
|
90
|
+
export const DEFAULT_COOKIE_KEY = "i18n_redirected"
|
|
91
|
+
export const DEFAULT_DYNAMIC_PARAMS_KEY = "nuxtI18nInternal"
|
|
92
|
+
export const SWITCH_LOCALE_PATH_LINK_IDENTIFIER = "nuxt-i18n-slp"
|
|
93
|
+
/** client **/
|
|
94
|
+
if(import.meta.hot) {
|
|
95
|
+
|
|
96
|
+
function deepEqual(a, b, ignoreKeys = []) {
|
|
97
|
+
// Same reference?
|
|
98
|
+
if (a === b) return true
|
|
99
|
+
|
|
100
|
+
// Check if either is null or not an object
|
|
101
|
+
if (a == null || b == null || typeof a !== 'object' || typeof b !== 'object') {
|
|
102
|
+
return false
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Get top-level keys, excluding ignoreKeys
|
|
106
|
+
const keysA = Object.keys(a).filter(k => !ignoreKeys.includes(k))
|
|
107
|
+
const keysB = Object.keys(b).filter(k => !ignoreKeys.includes(k))
|
|
108
|
+
|
|
109
|
+
// Must have the same number of keys (after ignoring)
|
|
110
|
+
if (keysA.length !== keysB.length) {
|
|
111
|
+
return false
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Check each property
|
|
115
|
+
for (const key of keysA) {
|
|
116
|
+
if (!keysB.includes(key)) {
|
|
117
|
+
return false
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
const valA = a[key]
|
|
121
|
+
const valB = b[key]
|
|
122
|
+
|
|
123
|
+
// Compare functions stringified
|
|
124
|
+
if (typeof valA === 'function' && typeof valB === 'function') {
|
|
125
|
+
if (valA.toString() !== valB.toString()) {
|
|
126
|
+
return false
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
// If nested, do a normal recursive check (no ignoring at deeper levels)
|
|
130
|
+
else if (typeof valA === 'object' && typeof valB === 'object') {
|
|
131
|
+
if (!deepEqual(valA, valB)) {
|
|
132
|
+
return false
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
// Compare primitive values
|
|
136
|
+
else if (valA !== valB) {
|
|
137
|
+
return false
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return true
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
async function loadCfg(config) {
|
|
147
|
+
const nuxt = useNuxtApp()
|
|
148
|
+
const { default: resolver } = await config()
|
|
149
|
+
return typeof resolver === 'function' ? await nuxt.runWithContext(() => resolver()) : resolver
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
import.meta.hot.accept("../i18n/i18n.config.ts", async mod => {
|
|
156
|
+
const [oldData, newData] = await Promise.all([loadCfg(vueI18nConfigs[0]), loadCfg(() => Promise.resolve(mod))]);
|
|
157
|
+
vueI18nConfigs[0] = () => Promise.resolve(mod)
|
|
158
|
+
if(deepEqual(oldData, newData, ['messages', 'numberFormats', 'datetimeFormats'])) {
|
|
159
|
+
return await useNuxtApp()._nuxtI18nDev.resetI18nProperties()
|
|
160
|
+
}
|
|
161
|
+
import.meta.hot.send('i18n:options-complex-invalidation', {})
|
|
162
|
+
})
|
|
163
|
+
|
|
164
|
+
}
|
|
165
|
+
/** client-end **/
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export { isVue2, isVue3 } from 'vue-demi';
|
|
2
|
+
export { defineNuxtLink } from '#app/components/nuxt-link';
|
|
3
|
+
export { useNuxtApp, tryUseNuxtApp, defineNuxtPlugin, definePayloadPlugin, useRuntimeConfig, defineAppConfig } from '#app/nuxt';
|
|
4
|
+
export { useAppConfig, updateAppConfig } from '#app/config';
|
|
5
|
+
export { defineNuxtComponent } from '#app/composables/component';
|
|
6
|
+
export { useAsyncData, useLazyAsyncData, useNuxtData, refreshNuxtData, clearNuxtData } from '#app/composables/asyncData';
|
|
7
|
+
export { useHydration } from '#app/composables/hydrate';
|
|
8
|
+
export { callOnce } from '#app/composables/once';
|
|
9
|
+
export { useState, clearNuxtState } from '#app/composables/state';
|
|
10
|
+
export { clearError, createError, isNuxtError, showError, useError } from '#app/composables/error';
|
|
11
|
+
export { useFetch, useLazyFetch } from '#app/composables/fetch';
|
|
12
|
+
export { useCookie, refreshCookie } from '#app/composables/cookie';
|
|
13
|
+
export { onPrehydrate, prerenderRoutes, useRequestHeader, useRequestHeaders, useResponseHeader, useRequestEvent, useRequestFetch, setResponseStatus } from '#app/composables/ssr';
|
|
14
|
+
export { onNuxtReady } from '#app/composables/ready';
|
|
15
|
+
export { preloadComponents, prefetchComponents, preloadRouteComponents } from '#app/composables/preload';
|
|
16
|
+
export { abortNavigation, addRouteMiddleware, defineNuxtRouteMiddleware, setPageLayout, navigateTo, useRoute, useRouter } from '#app/composables/router';
|
|
17
|
+
export { isPrerendered, loadPayload, preloadPayload, definePayloadReducer, definePayloadReviver } from '#app/composables/payload';
|
|
18
|
+
export { useLoadingIndicator } from '#app/composables/loading-indicator';
|
|
19
|
+
export { getAppManifest, getRouteRules } from '#app/composables/manifest';
|
|
20
|
+
export { reloadNuxtApp } from '#app/composables/chunk';
|
|
21
|
+
export { useRequestURL } from '#app/composables/url';
|
|
22
|
+
export { usePreviewMode } from '#app/composables/preview';
|
|
23
|
+
export { useRouteAnnouncer } from '#app/composables/route-announcer';
|
|
24
|
+
export { useRuntimeHook } from '#app/composables/runtime-hook';
|
|
25
|
+
export { useHead, useHeadSafe, useServerHeadSafe, useServerHead, useSeoMeta, useServerSeoMeta, injectHead } from '#app/composables/head';
|
|
26
|
+
export { onBeforeRouteLeave, onBeforeRouteUpdate, useLink } from 'vue-router';
|
|
27
|
+
export { withCtx, withDirectives, withKeys, withMemo, withModifiers, withScopeId, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onServerPrefetch, onUnmounted, onUpdated, computed, customRef, isProxy, isReactive, isReadonly, isRef, markRaw, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, toRaw, toRef, toRefs, triggerRef, unref, watch, watchEffect, watchPostEffect, watchSyncEffect, isShallow, effect, effectScope, getCurrentScope, onScopeDispose, defineComponent, defineAsyncComponent, resolveComponent, getCurrentInstance, h, inject, hasInjectionContext, nextTick, provide, mergeModels, toValue, useModel, useAttrs, useCssModule, useCssVars, useSlots, useTransitionState, useId, useTemplateRef, useShadowRoot, Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue';
|
|
28
|
+
export { requestIdleCallback, cancelIdleCallback } from '#app/compat/idle-callback';
|
|
29
|
+
export { computedAsync, asyncComputed, computedEager, eagerComputed, computedInject, computedWithControl, controlledComputed, createEventHook, createGlobalState, createInjectionState, createRef, createReusableTemplate, createSharedComposable, createTemplatePromise, createUnrefFn, extendRef, injectLocal, isDefined, makeDestructurable, onClickOutside, onElementRemoval, onKeyStroke, onLongPress, onStartTyping, provideLocal, reactify, createReactiveFn, reactifyObject, reactiveComputed, reactiveOmit, reactivePick, refAutoReset, autoResetRef, refDebounced, useDebounce, debouncedRef, refDefault, refThrottled, useThrottle, throttledRef, refWithControl, controlledRef, syncRef, syncRefs, templateRef, toReactive, resolveRef, resolveUnref, tryOnBeforeMount, tryOnBeforeUnmount, tryOnMounted, tryOnScopeDispose, tryOnUnmounted, unrefElement, until, useActiveElement, useAnimate, useArrayDifference, useArrayEvery, useArrayFilter, useArrayFind, useArrayFindIndex, useArrayFindLast, useArrayIncludes, useArrayJoin, useArrayMap, useArrayReduce, useArraySome, useArrayUnique, useAsyncQueue, useAsyncState, useBase64, useBattery, useBluetooth, useBreakpoints, useBroadcastChannel, useBrowserLocation, useCached, useClipboard, useClipboardItems, useCloned, useColorMode, useConfirmDialog, useCountdown, useCounter, useCssVar, useCurrentElement, useCycleList, useDark, useDateFormat, useDebouncedRefHistory, useDebounceFn, useDeviceMotion, useDeviceOrientation, useDevicePixelRatio, useDevicesList, useDisplayMedia, useDocumentVisibility, useDraggable, useDropZone, useElementBounding, useElementByPoint, useElementHover, useElementSize, useElementVisibility, useEventBus, useEventListener, useEventSource, useEyeDropper, useFavicon, useFileDialog, useFileSystemAccess, useFocus, useFocusWithin, useFps, useFullscreen, useGamepad, useGeolocation, useIdle, useInfiniteScroll, useIntersectionObserver, useInterval, useIntervalFn, useKeyModifier, useLastChanged, useLocalStorage, useMagicKeys, useManualRefHistory, useMediaControls, useMediaQuery, useMemoize, useMemory, useMounted, useMouse, useMouseInElement, useMousePressed, useMutationObserver, useNavigatorLanguage, useNetwork, useNow, useObjectUrl, useOffsetPagination, useOnline, usePageLeave, useParallax, useParentElement, usePerformanceObserver, usePermission, usePointer, usePointerLock, usePointerSwipe, usePreferredColorScheme, usePreferredContrast, usePreferredDark, usePreferredLanguages, usePreferredReducedMotion, usePreferredReducedTransparency, usePrevious, useRafFn, useRefHistory, useResizeObserver, useScreenOrientation, useScreenSafeArea, useScriptTag, useScroll, useScrollLock, useSessionStorage, useShare, useSorted, useSpeechRecognition, useSpeechSynthesis, useSSRWidth, useStepper, useStorageAsync, useStyleTag, useSupported, useSwipe, useTemplateRefsList, useTextareaAutosize, useTextDirection, useTextSelection, useThrottledRefHistory, useThrottleFn, useTimeAgo, useTimeout, useTimeoutFn, useTimeoutPoll, useTimestamp, useTitle, useToggle, useToNumber, useToString, useTransition, useUrlSearchParams, useUserMedia, useVibrate, useVirtualList, useVModel, useVModels, useWakeLock, useWebNotification, useWebSocket, useWebWorker, useWebWorkerFn, useWindowFocus, useWindowScroll, useWindowSize, watchArray, watchAtMost, watchDebounced, debouncedWatch, watchDeep, watchIgnorable, ignorableWatch, watchImmediate, watchOnce, watchPausable, pausableWatch, watchThrottled, throttledWatch, watchTriggerable, watchWithFilter, whenever } from '@vueuse/core';
|
|
30
|
+
export { useT, useIgnisT } from '../composables/useTranslation';
|
|
31
|
+
export { log, initConsola } from '../utils/consola';
|
|
32
|
+
export { scanI18NSources, scanI18Names } from '../utils/i18n-sources';
|
|
33
|
+
export { UIOptions, DBOptions } from '../utils/ignis-types';
|
|
34
|
+
export { pslo } from '../utils/pslo-utils';
|
|
35
|
+
export { useNonce } from '../node_modules/.pnpm/nuxt-security@2.2.0_magicast@0.3.5_rollup@4.41.0/node_modules/nuxt-security/dist/runtime/composables/nonce';
|
|
36
|
+
export { updateSiteConfig } from '../node_modules/.pnpm/nuxt-site-config@3.1.9_magi_fc9ec4489b75c78db1aed1033cea2b3a/node_modules/nuxt-site-config/dist/runtime/app/composables/updateSiteConfig';
|
|
37
|
+
export { useNitroOrigin } from '../node_modules/.pnpm/nuxt-site-config@3.1.9_magi_fc9ec4489b75c78db1aed1033cea2b3a/node_modules/nuxt-site-config/dist/runtime/app/composables/useNitroOrigin';
|
|
38
|
+
export { useSiteConfig } from '../node_modules/.pnpm/nuxt-site-config@3.1.9_magi_fc9ec4489b75c78db1aed1033cea2b3a/node_modules/nuxt-site-config/dist/runtime/app/composables/useSiteConfig';
|
|
39
|
+
export { createSitePathResolver, withSiteTrailingSlash, withSiteUrl } from '../node_modules/.pnpm/nuxt-site-config@3.1.9_magi_fc9ec4489b75c78db1aed1033cea2b3a/node_modules/nuxt-site-config/dist/runtime/app/composables/utils';
|
|
40
|
+
export { useImage } from '../node_modules/.pnpm/@nuxt+image@1.10.0_@netlify_b4a362fadc10aa100425ec080018ae5f/node_modules/@nuxt/image/dist/runtime/composables';
|
|
41
|
+
export { defineStore, acceptHMRUpdate, usePinia, storeToRefs } from '../node_modules/.pnpm/@pinia+nuxt@0.11.0_magicast_a67d88851b9ae3b0828837d8cf9ec91f/node_modules/@pinia/nuxt/dist/runtime/composables';
|
|
42
|
+
export { useScript } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/composables/useScript';
|
|
43
|
+
export { useScriptEventPage } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/composables/useScriptEventPage';
|
|
44
|
+
export { useScriptTriggerConsent } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/composables/useScriptTriggerConsent';
|
|
45
|
+
export { useScriptTriggerElement } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/composables/useScriptTriggerElement';
|
|
46
|
+
export { useScriptPlausibleAnalytics } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/plausible-analytics';
|
|
47
|
+
export { useScriptCloudflareWebAnalytics } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/cloudflare-web-analytics';
|
|
48
|
+
export { useScriptFathomAnalytics } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/fathom-analytics';
|
|
49
|
+
export { useScriptMatomoAnalytics } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/matomo-analytics';
|
|
50
|
+
export { useScriptRybbitAnalytics } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/rybbit-analytics';
|
|
51
|
+
export { useScriptSegment } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/segment';
|
|
52
|
+
export { useScriptMetaPixel } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/meta-pixel';
|
|
53
|
+
export { useScriptXPixel } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/x-pixel';
|
|
54
|
+
export { useScriptSnapchatPixel } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/snapchat-pixel';
|
|
55
|
+
export { useScriptGoogleAdsense } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/google-adsense';
|
|
56
|
+
export { useScriptIntercom } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/intercom';
|
|
57
|
+
export { useScriptHotjar } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/hotjar';
|
|
58
|
+
export { useScriptClarity } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/clarity';
|
|
59
|
+
export { useScriptStripe } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/stripe';
|
|
60
|
+
export { useScriptLemonSqueezy } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/lemon-squeezy';
|
|
61
|
+
export { useScriptVimeoPlayer } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/vimeo-player';
|
|
62
|
+
export { useScriptYouTubePlayer } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/youtube-player';
|
|
63
|
+
export { useScriptGoogleMaps } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/google-maps';
|
|
64
|
+
export { useScriptCrisp } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/crisp';
|
|
65
|
+
export { useScriptNpm } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/npm';
|
|
66
|
+
export { useScriptGoogleTagManager } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/google-tag-manager';
|
|
67
|
+
export { useScriptGoogleAnalytics } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/google-analytics';
|
|
68
|
+
export { useScriptUmamiAnalytics } from '../node_modules/.pnpm/@nuxt+scripts@0.11.7_@netli_ebfcefabcbe3d3a1075abfbf8a0e2f1a/node_modules/@nuxt/scripts/dist/runtime/registry/umami-analytics';
|
|
69
|
+
export { useNeon } from '../node_modules/.pnpm/nuxt-neon@0.6.0_magicast@0.3.5/node_modules/nuxt-neon/dist/runtime/composables/useNeon';
|
|
70
|
+
export { isNeonSuccess, isNeonError, formatNeonError } from '../node_modules/.pnpm/nuxt-neon@0.6.0_magicast@0.3.5/node_modules/nuxt-neon/dist/runtime/utils/neonErrors';
|
|
71
|
+
export { useI18n } from '../node_modules/.pnpm/vue-i18n@10.0.7_vue@3.5.14_typescript@5.8.3_/node_modules/vue-i18n/dist/vue-i18n';
|
|
72
|
+
export { useRouteBaseName, useLocalePath, useLocaleRoute, useSwitchLocalePath, useLocaleHead, useBrowserLocale, useCookieLocale, useSetI18nParams, defineI18nRoute, defineI18nLocale, defineI18nConfig } from '../node_modules/.pnpm/@nuxtjs+i18n@9.5.4_@vue+com_da7feb0b3ae47aac624194dfc2786910/node_modules/@nuxtjs/i18n/dist/runtime/composables/index';
|
|
73
|
+
export { useRobotsRule } from '../node_modules/.pnpm/@nuxtjs+robots@5.2.10_magic_09575d7e403dce16d6423e011b5a6500/node_modules/@nuxtjs/robots/dist/runtime/app/composables/useRobotsRule';
|
|
74
|
+
export { defineOgImage, defineOgImageComponent, defineOgImageScreenshot } from '../node_modules/.pnpm/nuxt-og-image@5.1.3_@unhead_016a02da852510886427e1ecf476d0e9/node_modules/nuxt-og-image/dist/runtime/app/composables/mock';
|
|
75
|
+
export { useBreadcrumbItems } from '../node_modules/.pnpm/nuxt-seo-utils@7.0.10_magic_e43b4f83c972427e42e84b0d774d1b19/node_modules/nuxt-seo-utils/dist/runtime/app/composables/useBreadcrumbItems';
|
|
76
|
+
export { queryCollection, queryCollectionSearchSections, queryCollectionNavigation, queryCollectionItemSurroundings } from '../node_modules/.pnpm/@nuxt+content@3.5.1_magicast@0.3.5_typescript@5.8.3/node_modules/@nuxt/content/dist/runtime/app';
|
|
77
|
+
export { flatUnwrap as unwrapSlot } from '../node_modules/.pnpm/@nuxtjs+mdc@0.17.0_magicast@0.3.5/node_modules/@nuxtjs/mdc/dist/runtime/utils/node';
|
|
78
|
+
export { parseMarkdown } from '../node_modules/.pnpm/@nuxtjs+mdc@0.17.0_magicast@0.3.5/node_modules/@nuxtjs/mdc/dist/runtime/parser';
|
|
79
|
+
export { stringifyMarkdown } from '../node_modules/.pnpm/@nuxtjs+mdc@0.17.0_magicast@0.3.5/node_modules/@nuxtjs/mdc/dist/runtime/stringify';
|
|
80
|
+
export { useUserSession } from '../node_modules/.pnpm/nuxt-auth-utils@0.5.20_magicast@0.3.5/node_modules/nuxt-auth-utils/dist/runtime/app/composables/session';
|
|
81
|
+
export { useNuxtDevTools } from '../node_modules/.pnpm/@nuxt+devtools@2.4.1_vite@6_1dedbaa3bcdbced3d429534f9b1d1d28/node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools';
|
|
82
|
+
export { definePageMeta } from '../node_modules/.pnpm/nuxt@3.17.4_@netlify+blobs@_a40ac8eff18b588ba9c9a272f06b10aa/node_modules/nuxt/dist/pages/runtime/composables';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"dev","timestamp":1747855435846}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"dev","timestamp":1747855435846,"matcher":{"static":{"/__nuxt_content/content/sql_dump":{"prerender":true}},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { getMdcConfigs } from '#mdc-configs'
|
|
2
|
+
import { createOnigurumaEngine } from 'shiki/engine/oniguruma'
|
|
3
|
+
import { createJavaScriptRegexEngine } from "shiki/engine/javascript";
|
|
4
|
+
export function createShikiHighlighter({
|
|
5
|
+
langs = [],
|
|
6
|
+
themes = [],
|
|
7
|
+
bundledLangs = {},
|
|
8
|
+
bundledThemes = {},
|
|
9
|
+
getMdcConfigs,
|
|
10
|
+
options: shikiOptions,
|
|
11
|
+
engine
|
|
12
|
+
} = {}) {
|
|
13
|
+
let shiki;
|
|
14
|
+
let configs;
|
|
15
|
+
async function _getShiki() {
|
|
16
|
+
const { createHighlighterCore, addClassToHast, isSpecialLang, isSpecialTheme } = await import("shiki/core");
|
|
17
|
+
const { transformerNotationDiff, transformerNotationErrorLevel, transformerNotationFocus, transformerNotationHighlight } = await import("@shikijs/transformers");
|
|
18
|
+
const shiki2 = await createHighlighterCore({
|
|
19
|
+
langs,
|
|
20
|
+
themes,
|
|
21
|
+
engine: engine || createJavaScriptRegexEngine()
|
|
22
|
+
});
|
|
23
|
+
for await (const config of await getConfigs()) {
|
|
24
|
+
await config.shiki?.setup?.(shiki2);
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
shiki: shiki2,
|
|
28
|
+
addClassToHast,
|
|
29
|
+
isSpecialLang,
|
|
30
|
+
isSpecialTheme,
|
|
31
|
+
transformers: [
|
|
32
|
+
transformerNotationDiff(),
|
|
33
|
+
transformerNotationErrorLevel(),
|
|
34
|
+
transformerNotationFocus(),
|
|
35
|
+
transformerNotationHighlight()
|
|
36
|
+
]
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
async function getShiki() {
|
|
40
|
+
if (!shiki) {
|
|
41
|
+
shiki = _getShiki();
|
|
42
|
+
}
|
|
43
|
+
return shiki;
|
|
44
|
+
}
|
|
45
|
+
async function getConfigs() {
|
|
46
|
+
if (!configs) {
|
|
47
|
+
configs = Promise.resolve(getMdcConfigs?.() || []);
|
|
48
|
+
}
|
|
49
|
+
return configs;
|
|
50
|
+
}
|
|
51
|
+
const highlighter = async (code, lang, theme, options = {}) => {
|
|
52
|
+
const {
|
|
53
|
+
shiki: shiki2,
|
|
54
|
+
addClassToHast,
|
|
55
|
+
isSpecialLang,
|
|
56
|
+
isSpecialTheme,
|
|
57
|
+
transformers: baseTransformers
|
|
58
|
+
} = await getShiki();
|
|
59
|
+
const codeToHastOptions = {
|
|
60
|
+
defaultColor: false,
|
|
61
|
+
meta: {
|
|
62
|
+
__raw: options.meta
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
if (lang === "ts-type" || lang === "typescript-type") {
|
|
66
|
+
lang = "typescript";
|
|
67
|
+
codeToHastOptions.grammarContextCode = "let a:";
|
|
68
|
+
} else if (lang === "vue-html" || lang === "vue-template") {
|
|
69
|
+
lang = "vue";
|
|
70
|
+
codeToHastOptions.grammarContextCode = "<template>";
|
|
71
|
+
}
|
|
72
|
+
const themesObject = { ...typeof theme === "string" ? { default: theme } : theme || {} };
|
|
73
|
+
const loadedThemes = shiki2.getLoadedThemes();
|
|
74
|
+
const loadedLanguages = shiki2.getLoadedLanguages();
|
|
75
|
+
if (typeof lang === "string" && !loadedLanguages.includes(lang) && !isSpecialLang(lang)) {
|
|
76
|
+
if (bundledLangs[lang]) {
|
|
77
|
+
await shiki2.loadLanguage(bundledLangs[lang]);
|
|
78
|
+
} else {
|
|
79
|
+
if (process.dev) {
|
|
80
|
+
console.warn(`[@nuxtjs/mdc] Language "${lang}" is not loaded to the Shiki highlighter, fallback to plain text. Add the language to "mdc.highlight.langs" to fix this.`);
|
|
81
|
+
}
|
|
82
|
+
lang = "text";
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
for (const [color, theme2] of Object.entries(themesObject)) {
|
|
86
|
+
if (typeof theme2 === "string" && !loadedThemes.includes(theme2) && !isSpecialTheme(theme2)) {
|
|
87
|
+
if (bundledThemes[theme2]) {
|
|
88
|
+
await shiki2.loadTheme(bundledThemes[theme2]);
|
|
89
|
+
} else {
|
|
90
|
+
if (process.dev) {
|
|
91
|
+
console.warn(`[@nuxtjs/mdc] Theme "${theme2}" is not loaded to the Shiki highlighter. Add the theme to "mdc.highlight.themes" to fix this.`);
|
|
92
|
+
}
|
|
93
|
+
themesObject[color] = "none";
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
const transformersMap = /* @__PURE__ */ new Map();
|
|
98
|
+
for (const transformer of baseTransformers) {
|
|
99
|
+
transformersMap.set(transformer.name || `transformer:${Math.random()}-${transformer.constructor.name}`, transformer);
|
|
100
|
+
}
|
|
101
|
+
for (const config of await getConfigs()) {
|
|
102
|
+
const newTransformers = typeof config.shiki?.transformers === "function" ? await config.shiki?.transformers(code, lang, theme, options) : config.shiki?.transformers || [];
|
|
103
|
+
for (const transformer of newTransformers) {
|
|
104
|
+
transformersMap.set(transformer.name || `transformer:${Math.random()}-${transformer.constructor.name}`, transformer);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
const root = shiki2.codeToHast(code.trimEnd(), {
|
|
108
|
+
lang,
|
|
109
|
+
...codeToHastOptions,
|
|
110
|
+
themes: themesObject,
|
|
111
|
+
transformers: [
|
|
112
|
+
...transformersMap.values(),
|
|
113
|
+
{
|
|
114
|
+
name: "mdc:highlight",
|
|
115
|
+
line(node, line) {
|
|
116
|
+
if (options.highlights?.includes(line))
|
|
117
|
+
addClassToHast(node, "highlight");
|
|
118
|
+
node.properties.line = line;
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: "mdc:newline",
|
|
123
|
+
line(node) {
|
|
124
|
+
if (code?.includes("\n")) {
|
|
125
|
+
if (node.children.length === 0 || node.children.length === 1 && node.children[0].type === "element" && node.children[0].children.length === 1 && node.children[0].children[0].type === "text" && node.children[0].children[0].value === "") {
|
|
126
|
+
node.children = [{
|
|
127
|
+
type: "element",
|
|
128
|
+
tagName: "span",
|
|
129
|
+
properties: {
|
|
130
|
+
emptyLinePlaceholder: true
|
|
131
|
+
},
|
|
132
|
+
children: [{ type: "text", value: "\n" }]
|
|
133
|
+
}];
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
const last = node.children.at(-1);
|
|
137
|
+
if (last?.type === "element" && last.tagName === "span") {
|
|
138
|
+
const text = last.children.at(-1);
|
|
139
|
+
if (text?.type === "text")
|
|
140
|
+
text.value += "\n";
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
});
|
|
147
|
+
const preEl = root.children[0];
|
|
148
|
+
const codeEl = preEl.children[0];
|
|
149
|
+
const wrapperStyle = shikiOptions?.wrapperStyle;
|
|
150
|
+
preEl.properties.style = wrapperStyle ? typeof wrapperStyle === "string" ? wrapperStyle : preEl.properties.style : "";
|
|
151
|
+
const styles = [];
|
|
152
|
+
Object.keys(themesObject).forEach((color) => {
|
|
153
|
+
const colorScheme = color !== "default" ? `.${color}` : "";
|
|
154
|
+
styles.push(
|
|
155
|
+
wrapperStyle ? `${colorScheme} .shiki,` : "",
|
|
156
|
+
`html .${color} .shiki span {`,
|
|
157
|
+
`color: var(--shiki-${color});`,
|
|
158
|
+
`background: var(--shiki-${color}-bg);`,
|
|
159
|
+
`font-style: var(--shiki-${color}-font-style);`,
|
|
160
|
+
`font-weight: var(--shiki-${color}-font-weight);`,
|
|
161
|
+
`text-decoration: var(--shiki-${color}-text-decoration);`,
|
|
162
|
+
"}"
|
|
163
|
+
);
|
|
164
|
+
styles.push(
|
|
165
|
+
`html${colorScheme} .shiki span {`,
|
|
166
|
+
`color: var(--shiki-${color});`,
|
|
167
|
+
`background: var(--shiki-${color}-bg);`,
|
|
168
|
+
`font-style: var(--shiki-${color}-font-style);`,
|
|
169
|
+
`font-weight: var(--shiki-${color}-font-weight);`,
|
|
170
|
+
`text-decoration: var(--shiki-${color}-text-decoration);`,
|
|
171
|
+
"}"
|
|
172
|
+
);
|
|
173
|
+
});
|
|
174
|
+
return {
|
|
175
|
+
tree: codeEl.children,
|
|
176
|
+
className: Array.isArray(preEl.properties.class) ? preEl.properties.class.join(" ") : preEl.properties.class,
|
|
177
|
+
inlineStyle: preEl.properties.style,
|
|
178
|
+
style: styles.join("")
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
return highlighter;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
const bundledLangs = {
|
|
185
|
+
"javascript": () => import('@shikijs/langs/javascript').then(r => r.default || r),
|
|
186
|
+
"js": () => import('@shikijs/langs/javascript').then(r => r.default || r),
|
|
187
|
+
"jsx": () => import('@shikijs/langs/jsx').then(r => r.default || r),
|
|
188
|
+
"json": () => import('@shikijs/langs/json').then(r => r.default || r),
|
|
189
|
+
"typescript": () => import('@shikijs/langs/typescript').then(r => r.default || r),
|
|
190
|
+
"ts": () => import('@shikijs/langs/typescript').then(r => r.default || r),
|
|
191
|
+
"tsx": () => import('@shikijs/langs/tsx').then(r => r.default || r),
|
|
192
|
+
"vue": () => import('@shikijs/langs/vue').then(r => r.default || r),
|
|
193
|
+
"css": () => import('@shikijs/langs/css').then(r => r.default || r),
|
|
194
|
+
"html": () => import('@shikijs/langs/html').then(r => r.default || r),
|
|
195
|
+
"shellscript": () => import('@shikijs/langs/shellscript').then(r => r.default || r),
|
|
196
|
+
"bash": () => import('@shikijs/langs/shellscript').then(r => r.default || r),
|
|
197
|
+
"sh": () => import('@shikijs/langs/shellscript').then(r => r.default || r),
|
|
198
|
+
"shell": () => import('@shikijs/langs/shellscript').then(r => r.default || r),
|
|
199
|
+
"zsh": () => import('@shikijs/langs/shellscript').then(r => r.default || r),
|
|
200
|
+
"markdown": () => import('@shikijs/langs/markdown').then(r => r.default || r),
|
|
201
|
+
"md": () => import('@shikijs/langs/markdown').then(r => r.default || r),
|
|
202
|
+
"mdc": () => import('@shikijs/langs/mdc').then(r => r.default || r),
|
|
203
|
+
"yaml": () => import('@shikijs/langs/yaml').then(r => r.default || r),
|
|
204
|
+
"yml": () => import('@shikijs/langs/yaml').then(r => r.default || r),
|
|
205
|
+
}
|
|
206
|
+
const bundledThemes = {
|
|
207
|
+
"github-light": () => import('@shikijs/themes/github-light').then(r => r.default || r),
|
|
208
|
+
"github-dark": () => import('@shikijs/themes/github-dark').then(r => r.default || r),
|
|
209
|
+
}
|
|
210
|
+
const options = {"theme":{"default":"github-light","dark":"github-dark"}}
|
|
211
|
+
const engine = createOnigurumaEngine(() => import('shiki/wasm'))
|
|
212
|
+
const highlighter = createShikiHighlighter({ bundledLangs, bundledThemes, options, getMdcConfigs, engine })
|
|
213
|
+
export default highlighter
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "C:/Git/nuxt-ignis/core/node_modules/.pnpm/@nuxt+image@1.10.0_@netlify_b4a362fadc10aa100425ec080018ae5f/node_modules/@nuxt/image/dist/runtime/components/NuxtImg.vue"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import _RemarkEmoji from 'remark-emoji'
|
|
2
|
+
import _Highlight from 'C:/Git/nuxt-ignis/core/node_modules/.pnpm/@nuxtjs+mdc@0.17.0_magicast@0.3.5/node_modules/@nuxtjs/mdc/dist/runtime/highlighter/rehype-nuxt.js'
|
|
3
|
+
|
|
4
|
+
export const remarkPlugins = {
|
|
5
|
+
'remark-emoji': { instance: _RemarkEmoji },
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const rehypePlugins = {
|
|
9
|
+
'highlight': { instance: _Highlight, options: {} },
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const highlight = {"theme":{"default":"github-light","dark":"github-dark"}}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Generated by @nuxtjs/sitemap
|
|
2
|
+
|
|
3
|
+
declare module 'nitropack' {
|
|
4
|
+
interface PrerenderRoute {
|
|
5
|
+
_sitemap?: import('../../node_modules/.pnpm/@nuxtjs+sitemap@7.2.10_h3@1_13ec74af8cc1f89248cc881ec9689707/node_modules/@nuxtjs/sitemap/runtime/types').SitemapUrl
|
|
6
|
+
}
|
|
7
|
+
interface NitroRouteRules {
|
|
8
|
+
index?: boolean
|
|
9
|
+
sitemap?: import('../../node_modules/.pnpm/@nuxtjs+sitemap@7.2.10_h3@1_13ec74af8cc1f89248cc881ec9689707/node_modules/@nuxtjs/sitemap/runtime/types').SitemapItemDefaults
|
|
10
|
+
}
|
|
11
|
+
interface NitroRouteConfig {
|
|
12
|
+
index?: boolean
|
|
13
|
+
sitemap?: import('../../node_modules/.pnpm/@nuxtjs+sitemap@7.2.10_h3@1_13ec74af8cc1f89248cc881ec9689707/node_modules/@nuxtjs/sitemap/runtime/types').SitemapItemDefaults
|
|
14
|
+
}
|
|
15
|
+
interface NitroRuntimeHooks {
|
|
16
|
+
'sitemap:index-resolved': (ctx: import('../../node_modules/.pnpm/@nuxtjs+sitemap@7.2.10_h3@1_13ec74af8cc1f89248cc881ec9689707/node_modules/@nuxtjs/sitemap/runtime/types').SitemapIndexRenderCtx) => void | Promise<void>
|
|
17
|
+
'sitemap:input': (ctx: import('../../node_modules/.pnpm/@nuxtjs+sitemap@7.2.10_h3@1_13ec74af8cc1f89248cc881ec9689707/node_modules/@nuxtjs/sitemap/runtime/types').SitemapInputCtx) => void | Promise<void>
|
|
18
|
+
'sitemap:resolved': (ctx: import('../../node_modules/.pnpm/@nuxtjs+sitemap@7.2.10_h3@1_13ec74af8cc1f89248cc881ec9689707/node_modules/@nuxtjs/sitemap/runtime/types').SitemapRenderCtx) => void | Promise<void>
|
|
19
|
+
'sitemap:output': (ctx: import('../../node_modules/.pnpm/@nuxtjs+sitemap@7.2.10_h3@1_13ec74af8cc1f89248cc881ec9689707/node_modules/@nuxtjs/sitemap/runtime/types').SitemapOutputHookCtx) => void | Promise<void>
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
declare module 'vue-router' {
|
|
23
|
+
interface RouteMeta {
|
|
24
|
+
sitemap?: import('../../node_modules/.pnpm/@nuxtjs+sitemap@7.2.10_h3@1_13ec74af8cc1f89248cc881ec9689707/node_modules/@nuxtjs/sitemap/runtime/types').SitemapItemDefaults
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export {}
|