srcdev-nuxt-components 9.5.6 → 9.5.7
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/.claude/skills/component-compliance-checklist.md +6 -2
- package/.claude/skills/components/navigation-items.md +1 -0
- package/.claude/skills/components/opening-hours.md +12 -0
- package/.claude/skills/components/price-list.md +10 -1
- package/.claude/skills/components/responsive-header.md +25 -0
- package/.claude/skills/components/site-header.md +2 -0
- package/.claude/skills/storybook-add-story.md +14 -0
- package/.vscode/srcdev-component-responsive-header.code-snippets +3 -1
- package/.vscode/srcdev-component-site-header.code-snippets +3 -1
- package/app/components/02.molecules/opening-hours/CONSUMER-STYLING.md +11 -1
- package/app/components/02.molecules/opening-hours/OpeningHours.vue +71 -43
- package/app/components/02.molecules/opening-hours/stories/OpeningHours.stories.ts +138 -6
- package/app/components/02.molecules/opening-hours/tests/OpeningHours.spec.ts +53 -0
- package/app/components/02.molecules/opening-hours/tests/__snapshots__/OpeningHours.spec.ts.snap +1 -1
- package/app/components/02.molecules/opening-hours/tests/buildOpeningHoursSpecification.spec.ts +37 -1
- package/app/components/02.molecules/price-list/CONSUMER-STYLING.md +17 -5
- package/app/components/02.molecules/price-list/PriceList.vue +32 -9
- package/app/components/02.molecules/price-list/stories/PriceList.stories.ts +125 -29
- package/app/components/02.molecules/price-list/tests/PriceList.spec.ts +20 -0
- package/app/components/03.organisms/google-reviews/stories/GoogleReviews.stories.ts +9 -4
- package/app/components/03.organisms/responsive-header/CONSUMER-STYLING.md +14 -0
- package/app/components/03.organisms/responsive-header/NavigationItems.vue +23 -14
- package/app/components/03.organisms/responsive-header/ResponsiveHeader.vue +55 -27
- package/app/components/03.organisms/responsive-header/stories/ResponsiveHeader.stories.ts +149 -18
- package/app/components/03.organisms/responsive-header/tests/.nuxt/app.config.mjs +21 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/components.d.ts +66 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/imports.d.ts +30 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/manifest/meta/test.json +1 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/app.config.d.ts +35 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/build.d.ts +23 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/builder-env.d.ts +1 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/components.d.ts +71 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/imports.d.ts +386 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/middleware.d.ts +11 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/modules.d.ts +79 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/nitro-layouts.d.ts +17 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/nitro-nuxt.d.ts +64 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/plugins.d.ts +29 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/runtime-config.d.ts +32 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/shared-imports.d.ts +10 -0
- package/app/components/03.organisms/responsive-header/tests/.nuxt/types/vue-shim.d.ts +0 -0
- package/app/components/03.organisms/responsive-header/tests/NavigationItems.spec.ts +16 -0
- package/app/components/03.organisms/responsive-header/tests/ResponsiveHeader.spec.ts +91 -6
- package/app/components/03.organisms/responsive-header/tests/__snapshots__/ResponsiveHeader.spec.ts.snap +9 -9
- package/app/components/03.organisms/responsive-header/tests/node_modules/.cache/nuxt/chrome-workspace.json +1 -0
- package/app/components/03.organisms/site-header/SiteHeader.vue +8 -0
- package/app/components/03.organisms/site-header/tests/__snapshots__/SiteHeader.spec.ts.snap +1 -1
- package/app/utils/opening-hours.ts +23 -2
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export { useScriptTriggerConsent, useScriptEventPage, useScriptTriggerElement, useScript, useScriptGoogleAnalytics, useScriptPlausibleAnalytics, useScriptCrisp, useScriptClarity, useScriptCloudflareWebAnalytics, useScriptVercelAnalytics, useScriptPostHog, useScriptFathomAnalytics, useScriptMatomoAnalytics, useScriptMixpanelAnalytics, useScriptBingUet, useScriptGoogleTagManager, useScriptGoogleAdsense, useScriptGoogleRecaptcha, useScriptGoogleSignIn, useScriptSegment, useScriptMetaPixel, useScriptXPixel, useScriptTikTokPixel, useScriptIntercom, useScriptHotjar, useScriptStripe, useScriptLemonSqueezy, useScriptVimeoPlayer, useScriptYouTubePlayer, useScriptGoogleMaps, useScriptNpm, useScriptUmamiAnalytics, useScriptSnapchatPixel, useScriptRybbitAnalytics, useScriptDatabuddyAnalytics, useScriptRedditPixel, useScriptPayPal, useScriptGravatar, useScriptAhrefsAnalytics, useScriptLinkedInInsight, useScriptCalendly, useScriptUsercentrics } from '#app/composables/script-stubs';
|
|
2
|
+
export { isVue2, isVue3 } from 'vue-demi';
|
|
3
|
+
export { defineNuxtLink } from '#app/components/nuxt-link';
|
|
4
|
+
export { useNuxtApp, tryUseNuxtApp, defineNuxtPlugin, definePayloadPlugin, useRuntimeConfig, defineAppConfig } from '#app/nuxt';
|
|
5
|
+
export { useAppConfig, updateAppConfig } from '#app/config';
|
|
6
|
+
export { defineNuxtComponent } from '#app/composables/component';
|
|
7
|
+
export { useAsyncData, useLazyAsyncData, useNuxtData, refreshNuxtData, clearNuxtData, createUseAsyncData } from '#app/composables/asyncData';
|
|
8
|
+
export { useHydration } from '#app/composables/hydrate';
|
|
9
|
+
export { callOnce } from '#app/composables/once';
|
|
10
|
+
export { useState, clearNuxtState } from '#app/composables/state';
|
|
11
|
+
export { clearError, createError, isNuxtError, showError, useError } from '#app/composables/error';
|
|
12
|
+
export { useFetch, useLazyFetch, createUseFetch } from '#app/composables/fetch';
|
|
13
|
+
export { useCookie, refreshCookie } from '#app/composables/cookie';
|
|
14
|
+
export { onPrehydrate, prerenderRoutes, useRequestHeader, useRequestHeaders, useResponseHeader, useRequestEvent, useRequestFetch, setResponseStatus } from '#app/composables/ssr';
|
|
15
|
+
export { onNuxtReady } from '#app/composables/ready';
|
|
16
|
+
export { preloadComponents, prefetchComponents, preloadRouteComponents } from '#app/composables/preload';
|
|
17
|
+
export { abortNavigation, addRouteMiddleware, defineNuxtRouteMiddleware, setPageLayout, navigateTo, useRoute, useRouter, onBeforeRouteLeave, onBeforeRouteUpdate } from '#app/composables/router';
|
|
18
|
+
export { isPrerendered, loadPayload, preloadPayload, definePayloadReducer, definePayloadReviver } from '#app/composables/payload';
|
|
19
|
+
export { useLoadingIndicator } from '#app/composables/loading-indicator';
|
|
20
|
+
export { getAppManifest, getRouteRules } from '#app/composables/manifest';
|
|
21
|
+
export { reloadNuxtApp } from '#app/composables/chunk';
|
|
22
|
+
export { useRequestURL } from '#app/composables/url';
|
|
23
|
+
export { usePreviewMode } from '#app/composables/preview';
|
|
24
|
+
export { useRouteAnnouncer } from '#app/composables/route-announcer';
|
|
25
|
+
export { useAnnouncer } from '#app/composables/announcer';
|
|
26
|
+
export { useRuntimeHook } from '#app/composables/runtime-hook';
|
|
27
|
+
export { useHead, useHeadSafe, useServerHeadSafe, useServerHead, useSeoMeta, useServerSeoMeta, injectHead } from '#app/composables/head';
|
|
28
|
+
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, onWatcherCleanup, isShallow, effect, effectScope, getCurrentScope, onScopeDispose, defineComponent, defineAsyncComponent, resolveComponent, getCurrentInstance, h, inject, hasInjectionContext, nextTick, provide, toValue, useModel, useAttrs, useCssModule, useSlots, useTransitionState, useId, useTemplateRef, useShadowRoot, useCssVars, Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue';
|
|
29
|
+
export { requestIdleCallback, cancelIdleCallback } from '#app/compat/idle-callback';
|
|
30
|
+
export { defineLazyHydrationComponent } from '#app/composables/lazy-hydration';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
import type { AppConfigInput, CustomAppConfig } from 'nuxt/schema'
|
|
3
|
+
import type { Defu } from 'defu'
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
declare global {
|
|
7
|
+
const defineAppConfig: <C extends AppConfigInput> (config: C) => C
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare const inlineConfig = {
|
|
11
|
+
"nuxt": {}
|
|
12
|
+
}
|
|
13
|
+
type ResolvedAppConfig = Defu<typeof inlineConfig, []>
|
|
14
|
+
type IsAny<T> = 0 extends 1 & T ? true : false
|
|
15
|
+
|
|
16
|
+
type MergedAppConfig<Resolved extends Record<string, unknown>, Custom extends Record<string, unknown>> = {
|
|
17
|
+
[K in keyof (Resolved & Custom)]: K extends keyof Custom
|
|
18
|
+
? unknown extends Custom[K]
|
|
19
|
+
? Resolved[K]
|
|
20
|
+
: IsAny<Custom[K]> extends true
|
|
21
|
+
? Resolved[K]
|
|
22
|
+
: Custom[K] extends Record<string, any>
|
|
23
|
+
? Resolved[K] extends Record<string, any>
|
|
24
|
+
? MergedAppConfig<Resolved[K], Custom[K]>
|
|
25
|
+
: Exclude<Custom[K], undefined>
|
|
26
|
+
: Exclude<Custom[K], undefined>
|
|
27
|
+
: Resolved[K]
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare module 'nuxt/schema' {
|
|
31
|
+
interface AppConfig extends MergedAppConfig<ResolvedAppConfig, CustomAppConfig> { }
|
|
32
|
+
}
|
|
33
|
+
declare module '@nuxt/schema' {
|
|
34
|
+
interface AppConfig extends MergedAppConfig<ResolvedAppConfig, CustomAppConfig> { }
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare module "#build/app-component.mjs";
|
|
2
|
+
declare module "#build/nitro.client.mjs";
|
|
3
|
+
declare module "#build/plugins.client.mjs";
|
|
4
|
+
declare module "#build/css.mjs";
|
|
5
|
+
declare module "#build/fetch.mjs";
|
|
6
|
+
declare module "#build/error-component.mjs";
|
|
7
|
+
declare module "#build/global-polyfills.mjs";
|
|
8
|
+
declare module "#build/layouts.mjs";
|
|
9
|
+
declare module "#build/middleware.mjs";
|
|
10
|
+
declare module "#build/nuxt.config.mjs";
|
|
11
|
+
declare module "#build/paths.mjs";
|
|
12
|
+
declare module "#build/root-component.mjs";
|
|
13
|
+
declare module "#build/plugins.server.mjs";
|
|
14
|
+
declare module "#build/test-component-wrapper.mjs";
|
|
15
|
+
declare module "#build/pages.mjs";
|
|
16
|
+
declare module "#build/router.options.mjs";
|
|
17
|
+
declare module "#build/unhead-options.mjs";
|
|
18
|
+
declare module "#build/unhead.config.mjs";
|
|
19
|
+
declare module "#build/components.plugin.mjs";
|
|
20
|
+
declare module "#build/component-names.mjs";
|
|
21
|
+
declare module "#build/components.islands.mjs";
|
|
22
|
+
declare module "#build/component-chunk.mjs";
|
|
23
|
+
declare module "#build/route-rules.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "vite/client";
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
|
|
2
|
+
import type { DefineComponent, SlotsType } from 'vue'
|
|
3
|
+
type IslandComponent<T> = DefineComponent<{}, {refresh: () => Promise<void>}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, SlotsType<{ fallback: { error: unknown } }>> & T
|
|
4
|
+
|
|
5
|
+
type HydrationStrategies = {
|
|
6
|
+
hydrateOnVisible?: IntersectionObserverInit | true
|
|
7
|
+
hydrateOnIdle?: number | true
|
|
8
|
+
hydrateOnInteraction?: keyof HTMLElementEventMap | Array<keyof HTMLElementEventMap> | true
|
|
9
|
+
hydrateOnMediaQuery?: string
|
|
10
|
+
hydrateAfter?: number
|
|
11
|
+
hydrateWhen?: boolean
|
|
12
|
+
hydrateNever?: true
|
|
13
|
+
}
|
|
14
|
+
type LazyComponent<T> = DefineComponent<HydrationStrategies, {}, {}, {}, {}, {}, {}, { hydrated: () => void }> & T
|
|
15
|
+
|
|
16
|
+
interface _GlobalComponents {
|
|
17
|
+
NuxtWelcome: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/welcome.vue")['default']
|
|
18
|
+
NuxtLayout: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-layout")['default']
|
|
19
|
+
NuxtErrorBoundary: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-error-boundary.vue")['default']
|
|
20
|
+
ClientOnly: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/client-only")['default']
|
|
21
|
+
DevOnly: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/dev-only")['default']
|
|
22
|
+
ServerPlaceholder: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/server-placeholder")['default']
|
|
23
|
+
NuxtLink: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-link")['default']
|
|
24
|
+
NuxtLoadingIndicator: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-loading-indicator")['default']
|
|
25
|
+
NuxtTime: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-time.vue")['default']
|
|
26
|
+
NuxtRouteAnnouncer: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-route-announcer")['default']
|
|
27
|
+
NuxtAnnouncer: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-announcer")['default']
|
|
28
|
+
NuxtImg: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-stubs")['NuxtImg']
|
|
29
|
+
NuxtPicture: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-stubs")['NuxtPicture']
|
|
30
|
+
NuxtPage: typeof import("../../../../../../../node_modules/nuxt/dist/pages/runtime/page-placeholder")['default']
|
|
31
|
+
NoScript: typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['NoScript']
|
|
32
|
+
Link: typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Link']
|
|
33
|
+
Base: typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Base']
|
|
34
|
+
Title: typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Title']
|
|
35
|
+
Meta: typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Meta']
|
|
36
|
+
Style: typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Style']
|
|
37
|
+
Head: typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Head']
|
|
38
|
+
Html: typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Html']
|
|
39
|
+
Body: typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Body']
|
|
40
|
+
NuxtIsland: typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-island")['default']
|
|
41
|
+
LazyNuxtWelcome: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/welcome.vue")['default']>
|
|
42
|
+
LazyNuxtLayout: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-layout")['default']>
|
|
43
|
+
LazyNuxtErrorBoundary: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-error-boundary.vue")['default']>
|
|
44
|
+
LazyClientOnly: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/client-only")['default']>
|
|
45
|
+
LazyDevOnly: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/dev-only")['default']>
|
|
46
|
+
LazyServerPlaceholder: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/server-placeholder")['default']>
|
|
47
|
+
LazyNuxtLink: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-link")['default']>
|
|
48
|
+
LazyNuxtLoadingIndicator: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-loading-indicator")['default']>
|
|
49
|
+
LazyNuxtTime: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-time.vue")['default']>
|
|
50
|
+
LazyNuxtRouteAnnouncer: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-route-announcer")['default']>
|
|
51
|
+
LazyNuxtAnnouncer: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-announcer")['default']>
|
|
52
|
+
LazyNuxtImg: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-stubs")['NuxtImg']>
|
|
53
|
+
LazyNuxtPicture: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-stubs")['NuxtPicture']>
|
|
54
|
+
LazyNuxtPage: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/pages/runtime/page-placeholder")['default']>
|
|
55
|
+
LazyNoScript: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['NoScript']>
|
|
56
|
+
LazyLink: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Link']>
|
|
57
|
+
LazyBase: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Base']>
|
|
58
|
+
LazyTitle: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Title']>
|
|
59
|
+
LazyMeta: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Meta']>
|
|
60
|
+
LazyStyle: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Style']>
|
|
61
|
+
LazyHead: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Head']>
|
|
62
|
+
LazyHtml: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Html']>
|
|
63
|
+
LazyBody: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/head/runtime/components")['Body']>
|
|
64
|
+
LazyNuxtIsland: LazyComponent<typeof import("../../../../../../../node_modules/nuxt/dist/app/components/nuxt-island")['default']>
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
declare module 'vue' {
|
|
68
|
+
export interface GlobalComponents extends _GlobalComponents { }
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export {}
|