@wow-two-beta/fe 0.0.22 → 0.0.24
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/dist/auth/AuthBridge.d.ts +15 -0
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.js +47 -8
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/providers/AuthProvider.vue.d.ts +1 -1
- package/dist/chunks/{SidebarMenuSection.vue_vue_type_script_setup_true_lang-CIEgYHl_.js → AppSwitcherMenu.vue_vue_type_script_setup_true_lang-DVqdOOst.js} +641 -226
- package/dist/chunks/AppSwitcherMenu.vue_vue_type_script_setup_true_lang-DVqdOOst.js.map +1 -0
- package/dist/chunks/Breakpoints-CltjxN0E.js +32 -0
- package/dist/chunks/Breakpoints-CltjxN0E.js.map +1 -0
- package/dist/chunks/{DrawerContent.vue_vue_type_script_setup_true_lang-C17R6SMV.js → DrawerContent.vue_vue_type_script_setup_true_lang-CZQnfNGk.js} +4 -12
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-CZQnfNGk.js.map +1 -0
- package/dist/chunks/{ErrorBoundary.vue_vue_type_script_setup_true_lang-DBPGTzwk.js → ErrorBoundary.vue_vue_type_script_setup_true_lang-LRQbVAiW.js} +2 -2
- package/dist/chunks/{ErrorBoundary.vue_vue_type_script_setup_true_lang-DBPGTzwk.js.map → ErrorBoundary.vue_vue_type_script_setup_true_lang-LRQbVAiW.js.map} +1 -1
- package/dist/chunks/{KanbanCard.vue_vue_type_script_setup_true_lang-BolubhiV.js → KanbanCard.vue_vue_type_script_setup_true_lang-B_NmyVkE.js} +2 -2
- package/dist/chunks/{KanbanCard.vue_vue_type_script_setup_true_lang-BolubhiV.js.map → KanbanCard.vue_vue_type_script_setup_true_lang-B_NmyVkE.js.map} +1 -1
- package/dist/chunks/{LightboxModal.vue_vue_type_script_setup_true_lang-HSUZqn0g.js → LightboxModal.vue_vue_type_script_setup_true_lang-Dm79L1eK.js} +71 -477
- package/dist/chunks/LightboxModal.vue_vue_type_script_setup_true_lang-Dm79L1eK.js.map +1 -0
- package/dist/chunks/ListboxPicker.variants-hiMcl66_.js +44 -0
- package/dist/chunks/ListboxPicker.variants-hiMcl66_.js.map +1 -0
- package/dist/chunks/{MasonryLayout.vue_vue_type_script_setup_true_lang-CKhBN2SC.js → MasonryLayout.vue_vue_type_script_setup_true_lang-TuNWahLw.js} +2 -2
- package/dist/chunks/{MasonryLayout.vue_vue_type_script_setup_true_lang-CKhBN2SC.js.map → MasonryLayout.vue_vue_type_script_setup_true_lang-TuNWahLw.js.map} +1 -1
- package/dist/chunks/{MentionInput.vue_vue_type_script_setup_true_lang-C7X9NYpR.js → MentionInput.vue_vue_type_script_setup_true_lang-DdT24dkW.js} +12 -5
- package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-DdT24dkW.js.map +1 -0
- package/dist/chunks/OverlayChrome-BqRpuYX5.js +13 -0
- package/dist/chunks/OverlayChrome-BqRpuYX5.js.map +1 -0
- package/dist/chunks/OverlayCloseButton.vue_vue_type_script_setup_true_lang-D01KYAAn.js +429 -0
- package/dist/chunks/OverlayCloseButton.vue_vue_type_script_setup_true_lang-D01KYAAn.js.map +1 -0
- package/dist/chunks/{PopoverContent.vue_vue_type_script_setup_true_lang-hfb8AAVv.js → PopoverContent.vue_vue_type_script_setup_true_lang-BIHYpwzT.js} +2 -43
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-BIHYpwzT.js.map +1 -0
- package/dist/chunks/{ToastHost.vue_vue_type_script_setup_true_lang-Xr-kmwgK.js → ToastHost.vue_vue_type_script_setup_true_lang-p0bfXJ9l.js} +2 -1
- package/dist/chunks/{ToastHost.vue_vue_type_script_setup_true_lang-Xr-kmwgK.js.map → ToastHost.vue_vue_type_script_setup_true_lang-p0bfXJ9l.js.map} +1 -1
- package/dist/chunks/{Tooltip.vue_vue_type_script_setup_true_lang-AzuqiFWY.js → Tooltip.vue_vue_type_script_setup_true_lang-vsFDijcV.js} +3 -2
- package/dist/chunks/{Tooltip.vue_vue_type_script_setup_true_lang-AzuqiFWY.js.map → Tooltip.vue_vue_type_script_setup_true_lang-vsFDijcV.js.map} +1 -1
- package/dist/feedback/FeedbackQueryErrors.d.ts +4 -3
- package/dist/feedback/FeedbackSessionExpiry.d.ts +5 -0
- package/dist/feedback/index.d.ts +1 -0
- package/dist/feedback/index.js +13 -1
- package/dist/feedback/index.js.map +1 -1
- package/dist/foundation/device/index.js +3 -27
- package/dist/foundation/device/index.js.map +1 -1
- package/dist/foundation/http/CreateApiClient.d.ts +1 -0
- package/dist/foundation/http/index.js +5 -1
- package/dist/foundation/http/index.js.map +1 -1
- package/dist/index.js +221 -217
- package/dist/index.js.map +1 -1
- package/dist/presentation/display/index.js +1 -1
- package/dist/presentation/feedback/index.js +2 -2
- package/dist/presentation/feedback/toastHost/index.js +1 -1
- package/dist/presentation/forms/index.js +2 -2
- package/dist/presentation/forms/passwordInput/PasswordInput.vue.d.ts +4 -0
- package/dist/presentation/layout/index.js +1 -1
- package/dist/presentation/nav/appSwitcherMenu/AppSwitcherMenu.vue.d.ts +81 -0
- package/dist/presentation/nav/appSwitcherMenu/AppSwitcherMenuExtensions.d.ts +8 -0
- package/dist/presentation/nav/appSwitcherMenu/AppSwitcherMenuPanel.vue.d.ts +25 -0
- package/dist/presentation/nav/appSwitcherMenu/index.d.ts +1 -0
- package/dist/presentation/nav/index.d.ts +1 -0
- package/dist/presentation/nav/index.js +72 -70
- package/dist/presentation/overlays/index.js +55 -54
- package/dist/presentation/overlays/index.js.map +1 -1
- package/dist/router/adapters/vueRouter/Guards.d.ts +6 -1
- package/dist/router/adapters/vueRouter/index.d.ts +1 -1
- package/dist/router/index.js +8 -0
- package/dist/router/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-C17R6SMV.js.map +0 -1
- package/dist/chunks/LightboxModal.vue_vue_type_script_setup_true_lang-HSUZqn0g.js.map +0 -1
- package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-C7X9NYpR.js.map +0 -1
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-hfb8AAVv.js.map +0 -1
- package/dist/chunks/SidebarMenuSection.vue_vue_type_script_setup_true_lang-CIEgYHl_.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.vue_vue_type_script_setup_true_lang-DBPGTzwk.js","sources":["../../src/presentation/feedback/skeletonState/SkeletonState.vue","../../src/presentation/feedback/skeletonState/SkeletonStateSlot.vue","../../src/presentation/feedback/skeletonState/SkeletonStateGroup.vue","../../src/presentation/feedback/skeletonState/SkeletonStateText.vue","../../src/presentation/feedback/skeletonState/UseSkeletonItems.ts","../../src/presentation/feedback/dataRegion/DataRegion.vue","../../src/presentation/feedback/progressBar/ProgressBar.variants.ts","../../src/presentation/feedback/progressBar/ProgressBar.vue","../../src/presentation/feedback/progressCircleIndicator/ProgressCircleIndicator.vue","../../src/presentation/feedback/alertSimple/AlertSimple.variants.ts","../../src/presentation/feedback/alertSimple/AlertSimple.vue","../../src/presentation/feedback/bannerSimple/BannerSimple.variants.ts","../../src/presentation/feedback/bannerSimple/BannerSimple.vue","../../src/presentation/feedback/toastSimple/ToastSimple.variants.ts","../../src/presentation/feedback/alert/Alert.vue","../../src/presentation/feedback/banner/Banner.vue","../../src/presentation/feedback/callout/Callout.vue","../../src/presentation/feedback/inlineSpinner/InlineSpinner.vue","../../src/presentation/feedback/loadingState/LoadingState.vue","../../src/presentation/feedback/progressStepsIndicator/ProgressStepsIndicator.vue","../../src/presentation/feedback/statusIndicator/StatusIndicator.vue","../../src/presentation/feedback/meterBar/MeterBar.vue","../../src/presentation/feedback/trendIndicator/TrendIndicator.vue","../../src/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue","../../src/presentation/feedback/loadingOverlay/LoadingOverlay.vue","../../src/presentation/feedback/splashScreen/SplashScreen.vue","../../src/presentation/feedback/undoBar/UndoBar.vue","../../src/presentation/feedback/typingIndicator/TypingIndicator.vue","../../src/presentation/feedback/presenceIndicator/PresenceIndicator.vue","../../src/presentation/feedback/liveCursorIndicator/LiveCursorIndicator.vue","../../src/presentation/feedback/passwordStrengthCallout/PasswordStrengthCallout.vue","../../src/presentation/feedback/characterCountCallout/CharacterCountCallout.vue","../../src/presentation/feedback/errorBoundary/ErrorBoundary.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { SkeletonStateAnimation, SkeletonStateShape } from './SkeletonState.variants';\n\nexport interface SkeletonStateProps {\n /** The placeholder shape. */\n readonly shape?: SkeletonStateShape;\n /** How the placeholder moves; defaults to the nearest `SkeletonStateGroup`'s, else `pulse`. */\n readonly animation?: SkeletonStateAnimation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { skeletonVariants } from './SkeletonState.variants';\nimport { useSkeletonStateGroup } from './SkeletonStateContext';\n\n/**\n * Renders a shimmering placeholder block standing in for content that is still loading.\n * Size it via `class` (e.g. `w-32 h-4`) for text lines, or pass `shape=\"rect\"` for a full block.\n */\ndefineOptions({ name: 'SkeletonState', inheritAttrs: false });\n\nconst props = defineProps<SkeletonStateProps>();\n\ndefineSlots<{\n /** The content shaping the placeholder. Sizing classes alone when omitted. */\n default?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst group = useSkeletonStateGroup();\nconst classes = computed(() =>\n cn(\n skeletonVariants({ shape: props.shape, animation: props.animation ?? group?.animation.value }),\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" aria-hidden=\"true\" v-bind=\"rest\" :class=\"classes\"><slot /></div>\n</template>\n","<script lang=\"ts\">\nimport type { SkeletonStateAnimation, SkeletonStateShape } from './SkeletonState.variants';\n\nexport interface SkeletonStateSlotProps {\n /** Overrides the nearest `SkeletonStateGroup`'s loading flag. */\n readonly isLoading?: boolean;\n /** The placeholder's corners; its size always comes from the content. Default `text`. */\n readonly shape?: SkeletonStateShape;\n /** Renders a block-level wrapper for block content — bars, charts, cards. Default `false`. */\n readonly isBlock?: boolean;\n /** How the placeholder moves; defaults to the nearest `SkeletonStateGroup`'s. */\n readonly animation?: SkeletonStateAnimation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { skeletonSlotVariants } from './SkeletonState.variants';\nimport { useSkeletonStateGroup } from './SkeletonStateContext';\n\n/**\n * Wraps a real value and, while loading, paints a placeholder exactly its size — the content stays\n * mounted but invisible, so labels and layout hold still and only the value turns into a skeleton.\n */\ndefineOptions({ name: 'SkeletonStateSlot', inheritAttrs: false });\n\n/* `isLoading: undefined` is load-bearing: Vue casts an absent `Boolean` prop to `false`, which would\n override the group's flag. */\nconst props = withDefaults(defineProps<SkeletonStateSlotProps>(), { isLoading: undefined, isBlock: false });\n\ndefineSlots<{\n /** The value; its size shapes the placeholder while loading. */\n default?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLElement>('el');\nconst group = useSkeletonStateGroup();\nconst loading = computed(() => props.isLoading ?? group?.isLoading.value ?? false);\n\n/** The placeholder merges last, so a caller's text colour or background cannot show through it. */\nconst classes = computed(() =>\n cn(\n props.isBlock ? 'block' : 'inline-block',\n attrs.class as string | undefined,\n loading.value && skeletonSlotVariants({ shape: props.shape, animation: props.animation ?? group?.animation.value }),\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <component\n :is=\"props.isBlock ? 'div' : 'span'\"\n ref=\"el\"\n v-bind=\"rest\"\n :class=\"classes\"\n :aria-hidden=\"loading || undefined\"\n :data-loading=\"loading || undefined\"\n >\n <slot />\n </component>\n</template>\n","<script lang=\"ts\">\nimport type { SkeletonStateAnimation } from './SkeletonState.variants';\n\nexport interface SkeletonStateGroupProps {\n /** Whether the region is loading; every `SkeletonStateSlot` inside follows it. */\n readonly isLoading: boolean;\n /** The one announcement for the region while it loads. Default `Loading…`. */\n readonly label?: string;\n /** How every skeleton inside moves. */\n readonly animation?: SkeletonStateAnimation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, provide, useTemplateRef } from 'vue';\nimport { useLocale } from '../../../foundation/i18n';\nimport { skeletonStateGroupKey, useSkeletonStateGroup } from './SkeletonStateContext';\n\n/**\n * Renders a loading region: marks itself `aria-busy`, announces once, and switches every\n * `SkeletonStateSlot` inside at the same moment — the skeleton swap for first loads and asked-for refreshes.\n */\ndefineOptions({ name: 'SkeletonStateGroup' });\n\nconst props = defineProps<SkeletonStateGroupProps>();\n\ndefineSlots<{\n /** The region: its labels, headings and actions render as they are; its values sit in slots. */\n default?(): unknown;\n}>();\n\nconst locale = useLocale();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\n/* A group inside a loading region follows it: its slots keep painting and its components keep their skeletons until\n the outer region settles, whatever this group's own flag says. */\nconst parent = useSkeletonStateGroup();\nprovide(skeletonStateGroupKey, {\n isLoading: computed(() => props.isLoading || (parent?.isLoading.value ?? false)),\n isSkeleton: computed(() => parent?.isSkeleton.value ?? false),\n animation: computed(() => props.animation ?? parent?.animation.value),\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" :aria-busy=\"props.isLoading || undefined\">\n <span v-if=\"props.isLoading\" role=\"status\" class=\"sr-only\">\n {{ props.label ?? locale.t('SkeletonStateGroup.loading', undefined, 'Loading…') }}\n </span>\n <slot />\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { SkeletonStateAnimation } from './SkeletonState.variants';\n\nexport interface SkeletonStateTextProps {\n /** The number of lines. Default `3`. */\n readonly lines?: number;\n /** The last line's width, so the block reads as a paragraph. Default `60%`. */\n readonly lastLineWidth?: string;\n /** How the lines move; defaults to the nearest `SkeletonStateGroup`'s. */\n readonly animation?: SkeletonStateAnimation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useTemplateRef } from 'vue';\nimport SkeletonState from './SkeletonState.vue';\n\n/** Renders a paragraph placeholder — `lines` text skeletons with a shorter last line. */\ndefineOptions({ name: 'SkeletonStateText' });\n\nconst props = withDefaults(defineProps<SkeletonStateTextProps>(), { lines: 3, lastLineWidth: '60%' });\n\nconst el = useTemplateRef<HTMLDivElement>('el');\nconst count = computed(() => Math.max(1, Math.floor(props.lines)));\n\n/** Vue does not append `px` to a numeric `:style` value — the width is passed through as written. */\nfunction lineStyle(index: number): Record<string, string> | undefined {\n return index === count.value && count.value > 1 ? { width: props.lastLineWidth } : undefined;\n}\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" aria-hidden=\"true\" class=\"flex flex-col gap-2\">\n <SkeletonState\n v-for=\"index in count\"\n :key=\"index\"\n shape=\"text\"\n v-bind=\"props.animation ? { animation: props.animation } : {}\"\n :style=\"lineStyle(index)\"\n />\n </div>\n</template>\n","import { computed, toValue, type ComputedRef, type MaybeRefOrGetter } from 'vue';\n\n/** @internal The placeholder rows a first load draws when no count is given. */\nconst DefaultSkeletonItems = 3;\n\n/**\n * The loaded items, or `count` empty stand-ins while nothing has loaded yet — so a `DataRegion` first load renders\n * the real layout and every component in it draws its own skeleton.\n *\n * A stand-in is `undefined`: read fields with `item?.name` and key rows with `item?.id ?? index`. A loaded empty list\n * stays empty, so the region's empty state still shows.\n */\nexport function useSkeletonItems<T>(\n source: MaybeRefOrGetter<ReadonlyArray<T> | null | undefined>,\n count: MaybeRefOrGetter<number> = DefaultSkeletonItems,\n): ComputedRef<ReadonlyArray<T | undefined>> {\n return computed(() => {\n const items = toValue(source);\n if (items) return items;\n return Array.from({ length: Math.max(0, Math.floor(toValue(count)) || 0) }, () => undefined);\n });\n}\n","<script lang=\"ts\">\nimport type { SkeletonStateAnimation } from '../skeletonState/SkeletonState.variants';\n\n/** A failure the region settled on: a message, or anything carrying one — an `AppError`, an `ApiFailure`. */\nexport type DataRegionError = string | { readonly message: string };\n\n/** Defines which state a `DataRegion` renders, published as its `data-state`. */\nexport const DataRegionState = {\n /** Refers to the first load: the content renders as component skeletons. */\n FirstLoad: 'first-load',\n /** Refers to a failed first load: neutral plain copy, the failure text left to the toast host. */\n Unavailable: 'unavailable',\n /** Refers to a loaded region with nothing in it: the plain empty copy. */\n Empty: 'empty',\n /** Refers to the content — the last good content too, when a refresh failed. */\n Ready: 'ready',\n} as const;\n\nexport type DataRegionState = (typeof DataRegionState)[keyof typeof DataRegionState];\n\nexport interface DataRegionProps {\n /** The first load: nothing to show yet, so the content renders as skeletons — `useAppQuery().isFirstLoad`. */\n readonly isFirstLoad?: boolean;\n /** A fetch while data shows — the content stays, with no skeleton. Pair with `useAppQuery().isRefreshing`. */\n readonly isRefreshing?: boolean;\n /** The failure the last fetch settled on; the toast host owns its text, the region only stops loading. */\n readonly error?: DataRegionError | null;\n /** Whether the last good content is on screen, so a failure keeps it instead of settling. Default `false`. */\n readonly hasData?: boolean;\n /** The region loaded and holds nothing; plain centred copy replaces the content. */\n readonly isEmpty?: boolean;\n /** The empty copy, naming the absent collection. Default `Nothing here yet`. */\n readonly emptyTitle?: string;\n /** The empty copy's second line. */\n readonly emptyDescription?: string;\n /** The neutral copy a failed first load settles into. Default `Not available right now`. */\n readonly unavailableTitle?: string;\n /** The one announcement while the first load runs. Default `Loading…`. */\n readonly loadingLabel?: string;\n /** The opt-in retry button's label. Default `Retry`. */\n readonly retryLabel?: string;\n /** How every skeleton inside moves. Default `pulse`. */\n readonly animation?: SkeletonStateAnimation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, getCurrentInstance, provide, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { useLocale } from '../../../foundation/i18n';\nimport Button from '../../actions/button/Button.vue';\nimport EmptyState from '../../display/emptyState/EmptyState.vue';\nimport { skeletonStateGroupKey, useSkeletonStateGroup } from '../skeletonState/SkeletonStateContext';\n\n/**\n * Renders one data region through its states: on the first load its content draws every SDK component's own\n * skeleton, inert and announced once; a refresh keeps the content; a failed refresh keeps the last good content; a\n * failed first load and an empty load settle into plain centred copy.\n */\ndefineOptions({ name: 'DataRegion', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DataRegionProps>(), {\n isFirstLoad: false,\n isRefreshing: false,\n error: null,\n hasData: false,\n isEmpty: false,\n});\n\nconst emit = defineEmits<{\n /** Fires when the reader asks a failed first load to run again. Binding it opts into the retry button. */\n retry: [];\n}>();\n\ndefineSlots<{\n /** The region's real layout — rendered as component skeletons on the first load. */\n default?(): unknown;\n /** Replaces the content on the first load, for a layout that cannot render without data. */\n skeleton?(): unknown;\n /** Opts a failed first load into its own copy, in place of the neutral line. */\n unavailable?(props: { message: string; retry: () => void }): unknown;\n /** Opts a failed first load into a retry control, in place of the default button. */\n retry?(props: { retry: () => void }): unknown;\n /** Opts the empty copy into actions; page actions belong in the toolbar. */\n emptyActions?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst locale = useLocale();\nconst instance = getCurrentInstance();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\n/* A region inside a region still on its first load draws its skeleton too, whatever its own query says. */\nconst parent = useSkeletonStateGroup();\nconst isSkeleton = computed(() => props.isFirstLoad || (parent?.isSkeleton.value ?? false));\n\nprovide(skeletonStateGroupKey, {\n isLoading: computed(() => isSkeleton.value || (parent?.isLoading.value ?? false)),\n isSkeleton,\n animation: computed(() => props.animation ?? parent?.animation.value),\n});\n\nconst message = computed(() => {\n const error = props.error;\n if (error === null || error === undefined) return '';\n return typeof error === 'string' ? error : error.message;\n});\nconst hasError = computed(() => props.error !== null && props.error !== undefined);\n\nconst state = computed<DataRegionState>(() => {\n if (isSkeleton.value) return DataRegionState.FirstLoad;\n if (hasError.value && !props.hasData) return DataRegionState.Unavailable;\n if (props.isEmpty) return DataRegionState.Empty;\n return DataRegionState.Ready;\n});\n\n/* Retry is opt-in — a bound `@retry` or a `retry` slot — because an ordinary collection keeps refresh in its toolbar.\n Read through a call: the instance's vnode is replaced on every render. */\nconst canRetry = () => Boolean(instance?.vnode.props?.onRetry) || Boolean(slots.retry);\n\nfunction retry(): void {\n emit('retry');\n}\n\nconst loadingText = computed(() => props.loadingLabel ?? locale.t('DataRegion.loading', undefined, 'Loading…'));\nconst retryText = computed(() => props.retryLabel ?? locale.t('DataRegion.retry', undefined, 'Retry'));\nconst unavailableText = computed(\n () => props.unavailableTitle ?? locale.t('DataRegion.unavailable', undefined, 'Not available right now'),\n);\nconst emptyTitleText = computed(\n () => props.emptyTitle ?? locale.t('DataRegion.emptyTitle', undefined, 'Nothing here yet'),\n);\n\nconst classes = computed(() => cn(attrs.class as string | undefined));\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div\n ref=\"el\"\n :data-state=\"state\"\n :data-refreshing=\"(state === DataRegionState.Ready && props.isRefreshing) || undefined\"\n :data-stale=\"(state === DataRegionState.Ready && hasError) || undefined\"\n :aria-busy=\"isSkeleton || undefined\"\n v-bind=\"rest\"\n :class=\"classes\"\n >\n <span v-if=\"isSkeleton\" role=\"status\" class=\"sr-only\">{{ loadingText }}</span>\n <template v-if=\"state === DataRegionState.Unavailable\">\n <slot name=\"unavailable\" :message=\"message\" :retry=\"retry\">\n <EmptyState :title=\"unavailableText\">\n <template v-if=\"canRetry()\" #actions>\n <slot name=\"retry\" :retry=\"retry\">\n <Button size=\"sm\" variant=\"outline\" @click=\"retry\">{{ retryText }}</Button>\n </slot>\n </template>\n </EmptyState>\n </slot>\n </template>\n <EmptyState\n v-else-if=\"state === DataRegionState.Empty\"\n :title=\"emptyTitleText\"\n :description=\"props.emptyDescription\"\n >\n <template v-if=\"$slots.emptyActions\" #actions><slot name=\"emptyActions\" /></template>\n </EmptyState>\n <!-- `contents` keeps the wrapper out of layout, so the region's own grid or flex reaches the content. -->\n <div v-else class=\"contents\" :inert=\"isSkeleton || undefined\" data-region-content>\n <slot v-if=\"isSkeleton && $slots.skeleton\" name=\"skeleton\" />\n <slot v-else />\n </div>\n </div>\n</template>\n","import { ProgressTone, Size, tv, type VariantProps } from '../../../foundation/styles';\n\nexport const progressTrackVariants = tv({\n base: 'h-2 w-full overflow-hidden rounded-full bg-muted',\n variants: {\n size: {\n sm: 'h-1',\n md: 'h-2',\n lg: 'h-3',\n },\n },\n defaultVariants: {\n size: 'md',\n },\n});\n\nexport const progressFillVariants = tv({\n base: 'h-full rounded-full transition-[width] duration-300',\n variants: {\n tone: {\n brand: 'bg-primary',\n success: 'bg-success',\n warning: 'bg-warning',\n danger: 'bg-destructive',\n neutral: 'bg-muted-foreground',\n },\n },\n defaultVariants: {\n tone: 'brand',\n },\n});\n\nexport type ProgressBarVariants = VariantProps<typeof progressTrackVariants> &\n VariantProps<typeof progressFillVariants>;\n\n/* Compile-time lock: adopted enum values ≡ tv axis keys (drift = type error).\n `Size` is the 5-member registry enum; the track only wires 3 (sm/md/lg), so\n the assert is one-directional (tv keys ⊆ Size) — widening a narrower prop is\n allowed for beta. */\ntype AssertExact<A, B> = [A] extends [B] ? ([B] extends [A] ? true : never) : never;\nconst _assertProgressSize: NonNullable<VariantProps<typeof progressTrackVariants>['size']> extends Size ? true : never =\n true;\nvoid _assertProgressSize;\nconst _assertProgressTone: AssertExact<\n ProgressTone,\n NonNullable<VariantProps<typeof progressFillVariants>['tone']>\n> = true;\nvoid _assertProgressTone;\n","<script lang=\"ts\">\nimport type { ProgressTone, Size } from '../../../foundation/styles';\n\nexport interface ProgressBarProps {\n /** The track thickness. */\n readonly size?: Size;\n /** The fill tone palette. */\n readonly tone?: ProgressTone;\n /** The current value 0–100. Pass `undefined` for indeterminate. */\n readonly value?: number;\n readonly max?: number;\n /** The accessible label for the progress. */\n readonly label?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { progressFillVariants, progressTrackVariants, type ProgressBarVariants } from './ProgressBar.variants';\n\n/**\n * Renders a linear progress bar with an optional label above it.\n * Set `value` (0–`max`) for determinate; omit for indeterminate.\n */\ndefineOptions({ name: 'ProgressBar', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<ProgressBarProps>(), { max: 100 });\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst determinate = computed(() => typeof props.value === 'number');\n\nconst pct = computed(() =>\n determinate.value ? Math.min(100, Math.max(0, ((props.value ?? 0) / props.max) * 100)) : undefined,\n);\n\nconst classes = computed(() =>\n cn(\n progressTrackVariants({\n /* `size` is the 5-member `Size`; the track defines only sm/md/lg.\n Cast to the tv key type — an out-of-range value falls through to\n the tv default. */\n size: props.size as ProgressBarVariants['size'],\n }),\n attrs.class as string | undefined,\n ),\n);\n\nconst fillClasses = computed(() =>\n cn(\n progressFillVariants({ tone: props.tone }),\n !determinate.value && 'w-1/3 animate-[indeterminate_1.4s_ease-in-out_infinite]',\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div\n ref=\"el\"\n role=\"progressbar\"\n :aria-label=\"props.label\"\n :aria-valuemin=\"0\"\n :aria-valuemax=\"props.max\"\n :aria-valuenow=\"determinate ? props.value : undefined\"\n v-bind=\"rest\"\n :class=\"classes\"\n >\n <div :class=\"fillClasses\" :style=\"determinate ? { width: `${pct}%` } : undefined\" />\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { ProgressTone } from '../../../foundation/styles';\n\nexport interface ProgressCircleIndicatorProps {\n /** The current value 0–100. Omit for indeterminate. */\n readonly value?: number;\n readonly max?: number;\n readonly size?: number;\n readonly thickness?: number;\n /** The ring tone palette. */\n readonly tone?: ProgressTone;\n readonly label?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn, ProgressTone as ProgressToneToken } from '../../../foundation/styles';\n\nconst ToneClass: Record<ProgressTone, string> = {\n brand: 'text-primary',\n success: 'text-success',\n warning: 'text-warning',\n danger: 'text-destructive',\n neutral: 'text-muted-foreground',\n};\n\n/**\n * Renders a circular SVG progress ring with an optional label at its centre.\n * Determinate when `value` is set; indeterminate (rotating) when omitted.\n */\ndefineOptions({ name: 'ProgressCircleIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<ProgressCircleIndicatorProps>(), {\n max: 100,\n size: 40,\n thickness: 4,\n tone: ProgressToneToken.Brand,\n});\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst determinate = computed(() => typeof props.value === 'number');\nconst radius = computed(() => (props.size - props.thickness) / 2);\nconst circumference = computed(() => 2 * Math.PI * radius.value);\nconst pct = computed(() =>\n determinate.value ? Math.min(100, Math.max(0, ((props.value ?? 0) / props.max) * 100)) : 25,\n);\nconst offset = computed(() => circumference.value - (pct.value / 100) * circumference.value);\n\nconst classes = computed(() =>\n cn('inline-block', !determinate.value && 'animate-spin', ToneClass[props.tone], attrs.class as string | undefined),\n);\n\n/** Vue does not auto-suffix numeric style values with `px`, so the unit is spelled out. */\nconst boxStyle = computed(() => ({ width: `${props.size}px`, height: `${props.size}px` }));\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div\n ref=\"el\"\n role=\"progressbar\"\n :aria-label=\"props.label\"\n :aria-valuemin=\"0\"\n :aria-valuemax=\"props.max\"\n :aria-valuenow=\"determinate ? props.value : undefined\"\n :style=\"boxStyle\"\n v-bind=\"rest\"\n :class=\"classes\"\n >\n <svg :width=\"props.size\" :height=\"props.size\" :viewBox=\"`0 0 ${props.size} ${props.size}`\">\n <circle\n :cx=\"props.size / 2\"\n :cy=\"props.size / 2\"\n :r=\"radius\"\n stroke=\"currentColor\"\n :stroke-width=\"props.thickness\"\n fill=\"none\"\n :opacity=\"0.2\"\n />\n <circle\n :cx=\"props.size / 2\"\n :cy=\"props.size / 2\"\n :r=\"radius\"\n stroke=\"currentColor\"\n :stroke-width=\"props.thickness\"\n stroke-linecap=\"round\"\n fill=\"none\"\n :stroke-dasharray=\"circumference\"\n :stroke-dashoffset=\"offset\"\n :transform=\"`rotate(-90 ${props.size / 2} ${props.size / 2})`\"\n :style=\"{ transition: 'stroke-dashoffset 300ms ease' }\"\n />\n </svg>\n </div>\n</template>\n","import { Severity, tv, type VariantProps } from '../../../foundation/styles';\n\nexport const alertSimpleVariants = tv({\n base: 'rounded-md border px-4 py-3 text-sm',\n variants: {\n severity: {\n info: 'border-info-soft bg-info-soft text-info-soft-foreground',\n success: 'border-success-soft bg-success-soft text-success-soft-foreground',\n warning: 'border-warning-soft bg-warning-soft text-warning-soft-foreground',\n danger: 'border-destructive-soft bg-destructive-soft text-destructive-soft-foreground',\n neutral: 'border-border bg-muted text-foreground',\n },\n },\n defaultVariants: {\n severity: 'info',\n },\n});\n\nexport type AlertSimpleVariants = VariantProps<typeof alertSimpleVariants>;\n\n/* Compile-time lock: Severity values ≡ tv severity keys (drift = type error). */\ntype AssertExact<A, B> = [A] extends [B] ? ([B] extends [A] ? true : never) : never;\nconst _assertSeverity: AssertExact<Severity, NonNullable<VariantProps<typeof alertSimpleVariants>['severity']>> = true;\nvoid _assertSeverity;\n","<script lang=\"ts\">\nimport type { Severity } from '../../../foundation/styles';\n\nexport interface AlertSimpleProps {\n /** The semantic severity palette. */\n readonly severity?: Severity;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { alertSimpleVariants } from './AlertSimple.variants';\n\n/**\n * Renders a severity-tinted alert container around free-form children.\n * No internal slots; consumer composes title/description/actions inline.\n *\n * For the structured Icon + Title + Description + Actions composition use\n * the `Alert` molecule (L4).\n *\n * `role=\"status\"` is the live-region contract; bound before `v-bind=\"rest\"`\n * so a caller-supplied `role` (e.g. `\"alert\"`) still wins.\n */\ndefineOptions({ name: 'AlertSimple', inheritAttrs: false });\n\nconst props = defineProps<AlertSimpleProps>();\n\ndefineSlots<{\n /** The alert content. */\n default?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst classes = computed(() =>\n cn(alertSimpleVariants({ severity: props.severity }), attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" role=\"status\" v-bind=\"rest\" :class=\"classes\"><slot /></div>\n</template>\n","import { Severity, tv, type VariantProps } from '../../../foundation/styles';\n\nexport const bannerSimpleVariants = tv({\n base: 'w-full px-6 py-3 text-sm',\n variants: {\n severity: {\n info: 'bg-info text-info-foreground',\n success: 'bg-success text-success-foreground',\n warning: 'bg-warning text-warning-foreground',\n danger: 'bg-destructive text-destructive-foreground',\n neutral: 'bg-inverse text-inverse-foreground',\n },\n },\n defaultVariants: {\n severity: 'info',\n },\n});\n\nexport type BannerSimpleVariants = VariantProps<typeof bannerSimpleVariants>;\n\n/* Compile-time lock: Severity values ≡ tv severity keys (drift = type error). */\ntype AssertExact<A, B> = [A] extends [B] ? ([B] extends [A] ? true : never) : never;\nconst _assertSeverity: AssertExact<Severity, NonNullable<VariantProps<typeof bannerSimpleVariants>['severity']>> = true;\nvoid _assertSeverity;\n","<script lang=\"ts\">\nimport type { Severity } from '../../../foundation/styles';\n\nexport interface BannerSimpleProps {\n /** The semantic severity palette. */\n readonly severity?: Severity;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { bannerSimpleVariants } from './BannerSimple.variants';\n\n/**\n * Renders a full-width, severity-tinted banner that broadcasts app-level status.\n * Typically pinned to the top of the app. Atom; for structured slotted layout use `Banner` (L4).\n *\n * `role=\"status\"` is the live-region contract; bound before `v-bind=\"rest\"`\n * so a caller-supplied `role` still wins.\n */\ndefineOptions({ name: 'BannerSimple', inheritAttrs: false });\n\nconst props = defineProps<BannerSimpleProps>();\n\ndefineSlots<{\n /** The banner content. */\n default?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst classes = computed(() =>\n cn(bannerSimpleVariants({ severity: props.severity }), attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" role=\"status\" v-bind=\"rest\" :class=\"classes\"><slot /></div>\n</template>\n","import { Severity, tv, type VariantProps } from '../../../foundation/styles';\n\nexport const toastSimpleVariants = tv({\n base: 'pointer-events-auto rounded-md border bg-popover text-popover-foreground shadow-lg px-4 py-3 text-sm',\n variants: {\n severity: {\n info: 'border-info-soft',\n success: 'border-success-soft',\n warning: 'border-warning-soft',\n danger: 'border-destructive-soft',\n neutral: 'border-border',\n },\n },\n defaultVariants: {\n severity: 'neutral',\n },\n});\n\nexport type ToastSimpleVariants = VariantProps<typeof toastSimpleVariants>;\n\n/* Compile-time lock: Severity values ≡ tv severity keys (drift = type error). */\ntype AssertExact<A, B> = [A] extends [B] ? ([B] extends [A] ? true : never) : never;\nconst _assertSeverity: AssertExact<Severity, NonNullable<VariantProps<typeof toastSimpleVariants>['severity']>> = true;\nvoid _assertSeverity;\n","<script lang=\"ts\">\nimport type { Severity } from '../../../foundation/styles';\n\nexport interface AlertProps {\n /** The semantic severity palette. */\n readonly severity?: Severity;\n /** The optional leading icon. Rich content → the `icon` slot. */\n readonly icon?: string;\n /** The bold heading line. Rich content → the `title` slot. */\n readonly title?: string;\n /** The body text below the title. Rich content → the `description` slot. */\n readonly description?: string;\n /** The right-side action slot (typically Button(s)). Rich content → the `actions` slot. */\n readonly actions?: string;\n /** The accessible label for the close button. Default `\"Dismiss\"`. */\n readonly closeLabel?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { computed, getCurrentInstance, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { X } from 'lucide-vue-next';\nimport { cn } from '../../../foundation/styles';\nimport { Icon } from '../../../foundation/icons';\nimport AlertSimple from '../alertSimple/AlertSimple.vue';\n\nconst CloseIcon = X;\n\n/**\n * Renders an icon, title, description, and actions laid over the `AlertSimple` atom.\n * Pair: `AlertSimple` (atom, free-form children) + `Alert` (this molecule).\n *\n * Each of React's four `ReactNode` props keeps its string form and gains a\n * same-named slot for rich content; the slot wins when both are supplied.\n */\ndefineOptions({ name: 'Alert', inheritAttrs: false });\n\nconst componentProps = withDefaults(defineProps<AlertProps>(), {});\nconst props = useLocaleDefaults(componentProps, 'Alert', { closeLabel: 'Dismiss' });\n\n/** Replaces React's `onClose`; omitting `@close` omits the close button. */\nconst emit = defineEmits<{\n /** Fires when the close button is activated. */\n close: [];\n}>();\n\ndefineSlots<{\n /** The extra content below the description. */\n default?(): unknown;\n /** The leading icon. Falls back to the `icon` prop. */\n icon?(): unknown;\n /** The heading line. Falls back to the `title` prop. */\n title?(): unknown;\n /** The body text below the title. Falls back to the `description` prop. */\n description?(): unknown;\n /** The action row. Falls back to the `actions` prop. */\n actions?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst instance = getCurrentInstance();\nconst inner = useTemplateRef<InstanceType<typeof AlertSimple>>('inner');\n\n/**\n * Mirrors React's `onClose && <button/>` guard — the close button renders only\n * when the consumer bound `@close`. Read through a call, not a cached computed:\n * `instance.vnode` is replaced on every re-render.\n */\nconst hasClose = () => Boolean(instance?.vnode.props?.onClose);\n\nconst hasIcon = computed(() => Boolean(props.icon) || Boolean(slots.icon));\nconst hasTitle = computed(() => Boolean(props.title) || Boolean(slots.title));\nconst hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));\nconst hasActions = computed(() => Boolean(props.actions) || Boolean(slots.actions));\n\nconst classes = computed(() => cn('flex items-start gap-3', attrs.class as string | undefined));\n\nconst descriptionClasses = computed(() => cn('text-sm', hasTitle.value && 'mt-0.5 opacity-90'));\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\n/** Re-exposes the underlying `AlertSimple` root element, matching React's forwarded ref. */\nconst el = computed(() => inner.value?.el ?? null);\n\ndefineExpose({ el });\n</script>\n\n<template>\n <AlertSimple ref=\"inner\" :severity=\"props.severity\" v-bind=\"rest\" :class=\"classes\">\n <span v-if=\"hasIcon\" class=\"mt-0.5 shrink-0\">\n <slot name=\"icon\">{{ props.icon }}</slot>\n </span>\n <div class=\"min-w-0 flex-1\">\n <div v-if=\"hasTitle\" class=\"font-medium\">\n <slot name=\"title\">{{ props.title }}</slot>\n </div>\n <div v-if=\"hasDescription\" :class=\"descriptionClasses\">\n <slot name=\"description\">{{ props.description }}</slot>\n </div>\n <div v-if=\"hasActions\" class=\"mt-2 flex flex-wrap items-center gap-2\">\n <slot name=\"actions\">{{ props.actions }}</slot>\n </div>\n <slot />\n </div>\n <button\n v-if=\"hasClose()\"\n type=\"button\"\n :aria-label=\"props.closeLabel\"\n class=\"-mr-1 grid h-6 w-6 shrink-0 place-items-center rounded text-current opacity-60 transition-opacity hover:opacity-100 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-current\"\n @click=\"emit('close')\"\n >\n <Icon :icon=\"CloseIcon\" :size=\"14\" />\n </button>\n </AlertSimple>\n</template>\n","<script lang=\"ts\">\nimport type { Severity } from '../../../foundation/styles';\n\nexport interface BannerProps {\n /** The semantic severity palette. */\n readonly severity?: Severity;\n /** The optional leading icon. Rich content → the `icon` slot. */\n readonly icon?: string;\n /** The bold heading line. Rich content → the `title` slot. */\n readonly title?: string;\n /** The body text beside the title. Rich content → the `description` slot. */\n readonly description?: string;\n /** The right-side action area (typically Button(s)). Rich content → the `actions` slot. */\n readonly actions?: string;\n /** The accessible label for the close button. Default `\"Dismiss\"`. */\n readonly closeLabel?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { computed, getCurrentInstance, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { X } from 'lucide-vue-next';\nimport { cn } from '../../../foundation/styles';\nimport { Icon } from '../../../foundation/icons';\nimport BannerSimple from '../bannerSimple/BannerSimple.vue';\n\nconst CloseIcon = X;\n\n/**\n * Renders a full-width banner with icon, title, description, and action slots.\n * Pair with `BannerSimple` (atomic, free-form children) when the structured slots are unneeded.\n *\n * Each of React's four `ReactNode` props keeps its string form and gains a\n * same-named slot for rich content; the slot wins when both are supplied.\n */\ndefineOptions({ name: 'Banner', inheritAttrs: false });\n\nconst componentProps = withDefaults(defineProps<BannerProps>(), {});\nconst props = useLocaleDefaults(componentProps, 'Banner', { closeLabel: 'Dismiss' });\n\n/** Replaces React's `onClose`; omitting `@close` omits the close button. */\nconst emit = defineEmits<{\n /** Fires when the close button is activated. */\n close: [];\n}>();\n\ndefineSlots<{\n /** The extra content beside the description. */\n default?(): unknown;\n /** The leading icon. Falls back to the `icon` prop. */\n icon?(): unknown;\n /** The heading line. Falls back to the `title` prop. */\n title?(): unknown;\n /** The body text beside the title. Falls back to the `description` prop. */\n description?(): unknown;\n /** The trailing action row. Falls back to the `actions` prop. */\n actions?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst instance = getCurrentInstance();\nconst inner = useTemplateRef<InstanceType<typeof BannerSimple>>('inner');\n\n/**\n * Mirrors React's `onClose && <button/>` guard — the close button renders only\n * when the consumer bound `@close`. Read through a call, not a cached computed:\n * `instance.vnode` is replaced on every re-render.\n */\nconst hasClose = () => Boolean(instance?.vnode.props?.onClose);\n\nconst hasIcon = computed(() => Boolean(props.icon) || Boolean(slots.icon));\nconst hasTitle = computed(() => Boolean(props.title) || Boolean(slots.title));\nconst hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));\nconst hasActions = computed(() => Boolean(props.actions) || Boolean(slots.actions));\n\nconst classes = computed(() => cn('flex items-center gap-4', attrs.class as string | undefined));\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\n/** Re-exposes the underlying `BannerSimple` root element, matching React's forwarded ref. */\nconst el = computed(() => inner.value?.el ?? null);\n\ndefineExpose({ el });\n</script>\n\n<template>\n <BannerSimple ref=\"inner\" :severity=\"props.severity\" v-bind=\"rest\" :class=\"classes\">\n <span v-if=\"hasIcon\" class=\"shrink-0\">\n <slot name=\"icon\">{{ props.icon }}</slot>\n </span>\n <div class=\"flex min-w-0 flex-1 items-baseline gap-3\">\n <span v-if=\"hasTitle\" class=\"font-medium\">\n <slot name=\"title\">{{ props.title }}</slot>\n </span>\n <span v-if=\"hasDescription\" class=\"opacity-90\">\n <slot name=\"description\">{{ props.description }}</slot>\n </span>\n <slot />\n </div>\n <div v-if=\"hasActions\" class=\"flex shrink-0 items-center gap-2\">\n <slot name=\"actions\">{{ props.actions }}</slot>\n </div>\n <button\n v-if=\"hasClose()\"\n type=\"button\"\n :aria-label=\"props.closeLabel\"\n class=\"-mr-2 grid h-7 w-7 shrink-0 place-items-center rounded text-current opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-current\"\n @click=\"emit('close')\"\n >\n <Icon :icon=\"CloseIcon\" :size=\"16\" />\n </button>\n </BannerSimple>\n</template>\n","<script lang=\"ts\">\nimport type { Severity } from '../../../foundation/styles';\n\nexport interface CalloutProps {\n /** The semantic severity palette. */\n readonly severity?: Severity;\n /** The optional leading icon. Rich content → the `icon` slot. */\n readonly icon?: string;\n /** The bold heading line. Rich content → the `title` slot. */\n readonly title?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, Severity as SeverityToken } from '../../../foundation/styles';\n\nconst SeverityClass: Record<Severity, string> = {\n info: 'border-l-info text-foreground',\n success: 'border-l-success text-foreground',\n warning: 'border-l-warning text-foreground',\n danger: 'border-l-destructive text-foreground',\n neutral: 'border-l-border text-foreground',\n};\n\n/**\n * Renders an inline doc-style note — colored left rule, no fill, quieter than `Alert`.\n * Use for supplementary content (think MDX callouts).\n *\n * React's `children` becomes the default slot; `icon` / `title` keep their\n * string form and gain same-named slots for rich content.\n */\ndefineOptions({ name: 'Callout', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<CalloutProps>(), { severity: SeverityToken.Info });\n\ndefineSlots<{\n /** The note body. */\n default?(): unknown;\n /** The leading icon. Falls back to the `icon` prop. */\n icon?(): unknown;\n /** The heading line. Falls back to the `title` prop. */\n title?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst hasIcon = computed(() => Boolean(props.icon) || Boolean(slots.icon));\nconst hasTitle = computed(() => Boolean(props.title) || Boolean(slots.title));\n\nconst classes = computed(() =>\n cn(\n 'flex items-start gap-3 rounded-md border-l-4 bg-card px-4 py-3 text-sm',\n SeverityClass[props.severity],\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <span v-if=\"hasIcon\" class=\"mt-0.5 shrink-0\">\n <slot name=\"icon\">{{ props.icon }}</slot>\n </span>\n <div class=\"min-w-0 flex-1\">\n <div v-if=\"hasTitle\" class=\"mb-0.5 font-medium\">\n <slot name=\"title\">{{ props.title }}</slot>\n </div>\n <slot />\n </div>\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { SpinnerProps } from '../spinner/Spinner.vue';\n\nexport interface InlineSpinnerProps {\n readonly size?: SpinnerProps['size'];\n readonly tone?: SpinnerProps['tone'];\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocale } from '../../../foundation/i18n';\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport Spinner from '../spinner/Spinner.vue';\n\nconst locale = useLocale();\n\n/**\n * Renders a spinner beside a label on one line, for buttons, list rows, and mid-flow waits.\n *\n * React's `children` (default `\"Loading…\"`) becomes the default slot with the\n * same fallback content.\n */\ndefineOptions({ name: 'InlineSpinner', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<InlineSpinnerProps>(), { size: 'sm', tone: 'default' });\n\ndefineSlots<{\n /** The label beside the spinner. Falls back to `Loading…`. */\n default?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLSpanElement>('el');\n\nconst classes = computed(() =>\n cn('inline-flex items-center gap-2 text-sm text-muted-foreground', attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <span ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <Spinner :size=\"props.size\" :tone=\"props.tone\" />\n <slot>{{ locale.t('InlineSpinner.loading', undefined, 'Loading…') }}</slot>\n </span>\n</template>\n","<script lang=\"ts\">\nimport type { Size } from '../../../foundation/styles';\n\nexport interface LoadingStateProps {\n /** The heading copy. Default `\"Loading…\"`. Rich content → the `title` slot. */\n readonly title?: string;\n\n /** The body text below the title. Rich content → the `description` slot. */\n readonly description?: string;\n\n /** The size of the spinner. Default `lg`. */\n readonly size?: Size;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\nimport Spinner from '../spinner/Spinner.vue';\n\n/**\n * Renders a centered spinner, title, and description filling a whole section or page.\n * Use `InlineSpinner` for in-row loading.\n *\n * `role=\"status\"` is the live-region contract; bound before `v-bind=\"rest\"`\n * so a caller-supplied `role` still wins.\n */\ndefineOptions({ name: 'LoadingState', inheritAttrs: false });\n\nconst componentProps = withDefaults(defineProps<LoadingStateProps>(), {\n size: SizeToken.Lg,\n});\nconst props = useLocaleDefaults(componentProps, 'LoadingState', { title: 'Loading…' });\n\ndefineSlots<{\n /** The heading line under the spinner. Falls back to the `title` prop. */\n title?(): unknown;\n /** The body text under the title. Falls back to the `description` prop. */\n description?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst hasTitle = computed(() => Boolean(props.title) || Boolean(slots.title));\nconst hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));\n\nconst classes = computed(() =>\n cn('flex flex-col items-center justify-center gap-3 py-12 text-center', attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" role=\"status\" v-bind=\"rest\" :class=\"classes\">\n <Spinner :size=\"props.size\" tone=\"brand\" />\n <div v-if=\"hasTitle\" class=\"text-sm font-medium text-foreground\">\n <slot name=\"title\">{{ props.title }}</slot>\n </div>\n <div v-if=\"hasDescription\" class=\"text-sm text-muted-foreground\">\n <slot name=\"description\">{{ props.description }}</slot>\n </div>\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { Orientation } from '../../../foundation/styles';\n\nexport interface ProgressStepsIndicatorProps {\n /** The step labels in order. */\n readonly steps: ReadonlyArray<string>;\n\n /** The index of the active step (0-based). Steps before are marked complete. */\n readonly current: number;\n\n /** The layout direction. Default `horizontal`. */\n readonly orientation?: Orientation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { Check } from 'lucide-vue-next';\nimport { cn, Orientation as OrientationToken } from '../../../foundation/styles';\nimport { Icon } from '../../../foundation/icons';\n\nconst CheckIcon = Check;\n\n/**\n * Renders N-of-M progress dots or pills joined by connectors, horizontally or vertically.\n * No state machine — the consumer drives `current`. For full wizard-with-content semantics use\n * the L5 `StepperGroup` organism.\n */\ndefineOptions({ name: 'ProgressStepsIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<ProgressStepsIndicatorProps>(), {\n orientation: OrientationToken.Horizontal,\n});\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLOListElement>('el');\n\nconst isHorizontal = computed(() => props.orientation === OrientationToken.Horizontal);\n\nconst classes = computed(() =>\n cn('flex', isHorizontal.value ? 'flex-row items-center gap-2' : 'flex-col gap-3', attrs.class as string | undefined),\n);\n\n/** The per-index step status, driving both the marker and the connector tone. */\nconst statusAt = (i: number) => (i < props.current ? 'complete' : i === props.current ? 'current' : 'upcoming');\n\nconst itemClasses = (i: number) =>\n cn('flex items-center gap-2', isHorizontal.value && i < props.steps.length - 1 && 'flex-1');\n\nconst markerClasses = (i: number) => {\n const status = statusAt(i);\n return cn(\n 'grid h-7 w-7 place-items-center rounded-full text-xs font-medium',\n status === 'complete' && 'bg-primary text-primary-foreground',\n status === 'current' && 'border-2 border-primary text-primary-soft-foreground',\n status === 'upcoming' && 'border border-border text-muted-foreground',\n );\n};\n\nconst labelClasses = (i: number) =>\n cn('text-sm', statusAt(i) === 'upcoming' ? 'text-muted-foreground' : 'text-foreground');\n\nconst connectorClasses = (i: number) => cn('h-px flex-1', i < props.current ? 'bg-primary' : 'bg-border');\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <ol ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <li v-for=\"(label, i) in props.steps\" :key=\"i\" :class=\"itemClasses(i)\">\n <span :class=\"markerClasses(i)\" :aria-current=\"statusAt(i) === 'current' ? 'step' : undefined\">\n <Icon v-if=\"statusAt(i) === 'complete'\" :icon=\"CheckIcon\" :size=\"14\" />\n <template v-else>{{ i + 1 }}</template>\n </span>\n <span :class=\"labelClasses(i)\">{{ label }}</span>\n <span v-if=\"isHorizontal && i < props.steps.length - 1\" :class=\"connectorClasses(i)\" aria-hidden=\"true\" />\n </li>\n </ol>\n</template>\n","<script lang=\"ts\">\nimport type { StatusTone } from '../../../foundation/styles';\n\nexport interface StatusIndicatorProps {\n /** The semantic status tone. */\n readonly tone?: StatusTone;\n\n /**\n * The bold first-line label (e.g. \"All systems normal\"). Rich content → the\n * `label` slot. Required in React; optional here so the slot form is usable —\n * supply one or the other.\n */\n readonly label?: string;\n\n /** The smaller secondary line (e.g. \"Updated 2m ago\"). Rich content → the `description` slot. */\n readonly description?: string;\n\n /** The optional pulsing ring for \"live\" indication. */\n readonly hasPulse?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, StatusTone as StatusToneToken } from '../../../foundation/styles';\n\nconst ToneClass: Record<StatusTone, string> = {\n success: 'bg-success',\n warning: 'bg-warning',\n destructive: 'bg-destructive',\n info: 'bg-info',\n neutral: 'bg-muted-foreground',\n};\n\n/**\n * Renders a colored dot beside a bold label with a smaller helper line beneath it.\n * Use on monitoring / status pages. For an inline single-line indicator use\n * `display/Status`.\n */\ndefineOptions({ name: 'StatusIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<StatusIndicatorProps>(), { tone: StatusToneToken.Success });\n\ndefineSlots<{\n /** The bold label beside the dot. Falls back to the `label` prop. */\n label?(): unknown;\n /** The helper line under the label. Falls back to the `description` prop. */\n description?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));\n\nconst dotClasses = computed(() => cn('inline-block h-2.5 w-2.5 rounded-full', ToneClass[props.tone]));\n\nconst pulseClasses = computed(() =>\n cn('absolute inset-0 inline-block rounded-full opacity-75 animate-ping', ToneClass[props.tone]),\n);\n\nconst classes = computed(() => cn('flex items-start gap-3', attrs.class as string | undefined));\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <span class=\"relative mt-1 inline-flex\">\n <span :class=\"dotClasses\" />\n <span v-if=\"props.hasPulse\" :class=\"pulseClasses\" />\n </span>\n <div class=\"min-w-0 flex-1\">\n <div class=\"text-sm font-medium text-foreground\">\n <slot name=\"label\">{{ props.label }}</slot>\n </div>\n <div v-if=\"hasDescription\" class=\"text-xs text-muted-foreground\">\n <slot name=\"description\">{{ props.description }}</slot>\n </div>\n </div>\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { Size } from '../../../foundation/styles';\n\nexport interface MeterBarProps {\n /** The current value 0–`max`. */\n readonly value: number;\n readonly max?: number;\n /** The threshold values that change the fill tone. Pass `[good, warn]` —\n * `value <= good` → success, `<= warn` → warning, otherwise destructive.\n * Defaults: `[max * 0.7, max * 0.9]`. */\n readonly thresholds?: [number, number];\n\n /** The bar thickness. */\n readonly size?: Size;\n\n /** The meter's accessible name; drawn above the bar with `isLabelVisible`. */\n readonly label?: string;\n\n /** Draws `label` above the bar with the readout on its right. Default `false`. */\n readonly isLabelVisible?: boolean;\n\n /** The readout beside a visible label, e.g. `6.2 of 10 GB`. Default the rounded percentage. */\n readonly valueLabel?: string;\n\n /** The value is still loading: the track pulses without a fill, the label and readout turn into bars. Defaults to\n * the nearest `DataRegion` first load. */\n readonly isLoading?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\nimport { useLocale, useLocaleFormatters } from '../../../foundation/i18n';\nimport { useId } from '../../../foundation/identifiers';\nimport { useSkeletonState } from '../skeletonState/SkeletonStateContext';\nimport { SkeletonStateLine } from '../skeletonState/SkeletonStateLine';\n\n/* Only the sm/md/lg steps carry a thickness; other `Size` members fall through\n to the `md` default at the lookup below. */\nconst TrackHeight: Partial<Record<Size, string>> = {\n sm: 'h-1',\n md: 'h-2',\n lg: 'h-3',\n};\n\n/**\n * Renders a horizontal gauge whose fill color crosses threshold zones — green / amber / red.\n * Use for usage gauges, capacity, and score meters; `ProgressBar` covers plain progress.\n */\ndefineOptions({ name: 'MeterBar', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<MeterBarProps>(), {\n max: 100,\n size: SizeToken.Md,\n isLabelVisible: false,\n isLoading: undefined,\n});\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\n/* An absent `isLoading` follows the nearest `DataRegion` first load; the track keeps its size as the placeholder. */\nconst skeleton = useSkeletonState(() => props.isLoading);\nconst loading = computed(() => skeleton.isSkeleton.value);\n\nconst locale = useLocale();\n\nconst ZoneTone = { good: 'bg-success', warn: 'bg-warning', critical: 'bg-destructive' } as const;\n\n/** The threshold zone the value sits in — green up to the first threshold, amber to the second, red past it. */\nconst zone = computed<keyof typeof ZoneTone>(() => {\n const [good, warn] = props.thresholds ?? [props.max * 0.7, props.max * 0.9];\n return props.value <= good ? 'good' : props.value <= warn ? 'warn' : 'critical';\n});\nconst tone = computed(() => ZoneTone[zone.value]);\n\n/* A zero or negative `max` has no scale: draw an empty track rather than a `NaN%` width. */\nconst pct = computed(() => (props.max > 0 ? Math.min(100, Math.max(0, (props.value / props.max) * 100)) : 0));\n\n/* The zone is otherwise carried by color alone (WCAG 1.4.1), so the spoken value names it. */\nconst ZoneLabel = {\n good: () => locale.t('MeterBar.zoneGood', undefined, 'normal'),\n warn: () => locale.t('MeterBar.zoneWarn', undefined, 'high'),\n critical: () => locale.t('MeterBar.zoneCritical', undefined, 'critical'),\n} as const;\nconst valueText = computed(() =>\n loading.value\n ? locale.t('MeterBar.loading', undefined, 'Loading')\n : locale.t(\n 'MeterBar.valueText',\n { percent: Math.round(pct.value), zone: ZoneLabel[zone.value]() },\n '{percent}%, {zone}',\n ),\n);\n\nconst formatters = useLocaleFormatters();\nconst readout = computed(\n () => props.valueLabel ?? formatters.value.percent(pct.value / 100, { maximumFractionDigits: 0 }),\n);\nconst labelId = useId();\n\nconst trackClasses = computed(() =>\n cn(\n 'w-full overflow-hidden rounded-full bg-muted',\n TrackHeight[props.size] ?? TrackHeight.md,\n skeleton.paintClass.value,\n ),\n);\n\n/* Without a visible label the bar is the root, as before; with one, a column holds the label row and the bar. */\nconst classes = computed(() =>\n props.isLabelVisible\n ? cn('flex w-full flex-col gap-1.5', attrs.class as string | undefined)\n : cn(trackClasses.value, attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div v-if=\"props.isLabelVisible\" ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <div class=\"flex items-center justify-between gap-3 text-xs\">\n <span :id=\"labelId\" class=\"min-w-0 truncate text-muted-foreground\"\n ><SkeletonStateLine :is-skeleton=\"loading\">{{ props.label }}</SkeletonStateLine></span\n >\n <span class=\"shrink-0 font-medium tabular-nums\"\n ><SkeletonStateLine :is-skeleton=\"loading\">{{ readout }}</SkeletonStateLine></span\n >\n </div>\n <div\n role=\"meter\"\n :aria-labelledby=\"labelId\"\n :aria-valuemin=\"0\"\n :aria-valuemax=\"props.max\"\n :aria-valuenow=\"props.value\"\n :aria-valuetext=\"valueText\"\n :aria-busy=\"loading || undefined\"\n :data-zone=\"loading ? undefined : zone\"\n :class=\"trackClasses\"\n >\n <div\n v-if=\"!loading\"\n :class=\"cn('h-full rounded-full transition-[width] duration-300', tone)\"\n :style=\"{ width: `${pct}%` }\"\n />\n </div>\n </div>\n <div\n v-else\n ref=\"el\"\n role=\"meter\"\n :aria-label=\"props.label\"\n :aria-valuemin=\"0\"\n :aria-valuemax=\"props.max\"\n :aria-valuenow=\"props.value\"\n :aria-valuetext=\"valueText\"\n :aria-busy=\"loading || undefined\"\n :data-zone=\"loading ? undefined : zone\"\n v-bind=\"rest\"\n :class=\"classes\"\n >\n <div\n v-if=\"!loading\"\n :class=\"cn('h-full rounded-full transition-[width] duration-300', tone)\"\n :style=\"{ width: `${pct}%` }\"\n />\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { Size } from '../../../foundation/styles';\n\nexport interface TrendIndicatorProps {\n /** The numeric delta — sign drives direction. */\n readonly value: number;\n\n /** The optional value formatter (default: `${sign}${value}%`). Rich content → the `value` slot. */\n readonly format?: (value: number) => string;\n\n /** The inverse-direction flag — when `true`, an increase reads as bad (e.g. error rate, churn). */\n readonly isInverse?: boolean;\n\n /** The small trailing label, e.g. \"vs last week\". Rich content → the `label` slot. */\n readonly label?: string;\n\n /** The text + icon scale. */\n readonly size?: Size;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { Minus, TrendingDown, TrendingUp } from 'lucide-vue-next';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\nimport { Icon } from '../../../foundation/icons';\n\n/* Only xs/sm/md carry a scale; other `Size` members fall through to `md` at\n the lookup below. */\nconst SizeText: Partial<Record<Size, string>> = {\n xs: 'text-xs',\n sm: 'text-sm',\n md: 'text-base',\n};\nconst SizeIcon: Partial<Record<Size, number>> = {\n xs: 12,\n sm: 14,\n md: 16,\n};\n\nconst DirectionIcon = {\n up: TrendingUp,\n down: TrendingDown,\n flat: Minus,\n};\n\n/**\n * Renders an up / down / flat arrow beside a value and an optional label.\n * Used inside `StatCard` and dashboard tiles. Pass `isInverse` for metrics where higher is worse.\n */\ndefineOptions({ name: 'TrendIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<TrendIndicatorProps>(), { size: SizeToken.Sm });\n\ndefineSlots<{\n /** The formatted delta — receives the raw `value` and its `display` string. */\n value?(props: { value: number; display: string }): unknown;\n /** The trailing label. Falls back to the `label` prop. */\n label?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLSpanElement>('el');\n\nconst direction = computed<'up' | 'down' | 'flat'>(() => (props.value > 0 ? 'up' : props.value < 0 ? 'down' : 'flat'));\n\nconst positive = computed(() =>\n direction.value === 'flat' ? false : (direction.value === 'up') !== Boolean(props.isInverse),\n);\n\nconst tone = computed(() =>\n /* `-soft-foreground`: the tones' text tokens — the solid `success` / `destructive` fills fall under AA as text in\n many themes. */\n direction.value === 'flat'\n ? 'text-muted-foreground'\n : positive.value\n ? 'text-success-soft-foreground'\n : 'text-destructive-soft-foreground',\n);\n\nconst arrow = computed(() => DirectionIcon[direction.value]);\n\nconst display = computed(() =>\n props.format ? props.format(props.value) : `${props.value > 0 ? '+' : ''}${props.value}%`,\n);\n\nconst iconSize = computed(() => SizeIcon[props.size] ?? SizeIcon.md);\n\nconst hasLabel = computed(() => Boolean(props.label) || Boolean(slots.label));\n\nconst classes = computed(() =>\n cn(\n 'inline-flex items-center gap-1 font-medium',\n SizeText[props.size] ?? SizeText.md,\n tone.value,\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <span ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <Icon :icon=\"arrow\" :size=\"iconSize\" />\n <slot name=\"value\" :value=\"props.value\" :display=\"display\">{{ display }}</slot>\n <span v-if=\"hasLabel\" class=\"text-muted-foreground\">\n <slot name=\"label\">{{ props.label }}</slot>\n </span>\n </span>\n</template>\n","<script lang=\"ts\">\nimport type { FeedbackBus, PublishedNotice } from '../../../feedback';\nimport type { ToastHostProps, ToastOptions } from '../toastHost';\n\n/**\n * The prop surface of `FeedbackToastHost` — `bus`, plus every `ToastHost` prop.\n *\n * The `ToastHostProps` heritage is marked `@vue-ignore` so only `bus` becomes a\n * runtime prop and the rest arrive as attrs; the template hands those to\n * `<ToastHost>`, which declares them and resolves them back into props. Consumers\n * still get the full checked surface, because the heritage is real to\n * TypeScript — it is only the SFC compiler's runtime-props pass that skips it.\n */\nexport interface FeedbackToastHostProps extends /* @vue-ignore */ ToastHostProps {\n /** The bus to render. Default: the app-wide `feedbackBus` singleton (what `notify()` publishes on). */\n readonly bus?: FeedbackBus;\n}\n\n/**\n * Maps a bus notice onto the imperative toast payload. `NoticeTone` is a subset of the toast\n * `Severity` vocabulary and `NoticeNode` is `ToastNode` — drift in either is a compile error.\n */\nfunction toToastOptions(notice: PublishedNotice): ToastOptions {\n return {\n title: notice.title,\n description: notice.description,\n severity: notice.tone,\n duration: notice.durationMs,\n action: notice.action,\n report: notice.report,\n };\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, watch } from 'vue';\nimport { feedbackBus, NoticeCategory } from '../../../feedback';\nimport ToastHost from '../toastHost/ToastHost.vue';\nimport { toastHost } from '../toastHost';\n\n/**\n * Renders the toast viewport and forwards every `/feedback` bus notice into `toastHost.toast()`.\n * All `ToastHostProps` pass through. Mount once per app **in place of** a bare `<ToastHost/>` —\n * mounting both would render every toast twice. Nothing toasts until this (or another subscriber)\n * is mounted; notices published before mount are dropped, so mount it at the app root.\n */\ndefineOptions({ name: 'FeedbackToastHost', inheritAttrs: false });\n\nconst props = defineProps<FeedbackToastHostProps>();\n\nconst attrs = useAttrs();\n\n/** A `computed` keeps the fallback reactive, so a swapped `bus` re-subscribes. */\nconst bus = computed(() => props.bus ?? feedbackBus);\n\n/*\n * React's `useEffect(() => bus.subscribe(...), [bus])`: `onCleanup` receives the\n * unsubscribe, so a changed `bus` drops the old subscription before opening the\n * new one, and scope disposal drops the last.\n */\nwatch(\n bus,\n (current, _previous, onCleanup) => {\n // Client-only, as the effect was: a server render has no viewport to forward into.\n if (typeof document === 'undefined') return;\n const toastIds = new Map<string, string>();\n const close = (id: string | null): void => {\n if (id !== null) {\n const toastId = toastIds.get(id);\n if (toastId) toastHost.dismiss(toastId);\n return;\n }\n for (const toastId of [...toastIds.values()]) toastHost.dismiss(toastId);\n };\n const unsubscribe = current.subscribe((notice) => {\n const options: ToastOptions = {\n ...toToastOptions(notice),\n onDelete: notice.category === NoticeCategory.Retained ? () => current.remove(notice.id) : undefined,\n onDismiss: () => {\n toastIds.delete(notice.id);\n },\n };\n const existing = toastIds.get(notice.id);\n if (existing) toastHost.update(existing, options);\n else toastIds.set(notice.id, toastHost.toast(options));\n });\n const unsubscribeDismiss = current.subscribeDismiss(close);\n onCleanup(() => {\n unsubscribe();\n unsubscribeDismiss();\n close(null);\n });\n },\n { immediate: true },\n);\n</script>\n\n<template>\n <!-- Every non-`bus` attr is a `ToastHost` prop by construction — see `FeedbackToastHostProps`. -->\n <ToastHost v-bind=\"attrs\" />\n</template>\n","<script lang=\"ts\">\nimport type { Size } from '../../../foundation/styles';\nimport type { SpinnerTone } from '../spinner/Spinner.variants';\n\nexport interface LoadingOverlayProps {\n /** The mount state. Default `true`. */\n readonly isOpen?: boolean;\n\n /** The caption under the spinner. Default `\"Loading…\"`. Rich content → the `label` slot. */\n readonly label?: string;\n\n /** The inline-positioning toggle — the scrim sits absolutely inside the parent (must be `position: relative`). */\n readonly isInline?: boolean;\n\n /** The backdrop-blur toggle. */\n readonly hasBlur?: boolean;\n\n /** The spinner diameter step. Default `lg`. */\n readonly spinnerSize?: Size;\n\n /** The spinner color tone. Default `brand`. */\n readonly spinnerTone?: SpinnerTone;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocale } from '../../../foundation/i18n';\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\nimport { FocusScope, Presence } from '../../../foundation/primitives';\nimport BackdropOverlay from '../../overlays/backdropOverlay/BackdropOverlay.vue';\nimport Spinner from '../spinner/Spinner.vue';\nimport { SpinnerTone as SpinnerToneToken } from '../spinner/Spinner.variants';\n\nconst locale = useLocale();\n\n/**\n * Renders a scrim and centered spinner that block interaction with a region during a long task.\n * `isInline` scopes the scrim to a `position: relative` parent; default covers the\n * viewport via `BackdropOverlay`.\n *\n * React split the scrim into a `forwardRef` `LoadingScrim` so the two branches\n * could share it and `Presence` had a spreadable node to clone. Vue's `Presence`\n * clones whatever single element it is given, so the two branches collapse into\n * one `<div>` whose position/elevation classes switch on `isInline` — same DOM,\n * one component fewer.\n */\ndefineOptions({ name: 'LoadingOverlay', inheritAttrs: false });\n\n/** Extra content below the label — React's `children`. */\ndefineSlots<{ default?(): unknown; label?(): unknown }>();\n\nconst componentProps = withDefaults(defineProps<LoadingOverlayProps>(), {\n isOpen: true,\n isInline: false,\n hasBlur: false,\n spinnerSize: SizeToken.Lg,\n spinnerTone: SpinnerToneToken.Brand,\n});\nconst props = useLocaleDefaults(componentProps, 'LoadingOverlay', { label: 'Loading…' });\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst hasLabel = computed(() => Boolean(props.label) || Boolean(slots.label));\n\n/** Falls back to `\"Loading\"` when the caller blanks the caption. */\nconst spinnerLabel = computed(() => props.label || locale.t('LoadingOverlay.loading', undefined, 'Loading'));\n\n/*\n * `data-state` is injected by <Presence>; the fade tokens are gated on it so\n * enter plays on mount and exit plays before Presence defers the unmount.\n * The inline scrim carries the tint and the blur itself; the viewport one is\n * click-through and leaves both to the portalled `BackdropOverlay` behind it.\n */\nconst classes = computed(() =>\n cn(\n 'flex flex-col items-center justify-center gap-3 outline-hidden',\n 'motion-safe:data-[state=open]:animate-(--animate-fade-in)',\n 'motion-safe:data-[state=closed]:animate-(--animate-fade-out)',\n 'motion-reduce:animate-none',\n props.isInline\n ? ['absolute inset-0 z-banner bg-background/70', props.hasBlur && 'backdrop-blur-sm']\n : 'fixed inset-0 z-modal pointer-events-none',\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <!-- `BackdropOverlay` self-wraps in `Presence`; driving its `isOpen` from ours lets its\n fade-out play before it defers its own unmount. -->\n <BackdropOverlay v-if=\"!props.isInline\" :isOpen=\"props.isOpen\" :is-blurred=\"props.hasBlur\" class=\"bg-background/70\" />\n <Presence :is-present=\"props.isOpen\">\n <!-- The viewport scrim blocks the pointer; the trap blocks the keyboard the same way, so Tab cannot reach — and\n Enter cannot trigger — the controls under it. Focus returns where it was when the scrim lifts. -->\n <FocusScope v-if=\"!props.isInline\" as-child is-trapped can-loop>\n <div ref=\"el\" role=\"status\" tabindex=\"-1\" v-bind=\"rest\" :class=\"classes\">\n <Spinner :size=\"props.spinnerSize\" :tone=\"props.spinnerTone\" :label=\"spinnerLabel\" />\n <div v-if=\"hasLabel\" class=\"text-sm text-foreground\">\n <slot name=\"label\">{{ props.label }}</slot>\n </div>\n <slot />\n </div>\n </FocusScope>\n <div v-else ref=\"el\" role=\"status\" v-bind=\"rest\" :class=\"classes\">\n <Spinner :size=\"props.spinnerSize\" :tone=\"props.spinnerTone\" :label=\"spinnerLabel\" />\n <div v-if=\"hasLabel\" class=\"text-sm text-foreground\">\n <slot name=\"label\">{{ props.label }}</slot>\n </div>\n <slot />\n </div>\n </Presence>\n</template>\n","<script lang=\"ts\">\nimport type { ProgressTone } from '../../../foundation/styles';\n\nexport interface SplashScreenProps {\n /** The mount state. Default `true`; closing fades the screen out before it unmounts. */\n readonly isOpen?: boolean;\n\n /** The overlay toggle — the screen covers the viewport above the app instead of filling its parent as a page. */\n readonly isOverlay?: boolean;\n\n /** The load progress, 0–`max`. Omit for indeterminate. */\n readonly value?: number;\n\n /** The value that completes the progress. Default `100`. */\n readonly max?: number;\n\n /** The progress fill tone. Default `brand`. */\n readonly tone?: ProgressTone;\n\n /** The accessible name of the progress. Default `\"Loading…\"`. */\n readonly label?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { FocusScope, Presence } from '../../../foundation/primitives';\nimport { cn, ProgressTone as ProgressToneToken, Size } from '../../../foundation/styles';\nimport ProgressBar from '../progressBar/ProgressBar.vue';\n\n/**\n * Renders an app's first-load screen: the product logo centred above a slim progress bar.\n * The default fills its parent as a page; `isOverlay` covers the viewport while the app mounts beneath it,\n * so closing it reveals the app with a fade. It appears without one.\n *\n * `role=\"status\"` is bound before `v-bind=\"rest\"`, so a caller-supplied `role` still wins. The overlay holds keyboard\n * focus the way `LoadingOverlay` does, then hands it back when it lifts.\n */\ndefineOptions({ name: 'SplashScreen', inheritAttrs: false });\n\ndefineSlots<{\n /** The product logo, centred above the progress bar. */\n logo?(): unknown;\n /** Extra content below the progress bar. */\n default?(): unknown;\n}>();\n\nconst componentProps = withDefaults(defineProps<SplashScreenProps>(), {\n isOpen: true,\n isOverlay: false,\n max: 100,\n tone: ProgressToneToken.Brand,\n});\nconst props = useLocaleDefaults(componentProps, 'SplashScreen', { label: 'Loading…' });\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\n/* No enter fade: the screen shows at once, so it can take over from a static twin in the mount node without a\n flash. <Presence> mounts children as `data-state=\"closed\"`, so the exit fade keys on `isOpen`, not on that state;\n Presence then defers the unmount until the fade ends. */\nconst classes = computed(() =>\n cn(\n 'flex flex-col items-center justify-center gap-6 bg-background px-6 text-center outline-hidden',\n !props.isOpen && 'motion-safe:animate-(--animate-fade-out)',\n props.isOverlay ? 'fixed inset-0 z-modal' : 'min-h-dvh w-full',\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <Presence :is-present=\"props.isOpen\">\n <!-- The overlay covers the pointer; the trap covers the keyboard, so Tab cannot reach the app mounting\n beneath it. Focus returns where it was when the overlay lifts. -->\n <FocusScope v-if=\"props.isOverlay\" as-child is-trapped can-loop>\n <div ref=\"el\" role=\"status\" tabindex=\"-1\" v-bind=\"rest\" :class=\"classes\">\n <slot name=\"logo\" />\n <ProgressBar\n :value=\"props.value\"\n :max=\"props.max\"\n :tone=\"props.tone\"\n :size=\"Size.Sm\"\n :label=\"props.label\"\n class=\"w-48 max-w-full\"\n />\n <slot />\n </div>\n </FocusScope>\n <div v-else ref=\"el\" role=\"status\" v-bind=\"rest\" :class=\"classes\">\n <slot name=\"logo\" />\n <ProgressBar\n :value=\"props.value\"\n :max=\"props.max\"\n :tone=\"props.tone\"\n :size=\"Size.Sm\"\n :label=\"props.label\"\n class=\"w-48 max-w-full\"\n />\n <slot />\n </div>\n </Presence>\n</template>\n","<script lang=\"ts\">\nimport type { OverlayPosition } from '../../../foundation/styles';\n\nexport interface UndoBarProps {\n readonly open: boolean;\n /** The snackbar copy. Rich content → the `message` slot. Supply this or the slot. */\n readonly message?: string;\n readonly undoLabel?: string;\n /** The auto-dismiss delay in ms; `Infinity` = sticky. Default 5000. */\n readonly duration?: number;\n readonly canPauseOnHover?: boolean;\n readonly position?: OverlayPosition;\n readonly hasCountdown?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { computed, getCurrentInstance, onUnmounted, ref, useAttrs, watch } from 'vue';\nimport { cn, OverlayPosition as OverlayPositionToken, surfaceVariants } from '../../../foundation/styles';\nimport { Portal, Presence } from '../../../foundation/primitives';\n\nconst PositionClass: Record<OverlayPosition, string> = {\n 'top-right': 'top-4 right-4',\n 'top-left': 'top-4 left-4',\n 'top-center': 'top-4 left-1/2 -translate-x-1/2',\n 'bottom-right': 'bottom-4 right-4',\n 'bottom-left': 'bottom-4 left-4',\n 'bottom-center': 'bottom-4 left-1/2 -translate-x-1/2',\n};\n\n/**\n * Renders a snackbar carrying one message and a single \"Undo\" action.\n * Auto-dismisses after `duration`; pause-on-hover preserves remaining time. For multi-toast queues\n * use the L5 `ToastHost` instead.\n *\n * React's `className` arrives as the ordinary `class` attr and is merged onto\n * the panel, not the positioning wrapper — the same node it landed on in React.\n */\ndefineOptions({ name: 'UndoBar', inheritAttrs: false });\n\nconst componentProps = withDefaults(defineProps<UndoBarProps>(), {\n duration: 5000,\n canPauseOnHover: true,\n position: OverlayPositionToken.BottomCenter,\n hasCountdown: false,\n});\nconst props = useLocaleDefaults(componentProps, 'UndoBar', { undoLabel: 'Undo' });\n\nconst emit = defineEmits<{\n /** Fires when the bar opens or closes — it closes on auto-dismiss and right after Undo. */\n 'update:open': [open: boolean];\n /** Fires when the reader presses Undo; omitting `@undo` omits the button. */\n undo: [];\n}>();\n\ndefineSlots<{\n /** The snackbar message. Falls back to the `message` prop. */\n message?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst instance = getCurrentInstance();\n\n/**\n * Mirrors React's `onUndo && <button/>` guard — the undo button renders only\n * when the consumer bound `@undo`. Read through a call, not a cached computed:\n * `instance.vnode` is replaced on every re-render.\n */\nconst hasUndo = () => Boolean(instance?.vnode.props?.onUndo);\n\nconst progress = ref(1);\nconst hovered = ref(false);\nconst focused = ref(false);\nconst paused = computed(() => props.canPauseOnHover && (hovered.value || focused.value));\n\n/* `useRef` counterparts — read/written across ticks, never rendered. */\nlet start = 0;\nlet remaining = props.duration;\nlet raf: number | null = null;\n\n/**\n * The React `useEffect` timer, dep-for-dep: `[isOpen, duration, paused, hasCountdown]`.\n * `flush: 'post'` is the `useEffect` analogue, and `onCleanup` replays the\n * teardown that banks the elapsed time back into `remaining`.\n */\nwatch(\n [() => props.open, () => props.duration, paused, () => props.hasCountdown],\n ([isOpen, duration, isPaused, hasCountdown], previous, onCleanup) => {\n if (!previous[0] || previous[1] !== duration) {\n remaining = duration;\n progress.value = 1;\n }\n if (!isOpen) {\n remaining = duration;\n progress.value = 1;\n hovered.value = false;\n focused.value = false;\n return;\n }\n if (duration === Infinity) {\n progress.value = 1;\n return;\n }\n if (isPaused) return;\n /* `immediate: true` runs this watcher on the server too, and an UndoBar is rendered\n `is-open`. Neither `window` nor `requestAnimationFrame` exists there — start no clock;\n the same watcher arms it on the client, where the countdown is the only thing it drives. */\n if (typeof window === 'undefined' || typeof requestAnimationFrame === 'undefined') return;\n\n start = performance.now();\n if (!hasCountdown) {\n // No visible countdown — a single timeout, no per-frame re-renders.\n const handle = window.setTimeout(() => {\n emit('update:open', false);\n }, remaining);\n onCleanup(() => {\n window.clearTimeout(handle);\n const elapsed = performance.now() - start;\n remaining = Math.max(0, remaining - elapsed);\n });\n return;\n }\n const tick = (now: number) => {\n const elapsed = now - start;\n const left = Math.max(0, remaining - elapsed);\n progress.value = left / duration;\n if (left <= 0) {\n emit('update:open', false);\n return;\n }\n raf = requestAnimationFrame(tick);\n };\n raf = requestAnimationFrame(tick);\n onCleanup(() => {\n if (raf != null) cancelAnimationFrame(raf);\n const elapsed = performance.now() - start;\n remaining = Math.max(0, remaining - elapsed);\n });\n },\n { immediate: true, flush: 'post' },\n);\n\nonUnmounted(() => {\n if (raf != null) cancelAnimationFrame(raf);\n});\n\nfunction onFocusout(event: FocusEvent): void {\n const panel = event.currentTarget as HTMLElement;\n if (!(event.relatedTarget instanceof Node) || !panel.contains(event.relatedTarget)) focused.value = false;\n}\n\nconst onUndoClick = () => {\n emit('undo');\n emit('update:open', false);\n};\n\nconst wrapperClasses = computed(() => cn('fixed z-toast', PositionClass[props.position]));\n\n/**\n * `Presence` clones `data-state` onto this node, and the enter/exit tokens are\n * gated on it. slide-in-bottom/out-bottom carry their own fade; `motion-safe`\n * so reduced-motion users get no movement.\n */\nconst panelClasses = computed(() =>\n cn(\n 'relative flex items-center gap-3 overflow-hidden text-sm',\n surfaceVariants({ variant: 'surface', radius: 'md', padding: 'sm', elevation: 3 }),\n 'px-4 py-2.5',\n 'motion-safe:data-[state=open]:animate-(--animate-slide-in-bottom)',\n 'motion-safe:data-[state=closed]:animate-(--animate-slide-out-bottom)',\n 'motion-reduce:animate-none',\n attrs.class as string | undefined,\n ),\n);\n\nconst showCountdown = computed(() => props.hasCountdown && props.duration !== Infinity);\n</script>\n\n<template>\n <!--\n Static positioning wrapper holds the fixed corner + (for `*-center`) the\n centering `-translate-x-1/2`; the inner panel carries the slide keyframe,\n whose own `translateY` would otherwise clobber that centering translate if\n both sat on one node. `Portal` stays mounted; `Presence` owns the panel's\n mount so the exit (slide-out + fade) plays before unmount, cloning\n `data-state` onto the panel for its motion.\n -->\n <Portal>\n <div :class=\"wrapperClasses\">\n <Presence :is-present=\"props.open\">\n <div\n role=\"status\"\n aria-live=\"polite\"\n :class=\"panelClasses\"\n @mouseenter=\"hovered = true\"\n @mouseleave=\"hovered = false\"\n @focusin=\"focused = true\"\n @focusout=\"onFocusout\"\n >\n <span class=\"flex-1\">\n <slot name=\"message\">{{ props.message }}</slot>\n </span>\n <button\n v-if=\"hasUndo()\"\n type=\"button\"\n class=\"font-medium text-primary-soft-foreground transition-colors hover:underline focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring rounded-sm px-1\"\n @click=\"onUndoClick\"\n >\n {{ props.undoLabel }}\n </button>\n <div v-if=\"showCountdown\" class=\"absolute bottom-0 left-0 h-0.5 w-full bg-border\">\n <div\n class=\"h-full bg-primary transition-[width] duration-100 ease-linear\"\n :style=\"{ width: `${progress * 100}%` }\"\n />\n </div>\n </div>\n </Presence>\n </div>\n </Portal>\n</template>\n","<script lang=\"ts\">\nimport type { Size } from '../../../foundation/styles';\n\n/** Defines the TypingIndicator dot tone. */\nexport const TypingTone = {\n /** Refers to the muted-foreground tone. */\n Muted: 'muted',\n /** Refers to the primary / brand tone. */\n Primary: 'primary',\n /** Refers to the full-emphasis foreground tone. */\n Foreground: 'foreground',\n} as const;\n\nexport type TypingTone = (typeof TypingTone)[keyof typeof TypingTone];\n\nexport interface TypingIndicatorProps {\n /** The optional name(s) of who is typing — rendered as a leading label. Rich content → the `who` slot. */\n readonly who?: string;\n\n /** The visual size of the bouncing dots. */\n readonly size?: Size;\n\n /** The color of the dots; defaults to muted. */\n readonly tone?: TypingTone;\n\n /** The subtle-mode flag — tones down dot opacity at rest (between bounces). */\n readonly isSubtle?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocale } from '../../../foundation/i18n';\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\n\nconst locale = useLocale();\n\n/* Only sm/md/lg carry a dot size; other `Size` members fall through to `md`. */\nconst SizeDot: Partial<Record<Size, string>> = {\n sm: 'h-1 w-1',\n md: 'h-1.5 w-1.5',\n lg: 'h-2 w-2',\n};\n\nconst ToneClass: Record<TypingTone, string> = {\n muted: 'bg-muted-foreground',\n primary: 'bg-primary',\n foreground: 'bg-foreground',\n};\n\n/**\n * Renders an optional \"who\" label beside three animating dots — the \"someone is typing\" cue.\n * Honors `prefers-reduced-motion` via Tailwind's `motion-safe:` / `motion-reduce:` modifiers — dots\n * stay visible at full opacity when motion is reduced.\n */\ndefineOptions({ name: 'TypingIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<TypingIndicatorProps>(), {\n size: SizeToken.Md,\n tone: TypingTone.Muted,\n});\n\ndefineSlots<{\n /** The \"who is typing\" label. Falls back to the `who` prop. */\n who?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLSpanElement>('el');\n\nconst hasWho = computed(() => Boolean(props.who) || Boolean(slots.who));\n\nconst dot = computed(() =>\n cn(\n 'inline-block rounded-full motion-safe:animate-bounce',\n SizeDot[props.size] ?? SizeDot.md,\n ToneClass[props.tone],\n props.isSubtle && 'motion-safe:opacity-60',\n ),\n);\n\n/** Only the string `who` prop can name the typist; the slot form falls back to the generic label. */\nconst ariaLabel = computed(() =>\n props.who\n ? locale.t('TypingIndicator.named', { name: props.who }, '{name} is typing')\n : locale.t('TypingIndicator.typing', undefined, 'Typing'),\n);\n\nconst classes = computed(() =>\n cn('inline-flex items-center gap-2 text-xs text-muted-foreground', attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <span ref=\"el\" role=\"status\" aria-live=\"polite\" :aria-label=\"ariaLabel\" v-bind=\"rest\" :class=\"classes\">\n <span v-if=\"hasWho\" class=\"truncate\">\n <slot name=\"who\">{{ props.who }}</slot>\n </span>\n <span class=\"inline-flex items-end gap-1\" aria-hidden=\"true\">\n <span :class=\"dot\" :style=\"{ animationDelay: '0ms' }\" />\n <span :class=\"dot\" :style=\"{ animationDelay: '150ms' }\" />\n <span :class=\"dot\" :style=\"{ animationDelay: '300ms' }\" />\n </span>\n </span>\n</template>\n","<script lang=\"ts\">\nimport type { CornerPosition, Size } from '../../../foundation/styles';\n\n/** Defines a person's presence state. */\nexport const PresenceStatus = {\n /** Refers to actively available. */\n Online: 'online',\n /** Refers to present but inactive. */\n Idle: 'idle',\n /** Refers to present but do-not-disturb. */\n Busy: 'busy',\n /** Refers to not connected. */\n Offline: 'offline',\n /** Refers to connected but appearing offline. */\n Invisible: 'invisible',\n} as const;\n\nexport type PresenceStatus = (typeof PresenceStatus)[keyof typeof PresenceStatus];\n\nexport interface PresenceIndicatorProps {\n readonly status?: PresenceStatus;\n /** The dot diameter. */\n readonly size?: Size;\n\n /** The pulsing-ring toggle (only meaningful for `online`). */\n readonly hasPulse?: boolean;\n\n /** The corner position on a parent (use inside an Avatar wrapper). */\n readonly position?: CornerPosition;\n\n /** The accessible-label override. Defaults to status name. */\n readonly label?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocale } from '../../../foundation/i18n';\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\n\nconst locale = useLocale();\n\nconst StatusBackground: Record<PresenceStatus, string> = {\n online: 'bg-success',\n idle: 'bg-warning',\n busy: 'bg-destructive',\n offline: 'bg-muted-foreground',\n invisible: 'bg-transparent border border-muted-foreground',\n};\n\n/* Only xs/sm/md/lg carry a dot size; other `Size` members fall through to `sm`. */\nconst SizeDot: Partial<Record<Size, string>> = {\n xs: 'h-1.5 w-1.5',\n sm: 'h-2 w-2',\n md: 'h-2.5 w-2.5',\n lg: 'h-3 w-3',\n};\n\nconst PositionClass: Record<CornerPosition, string> = {\n 'top-right': 'absolute top-0 right-0',\n 'top-left': 'absolute top-0 left-0',\n 'bottom-right': 'absolute bottom-0 right-0',\n 'bottom-left': 'absolute bottom-0 left-0',\n};\n\nconst StatusLabel: Record<PresenceStatus, string> = {\n online: 'Online',\n idle: 'Idle',\n busy: 'Busy',\n offline: 'Offline',\n invisible: 'Invisible',\n};\n\n/**\n * Renders a colored dot encoding a person's presence — online / idle / busy / offline / invisible.\n * Includes a `ring-background` so it pops cleanly when overlaid on an `Avatar`.\n * Pass `position` to absolutely place it on a positioned parent.\n */\ndefineOptions({ name: 'PresenceIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<PresenceIndicatorProps>(), {\n status: PresenceStatus.Online,\n size: SizeToken.Sm,\n});\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLSpanElement>('el');\n\nconst showPulse = computed(() => Boolean(props.hasPulse) && props.status === PresenceStatus.Online);\n\nconst classes = computed(() =>\n cn(\n 'inline-flex rounded-full ring-2 ring-background',\n StatusBackground[props.status],\n SizeDot[props.size] ?? SizeDot.sm,\n props.position && PositionClass[props.position],\n 'relative',\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <span\n ref=\"el\"\n role=\"status\"\n :aria-label=\"props.label ?? locale.t('PresenceIndicator.' + props.status, undefined, StatusLabel[props.status])\"\n :data-status=\"props.status\"\n v-bind=\"rest\"\n :class=\"classes\"\n >\n <span\n v-if=\"showPulse\"\n aria-hidden=\"true\"\n :class=\"cn('absolute inset-0 rounded-full opacity-75 motion-safe:animate-ping', StatusBackground.online)\"\n />\n </span>\n</template>\n","<script lang=\"ts\">\nexport interface LiveCursorIndicatorProps {\n /** The pixel offset from the parent's top-left corner. */\n readonly x: number;\n readonly y: number;\n /** The display name shown beside the pointer. Rich content → the `name` slot. */\n readonly name?: string;\n\n /** The CSS color used for the pointer fill and label background. */\n readonly color?: string;\n\n /** The smooth-movement toggle between updates. Defaults to true; auto-disables with reduced motion. */\n readonly isSmooth?: boolean;\n\n /** The pixel offset for the label relative to the pointer. */\n readonly labelOffset?: { x?: number; y?: number };\n\n /** The pointer-only toggle — hides the label and shows only the pointer. */\n readonly isPointerOnly?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useSlots, useTemplateRef, type CSSProperties } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { useReducedMotion } from '../../../foundation/device';\n\n/**\n * Renders a remote user's cursor and name label on a collaborative canvas.\n * Wrap in a `relative` parent; places itself absolutely at `(x, y)`, smoothing movement unless\n * reduced-motion.\n */\ndefineOptions({ name: 'LiveCursorIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<LiveCursorIndicatorProps>(), {\n color: 'var(--color-primary)',\n isSmooth: true,\n});\n\ndefineSlots<{\n /** The cursor name label. Falls back to the `name` prop. */\n name?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst reducedMotion = useReducedMotion();\nconst useTransition = computed(() => props.isSmooth && !reducedMotion.value);\n\nconst lx = computed(() => props.labelOffset?.x ?? 12);\nconst ly = computed(() => props.labelOffset?.y ?? 16);\n\nconst hasName = computed(() => Boolean(props.name) || Boolean(slots.name));\n\nconst wrapperStyle = computed<CSSProperties>(() => ({\n transform: `translate3d(${props.x}px, ${props.y}px, 0)`,\n transition: useTransition.value ? 'transform 80ms linear' : undefined,\n}));\n\nconst labelStyle = computed<CSSProperties>(() => ({\n backgroundColor: props.color,\n transform: `translate(${lx.value}px, ${ly.value}px)`,\n}));\n\nconst classes = computed(() =>\n cn('pointer-events-none absolute left-0 top-0 z-tooltip select-none', attrs.class as string | undefined),\n);\n\n/**\n * Everything but `class` and `style` — both are re-applied by hand. The array\n * `:style` binding reproduces React's `{ ...wrapperStyle, ...style }` merge\n * (caller wins) while tolerating the string form Vue also allows for `style`.\n */\nconst rest = computed(() => {\n const { class: _class, style: _style, ...others } = attrs;\n return others;\n});\n\nconst callerStyle = computed(() => attrs.style as CSSProperties | string | undefined);\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" aria-hidden=\"true\" v-bind=\"rest\" :class=\"classes\" :style=\"[wrapperStyle, callerStyle ?? {}]\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" class=\"drop-shadow-sm\">\n <path\n d=\"M5 3 L5 19 L9.5 14.5 L12.5 21 L15.5 19.5 L12.5 13 L19 13 Z\"\n :fill=\"props.color\"\n stroke=\"white\"\n stroke-width=\"1.25\"\n stroke-linejoin=\"round\"\n />\n </svg>\n <span\n v-if=\"hasName && !props.isPointerOnly\"\n class=\"absolute whitespace-nowrap rounded-md px-1.5 py-0.5 text-[11px] font-medium leading-none text-white shadow-sm\"\n :style=\"labelStyle\"\n >\n <slot name=\"name\">{{ props.name }}</slot>\n </span>\n </div>\n</template>\n","<script lang=\"ts\">\nexport interface PasswordStrengthCalloutProps {\n /** The password to measure. */\n readonly value: string;\n\n /** The override score (0–4). When set, internal scoring is bypassed. */\n readonly score?: 0 | 1 | 2 | 3 | 4;\n\n /** The hidden state for the textual label under the bar. */\n readonly isLabelHidden?: boolean;\n}\n\nconst StrengthLabels = ['Too weak', 'Weak', 'Fair', 'Strong', 'Excellent'];\nconst ToneClass = ['bg-destructive', 'bg-destructive', 'bg-warning', 'bg-success', 'bg-success'];\n\nfunction scorePassword(pw: string): 0 | 1 | 2 | 3 | 4 {\n let score = 0;\n if (pw.length >= 8) score++;\n if (pw.length >= 12) score++;\n if (/[a-z]/.test(pw) && /[A-Z]/.test(pw)) score++;\n if (/\\d/.test(pw)) score++;\n if (/[^A-Za-z0-9]/.test(pw)) score++;\n /* Length dominates guessability: a short password stays \"Weak\" however many character classes it mixes. */\n const ceiling = pw.length < 8 ? 1 : 4;\n return Math.min(ceiling, score) as 0 | 1 | 2 | 3 | 4;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocale } from '../../../foundation/i18n';\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport type { ClassValue } from 'clsx';\nimport { cn } from '../../../foundation/styles';\n\nconst locale = useLocale();\n\n/** Renders a four-bar password strength meter from naive 0–4 scoring, or from a `score` you supply. */\n/* `inheritAttrs: false` so `class` folds into the component's own `cn()` call — plain fallthrough\n appends outside it and loses tailwind-merge conflict resolution. */\ndefineOptions({ name: 'PasswordStrengthCallout', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<PasswordStrengthCalloutProps>(), {\n score: undefined,\n /* Explicit `undefined` default: Vue casts an absent `boolean` prop to `false`, which is the\n same rendering here, but the prop stays a genuine tri-state for consumers reading it. */\n isLabelHidden: undefined,\n});\n\nconst attrs = useAttrs();\n\nconst resolvedScore = computed<0 | 1 | 2 | 3 | 4>(\n () => props.score ?? (props.value.length === 0 ? 0 : scorePassword(props.value)),\n);\n\nconst label = computed(() =>\n locale.t('PasswordStrengthCallout.score' + resolvedScore.value, undefined, StrengthLabels[resolvedScore.value] ?? ''),\n);\nconst tone = computed(() => ToneClass[resolvedScore.value] ?? 'bg-destructive');\n\nfunction barClass(index: number): string {\n return cn('h-1 flex-1 rounded-full bg-muted transition-colors', index < resolvedScore.value && tone.value);\n}\n\n/* The verdict is always spoken once there is a password; `isLabelHidden` only hides it visually. */\nconst hasVerdict = computed(() => Boolean(props.value) || props.score !== undefined);\nconst labelClass = computed(() => (props.isLabelHidden ? 'sr-only' : 'text-xs text-muted-foreground'));\n\nconst OwnedAttributes: ReadonlySet<string> = new Set(['class']);\nconst passthroughAttrs = computed(() =>\n Object.fromEntries(Object.entries(attrs).filter(([key]) => !OwnedAttributes.has(key))),\n);\n\nconst rootClass = computed(() => cn('flex flex-col gap-1', attrs.class as ClassValue));\n\nconst root = useTemplateRef<HTMLDivElement>('root');\n\n/** The rendered element — the Vue stand-in for the React original's forwarded ref. */\ndefineExpose({ el: root });\n</script>\n\n<template>\n <div ref=\"root\" :class=\"rootClass\" v-bind=\"passthroughAttrs\">\n <div class=\"flex gap-1\" aria-hidden=\"true\">\n <div v-for=\"i in 4\" :key=\"i\" :class=\"barClass(i - 1)\" />\n </div>\n <div v-if=\"hasVerdict\" aria-live=\"polite\" :class=\"labelClass\">\n <!-- The separating space lives inside the string: template whitespace beside a tag is condensed away. -->\n <span class=\"sr-only\">{{\n `${locale.t('PasswordStrengthCallout.prefix', undefined, 'Password strength:')} `\n }}</span\n >{{ label }}\n </div>\n </div>\n</template>\n","<script lang=\"ts\">\nexport interface CharacterCountCalloutProps {\n /** The current length. */\n readonly value: number;\n\n /** The maximum allowed length (also flips text to destructive when exceeded). */\n readonly max: number;\n\n /** The display mode — `current / max` (default) or just `current`. */\n readonly isMaxShown?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport type { ClassValue } from 'clsx';\nimport { cn } from '../../../foundation/styles';\nimport { useLocale } from '../../../foundation/i18n';\n\n/** Renders the live character count for a limited field, going destructive once `value` passes `max`. */\n/* `inheritAttrs: false` so `class` folds into the component's own `cn()` call — plain fallthrough\n appends outside it and loses tailwind-merge conflict resolution. */\ndefineOptions({ name: 'CharacterCountCallout', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<CharacterCountCalloutProps>(), { isMaxShown: true });\n\nconst attrs = useAttrs();\n\nconst locale = useLocale();\nconst isOver = computed(() => props.value > props.max);\n\n/* Speaking every keystroke's \"12 / 280\" floods a screen reader. The visible count stays silent; a spoken sentence\n appears only in the last tenth of the budget and past it — the moment the limit matters. */\nconst announcement = computed(() => {\n const remaining = props.max - props.value;\n if (remaining < 0) {\n return locale.t('CharacterCountCallout.over', { count: -remaining }, '{count} characters over the limit');\n }\n if (remaining <= Math.max(1, Math.ceil(props.max * 0.1))) {\n return locale.t('CharacterCountCallout.left', { count: remaining }, '{count} characters left');\n }\n return '';\n});\n\nconst OwnedAttributes: ReadonlySet<string> = new Set(['class']);\nconst passthroughAttrs = computed(() =>\n Object.fromEntries(Object.entries(attrs).filter(([key]) => !OwnedAttributes.has(key))),\n);\n\nconst rootClass = computed(() =>\n cn(\n 'text-right text-xs',\n // `-soft-foreground`: the tone's text token, AA on every neutral surface in every theme.\n isOver.value ? 'text-destructive-soft-foreground' : 'text-muted-foreground',\n attrs.class as ClassValue,\n ),\n);\n\nconst root = useTemplateRef<HTMLDivElement>('root');\n\n/** The rendered element — the Vue stand-in for the React original's forwarded ref. */\ndefineExpose({ el: root });\n</script>\n\n<template>\n <div ref=\"root\" :class=\"rootClass\" v-bind=\"passthroughAttrs\">\n <span aria-hidden=\"true\">{{ value }}{{ isMaxShown ? ` / ${max}` : '' }}</span>\n <span class=\"sr-only\" aria-live=\"polite\">{{ announcement }}</span>\n </div>\n</template>\n","<script lang=\"ts\">\n/** Defines props for the subtree error boundary. */\nexport interface ErrorBoundaryProps {\n /** Values that clear a caught error when any of them changes — a route id, a record id, a retry count. */\n readonly resetKeys?: ReadonlyArray<unknown>;\n\n /** The built-in fallback's heading. Default `\"Something went wrong\"`, localized. */\n readonly title?: string;\n\n /** The built-in fallback's retry button text. Default `\"Try again\"`, localized. */\n readonly retryLabel?: string;\n}\n\n/**\n * @internal The error-info tags Vue reports for a listener that threw — the development text and the\n * production reference code. A failed handler leaves the subtree rendered, as React boundaries do.\n */\nconst HandlerErrorInfo = [\n 'native event handler',\n 'component event handler',\n 'https://vuejs.org/error-reference/#runtime-5',\n 'https://vuejs.org/error-reference/#runtime-6',\n] as const;\n\n/** @internal Whether a captured error came from an event handler rather than rendering or a lifecycle. */\nfunction isHandlerError(info: string): boolean {\n return (HandlerErrorInfo as ReadonlyArray<string>).includes(info);\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, onErrorCaptured, shallowRef, useAttrs, watch } from 'vue';\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { cn } from '../../../foundation/styles';\n\n/**\n * Renders its subtree until a descendant throws while rendering, setting up, updating or running a\n * lifecycle hook or watcher, then renders a fallback with a retry that remounts the subtree.\n */\ndefineOptions({ name: 'ErrorBoundary', inheritAttrs: false });\n\ndefineSlots<{\n /** The guarded subtree. */\n default(): unknown;\n\n /** Replaces the built-in fallback; receives the caught error and the reset. */\n fallback?(props: { error: unknown; reset: () => void }): unknown;\n}>();\n\nconst componentProps = withDefaults(defineProps<ErrorBoundaryProps>(), {\n resetKeys: () => [],\n});\nconst props = useLocaleDefaults(componentProps, 'ErrorBoundary', {\n title: 'Something went wrong',\n retryLabel: 'Try again',\n});\n\nconst emit = defineEmits<{\n /** Fires for every error a descendant throws, with Vue's error-info tag; handler errors keep the subtree. */\n error: [error: unknown, info: string];\n\n /** Fires when a caught error clears — the retry, or a `resetKeys` change. */\n reset: [];\n}>();\n\nconst attrs = useAttrs();\n\n/** The caught error, wrapped so a thrown `null` or `undefined` still counts as caught. */\nconst caught = shallowRef<{ readonly error: unknown } | null>(null);\n\nconst hasError = computed(() => caught.value !== null);\n\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\n/** The built-in fallback's classes, with the caller's `class` merged last. */\nconst fallbackClass = computed(() =>\n cn(\n 'space-y-2 rounded-md border border-destructive/40 bg-destructive-soft p-3',\n 'text-sm text-destructive-soft-foreground',\n attrs.class as string | undefined,\n ),\n);\n\n/** Clears a caught error when any reset key changes. */\nwatch(\n () => [...props.resetKeys],\n (next, previous) => {\n if (next.length === previous.length && next.every((value, index) => Object.is(value, previous[index]))) return;\n if (hasError.value) reset();\n },\n);\n\n/** Swaps rendering and lifecycle failures for the fallback; a handler failure only reports and propagates. */\nonErrorCaptured((error, _instance, info) => {\n emit('error', error, info);\n if (isHandlerError(info)) return true;\n caught.value = { error };\n return false;\n});\n\n/** Clears the caught error, which remounts the subtree. */\nfunction reset(): void {\n if (!hasError.value) return;\n caught.value = null;\n emit('reset');\n}\n</script>\n\n<template>\n <slot v-if=\"!caught\" />\n <slot v-else name=\"fallback\" :error=\"caught.error\" :reset=\"reset\">\n <div role=\"alert\" v-bind=\"rest\" :class=\"fallbackClass\">\n <p class=\"font-medium\">{{ props.title }}</p>\n <button\n type=\"button\"\n class=\"rounded-sm font-medium underline underline-offset-2 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring\"\n @click=\"reset\"\n >\n {{ props.retryLabel }}\n </button>\n </div>\n </slot>\n</template>\n"],"names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot","_createBlock","_resolveDynamicComponent","_hoisted_2","_toDisplayString","_unref","_Fragment","_renderList","SkeletonState","_createVNode","EmptyState","_createSlots","Button","$slots","_createElementVNode","_normalizeStyle","ToneClass","AlertSimple","_hoisted_1","_createTextVNode","_hoisted_3","_hoisted_4","Icon","BannerSimple","_hoisted_5","Spinner","OrientationToken","_normalizeClass","ToastHost","BackdropOverlay","FocusScope","ProgressBar","Portal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,UAAM,QAAQ;AAOd,UAAM,QAAQ,S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AA,EAAM,KAAK,GAAA,CAAA;AAAA,UACrCS,mBAMS,UAAA;AAAA,YALP,MAAK;AAAA,YACL,OAAM;AAAA,YACL,SAAO;AAAA,UAAA,GAELV,gBAAAC,MAAA,KAAA,EAAM,UAAU,GAAA,CAAA;AAAA,QAAA;;;;;"}
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.vue_vue_type_script_setup_true_lang-LRQbVAiW.js","sources":["../../src/presentation/feedback/skeletonState/SkeletonState.vue","../../src/presentation/feedback/skeletonState/SkeletonStateSlot.vue","../../src/presentation/feedback/skeletonState/SkeletonStateGroup.vue","../../src/presentation/feedback/skeletonState/SkeletonStateText.vue","../../src/presentation/feedback/skeletonState/UseSkeletonItems.ts","../../src/presentation/feedback/dataRegion/DataRegion.vue","../../src/presentation/feedback/progressBar/ProgressBar.variants.ts","../../src/presentation/feedback/progressBar/ProgressBar.vue","../../src/presentation/feedback/progressCircleIndicator/ProgressCircleIndicator.vue","../../src/presentation/feedback/alertSimple/AlertSimple.variants.ts","../../src/presentation/feedback/alertSimple/AlertSimple.vue","../../src/presentation/feedback/bannerSimple/BannerSimple.variants.ts","../../src/presentation/feedback/bannerSimple/BannerSimple.vue","../../src/presentation/feedback/toastSimple/ToastSimple.variants.ts","../../src/presentation/feedback/alert/Alert.vue","../../src/presentation/feedback/banner/Banner.vue","../../src/presentation/feedback/callout/Callout.vue","../../src/presentation/feedback/inlineSpinner/InlineSpinner.vue","../../src/presentation/feedback/loadingState/LoadingState.vue","../../src/presentation/feedback/progressStepsIndicator/ProgressStepsIndicator.vue","../../src/presentation/feedback/statusIndicator/StatusIndicator.vue","../../src/presentation/feedback/meterBar/MeterBar.vue","../../src/presentation/feedback/trendIndicator/TrendIndicator.vue","../../src/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue","../../src/presentation/feedback/loadingOverlay/LoadingOverlay.vue","../../src/presentation/feedback/splashScreen/SplashScreen.vue","../../src/presentation/feedback/undoBar/UndoBar.vue","../../src/presentation/feedback/typingIndicator/TypingIndicator.vue","../../src/presentation/feedback/presenceIndicator/PresenceIndicator.vue","../../src/presentation/feedback/liveCursorIndicator/LiveCursorIndicator.vue","../../src/presentation/feedback/passwordStrengthCallout/PasswordStrengthCallout.vue","../../src/presentation/feedback/characterCountCallout/CharacterCountCallout.vue","../../src/presentation/feedback/errorBoundary/ErrorBoundary.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { SkeletonStateAnimation, SkeletonStateShape } from './SkeletonState.variants';\n\nexport interface SkeletonStateProps {\n /** The placeholder shape. */\n readonly shape?: SkeletonStateShape;\n /** How the placeholder moves; defaults to the nearest `SkeletonStateGroup`'s, else `pulse`. */\n readonly animation?: SkeletonStateAnimation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { skeletonVariants } from './SkeletonState.variants';\nimport { useSkeletonStateGroup } from './SkeletonStateContext';\n\n/**\n * Renders a shimmering placeholder block standing in for content that is still loading.\n * Size it via `class` (e.g. `w-32 h-4`) for text lines, or pass `shape=\"rect\"` for a full block.\n */\ndefineOptions({ name: 'SkeletonState', inheritAttrs: false });\n\nconst props = defineProps<SkeletonStateProps>();\n\ndefineSlots<{\n /** The content shaping the placeholder. Sizing classes alone when omitted. */\n default?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst group = useSkeletonStateGroup();\nconst classes = computed(() =>\n cn(\n skeletonVariants({ shape: props.shape, animation: props.animation ?? group?.animation.value }),\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" aria-hidden=\"true\" v-bind=\"rest\" :class=\"classes\"><slot /></div>\n</template>\n","<script lang=\"ts\">\nimport type { SkeletonStateAnimation, SkeletonStateShape } from './SkeletonState.variants';\n\nexport interface SkeletonStateSlotProps {\n /** Overrides the nearest `SkeletonStateGroup`'s loading flag. */\n readonly isLoading?: boolean;\n /** The placeholder's corners; its size always comes from the content. Default `text`. */\n readonly shape?: SkeletonStateShape;\n /** Renders a block-level wrapper for block content — bars, charts, cards. Default `false`. */\n readonly isBlock?: boolean;\n /** How the placeholder moves; defaults to the nearest `SkeletonStateGroup`'s. */\n readonly animation?: SkeletonStateAnimation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { skeletonSlotVariants } from './SkeletonState.variants';\nimport { useSkeletonStateGroup } from './SkeletonStateContext';\n\n/**\n * Wraps a real value and, while loading, paints a placeholder exactly its size — the content stays\n * mounted but invisible, so labels and layout hold still and only the value turns into a skeleton.\n */\ndefineOptions({ name: 'SkeletonStateSlot', inheritAttrs: false });\n\n/* `isLoading: undefined` is load-bearing: Vue casts an absent `Boolean` prop to `false`, which would\n override the group's flag. */\nconst props = withDefaults(defineProps<SkeletonStateSlotProps>(), { isLoading: undefined, isBlock: false });\n\ndefineSlots<{\n /** The value; its size shapes the placeholder while loading. */\n default?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLElement>('el');\nconst group = useSkeletonStateGroup();\nconst loading = computed(() => props.isLoading ?? group?.isLoading.value ?? false);\n\n/** The placeholder merges last, so a caller's text colour or background cannot show through it. */\nconst classes = computed(() =>\n cn(\n props.isBlock ? 'block' : 'inline-block',\n attrs.class as string | undefined,\n loading.value && skeletonSlotVariants({ shape: props.shape, animation: props.animation ?? group?.animation.value }),\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <component\n :is=\"props.isBlock ? 'div' : 'span'\"\n ref=\"el\"\n v-bind=\"rest\"\n :class=\"classes\"\n :aria-hidden=\"loading || undefined\"\n :data-loading=\"loading || undefined\"\n >\n <slot />\n </component>\n</template>\n","<script lang=\"ts\">\nimport type { SkeletonStateAnimation } from './SkeletonState.variants';\n\nexport interface SkeletonStateGroupProps {\n /** Whether the region is loading; every `SkeletonStateSlot` inside follows it. */\n readonly isLoading: boolean;\n /** The one announcement for the region while it loads. Default `Loading…`. */\n readonly label?: string;\n /** How every skeleton inside moves. */\n readonly animation?: SkeletonStateAnimation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, provide, useTemplateRef } from 'vue';\nimport { useLocale } from '../../../foundation/i18n';\nimport { skeletonStateGroupKey, useSkeletonStateGroup } from './SkeletonStateContext';\n\n/**\n * Renders a loading region: marks itself `aria-busy`, announces once, and switches every\n * `SkeletonStateSlot` inside at the same moment — the skeleton swap for first loads and asked-for refreshes.\n */\ndefineOptions({ name: 'SkeletonStateGroup' });\n\nconst props = defineProps<SkeletonStateGroupProps>();\n\ndefineSlots<{\n /** The region: its labels, headings and actions render as they are; its values sit in slots. */\n default?(): unknown;\n}>();\n\nconst locale = useLocale();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\n/* A group inside a loading region follows it: its slots keep painting and its components keep their skeletons until\n the outer region settles, whatever this group's own flag says. */\nconst parent = useSkeletonStateGroup();\nprovide(skeletonStateGroupKey, {\n isLoading: computed(() => props.isLoading || (parent?.isLoading.value ?? false)),\n isSkeleton: computed(() => parent?.isSkeleton.value ?? false),\n animation: computed(() => props.animation ?? parent?.animation.value),\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" :aria-busy=\"props.isLoading || undefined\">\n <span v-if=\"props.isLoading\" role=\"status\" class=\"sr-only\">\n {{ props.label ?? locale.t('SkeletonStateGroup.loading', undefined, 'Loading…') }}\n </span>\n <slot />\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { SkeletonStateAnimation } from './SkeletonState.variants';\n\nexport interface SkeletonStateTextProps {\n /** The number of lines. Default `3`. */\n readonly lines?: number;\n /** The last line's width, so the block reads as a paragraph. Default `60%`. */\n readonly lastLineWidth?: string;\n /** How the lines move; defaults to the nearest `SkeletonStateGroup`'s. */\n readonly animation?: SkeletonStateAnimation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useTemplateRef } from 'vue';\nimport SkeletonState from './SkeletonState.vue';\n\n/** Renders a paragraph placeholder — `lines` text skeletons with a shorter last line. */\ndefineOptions({ name: 'SkeletonStateText' });\n\nconst props = withDefaults(defineProps<SkeletonStateTextProps>(), { lines: 3, lastLineWidth: '60%' });\n\nconst el = useTemplateRef<HTMLDivElement>('el');\nconst count = computed(() => Math.max(1, Math.floor(props.lines)));\n\n/** Vue does not append `px` to a numeric `:style` value — the width is passed through as written. */\nfunction lineStyle(index: number): Record<string, string> | undefined {\n return index === count.value && count.value > 1 ? { width: props.lastLineWidth } : undefined;\n}\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" aria-hidden=\"true\" class=\"flex flex-col gap-2\">\n <SkeletonState\n v-for=\"index in count\"\n :key=\"index\"\n shape=\"text\"\n v-bind=\"props.animation ? { animation: props.animation } : {}\"\n :style=\"lineStyle(index)\"\n />\n </div>\n</template>\n","import { computed, toValue, type ComputedRef, type MaybeRefOrGetter } from 'vue';\n\n/** @internal The placeholder rows a first load draws when no count is given. */\nconst DefaultSkeletonItems = 3;\n\n/**\n * The loaded items, or `count` empty stand-ins while nothing has loaded yet — so a `DataRegion` first load renders\n * the real layout and every component in it draws its own skeleton.\n *\n * A stand-in is `undefined`: read fields with `item?.name` and key rows with `item?.id ?? index`. A loaded empty list\n * stays empty, so the region's empty state still shows.\n */\nexport function useSkeletonItems<T>(\n source: MaybeRefOrGetter<ReadonlyArray<T> | null | undefined>,\n count: MaybeRefOrGetter<number> = DefaultSkeletonItems,\n): ComputedRef<ReadonlyArray<T | undefined>> {\n return computed(() => {\n const items = toValue(source);\n if (items) return items;\n return Array.from({ length: Math.max(0, Math.floor(toValue(count)) || 0) }, () => undefined);\n });\n}\n","<script lang=\"ts\">\nimport type { SkeletonStateAnimation } from '../skeletonState/SkeletonState.variants';\n\n/** A failure the region settled on: a message, or anything carrying one — an `AppError`, an `ApiFailure`. */\nexport type DataRegionError = string | { readonly message: string };\n\n/** Defines which state a `DataRegion` renders, published as its `data-state`. */\nexport const DataRegionState = {\n /** Refers to the first load: the content renders as component skeletons. */\n FirstLoad: 'first-load',\n /** Refers to a failed first load: neutral plain copy, the failure text left to the toast host. */\n Unavailable: 'unavailable',\n /** Refers to a loaded region with nothing in it: the plain empty copy. */\n Empty: 'empty',\n /** Refers to the content — the last good content too, when a refresh failed. */\n Ready: 'ready',\n} as const;\n\nexport type DataRegionState = (typeof DataRegionState)[keyof typeof DataRegionState];\n\nexport interface DataRegionProps {\n /** The first load: nothing to show yet, so the content renders as skeletons — `useAppQuery().isFirstLoad`. */\n readonly isFirstLoad?: boolean;\n /** A fetch while data shows — the content stays, with no skeleton. Pair with `useAppQuery().isRefreshing`. */\n readonly isRefreshing?: boolean;\n /** The failure the last fetch settled on; the toast host owns its text, the region only stops loading. */\n readonly error?: DataRegionError | null;\n /** Whether the last good content is on screen, so a failure keeps it instead of settling. Default `false`. */\n readonly hasData?: boolean;\n /** The region loaded and holds nothing; plain centred copy replaces the content. */\n readonly isEmpty?: boolean;\n /** The empty copy, naming the absent collection. Default `Nothing here yet`. */\n readonly emptyTitle?: string;\n /** The empty copy's second line. */\n readonly emptyDescription?: string;\n /** The neutral copy a failed first load settles into. Default `Not available right now`. */\n readonly unavailableTitle?: string;\n /** The one announcement while the first load runs. Default `Loading…`. */\n readonly loadingLabel?: string;\n /** The opt-in retry button's label. Default `Retry`. */\n readonly retryLabel?: string;\n /** How every skeleton inside moves. Default `pulse`. */\n readonly animation?: SkeletonStateAnimation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, getCurrentInstance, provide, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { useLocale } from '../../../foundation/i18n';\nimport Button from '../../actions/button/Button.vue';\nimport EmptyState from '../../display/emptyState/EmptyState.vue';\nimport { skeletonStateGroupKey, useSkeletonStateGroup } from '../skeletonState/SkeletonStateContext';\n\n/**\n * Renders one data region through its states: on the first load its content draws every SDK component's own\n * skeleton, inert and announced once; a refresh keeps the content; a failed refresh keeps the last good content; a\n * failed first load and an empty load settle into plain centred copy.\n */\ndefineOptions({ name: 'DataRegion', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<DataRegionProps>(), {\n isFirstLoad: false,\n isRefreshing: false,\n error: null,\n hasData: false,\n isEmpty: false,\n});\n\nconst emit = defineEmits<{\n /** Fires when the reader asks a failed first load to run again. Binding it opts into the retry button. */\n retry: [];\n}>();\n\ndefineSlots<{\n /** The region's real layout — rendered as component skeletons on the first load. */\n default?(): unknown;\n /** Replaces the content on the first load, for a layout that cannot render without data. */\n skeleton?(): unknown;\n /** Opts a failed first load into its own copy, in place of the neutral line. */\n unavailable?(props: { message: string; retry: () => void }): unknown;\n /** Opts a failed first load into a retry control, in place of the default button. */\n retry?(props: { retry: () => void }): unknown;\n /** Opts the empty copy into actions; page actions belong in the toolbar. */\n emptyActions?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst locale = useLocale();\nconst instance = getCurrentInstance();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\n/* A region inside a region still on its first load draws its skeleton too, whatever its own query says. */\nconst parent = useSkeletonStateGroup();\nconst isSkeleton = computed(() => props.isFirstLoad || (parent?.isSkeleton.value ?? false));\n\nprovide(skeletonStateGroupKey, {\n isLoading: computed(() => isSkeleton.value || (parent?.isLoading.value ?? false)),\n isSkeleton,\n animation: computed(() => props.animation ?? parent?.animation.value),\n});\n\nconst message = computed(() => {\n const error = props.error;\n if (error === null || error === undefined) return '';\n return typeof error === 'string' ? error : error.message;\n});\nconst hasError = computed(() => props.error !== null && props.error !== undefined);\n\nconst state = computed<DataRegionState>(() => {\n if (isSkeleton.value) return DataRegionState.FirstLoad;\n if (hasError.value && !props.hasData) return DataRegionState.Unavailable;\n if (props.isEmpty) return DataRegionState.Empty;\n return DataRegionState.Ready;\n});\n\n/* Retry is opt-in — a bound `@retry` or a `retry` slot — because an ordinary collection keeps refresh in its toolbar.\n Read through a call: the instance's vnode is replaced on every render. */\nconst canRetry = () => Boolean(instance?.vnode.props?.onRetry) || Boolean(slots.retry);\n\nfunction retry(): void {\n emit('retry');\n}\n\nconst loadingText = computed(() => props.loadingLabel ?? locale.t('DataRegion.loading', undefined, 'Loading…'));\nconst retryText = computed(() => props.retryLabel ?? locale.t('DataRegion.retry', undefined, 'Retry'));\nconst unavailableText = computed(\n () => props.unavailableTitle ?? locale.t('DataRegion.unavailable', undefined, 'Not available right now'),\n);\nconst emptyTitleText = computed(\n () => props.emptyTitle ?? locale.t('DataRegion.emptyTitle', undefined, 'Nothing here yet'),\n);\n\nconst classes = computed(() => cn(attrs.class as string | undefined));\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div\n ref=\"el\"\n :data-state=\"state\"\n :data-refreshing=\"(state === DataRegionState.Ready && props.isRefreshing) || undefined\"\n :data-stale=\"(state === DataRegionState.Ready && hasError) || undefined\"\n :aria-busy=\"isSkeleton || undefined\"\n v-bind=\"rest\"\n :class=\"classes\"\n >\n <span v-if=\"isSkeleton\" role=\"status\" class=\"sr-only\">{{ loadingText }}</span>\n <template v-if=\"state === DataRegionState.Unavailable\">\n <slot name=\"unavailable\" :message=\"message\" :retry=\"retry\">\n <EmptyState :title=\"unavailableText\">\n <template v-if=\"canRetry()\" #actions>\n <slot name=\"retry\" :retry=\"retry\">\n <Button size=\"sm\" variant=\"outline\" @click=\"retry\">{{ retryText }}</Button>\n </slot>\n </template>\n </EmptyState>\n </slot>\n </template>\n <EmptyState\n v-else-if=\"state === DataRegionState.Empty\"\n :title=\"emptyTitleText\"\n :description=\"props.emptyDescription\"\n >\n <template v-if=\"$slots.emptyActions\" #actions><slot name=\"emptyActions\" /></template>\n </EmptyState>\n <!-- `contents` keeps the wrapper out of layout, so the region's own grid or flex reaches the content. -->\n <div v-else class=\"contents\" :inert=\"isSkeleton || undefined\" data-region-content>\n <slot v-if=\"isSkeleton && $slots.skeleton\" name=\"skeleton\" />\n <slot v-else />\n </div>\n </div>\n</template>\n","import { ProgressTone, Size, tv, type VariantProps } from '../../../foundation/styles';\n\nexport const progressTrackVariants = tv({\n base: 'h-2 w-full overflow-hidden rounded-full bg-muted',\n variants: {\n size: {\n sm: 'h-1',\n md: 'h-2',\n lg: 'h-3',\n },\n },\n defaultVariants: {\n size: 'md',\n },\n});\n\nexport const progressFillVariants = tv({\n base: 'h-full rounded-full transition-[width] duration-300',\n variants: {\n tone: {\n brand: 'bg-primary',\n success: 'bg-success',\n warning: 'bg-warning',\n danger: 'bg-destructive',\n neutral: 'bg-muted-foreground',\n },\n },\n defaultVariants: {\n tone: 'brand',\n },\n});\n\nexport type ProgressBarVariants = VariantProps<typeof progressTrackVariants> &\n VariantProps<typeof progressFillVariants>;\n\n/* Compile-time lock: adopted enum values ≡ tv axis keys (drift = type error).\n `Size` is the 5-member registry enum; the track only wires 3 (sm/md/lg), so\n the assert is one-directional (tv keys ⊆ Size) — widening a narrower prop is\n allowed for beta. */\ntype AssertExact<A, B> = [A] extends [B] ? ([B] extends [A] ? true : never) : never;\nconst _assertProgressSize: NonNullable<VariantProps<typeof progressTrackVariants>['size']> extends Size ? true : never =\n true;\nvoid _assertProgressSize;\nconst _assertProgressTone: AssertExact<\n ProgressTone,\n NonNullable<VariantProps<typeof progressFillVariants>['tone']>\n> = true;\nvoid _assertProgressTone;\n","<script lang=\"ts\">\nimport type { ProgressTone, Size } from '../../../foundation/styles';\n\nexport interface ProgressBarProps {\n /** The track thickness. */\n readonly size?: Size;\n /** The fill tone palette. */\n readonly tone?: ProgressTone;\n /** The current value 0–100. Pass `undefined` for indeterminate. */\n readonly value?: number;\n readonly max?: number;\n /** The accessible label for the progress. */\n readonly label?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { progressFillVariants, progressTrackVariants, type ProgressBarVariants } from './ProgressBar.variants';\n\n/**\n * Renders a linear progress bar with an optional label above it.\n * Set `value` (0–`max`) for determinate; omit for indeterminate.\n */\ndefineOptions({ name: 'ProgressBar', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<ProgressBarProps>(), { max: 100 });\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst determinate = computed(() => typeof props.value === 'number');\n\nconst pct = computed(() =>\n determinate.value ? Math.min(100, Math.max(0, ((props.value ?? 0) / props.max) * 100)) : undefined,\n);\n\nconst classes = computed(() =>\n cn(\n progressTrackVariants({\n /* `size` is the 5-member `Size`; the track defines only sm/md/lg.\n Cast to the tv key type — an out-of-range value falls through to\n the tv default. */\n size: props.size as ProgressBarVariants['size'],\n }),\n attrs.class as string | undefined,\n ),\n);\n\nconst fillClasses = computed(() =>\n cn(\n progressFillVariants({ tone: props.tone }),\n !determinate.value && 'w-1/3 animate-[indeterminate_1.4s_ease-in-out_infinite]',\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div\n ref=\"el\"\n role=\"progressbar\"\n :aria-label=\"props.label\"\n :aria-valuemin=\"0\"\n :aria-valuemax=\"props.max\"\n :aria-valuenow=\"determinate ? props.value : undefined\"\n v-bind=\"rest\"\n :class=\"classes\"\n >\n <div :class=\"fillClasses\" :style=\"determinate ? { width: `${pct}%` } : undefined\" />\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { ProgressTone } from '../../../foundation/styles';\n\nexport interface ProgressCircleIndicatorProps {\n /** The current value 0–100. Omit for indeterminate. */\n readonly value?: number;\n readonly max?: number;\n readonly size?: number;\n readonly thickness?: number;\n /** The ring tone palette. */\n readonly tone?: ProgressTone;\n readonly label?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn, ProgressTone as ProgressToneToken } from '../../../foundation/styles';\n\nconst ToneClass: Record<ProgressTone, string> = {\n brand: 'text-primary',\n success: 'text-success',\n warning: 'text-warning',\n danger: 'text-destructive',\n neutral: 'text-muted-foreground',\n};\n\n/**\n * Renders a circular SVG progress ring with an optional label at its centre.\n * Determinate when `value` is set; indeterminate (rotating) when omitted.\n */\ndefineOptions({ name: 'ProgressCircleIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<ProgressCircleIndicatorProps>(), {\n max: 100,\n size: 40,\n thickness: 4,\n tone: ProgressToneToken.Brand,\n});\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst determinate = computed(() => typeof props.value === 'number');\nconst radius = computed(() => (props.size - props.thickness) / 2);\nconst circumference = computed(() => 2 * Math.PI * radius.value);\nconst pct = computed(() =>\n determinate.value ? Math.min(100, Math.max(0, ((props.value ?? 0) / props.max) * 100)) : 25,\n);\nconst offset = computed(() => circumference.value - (pct.value / 100) * circumference.value);\n\nconst classes = computed(() =>\n cn('inline-block', !determinate.value && 'animate-spin', ToneClass[props.tone], attrs.class as string | undefined),\n);\n\n/** Vue does not auto-suffix numeric style values with `px`, so the unit is spelled out. */\nconst boxStyle = computed(() => ({ width: `${props.size}px`, height: `${props.size}px` }));\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div\n ref=\"el\"\n role=\"progressbar\"\n :aria-label=\"props.label\"\n :aria-valuemin=\"0\"\n :aria-valuemax=\"props.max\"\n :aria-valuenow=\"determinate ? props.value : undefined\"\n :style=\"boxStyle\"\n v-bind=\"rest\"\n :class=\"classes\"\n >\n <svg :width=\"props.size\" :height=\"props.size\" :viewBox=\"`0 0 ${props.size} ${props.size}`\">\n <circle\n :cx=\"props.size / 2\"\n :cy=\"props.size / 2\"\n :r=\"radius\"\n stroke=\"currentColor\"\n :stroke-width=\"props.thickness\"\n fill=\"none\"\n :opacity=\"0.2\"\n />\n <circle\n :cx=\"props.size / 2\"\n :cy=\"props.size / 2\"\n :r=\"radius\"\n stroke=\"currentColor\"\n :stroke-width=\"props.thickness\"\n stroke-linecap=\"round\"\n fill=\"none\"\n :stroke-dasharray=\"circumference\"\n :stroke-dashoffset=\"offset\"\n :transform=\"`rotate(-90 ${props.size / 2} ${props.size / 2})`\"\n :style=\"{ transition: 'stroke-dashoffset 300ms ease' }\"\n />\n </svg>\n </div>\n</template>\n","import { Severity, tv, type VariantProps } from '../../../foundation/styles';\n\nexport const alertSimpleVariants = tv({\n base: 'rounded-md border px-4 py-3 text-sm',\n variants: {\n severity: {\n info: 'border-info-soft bg-info-soft text-info-soft-foreground',\n success: 'border-success-soft bg-success-soft text-success-soft-foreground',\n warning: 'border-warning-soft bg-warning-soft text-warning-soft-foreground',\n danger: 'border-destructive-soft bg-destructive-soft text-destructive-soft-foreground',\n neutral: 'border-border bg-muted text-foreground',\n },\n },\n defaultVariants: {\n severity: 'info',\n },\n});\n\nexport type AlertSimpleVariants = VariantProps<typeof alertSimpleVariants>;\n\n/* Compile-time lock: Severity values ≡ tv severity keys (drift = type error). */\ntype AssertExact<A, B> = [A] extends [B] ? ([B] extends [A] ? true : never) : never;\nconst _assertSeverity: AssertExact<Severity, NonNullable<VariantProps<typeof alertSimpleVariants>['severity']>> = true;\nvoid _assertSeverity;\n","<script lang=\"ts\">\nimport type { Severity } from '../../../foundation/styles';\n\nexport interface AlertSimpleProps {\n /** The semantic severity palette. */\n readonly severity?: Severity;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { alertSimpleVariants } from './AlertSimple.variants';\n\n/**\n * Renders a severity-tinted alert container around free-form children.\n * No internal slots; consumer composes title/description/actions inline.\n *\n * For the structured Icon + Title + Description + Actions composition use\n * the `Alert` molecule (L4).\n *\n * `role=\"status\"` is the live-region contract; bound before `v-bind=\"rest\"`\n * so a caller-supplied `role` (e.g. `\"alert\"`) still wins.\n */\ndefineOptions({ name: 'AlertSimple', inheritAttrs: false });\n\nconst props = defineProps<AlertSimpleProps>();\n\ndefineSlots<{\n /** The alert content. */\n default?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst classes = computed(() =>\n cn(alertSimpleVariants({ severity: props.severity }), attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" role=\"status\" v-bind=\"rest\" :class=\"classes\"><slot /></div>\n</template>\n","import { Severity, tv, type VariantProps } from '../../../foundation/styles';\n\nexport const bannerSimpleVariants = tv({\n base: 'w-full px-6 py-3 text-sm',\n variants: {\n severity: {\n info: 'bg-info text-info-foreground',\n success: 'bg-success text-success-foreground',\n warning: 'bg-warning text-warning-foreground',\n danger: 'bg-destructive text-destructive-foreground',\n neutral: 'bg-inverse text-inverse-foreground',\n },\n },\n defaultVariants: {\n severity: 'info',\n },\n});\n\nexport type BannerSimpleVariants = VariantProps<typeof bannerSimpleVariants>;\n\n/* Compile-time lock: Severity values ≡ tv severity keys (drift = type error). */\ntype AssertExact<A, B> = [A] extends [B] ? ([B] extends [A] ? true : never) : never;\nconst _assertSeverity: AssertExact<Severity, NonNullable<VariantProps<typeof bannerSimpleVariants>['severity']>> = true;\nvoid _assertSeverity;\n","<script lang=\"ts\">\nimport type { Severity } from '../../../foundation/styles';\n\nexport interface BannerSimpleProps {\n /** The semantic severity palette. */\n readonly severity?: Severity;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { bannerSimpleVariants } from './BannerSimple.variants';\n\n/**\n * Renders a full-width, severity-tinted banner that broadcasts app-level status.\n * Typically pinned to the top of the app. Atom; for structured slotted layout use `Banner` (L4).\n *\n * `role=\"status\"` is the live-region contract; bound before `v-bind=\"rest\"`\n * so a caller-supplied `role` still wins.\n */\ndefineOptions({ name: 'BannerSimple', inheritAttrs: false });\n\nconst props = defineProps<BannerSimpleProps>();\n\ndefineSlots<{\n /** The banner content. */\n default?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst classes = computed(() =>\n cn(bannerSimpleVariants({ severity: props.severity }), attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" role=\"status\" v-bind=\"rest\" :class=\"classes\"><slot /></div>\n</template>\n","import { Severity, tv, type VariantProps } from '../../../foundation/styles';\n\nexport const toastSimpleVariants = tv({\n base: 'pointer-events-auto rounded-md border bg-popover text-popover-foreground shadow-lg px-4 py-3 text-sm',\n variants: {\n severity: {\n info: 'border-info-soft',\n success: 'border-success-soft',\n warning: 'border-warning-soft',\n danger: 'border-destructive-soft',\n neutral: 'border-border',\n },\n },\n defaultVariants: {\n severity: 'neutral',\n },\n});\n\nexport type ToastSimpleVariants = VariantProps<typeof toastSimpleVariants>;\n\n/* Compile-time lock: Severity values ≡ tv severity keys (drift = type error). */\ntype AssertExact<A, B> = [A] extends [B] ? ([B] extends [A] ? true : never) : never;\nconst _assertSeverity: AssertExact<Severity, NonNullable<VariantProps<typeof toastSimpleVariants>['severity']>> = true;\nvoid _assertSeverity;\n","<script lang=\"ts\">\nimport type { Severity } from '../../../foundation/styles';\n\nexport interface AlertProps {\n /** The semantic severity palette. */\n readonly severity?: Severity;\n /** The optional leading icon. Rich content → the `icon` slot. */\n readonly icon?: string;\n /** The bold heading line. Rich content → the `title` slot. */\n readonly title?: string;\n /** The body text below the title. Rich content → the `description` slot. */\n readonly description?: string;\n /** The right-side action slot (typically Button(s)). Rich content → the `actions` slot. */\n readonly actions?: string;\n /** The accessible label for the close button. Default `\"Dismiss\"`. */\n readonly closeLabel?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { computed, getCurrentInstance, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { X } from 'lucide-vue-next';\nimport { cn } from '../../../foundation/styles';\nimport { Icon } from '../../../foundation/icons';\nimport AlertSimple from '../alertSimple/AlertSimple.vue';\n\nconst CloseIcon = X;\n\n/**\n * Renders an icon, title, description, and actions laid over the `AlertSimple` atom.\n * Pair: `AlertSimple` (atom, free-form children) + `Alert` (this molecule).\n *\n * Each of React's four `ReactNode` props keeps its string form and gains a\n * same-named slot for rich content; the slot wins when both are supplied.\n */\ndefineOptions({ name: 'Alert', inheritAttrs: false });\n\nconst componentProps = withDefaults(defineProps<AlertProps>(), {});\nconst props = useLocaleDefaults(componentProps, 'Alert', { closeLabel: 'Dismiss' });\n\n/** Replaces React's `onClose`; omitting `@close` omits the close button. */\nconst emit = defineEmits<{\n /** Fires when the close button is activated. */\n close: [];\n}>();\n\ndefineSlots<{\n /** The extra content below the description. */\n default?(): unknown;\n /** The leading icon. Falls back to the `icon` prop. */\n icon?(): unknown;\n /** The heading line. Falls back to the `title` prop. */\n title?(): unknown;\n /** The body text below the title. Falls back to the `description` prop. */\n description?(): unknown;\n /** The action row. Falls back to the `actions` prop. */\n actions?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst instance = getCurrentInstance();\nconst inner = useTemplateRef<InstanceType<typeof AlertSimple>>('inner');\n\n/**\n * Mirrors React's `onClose && <button/>` guard — the close button renders only\n * when the consumer bound `@close`. Read through a call, not a cached computed:\n * `instance.vnode` is replaced on every re-render.\n */\nconst hasClose = () => Boolean(instance?.vnode.props?.onClose);\n\nconst hasIcon = computed(() => Boolean(props.icon) || Boolean(slots.icon));\nconst hasTitle = computed(() => Boolean(props.title) || Boolean(slots.title));\nconst hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));\nconst hasActions = computed(() => Boolean(props.actions) || Boolean(slots.actions));\n\nconst classes = computed(() => cn('flex items-start gap-3', attrs.class as string | undefined));\n\nconst descriptionClasses = computed(() => cn('text-sm', hasTitle.value && 'mt-0.5 opacity-90'));\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\n/** Re-exposes the underlying `AlertSimple` root element, matching React's forwarded ref. */\nconst el = computed(() => inner.value?.el ?? null);\n\ndefineExpose({ el });\n</script>\n\n<template>\n <AlertSimple ref=\"inner\" :severity=\"props.severity\" v-bind=\"rest\" :class=\"classes\">\n <span v-if=\"hasIcon\" class=\"mt-0.5 shrink-0\">\n <slot name=\"icon\">{{ props.icon }}</slot>\n </span>\n <div class=\"min-w-0 flex-1\">\n <div v-if=\"hasTitle\" class=\"font-medium\">\n <slot name=\"title\">{{ props.title }}</slot>\n </div>\n <div v-if=\"hasDescription\" :class=\"descriptionClasses\">\n <slot name=\"description\">{{ props.description }}</slot>\n </div>\n <div v-if=\"hasActions\" class=\"mt-2 flex flex-wrap items-center gap-2\">\n <slot name=\"actions\">{{ props.actions }}</slot>\n </div>\n <slot />\n </div>\n <button\n v-if=\"hasClose()\"\n type=\"button\"\n :aria-label=\"props.closeLabel\"\n class=\"-mr-1 grid h-6 w-6 shrink-0 place-items-center rounded text-current opacity-60 transition-opacity hover:opacity-100 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-current\"\n @click=\"emit('close')\"\n >\n <Icon :icon=\"CloseIcon\" :size=\"14\" />\n </button>\n </AlertSimple>\n</template>\n","<script lang=\"ts\">\nimport type { Severity } from '../../../foundation/styles';\n\nexport interface BannerProps {\n /** The semantic severity palette. */\n readonly severity?: Severity;\n /** The optional leading icon. Rich content → the `icon` slot. */\n readonly icon?: string;\n /** The bold heading line. Rich content → the `title` slot. */\n readonly title?: string;\n /** The body text beside the title. Rich content → the `description` slot. */\n readonly description?: string;\n /** The right-side action area (typically Button(s)). Rich content → the `actions` slot. */\n readonly actions?: string;\n /** The accessible label for the close button. Default `\"Dismiss\"`. */\n readonly closeLabel?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { computed, getCurrentInstance, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { X } from 'lucide-vue-next';\nimport { cn } from '../../../foundation/styles';\nimport { Icon } from '../../../foundation/icons';\nimport BannerSimple from '../bannerSimple/BannerSimple.vue';\n\nconst CloseIcon = X;\n\n/**\n * Renders a full-width banner with icon, title, description, and action slots.\n * Pair with `BannerSimple` (atomic, free-form children) when the structured slots are unneeded.\n *\n * Each of React's four `ReactNode` props keeps its string form and gains a\n * same-named slot for rich content; the slot wins when both are supplied.\n */\ndefineOptions({ name: 'Banner', inheritAttrs: false });\n\nconst componentProps = withDefaults(defineProps<BannerProps>(), {});\nconst props = useLocaleDefaults(componentProps, 'Banner', { closeLabel: 'Dismiss' });\n\n/** Replaces React's `onClose`; omitting `@close` omits the close button. */\nconst emit = defineEmits<{\n /** Fires when the close button is activated. */\n close: [];\n}>();\n\ndefineSlots<{\n /** The extra content beside the description. */\n default?(): unknown;\n /** The leading icon. Falls back to the `icon` prop. */\n icon?(): unknown;\n /** The heading line. Falls back to the `title` prop. */\n title?(): unknown;\n /** The body text beside the title. Falls back to the `description` prop. */\n description?(): unknown;\n /** The trailing action row. Falls back to the `actions` prop. */\n actions?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst instance = getCurrentInstance();\nconst inner = useTemplateRef<InstanceType<typeof BannerSimple>>('inner');\n\n/**\n * Mirrors React's `onClose && <button/>` guard — the close button renders only\n * when the consumer bound `@close`. Read through a call, not a cached computed:\n * `instance.vnode` is replaced on every re-render.\n */\nconst hasClose = () => Boolean(instance?.vnode.props?.onClose);\n\nconst hasIcon = computed(() => Boolean(props.icon) || Boolean(slots.icon));\nconst hasTitle = computed(() => Boolean(props.title) || Boolean(slots.title));\nconst hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));\nconst hasActions = computed(() => Boolean(props.actions) || Boolean(slots.actions));\n\nconst classes = computed(() => cn('flex items-center gap-4', attrs.class as string | undefined));\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\n/** Re-exposes the underlying `BannerSimple` root element, matching React's forwarded ref. */\nconst el = computed(() => inner.value?.el ?? null);\n\ndefineExpose({ el });\n</script>\n\n<template>\n <BannerSimple ref=\"inner\" :severity=\"props.severity\" v-bind=\"rest\" :class=\"classes\">\n <span v-if=\"hasIcon\" class=\"shrink-0\">\n <slot name=\"icon\">{{ props.icon }}</slot>\n </span>\n <div class=\"flex min-w-0 flex-1 items-baseline gap-3\">\n <span v-if=\"hasTitle\" class=\"font-medium\">\n <slot name=\"title\">{{ props.title }}</slot>\n </span>\n <span v-if=\"hasDescription\" class=\"opacity-90\">\n <slot name=\"description\">{{ props.description }}</slot>\n </span>\n <slot />\n </div>\n <div v-if=\"hasActions\" class=\"flex shrink-0 items-center gap-2\">\n <slot name=\"actions\">{{ props.actions }}</slot>\n </div>\n <button\n v-if=\"hasClose()\"\n type=\"button\"\n :aria-label=\"props.closeLabel\"\n class=\"-mr-2 grid h-7 w-7 shrink-0 place-items-center rounded text-current opacity-70 transition-opacity hover:opacity-100 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-current\"\n @click=\"emit('close')\"\n >\n <Icon :icon=\"CloseIcon\" :size=\"16\" />\n </button>\n </BannerSimple>\n</template>\n","<script lang=\"ts\">\nimport type { Severity } from '../../../foundation/styles';\n\nexport interface CalloutProps {\n /** The semantic severity palette. */\n readonly severity?: Severity;\n /** The optional leading icon. Rich content → the `icon` slot. */\n readonly icon?: string;\n /** The bold heading line. Rich content → the `title` slot. */\n readonly title?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, Severity as SeverityToken } from '../../../foundation/styles';\n\nconst SeverityClass: Record<Severity, string> = {\n info: 'border-l-info text-foreground',\n success: 'border-l-success text-foreground',\n warning: 'border-l-warning text-foreground',\n danger: 'border-l-destructive text-foreground',\n neutral: 'border-l-border text-foreground',\n};\n\n/**\n * Renders an inline doc-style note — colored left rule, no fill, quieter than `Alert`.\n * Use for supplementary content (think MDX callouts).\n *\n * React's `children` becomes the default slot; `icon` / `title` keep their\n * string form and gain same-named slots for rich content.\n */\ndefineOptions({ name: 'Callout', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<CalloutProps>(), { severity: SeverityToken.Info });\n\ndefineSlots<{\n /** The note body. */\n default?(): unknown;\n /** The leading icon. Falls back to the `icon` prop. */\n icon?(): unknown;\n /** The heading line. Falls back to the `title` prop. */\n title?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst hasIcon = computed(() => Boolean(props.icon) || Boolean(slots.icon));\nconst hasTitle = computed(() => Boolean(props.title) || Boolean(slots.title));\n\nconst classes = computed(() =>\n cn(\n 'flex items-start gap-3 rounded-md border-l-4 bg-card px-4 py-3 text-sm',\n SeverityClass[props.severity],\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <span v-if=\"hasIcon\" class=\"mt-0.5 shrink-0\">\n <slot name=\"icon\">{{ props.icon }}</slot>\n </span>\n <div class=\"min-w-0 flex-1\">\n <div v-if=\"hasTitle\" class=\"mb-0.5 font-medium\">\n <slot name=\"title\">{{ props.title }}</slot>\n </div>\n <slot />\n </div>\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { SpinnerProps } from '../spinner/Spinner.vue';\n\nexport interface InlineSpinnerProps {\n readonly size?: SpinnerProps['size'];\n readonly tone?: SpinnerProps['tone'];\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocale } from '../../../foundation/i18n';\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport Spinner from '../spinner/Spinner.vue';\n\nconst locale = useLocale();\n\n/**\n * Renders a spinner beside a label on one line, for buttons, list rows, and mid-flow waits.\n *\n * React's `children` (default `\"Loading…\"`) becomes the default slot with the\n * same fallback content.\n */\ndefineOptions({ name: 'InlineSpinner', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<InlineSpinnerProps>(), { size: 'sm', tone: 'default' });\n\ndefineSlots<{\n /** The label beside the spinner. Falls back to `Loading…`. */\n default?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLSpanElement>('el');\n\nconst classes = computed(() =>\n cn('inline-flex items-center gap-2 text-sm text-muted-foreground', attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <span ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <Spinner :size=\"props.size\" :tone=\"props.tone\" />\n <slot>{{ locale.t('InlineSpinner.loading', undefined, 'Loading…') }}</slot>\n </span>\n</template>\n","<script lang=\"ts\">\nimport type { Size } from '../../../foundation/styles';\n\nexport interface LoadingStateProps {\n /** The heading copy. Default `\"Loading…\"`. Rich content → the `title` slot. */\n readonly title?: string;\n\n /** The body text below the title. Rich content → the `description` slot. */\n readonly description?: string;\n\n /** The size of the spinner. Default `lg`. */\n readonly size?: Size;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\nimport Spinner from '../spinner/Spinner.vue';\n\n/**\n * Renders a centered spinner, title, and description filling a whole section or page.\n * Use `InlineSpinner` for in-row loading.\n *\n * `role=\"status\"` is the live-region contract; bound before `v-bind=\"rest\"`\n * so a caller-supplied `role` still wins.\n */\ndefineOptions({ name: 'LoadingState', inheritAttrs: false });\n\nconst componentProps = withDefaults(defineProps<LoadingStateProps>(), {\n size: SizeToken.Lg,\n});\nconst props = useLocaleDefaults(componentProps, 'LoadingState', { title: 'Loading…' });\n\ndefineSlots<{\n /** The heading line under the spinner. Falls back to the `title` prop. */\n title?(): unknown;\n /** The body text under the title. Falls back to the `description` prop. */\n description?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst hasTitle = computed(() => Boolean(props.title) || Boolean(slots.title));\nconst hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));\n\nconst classes = computed(() =>\n cn('flex flex-col items-center justify-center gap-3 py-12 text-center', attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" role=\"status\" v-bind=\"rest\" :class=\"classes\">\n <Spinner :size=\"props.size\" tone=\"brand\" />\n <div v-if=\"hasTitle\" class=\"text-sm font-medium text-foreground\">\n <slot name=\"title\">{{ props.title }}</slot>\n </div>\n <div v-if=\"hasDescription\" class=\"text-sm text-muted-foreground\">\n <slot name=\"description\">{{ props.description }}</slot>\n </div>\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { Orientation } from '../../../foundation/styles';\n\nexport interface ProgressStepsIndicatorProps {\n /** The step labels in order. */\n readonly steps: ReadonlyArray<string>;\n\n /** The index of the active step (0-based). Steps before are marked complete. */\n readonly current: number;\n\n /** The layout direction. Default `horizontal`. */\n readonly orientation?: Orientation;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { Check } from 'lucide-vue-next';\nimport { cn, Orientation as OrientationToken } from '../../../foundation/styles';\nimport { Icon } from '../../../foundation/icons';\n\nconst CheckIcon = Check;\n\n/**\n * Renders N-of-M progress dots or pills joined by connectors, horizontally or vertically.\n * No state machine — the consumer drives `current`. For full wizard-with-content semantics use\n * the L5 `StepperGroup` organism.\n */\ndefineOptions({ name: 'ProgressStepsIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<ProgressStepsIndicatorProps>(), {\n orientation: OrientationToken.Horizontal,\n});\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLOListElement>('el');\n\nconst isHorizontal = computed(() => props.orientation === OrientationToken.Horizontal);\n\nconst classes = computed(() =>\n cn('flex', isHorizontal.value ? 'flex-row items-center gap-2' : 'flex-col gap-3', attrs.class as string | undefined),\n);\n\n/** The per-index step status, driving both the marker and the connector tone. */\nconst statusAt = (i: number) => (i < props.current ? 'complete' : i === props.current ? 'current' : 'upcoming');\n\nconst itemClasses = (i: number) =>\n cn('flex items-center gap-2', isHorizontal.value && i < props.steps.length - 1 && 'flex-1');\n\nconst markerClasses = (i: number) => {\n const status = statusAt(i);\n return cn(\n 'grid h-7 w-7 place-items-center rounded-full text-xs font-medium',\n status === 'complete' && 'bg-primary text-primary-foreground',\n status === 'current' && 'border-2 border-primary text-primary-soft-foreground',\n status === 'upcoming' && 'border border-border text-muted-foreground',\n );\n};\n\nconst labelClasses = (i: number) =>\n cn('text-sm', statusAt(i) === 'upcoming' ? 'text-muted-foreground' : 'text-foreground');\n\nconst connectorClasses = (i: number) => cn('h-px flex-1', i < props.current ? 'bg-primary' : 'bg-border');\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <ol ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <li v-for=\"(label, i) in props.steps\" :key=\"i\" :class=\"itemClasses(i)\">\n <span :class=\"markerClasses(i)\" :aria-current=\"statusAt(i) === 'current' ? 'step' : undefined\">\n <Icon v-if=\"statusAt(i) === 'complete'\" :icon=\"CheckIcon\" :size=\"14\" />\n <template v-else>{{ i + 1 }}</template>\n </span>\n <span :class=\"labelClasses(i)\">{{ label }}</span>\n <span v-if=\"isHorizontal && i < props.steps.length - 1\" :class=\"connectorClasses(i)\" aria-hidden=\"true\" />\n </li>\n </ol>\n</template>\n","<script lang=\"ts\">\nimport type { StatusTone } from '../../../foundation/styles';\n\nexport interface StatusIndicatorProps {\n /** The semantic status tone. */\n readonly tone?: StatusTone;\n\n /**\n * The bold first-line label (e.g. \"All systems normal\"). Rich content → the\n * `label` slot. Required in React; optional here so the slot form is usable —\n * supply one or the other.\n */\n readonly label?: string;\n\n /** The smaller secondary line (e.g. \"Updated 2m ago\"). Rich content → the `description` slot. */\n readonly description?: string;\n\n /** The optional pulsing ring for \"live\" indication. */\n readonly hasPulse?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, StatusTone as StatusToneToken } from '../../../foundation/styles';\n\nconst ToneClass: Record<StatusTone, string> = {\n success: 'bg-success',\n warning: 'bg-warning',\n destructive: 'bg-destructive',\n info: 'bg-info',\n neutral: 'bg-muted-foreground',\n};\n\n/**\n * Renders a colored dot beside a bold label with a smaller helper line beneath it.\n * Use on monitoring / status pages. For an inline single-line indicator use\n * `display/Status`.\n */\ndefineOptions({ name: 'StatusIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<StatusIndicatorProps>(), { tone: StatusToneToken.Success });\n\ndefineSlots<{\n /** The bold label beside the dot. Falls back to the `label` prop. */\n label?(): unknown;\n /** The helper line under the label. Falls back to the `description` prop. */\n description?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst hasDescription = computed(() => Boolean(props.description) || Boolean(slots.description));\n\nconst dotClasses = computed(() => cn('inline-block h-2.5 w-2.5 rounded-full', ToneClass[props.tone]));\n\nconst pulseClasses = computed(() =>\n cn('absolute inset-0 inline-block rounded-full opacity-75 animate-ping', ToneClass[props.tone]),\n);\n\nconst classes = computed(() => cn('flex items-start gap-3', attrs.class as string | undefined));\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <span class=\"relative mt-1 inline-flex\">\n <span :class=\"dotClasses\" />\n <span v-if=\"props.hasPulse\" :class=\"pulseClasses\" />\n </span>\n <div class=\"min-w-0 flex-1\">\n <div class=\"text-sm font-medium text-foreground\">\n <slot name=\"label\">{{ props.label }}</slot>\n </div>\n <div v-if=\"hasDescription\" class=\"text-xs text-muted-foreground\">\n <slot name=\"description\">{{ props.description }}</slot>\n </div>\n </div>\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { Size } from '../../../foundation/styles';\n\nexport interface MeterBarProps {\n /** The current value 0–`max`. */\n readonly value: number;\n readonly max?: number;\n /** The threshold values that change the fill tone. Pass `[good, warn]` —\n * `value <= good` → success, `<= warn` → warning, otherwise destructive.\n * Defaults: `[max * 0.7, max * 0.9]`. */\n readonly thresholds?: [number, number];\n\n /** The bar thickness. */\n readonly size?: Size;\n\n /** The meter's accessible name; drawn above the bar with `isLabelVisible`. */\n readonly label?: string;\n\n /** Draws `label` above the bar with the readout on its right. Default `false`. */\n readonly isLabelVisible?: boolean;\n\n /** The readout beside a visible label, e.g. `6.2 of 10 GB`. Default the rounded percentage. */\n readonly valueLabel?: string;\n\n /** The value is still loading: the track pulses without a fill, the label and readout turn into bars. Defaults to\n * the nearest `DataRegion` first load. */\n readonly isLoading?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\nimport { useLocale, useLocaleFormatters } from '../../../foundation/i18n';\nimport { useId } from '../../../foundation/identifiers';\nimport { useSkeletonState } from '../skeletonState/SkeletonStateContext';\nimport { SkeletonStateLine } from '../skeletonState/SkeletonStateLine';\n\n/* Only the sm/md/lg steps carry a thickness; other `Size` members fall through\n to the `md` default at the lookup below. */\nconst TrackHeight: Partial<Record<Size, string>> = {\n sm: 'h-1',\n md: 'h-2',\n lg: 'h-3',\n};\n\n/**\n * Renders a horizontal gauge whose fill color crosses threshold zones — green / amber / red.\n * Use for usage gauges, capacity, and score meters; `ProgressBar` covers plain progress.\n */\ndefineOptions({ name: 'MeterBar', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<MeterBarProps>(), {\n max: 100,\n size: SizeToken.Md,\n isLabelVisible: false,\n isLoading: undefined,\n});\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\n/* An absent `isLoading` follows the nearest `DataRegion` first load; the track keeps its size as the placeholder. */\nconst skeleton = useSkeletonState(() => props.isLoading);\nconst loading = computed(() => skeleton.isSkeleton.value);\n\nconst locale = useLocale();\n\nconst ZoneTone = { good: 'bg-success', warn: 'bg-warning', critical: 'bg-destructive' } as const;\n\n/** The threshold zone the value sits in — green up to the first threshold, amber to the second, red past it. */\nconst zone = computed<keyof typeof ZoneTone>(() => {\n const [good, warn] = props.thresholds ?? [props.max * 0.7, props.max * 0.9];\n return props.value <= good ? 'good' : props.value <= warn ? 'warn' : 'critical';\n});\nconst tone = computed(() => ZoneTone[zone.value]);\n\n/* A zero or negative `max` has no scale: draw an empty track rather than a `NaN%` width. */\nconst pct = computed(() => (props.max > 0 ? Math.min(100, Math.max(0, (props.value / props.max) * 100)) : 0));\n\n/* The zone is otherwise carried by color alone (WCAG 1.4.1), so the spoken value names it. */\nconst ZoneLabel = {\n good: () => locale.t('MeterBar.zoneGood', undefined, 'normal'),\n warn: () => locale.t('MeterBar.zoneWarn', undefined, 'high'),\n critical: () => locale.t('MeterBar.zoneCritical', undefined, 'critical'),\n} as const;\nconst valueText = computed(() =>\n loading.value\n ? locale.t('MeterBar.loading', undefined, 'Loading')\n : locale.t(\n 'MeterBar.valueText',\n { percent: Math.round(pct.value), zone: ZoneLabel[zone.value]() },\n '{percent}%, {zone}',\n ),\n);\n\nconst formatters = useLocaleFormatters();\nconst readout = computed(\n () => props.valueLabel ?? formatters.value.percent(pct.value / 100, { maximumFractionDigits: 0 }),\n);\nconst labelId = useId();\n\nconst trackClasses = computed(() =>\n cn(\n 'w-full overflow-hidden rounded-full bg-muted',\n TrackHeight[props.size] ?? TrackHeight.md,\n skeleton.paintClass.value,\n ),\n);\n\n/* Without a visible label the bar is the root, as before; with one, a column holds the label row and the bar. */\nconst classes = computed(() =>\n props.isLabelVisible\n ? cn('flex w-full flex-col gap-1.5', attrs.class as string | undefined)\n : cn(trackClasses.value, attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div v-if=\"props.isLabelVisible\" ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <div class=\"flex items-center justify-between gap-3 text-xs\">\n <span :id=\"labelId\" class=\"min-w-0 truncate text-muted-foreground\"\n ><SkeletonStateLine :is-skeleton=\"loading\">{{ props.label }}</SkeletonStateLine></span\n >\n <span class=\"shrink-0 font-medium tabular-nums\"\n ><SkeletonStateLine :is-skeleton=\"loading\">{{ readout }}</SkeletonStateLine></span\n >\n </div>\n <div\n role=\"meter\"\n :aria-labelledby=\"labelId\"\n :aria-valuemin=\"0\"\n :aria-valuemax=\"props.max\"\n :aria-valuenow=\"props.value\"\n :aria-valuetext=\"valueText\"\n :aria-busy=\"loading || undefined\"\n :data-zone=\"loading ? undefined : zone\"\n :class=\"trackClasses\"\n >\n <div\n v-if=\"!loading\"\n :class=\"cn('h-full rounded-full transition-[width] duration-300', tone)\"\n :style=\"{ width: `${pct}%` }\"\n />\n </div>\n </div>\n <div\n v-else\n ref=\"el\"\n role=\"meter\"\n :aria-label=\"props.label\"\n :aria-valuemin=\"0\"\n :aria-valuemax=\"props.max\"\n :aria-valuenow=\"props.value\"\n :aria-valuetext=\"valueText\"\n :aria-busy=\"loading || undefined\"\n :data-zone=\"loading ? undefined : zone\"\n v-bind=\"rest\"\n :class=\"classes\"\n >\n <div\n v-if=\"!loading\"\n :class=\"cn('h-full rounded-full transition-[width] duration-300', tone)\"\n :style=\"{ width: `${pct}%` }\"\n />\n </div>\n</template>\n","<script lang=\"ts\">\nimport type { Size } from '../../../foundation/styles';\n\nexport interface TrendIndicatorProps {\n /** The numeric delta — sign drives direction. */\n readonly value: number;\n\n /** The optional value formatter (default: `${sign}${value}%`). Rich content → the `value` slot. */\n readonly format?: (value: number) => string;\n\n /** The inverse-direction flag — when `true`, an increase reads as bad (e.g. error rate, churn). */\n readonly isInverse?: boolean;\n\n /** The small trailing label, e.g. \"vs last week\". Rich content → the `label` slot. */\n readonly label?: string;\n\n /** The text + icon scale. */\n readonly size?: Size;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { Minus, TrendingDown, TrendingUp } from 'lucide-vue-next';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\nimport { Icon } from '../../../foundation/icons';\n\n/* Only xs/sm/md carry a scale; other `Size` members fall through to `md` at\n the lookup below. */\nconst SizeText: Partial<Record<Size, string>> = {\n xs: 'text-xs',\n sm: 'text-sm',\n md: 'text-base',\n};\nconst SizeIcon: Partial<Record<Size, number>> = {\n xs: 12,\n sm: 14,\n md: 16,\n};\n\nconst DirectionIcon = {\n up: TrendingUp,\n down: TrendingDown,\n flat: Minus,\n};\n\n/**\n * Renders an up / down / flat arrow beside a value and an optional label.\n * Used inside `StatCard` and dashboard tiles. Pass `isInverse` for metrics where higher is worse.\n */\ndefineOptions({ name: 'TrendIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<TrendIndicatorProps>(), { size: SizeToken.Sm });\n\ndefineSlots<{\n /** The formatted delta — receives the raw `value` and its `display` string. */\n value?(props: { value: number; display: string }): unknown;\n /** The trailing label. Falls back to the `label` prop. */\n label?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLSpanElement>('el');\n\nconst direction = computed<'up' | 'down' | 'flat'>(() => (props.value > 0 ? 'up' : props.value < 0 ? 'down' : 'flat'));\n\nconst positive = computed(() =>\n direction.value === 'flat' ? false : (direction.value === 'up') !== Boolean(props.isInverse),\n);\n\nconst tone = computed(() =>\n /* `-soft-foreground`: the tones' text tokens — the solid `success` / `destructive` fills fall under AA as text in\n many themes. */\n direction.value === 'flat'\n ? 'text-muted-foreground'\n : positive.value\n ? 'text-success-soft-foreground'\n : 'text-destructive-soft-foreground',\n);\n\nconst arrow = computed(() => DirectionIcon[direction.value]);\n\nconst display = computed(() =>\n props.format ? props.format(props.value) : `${props.value > 0 ? '+' : ''}${props.value}%`,\n);\n\nconst iconSize = computed(() => SizeIcon[props.size] ?? SizeIcon.md);\n\nconst hasLabel = computed(() => Boolean(props.label) || Boolean(slots.label));\n\nconst classes = computed(() =>\n cn(\n 'inline-flex items-center gap-1 font-medium',\n SizeText[props.size] ?? SizeText.md,\n tone.value,\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <span ref=\"el\" v-bind=\"rest\" :class=\"classes\">\n <Icon :icon=\"arrow\" :size=\"iconSize\" />\n <slot name=\"value\" :value=\"props.value\" :display=\"display\">{{ display }}</slot>\n <span v-if=\"hasLabel\" class=\"text-muted-foreground\">\n <slot name=\"label\">{{ props.label }}</slot>\n </span>\n </span>\n</template>\n","<script lang=\"ts\">\nimport type { FeedbackBus, PublishedNotice } from '../../../feedback';\nimport type { ToastHostProps, ToastOptions } from '../toastHost';\n\n/**\n * The prop surface of `FeedbackToastHost` — `bus`, plus every `ToastHost` prop.\n *\n * The `ToastHostProps` heritage is marked `@vue-ignore` so only `bus` becomes a\n * runtime prop and the rest arrive as attrs; the template hands those to\n * `<ToastHost>`, which declares them and resolves them back into props. Consumers\n * still get the full checked surface, because the heritage is real to\n * TypeScript — it is only the SFC compiler's runtime-props pass that skips it.\n */\nexport interface FeedbackToastHostProps extends /* @vue-ignore */ ToastHostProps {\n /** The bus to render. Default: the app-wide `feedbackBus` singleton (what `notify()` publishes on). */\n readonly bus?: FeedbackBus;\n}\n\n/**\n * Maps a bus notice onto the imperative toast payload. `NoticeTone` is a subset of the toast\n * `Severity` vocabulary and `NoticeNode` is `ToastNode` — drift in either is a compile error.\n */\nfunction toToastOptions(notice: PublishedNotice): ToastOptions {\n return {\n title: notice.title,\n description: notice.description,\n severity: notice.tone,\n duration: notice.durationMs,\n action: notice.action,\n report: notice.report,\n };\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, watch } from 'vue';\nimport { feedbackBus, NoticeCategory } from '../../../feedback';\nimport ToastHost from '../toastHost/ToastHost.vue';\nimport { toastHost } from '../toastHost';\n\n/**\n * Renders the toast viewport and forwards every `/feedback` bus notice into `toastHost.toast()`.\n * All `ToastHostProps` pass through. Mount once per app **in place of** a bare `<ToastHost/>` —\n * mounting both would render every toast twice. Nothing toasts until this (or another subscriber)\n * is mounted; notices published before mount are dropped, so mount it at the app root.\n */\ndefineOptions({ name: 'FeedbackToastHost', inheritAttrs: false });\n\nconst props = defineProps<FeedbackToastHostProps>();\n\nconst attrs = useAttrs();\n\n/** A `computed` keeps the fallback reactive, so a swapped `bus` re-subscribes. */\nconst bus = computed(() => props.bus ?? feedbackBus);\n\n/*\n * React's `useEffect(() => bus.subscribe(...), [bus])`: `onCleanup` receives the\n * unsubscribe, so a changed `bus` drops the old subscription before opening the\n * new one, and scope disposal drops the last.\n */\nwatch(\n bus,\n (current, _previous, onCleanup) => {\n // Client-only, as the effect was: a server render has no viewport to forward into.\n if (typeof document === 'undefined') return;\n const toastIds = new Map<string, string>();\n const close = (id: string | null): void => {\n if (id !== null) {\n const toastId = toastIds.get(id);\n if (toastId) toastHost.dismiss(toastId);\n return;\n }\n for (const toastId of [...toastIds.values()]) toastHost.dismiss(toastId);\n };\n const unsubscribe = current.subscribe((notice) => {\n const options: ToastOptions = {\n ...toToastOptions(notice),\n onDelete: notice.category === NoticeCategory.Retained ? () => current.remove(notice.id) : undefined,\n onDismiss: () => {\n toastIds.delete(notice.id);\n },\n };\n const existing = toastIds.get(notice.id);\n if (existing) toastHost.update(existing, options);\n else toastIds.set(notice.id, toastHost.toast(options));\n });\n const unsubscribeDismiss = current.subscribeDismiss(close);\n onCleanup(() => {\n unsubscribe();\n unsubscribeDismiss();\n close(null);\n });\n },\n { immediate: true },\n);\n</script>\n\n<template>\n <!-- Every non-`bus` attr is a `ToastHost` prop by construction — see `FeedbackToastHostProps`. -->\n <ToastHost v-bind=\"attrs\" />\n</template>\n","<script lang=\"ts\">\nimport type { Size } from '../../../foundation/styles';\nimport type { SpinnerTone } from '../spinner/Spinner.variants';\n\nexport interface LoadingOverlayProps {\n /** The mount state. Default `true`. */\n readonly isOpen?: boolean;\n\n /** The caption under the spinner. Default `\"Loading…\"`. Rich content → the `label` slot. */\n readonly label?: string;\n\n /** The inline-positioning toggle — the scrim sits absolutely inside the parent (must be `position: relative`). */\n readonly isInline?: boolean;\n\n /** The backdrop-blur toggle. */\n readonly hasBlur?: boolean;\n\n /** The spinner diameter step. Default `lg`. */\n readonly spinnerSize?: Size;\n\n /** The spinner color tone. Default `brand`. */\n readonly spinnerTone?: SpinnerTone;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocale } from '../../../foundation/i18n';\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\nimport { FocusScope, Presence } from '../../../foundation/primitives';\nimport BackdropOverlay from '../../overlays/backdropOverlay/BackdropOverlay.vue';\nimport Spinner from '../spinner/Spinner.vue';\nimport { SpinnerTone as SpinnerToneToken } from '../spinner/Spinner.variants';\n\nconst locale = useLocale();\n\n/**\n * Renders a scrim and centered spinner that block interaction with a region during a long task.\n * `isInline` scopes the scrim to a `position: relative` parent; default covers the\n * viewport via `BackdropOverlay`.\n *\n * React split the scrim into a `forwardRef` `LoadingScrim` so the two branches\n * could share it and `Presence` had a spreadable node to clone. Vue's `Presence`\n * clones whatever single element it is given, so the two branches collapse into\n * one `<div>` whose position/elevation classes switch on `isInline` — same DOM,\n * one component fewer.\n */\ndefineOptions({ name: 'LoadingOverlay', inheritAttrs: false });\n\n/** Extra content below the label — React's `children`. */\ndefineSlots<{ default?(): unknown; label?(): unknown }>();\n\nconst componentProps = withDefaults(defineProps<LoadingOverlayProps>(), {\n isOpen: true,\n isInline: false,\n hasBlur: false,\n spinnerSize: SizeToken.Lg,\n spinnerTone: SpinnerToneToken.Brand,\n});\nconst props = useLocaleDefaults(componentProps, 'LoadingOverlay', { label: 'Loading…' });\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst hasLabel = computed(() => Boolean(props.label) || Boolean(slots.label));\n\n/** Falls back to `\"Loading\"` when the caller blanks the caption. */\nconst spinnerLabel = computed(() => props.label || locale.t('LoadingOverlay.loading', undefined, 'Loading'));\n\n/*\n * `data-state` is injected by <Presence>; the fade tokens are gated on it so\n * enter plays on mount and exit plays before Presence defers the unmount.\n * The inline scrim carries the tint and the blur itself; the viewport one is\n * click-through and leaves both to the portalled `BackdropOverlay` behind it.\n */\nconst classes = computed(() =>\n cn(\n 'flex flex-col items-center justify-center gap-3 outline-hidden',\n 'motion-safe:data-[state=open]:animate-(--animate-fade-in)',\n 'motion-safe:data-[state=closed]:animate-(--animate-fade-out)',\n 'motion-reduce:animate-none',\n props.isInline\n ? ['absolute inset-0 z-banner bg-background/70', props.hasBlur && 'backdrop-blur-sm']\n : 'fixed inset-0 z-modal pointer-events-none',\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <!-- `BackdropOverlay` self-wraps in `Presence`; driving its `isOpen` from ours lets its\n fade-out play before it defers its own unmount. -->\n <BackdropOverlay v-if=\"!props.isInline\" :isOpen=\"props.isOpen\" :is-blurred=\"props.hasBlur\" class=\"bg-background/70\" />\n <Presence :is-present=\"props.isOpen\">\n <!-- The viewport scrim blocks the pointer; the trap blocks the keyboard the same way, so Tab cannot reach — and\n Enter cannot trigger — the controls under it. Focus returns where it was when the scrim lifts. -->\n <FocusScope v-if=\"!props.isInline\" as-child is-trapped can-loop>\n <div ref=\"el\" role=\"status\" tabindex=\"-1\" v-bind=\"rest\" :class=\"classes\">\n <Spinner :size=\"props.spinnerSize\" :tone=\"props.spinnerTone\" :label=\"spinnerLabel\" />\n <div v-if=\"hasLabel\" class=\"text-sm text-foreground\">\n <slot name=\"label\">{{ props.label }}</slot>\n </div>\n <slot />\n </div>\n </FocusScope>\n <div v-else ref=\"el\" role=\"status\" v-bind=\"rest\" :class=\"classes\">\n <Spinner :size=\"props.spinnerSize\" :tone=\"props.spinnerTone\" :label=\"spinnerLabel\" />\n <div v-if=\"hasLabel\" class=\"text-sm text-foreground\">\n <slot name=\"label\">{{ props.label }}</slot>\n </div>\n <slot />\n </div>\n </Presence>\n</template>\n","<script lang=\"ts\">\nimport type { ProgressTone } from '../../../foundation/styles';\n\nexport interface SplashScreenProps {\n /** The mount state. Default `true`; closing fades the screen out before it unmounts. */\n readonly isOpen?: boolean;\n\n /** The overlay toggle — the screen covers the viewport above the app instead of filling its parent as a page. */\n readonly isOverlay?: boolean;\n\n /** The load progress, 0–`max`. Omit for indeterminate. */\n readonly value?: number;\n\n /** The value that completes the progress. Default `100`. */\n readonly max?: number;\n\n /** The progress fill tone. Default `brand`. */\n readonly tone?: ProgressTone;\n\n /** The accessible name of the progress. Default `\"Loading…\"`. */\n readonly label?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { FocusScope, Presence } from '../../../foundation/primitives';\nimport { cn, ProgressTone as ProgressToneToken, Size } from '../../../foundation/styles';\nimport ProgressBar from '../progressBar/ProgressBar.vue';\n\n/**\n * Renders an app's first-load screen: the product logo centred above a slim progress bar.\n * The default fills its parent as a page; `isOverlay` covers the viewport while the app mounts beneath it,\n * so closing it reveals the app with a fade. It appears without one.\n *\n * `role=\"status\"` is bound before `v-bind=\"rest\"`, so a caller-supplied `role` still wins. The overlay holds keyboard\n * focus the way `LoadingOverlay` does, then hands it back when it lifts.\n */\ndefineOptions({ name: 'SplashScreen', inheritAttrs: false });\n\ndefineSlots<{\n /** The product logo, centred above the progress bar. */\n logo?(): unknown;\n /** Extra content below the progress bar. */\n default?(): unknown;\n}>();\n\nconst componentProps = withDefaults(defineProps<SplashScreenProps>(), {\n isOpen: true,\n isOverlay: false,\n max: 100,\n tone: ProgressToneToken.Brand,\n});\nconst props = useLocaleDefaults(componentProps, 'SplashScreen', { label: 'Loading…' });\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\n/* No enter fade: the screen shows at once, so it can take over from a static twin in the mount node without a\n flash. <Presence> mounts children as `data-state=\"closed\"`, so the exit fade keys on `isOpen`, not on that state;\n Presence then defers the unmount until the fade ends. */\nconst classes = computed(() =>\n cn(\n 'flex flex-col items-center justify-center gap-6 bg-background px-6 text-center outline-hidden',\n !props.isOpen && 'motion-safe:animate-(--animate-fade-out)',\n props.isOverlay ? 'fixed inset-0 z-modal' : 'min-h-dvh w-full',\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <Presence :is-present=\"props.isOpen\">\n <!-- The overlay covers the pointer; the trap covers the keyboard, so Tab cannot reach the app mounting\n beneath it. Focus returns where it was when the overlay lifts. -->\n <FocusScope v-if=\"props.isOverlay\" as-child is-trapped can-loop>\n <div ref=\"el\" role=\"status\" tabindex=\"-1\" v-bind=\"rest\" :class=\"classes\">\n <slot name=\"logo\" />\n <ProgressBar\n :value=\"props.value\"\n :max=\"props.max\"\n :tone=\"props.tone\"\n :size=\"Size.Sm\"\n :label=\"props.label\"\n class=\"w-48 max-w-full\"\n />\n <slot />\n </div>\n </FocusScope>\n <div v-else ref=\"el\" role=\"status\" v-bind=\"rest\" :class=\"classes\">\n <slot name=\"logo\" />\n <ProgressBar\n :value=\"props.value\"\n :max=\"props.max\"\n :tone=\"props.tone\"\n :size=\"Size.Sm\"\n :label=\"props.label\"\n class=\"w-48 max-w-full\"\n />\n <slot />\n </div>\n </Presence>\n</template>\n","<script lang=\"ts\">\nimport type { OverlayPosition } from '../../../foundation/styles';\n\nexport interface UndoBarProps {\n readonly open: boolean;\n /** The snackbar copy. Rich content → the `message` slot. Supply this or the slot. */\n readonly message?: string;\n readonly undoLabel?: string;\n /** The auto-dismiss delay in ms; `Infinity` = sticky. Default 5000. */\n readonly duration?: number;\n readonly canPauseOnHover?: boolean;\n readonly position?: OverlayPosition;\n readonly hasCountdown?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { computed, getCurrentInstance, onUnmounted, ref, useAttrs, watch } from 'vue';\nimport { cn, OverlayPosition as OverlayPositionToken, surfaceVariants } from '../../../foundation/styles';\nimport { Portal, Presence } from '../../../foundation/primitives';\n\nconst PositionClass: Record<OverlayPosition, string> = {\n 'top-right': 'top-4 right-4',\n 'top-left': 'top-4 left-4',\n 'top-center': 'top-4 left-1/2 -translate-x-1/2',\n 'bottom-right': 'bottom-4 right-4',\n 'bottom-left': 'bottom-4 left-4',\n 'bottom-center': 'bottom-4 left-1/2 -translate-x-1/2',\n};\n\n/**\n * Renders a snackbar carrying one message and a single \"Undo\" action.\n * Auto-dismisses after `duration`; pause-on-hover preserves remaining time. For multi-toast queues\n * use the L5 `ToastHost` instead.\n *\n * React's `className` arrives as the ordinary `class` attr and is merged onto\n * the panel, not the positioning wrapper — the same node it landed on in React.\n */\ndefineOptions({ name: 'UndoBar', inheritAttrs: false });\n\nconst componentProps = withDefaults(defineProps<UndoBarProps>(), {\n duration: 5000,\n canPauseOnHover: true,\n position: OverlayPositionToken.BottomCenter,\n hasCountdown: false,\n});\nconst props = useLocaleDefaults(componentProps, 'UndoBar', { undoLabel: 'Undo' });\n\nconst emit = defineEmits<{\n /** Fires when the bar opens or closes — it closes on auto-dismiss and right after Undo. */\n 'update:open': [open: boolean];\n /** Fires when the reader presses Undo; omitting `@undo` omits the button. */\n undo: [];\n}>();\n\ndefineSlots<{\n /** The snackbar message. Falls back to the `message` prop. */\n message?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst instance = getCurrentInstance();\n\n/**\n * Mirrors React's `onUndo && <button/>` guard — the undo button renders only\n * when the consumer bound `@undo`. Read through a call, not a cached computed:\n * `instance.vnode` is replaced on every re-render.\n */\nconst hasUndo = () => Boolean(instance?.vnode.props?.onUndo);\n\nconst progress = ref(1);\nconst hovered = ref(false);\nconst focused = ref(false);\nconst paused = computed(() => props.canPauseOnHover && (hovered.value || focused.value));\n\n/* `useRef` counterparts — read/written across ticks, never rendered. */\nlet start = 0;\nlet remaining = props.duration;\nlet raf: number | null = null;\n\n/**\n * The React `useEffect` timer, dep-for-dep: `[isOpen, duration, paused, hasCountdown]`.\n * `flush: 'post'` is the `useEffect` analogue, and `onCleanup` replays the\n * teardown that banks the elapsed time back into `remaining`.\n */\nwatch(\n [() => props.open, () => props.duration, paused, () => props.hasCountdown],\n ([isOpen, duration, isPaused, hasCountdown], previous, onCleanup) => {\n if (!previous[0] || previous[1] !== duration) {\n remaining = duration;\n progress.value = 1;\n }\n if (!isOpen) {\n remaining = duration;\n progress.value = 1;\n hovered.value = false;\n focused.value = false;\n return;\n }\n if (duration === Infinity) {\n progress.value = 1;\n return;\n }\n if (isPaused) return;\n /* `immediate: true` runs this watcher on the server too, and an UndoBar is rendered\n `is-open`. Neither `window` nor `requestAnimationFrame` exists there — start no clock;\n the same watcher arms it on the client, where the countdown is the only thing it drives. */\n if (typeof window === 'undefined' || typeof requestAnimationFrame === 'undefined') return;\n\n start = performance.now();\n if (!hasCountdown) {\n // No visible countdown — a single timeout, no per-frame re-renders.\n const handle = window.setTimeout(() => {\n emit('update:open', false);\n }, remaining);\n onCleanup(() => {\n window.clearTimeout(handle);\n const elapsed = performance.now() - start;\n remaining = Math.max(0, remaining - elapsed);\n });\n return;\n }\n const tick = (now: number) => {\n const elapsed = now - start;\n const left = Math.max(0, remaining - elapsed);\n progress.value = left / duration;\n if (left <= 0) {\n emit('update:open', false);\n return;\n }\n raf = requestAnimationFrame(tick);\n };\n raf = requestAnimationFrame(tick);\n onCleanup(() => {\n if (raf != null) cancelAnimationFrame(raf);\n const elapsed = performance.now() - start;\n remaining = Math.max(0, remaining - elapsed);\n });\n },\n { immediate: true, flush: 'post' },\n);\n\nonUnmounted(() => {\n if (raf != null) cancelAnimationFrame(raf);\n});\n\nfunction onFocusout(event: FocusEvent): void {\n const panel = event.currentTarget as HTMLElement;\n if (!(event.relatedTarget instanceof Node) || !panel.contains(event.relatedTarget)) focused.value = false;\n}\n\nconst onUndoClick = () => {\n emit('undo');\n emit('update:open', false);\n};\n\nconst wrapperClasses = computed(() => cn('fixed z-toast', PositionClass[props.position]));\n\n/**\n * `Presence` clones `data-state` onto this node, and the enter/exit tokens are\n * gated on it. slide-in-bottom/out-bottom carry their own fade; `motion-safe`\n * so reduced-motion users get no movement.\n */\nconst panelClasses = computed(() =>\n cn(\n 'relative flex items-center gap-3 overflow-hidden text-sm',\n surfaceVariants({ variant: 'surface', radius: 'md', padding: 'sm', elevation: 3 }),\n 'px-4 py-2.5',\n 'motion-safe:data-[state=open]:animate-(--animate-slide-in-bottom)',\n 'motion-safe:data-[state=closed]:animate-(--animate-slide-out-bottom)',\n 'motion-reduce:animate-none',\n attrs.class as string | undefined,\n ),\n);\n\nconst showCountdown = computed(() => props.hasCountdown && props.duration !== Infinity);\n</script>\n\n<template>\n <!--\n Static positioning wrapper holds the fixed corner + (for `*-center`) the\n centering `-translate-x-1/2`; the inner panel carries the slide keyframe,\n whose own `translateY` would otherwise clobber that centering translate if\n both sat on one node. `Portal` stays mounted; `Presence` owns the panel's\n mount so the exit (slide-out + fade) plays before unmount, cloning\n `data-state` onto the panel for its motion.\n -->\n <Portal>\n <div :class=\"wrapperClasses\">\n <Presence :is-present=\"props.open\">\n <div\n role=\"status\"\n aria-live=\"polite\"\n :class=\"panelClasses\"\n @mouseenter=\"hovered = true\"\n @mouseleave=\"hovered = false\"\n @focusin=\"focused = true\"\n @focusout=\"onFocusout\"\n >\n <span class=\"flex-1\">\n <slot name=\"message\">{{ props.message }}</slot>\n </span>\n <button\n v-if=\"hasUndo()\"\n type=\"button\"\n class=\"font-medium text-primary-soft-foreground transition-colors hover:underline focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring rounded-sm px-1\"\n @click=\"onUndoClick\"\n >\n {{ props.undoLabel }}\n </button>\n <div v-if=\"showCountdown\" class=\"absolute bottom-0 left-0 h-0.5 w-full bg-border\">\n <div\n class=\"h-full bg-primary transition-[width] duration-100 ease-linear\"\n :style=\"{ width: `${progress * 100}%` }\"\n />\n </div>\n </div>\n </Presence>\n </div>\n </Portal>\n</template>\n","<script lang=\"ts\">\nimport type { Size } from '../../../foundation/styles';\n\n/** Defines the TypingIndicator dot tone. */\nexport const TypingTone = {\n /** Refers to the muted-foreground tone. */\n Muted: 'muted',\n /** Refers to the primary / brand tone. */\n Primary: 'primary',\n /** Refers to the full-emphasis foreground tone. */\n Foreground: 'foreground',\n} as const;\n\nexport type TypingTone = (typeof TypingTone)[keyof typeof TypingTone];\n\nexport interface TypingIndicatorProps {\n /** The optional name(s) of who is typing — rendered as a leading label. Rich content → the `who` slot. */\n readonly who?: string;\n\n /** The visual size of the bouncing dots. */\n readonly size?: Size;\n\n /** The color of the dots; defaults to muted. */\n readonly tone?: TypingTone;\n\n /** The subtle-mode flag — tones down dot opacity at rest (between bounces). */\n readonly isSubtle?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocale } from '../../../foundation/i18n';\nimport { computed, useAttrs, useSlots, useTemplateRef } from 'vue';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\n\nconst locale = useLocale();\n\n/* Only sm/md/lg carry a dot size; other `Size` members fall through to `md`. */\nconst SizeDot: Partial<Record<Size, string>> = {\n sm: 'h-1 w-1',\n md: 'h-1.5 w-1.5',\n lg: 'h-2 w-2',\n};\n\nconst ToneClass: Record<TypingTone, string> = {\n muted: 'bg-muted-foreground',\n primary: 'bg-primary',\n foreground: 'bg-foreground',\n};\n\n/**\n * Renders an optional \"who\" label beside three animating dots — the \"someone is typing\" cue.\n * Honors `prefers-reduced-motion` via Tailwind's `motion-safe:` / `motion-reduce:` modifiers — dots\n * stay visible at full opacity when motion is reduced.\n */\ndefineOptions({ name: 'TypingIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<TypingIndicatorProps>(), {\n size: SizeToken.Md,\n tone: TypingTone.Muted,\n});\n\ndefineSlots<{\n /** The \"who is typing\" label. Falls back to the `who` prop. */\n who?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLSpanElement>('el');\n\nconst hasWho = computed(() => Boolean(props.who) || Boolean(slots.who));\n\nconst dot = computed(() =>\n cn(\n 'inline-block rounded-full motion-safe:animate-bounce',\n SizeDot[props.size] ?? SizeDot.md,\n ToneClass[props.tone],\n props.isSubtle && 'motion-safe:opacity-60',\n ),\n);\n\n/** Only the string `who` prop can name the typist; the slot form falls back to the generic label. */\nconst ariaLabel = computed(() =>\n props.who\n ? locale.t('TypingIndicator.named', { name: props.who }, '{name} is typing')\n : locale.t('TypingIndicator.typing', undefined, 'Typing'),\n);\n\nconst classes = computed(() =>\n cn('inline-flex items-center gap-2 text-xs text-muted-foreground', attrs.class as string | undefined),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <span ref=\"el\" role=\"status\" aria-live=\"polite\" :aria-label=\"ariaLabel\" v-bind=\"rest\" :class=\"classes\">\n <span v-if=\"hasWho\" class=\"truncate\">\n <slot name=\"who\">{{ props.who }}</slot>\n </span>\n <span class=\"inline-flex items-end gap-1\" aria-hidden=\"true\">\n <span :class=\"dot\" :style=\"{ animationDelay: '0ms' }\" />\n <span :class=\"dot\" :style=\"{ animationDelay: '150ms' }\" />\n <span :class=\"dot\" :style=\"{ animationDelay: '300ms' }\" />\n </span>\n </span>\n</template>\n","<script lang=\"ts\">\nimport type { CornerPosition, Size } from '../../../foundation/styles';\n\n/** Defines a person's presence state. */\nexport const PresenceStatus = {\n /** Refers to actively available. */\n Online: 'online',\n /** Refers to present but inactive. */\n Idle: 'idle',\n /** Refers to present but do-not-disturb. */\n Busy: 'busy',\n /** Refers to not connected. */\n Offline: 'offline',\n /** Refers to connected but appearing offline. */\n Invisible: 'invisible',\n} as const;\n\nexport type PresenceStatus = (typeof PresenceStatus)[keyof typeof PresenceStatus];\n\nexport interface PresenceIndicatorProps {\n readonly status?: PresenceStatus;\n /** The dot diameter. */\n readonly size?: Size;\n\n /** The pulsing-ring toggle (only meaningful for `online`). */\n readonly hasPulse?: boolean;\n\n /** The corner position on a parent (use inside an Avatar wrapper). */\n readonly position?: CornerPosition;\n\n /** The accessible-label override. Defaults to status name. */\n readonly label?: string;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocale } from '../../../foundation/i18n';\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport { cn, Size as SizeToken } from '../../../foundation/styles';\n\nconst locale = useLocale();\n\nconst StatusBackground: Record<PresenceStatus, string> = {\n online: 'bg-success',\n idle: 'bg-warning',\n busy: 'bg-destructive',\n offline: 'bg-muted-foreground',\n invisible: 'bg-transparent border border-muted-foreground',\n};\n\n/* Only xs/sm/md/lg carry a dot size; other `Size` members fall through to `sm`. */\nconst SizeDot: Partial<Record<Size, string>> = {\n xs: 'h-1.5 w-1.5',\n sm: 'h-2 w-2',\n md: 'h-2.5 w-2.5',\n lg: 'h-3 w-3',\n};\n\nconst PositionClass: Record<CornerPosition, string> = {\n 'top-right': 'absolute top-0 right-0',\n 'top-left': 'absolute top-0 left-0',\n 'bottom-right': 'absolute bottom-0 right-0',\n 'bottom-left': 'absolute bottom-0 left-0',\n};\n\nconst StatusLabel: Record<PresenceStatus, string> = {\n online: 'Online',\n idle: 'Idle',\n busy: 'Busy',\n offline: 'Offline',\n invisible: 'Invisible',\n};\n\n/**\n * Renders a colored dot encoding a person's presence — online / idle / busy / offline / invisible.\n * Includes a `ring-background` so it pops cleanly when overlaid on an `Avatar`.\n * Pass `position` to absolutely place it on a positioned parent.\n */\ndefineOptions({ name: 'PresenceIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<PresenceIndicatorProps>(), {\n status: PresenceStatus.Online,\n size: SizeToken.Sm,\n});\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLSpanElement>('el');\n\nconst showPulse = computed(() => Boolean(props.hasPulse) && props.status === PresenceStatus.Online);\n\nconst classes = computed(() =>\n cn(\n 'inline-flex rounded-full ring-2 ring-background',\n StatusBackground[props.status],\n SizeDot[props.size] ?? SizeDot.sm,\n props.position && PositionClass[props.position],\n 'relative',\n attrs.class as string | undefined,\n ),\n);\n\n/** Everything but `class`, which is re-applied through `cn` above. */\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <span\n ref=\"el\"\n role=\"status\"\n :aria-label=\"props.label ?? locale.t('PresenceIndicator.' + props.status, undefined, StatusLabel[props.status])\"\n :data-status=\"props.status\"\n v-bind=\"rest\"\n :class=\"classes\"\n >\n <span\n v-if=\"showPulse\"\n aria-hidden=\"true\"\n :class=\"cn('absolute inset-0 rounded-full opacity-75 motion-safe:animate-ping', StatusBackground.online)\"\n />\n </span>\n</template>\n","<script lang=\"ts\">\nexport interface LiveCursorIndicatorProps {\n /** The pixel offset from the parent's top-left corner. */\n readonly x: number;\n readonly y: number;\n /** The display name shown beside the pointer. Rich content → the `name` slot. */\n readonly name?: string;\n\n /** The CSS color used for the pointer fill and label background. */\n readonly color?: string;\n\n /** The smooth-movement toggle between updates. Defaults to true; auto-disables with reduced motion. */\n readonly isSmooth?: boolean;\n\n /** The pixel offset for the label relative to the pointer. */\n readonly labelOffset?: { x?: number; y?: number };\n\n /** The pointer-only toggle — hides the label and shows only the pointer. */\n readonly isPointerOnly?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useSlots, useTemplateRef, type CSSProperties } from 'vue';\nimport { cn } from '../../../foundation/styles';\nimport { useReducedMotion } from '../../../foundation/device';\n\n/**\n * Renders a remote user's cursor and name label on a collaborative canvas.\n * Wrap in a `relative` parent; places itself absolutely at `(x, y)`, smoothing movement unless\n * reduced-motion.\n */\ndefineOptions({ name: 'LiveCursorIndicator', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<LiveCursorIndicatorProps>(), {\n color: 'var(--color-primary)',\n isSmooth: true,\n});\n\ndefineSlots<{\n /** The cursor name label. Falls back to the `name` prop. */\n name?(): unknown;\n}>();\n\nconst attrs = useAttrs();\nconst slots = useSlots();\nconst el = useTemplateRef<HTMLDivElement>('el');\n\nconst reducedMotion = useReducedMotion();\nconst useTransition = computed(() => props.isSmooth && !reducedMotion.value);\n\nconst lx = computed(() => props.labelOffset?.x ?? 12);\nconst ly = computed(() => props.labelOffset?.y ?? 16);\n\nconst hasName = computed(() => Boolean(props.name) || Boolean(slots.name));\n\nconst wrapperStyle = computed<CSSProperties>(() => ({\n transform: `translate3d(${props.x}px, ${props.y}px, 0)`,\n transition: useTransition.value ? 'transform 80ms linear' : undefined,\n}));\n\nconst labelStyle = computed<CSSProperties>(() => ({\n backgroundColor: props.color,\n transform: `translate(${lx.value}px, ${ly.value}px)`,\n}));\n\nconst classes = computed(() =>\n cn('pointer-events-none absolute left-0 top-0 z-tooltip select-none', attrs.class as string | undefined),\n);\n\n/**\n * Everything but `class` and `style` — both are re-applied by hand. The array\n * `:style` binding reproduces React's `{ ...wrapperStyle, ...style }` merge\n * (caller wins) while tolerating the string form Vue also allows for `style`.\n */\nconst rest = computed(() => {\n const { class: _class, style: _style, ...others } = attrs;\n return others;\n});\n\nconst callerStyle = computed(() => attrs.style as CSSProperties | string | undefined);\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" aria-hidden=\"true\" v-bind=\"rest\" :class=\"classes\" :style=\"[wrapperStyle, callerStyle ?? {}]\">\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" class=\"drop-shadow-sm\">\n <path\n d=\"M5 3 L5 19 L9.5 14.5 L12.5 21 L15.5 19.5 L12.5 13 L19 13 Z\"\n :fill=\"props.color\"\n stroke=\"white\"\n stroke-width=\"1.25\"\n stroke-linejoin=\"round\"\n />\n </svg>\n <span\n v-if=\"hasName && !props.isPointerOnly\"\n class=\"absolute whitespace-nowrap rounded-md px-1.5 py-0.5 text-[11px] font-medium leading-none text-white shadow-sm\"\n :style=\"labelStyle\"\n >\n <slot name=\"name\">{{ props.name }}</slot>\n </span>\n </div>\n</template>\n","<script lang=\"ts\">\nexport interface PasswordStrengthCalloutProps {\n /** The password to measure. */\n readonly value: string;\n\n /** The override score (0–4). When set, internal scoring is bypassed. */\n readonly score?: 0 | 1 | 2 | 3 | 4;\n\n /** The hidden state for the textual label under the bar. */\n readonly isLabelHidden?: boolean;\n}\n\nconst StrengthLabels = ['Too weak', 'Weak', 'Fair', 'Strong', 'Excellent'];\nconst ToneClass = ['bg-destructive', 'bg-destructive', 'bg-warning', 'bg-success', 'bg-success'];\n\nfunction scorePassword(pw: string): 0 | 1 | 2 | 3 | 4 {\n let score = 0;\n if (pw.length >= 8) score++;\n if (pw.length >= 12) score++;\n if (/[a-z]/.test(pw) && /[A-Z]/.test(pw)) score++;\n if (/\\d/.test(pw)) score++;\n if (/[^A-Za-z0-9]/.test(pw)) score++;\n /* Length dominates guessability: a short password stays \"Weak\" however many character classes it mixes. */\n const ceiling = pw.length < 8 ? 1 : 4;\n return Math.min(ceiling, score) as 0 | 1 | 2 | 3 | 4;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { useLocale } from '../../../foundation/i18n';\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport type { ClassValue } from 'clsx';\nimport { cn } from '../../../foundation/styles';\n\nconst locale = useLocale();\n\n/** Renders a four-bar password strength meter from naive 0–4 scoring, or from a `score` you supply. */\n/* `inheritAttrs: false` so `class` folds into the component's own `cn()` call — plain fallthrough\n appends outside it and loses tailwind-merge conflict resolution. */\ndefineOptions({ name: 'PasswordStrengthCallout', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<PasswordStrengthCalloutProps>(), {\n score: undefined,\n /* Explicit `undefined` default: Vue casts an absent `boolean` prop to `false`, which is the\n same rendering here, but the prop stays a genuine tri-state for consumers reading it. */\n isLabelHidden: undefined,\n});\n\nconst attrs = useAttrs();\n\nconst resolvedScore = computed<0 | 1 | 2 | 3 | 4>(\n () => props.score ?? (props.value.length === 0 ? 0 : scorePassword(props.value)),\n);\n\nconst label = computed(() =>\n locale.t('PasswordStrengthCallout.score' + resolvedScore.value, undefined, StrengthLabels[resolvedScore.value] ?? ''),\n);\nconst tone = computed(() => ToneClass[resolvedScore.value] ?? 'bg-destructive');\n\nfunction barClass(index: number): string {\n return cn('h-1 flex-1 rounded-full bg-muted transition-colors', index < resolvedScore.value && tone.value);\n}\n\n/* The verdict is always spoken once there is a password; `isLabelHidden` only hides it visually. */\nconst hasVerdict = computed(() => Boolean(props.value) || props.score !== undefined);\nconst labelClass = computed(() => (props.isLabelHidden ? 'sr-only' : 'text-xs text-muted-foreground'));\n\nconst OwnedAttributes: ReadonlySet<string> = new Set(['class']);\nconst passthroughAttrs = computed(() =>\n Object.fromEntries(Object.entries(attrs).filter(([key]) => !OwnedAttributes.has(key))),\n);\n\nconst rootClass = computed(() => cn('flex flex-col gap-1', attrs.class as ClassValue));\n\nconst root = useTemplateRef<HTMLDivElement>('root');\n\n/** The rendered element — the Vue stand-in for the React original's forwarded ref. */\ndefineExpose({ el: root });\n</script>\n\n<template>\n <div ref=\"root\" :class=\"rootClass\" v-bind=\"passthroughAttrs\">\n <div class=\"flex gap-1\" aria-hidden=\"true\">\n <div v-for=\"i in 4\" :key=\"i\" :class=\"barClass(i - 1)\" />\n </div>\n <div v-if=\"hasVerdict\" aria-live=\"polite\" :class=\"labelClass\">\n <!-- The separating space lives inside the string: template whitespace beside a tag is condensed away. -->\n <span class=\"sr-only\">{{\n `${locale.t('PasswordStrengthCallout.prefix', undefined, 'Password strength:')} `\n }}</span\n >{{ label }}\n </div>\n </div>\n</template>\n","<script lang=\"ts\">\nexport interface CharacterCountCalloutProps {\n /** The current length. */\n readonly value: number;\n\n /** The maximum allowed length (also flips text to destructive when exceeded). */\n readonly max: number;\n\n /** The display mode — `current / max` (default) or just `current`. */\n readonly isMaxShown?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef } from 'vue';\nimport type { ClassValue } from 'clsx';\nimport { cn } from '../../../foundation/styles';\nimport { useLocale } from '../../../foundation/i18n';\n\n/** Renders the live character count for a limited field, going destructive once `value` passes `max`. */\n/* `inheritAttrs: false` so `class` folds into the component's own `cn()` call — plain fallthrough\n appends outside it and loses tailwind-merge conflict resolution. */\ndefineOptions({ name: 'CharacterCountCallout', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<CharacterCountCalloutProps>(), { isMaxShown: true });\n\nconst attrs = useAttrs();\n\nconst locale = useLocale();\nconst isOver = computed(() => props.value > props.max);\n\n/* Speaking every keystroke's \"12 / 280\" floods a screen reader. The visible count stays silent; a spoken sentence\n appears only in the last tenth of the budget and past it — the moment the limit matters. */\nconst announcement = computed(() => {\n const remaining = props.max - props.value;\n if (remaining < 0) {\n return locale.t('CharacterCountCallout.over', { count: -remaining }, '{count} characters over the limit');\n }\n if (remaining <= Math.max(1, Math.ceil(props.max * 0.1))) {\n return locale.t('CharacterCountCallout.left', { count: remaining }, '{count} characters left');\n }\n return '';\n});\n\nconst OwnedAttributes: ReadonlySet<string> = new Set(['class']);\nconst passthroughAttrs = computed(() =>\n Object.fromEntries(Object.entries(attrs).filter(([key]) => !OwnedAttributes.has(key))),\n);\n\nconst rootClass = computed(() =>\n cn(\n 'text-right text-xs',\n // `-soft-foreground`: the tone's text token, AA on every neutral surface in every theme.\n isOver.value ? 'text-destructive-soft-foreground' : 'text-muted-foreground',\n attrs.class as ClassValue,\n ),\n);\n\nconst root = useTemplateRef<HTMLDivElement>('root');\n\n/** The rendered element — the Vue stand-in for the React original's forwarded ref. */\ndefineExpose({ el: root });\n</script>\n\n<template>\n <div ref=\"root\" :class=\"rootClass\" v-bind=\"passthroughAttrs\">\n <span aria-hidden=\"true\">{{ value }}{{ isMaxShown ? ` / ${max}` : '' }}</span>\n <span class=\"sr-only\" aria-live=\"polite\">{{ announcement }}</span>\n </div>\n</template>\n","<script lang=\"ts\">\n/** Defines props for the subtree error boundary. */\nexport interface ErrorBoundaryProps {\n /** Values that clear a caught error when any of them changes — a route id, a record id, a retry count. */\n readonly resetKeys?: ReadonlyArray<unknown>;\n\n /** The built-in fallback's heading. Default `\"Something went wrong\"`, localized. */\n readonly title?: string;\n\n /** The built-in fallback's retry button text. Default `\"Try again\"`, localized. */\n readonly retryLabel?: string;\n}\n\n/**\n * @internal The error-info tags Vue reports for a listener that threw — the development text and the\n * production reference code. A failed handler leaves the subtree rendered, as React boundaries do.\n */\nconst HandlerErrorInfo = [\n 'native event handler',\n 'component event handler',\n 'https://vuejs.org/error-reference/#runtime-5',\n 'https://vuejs.org/error-reference/#runtime-6',\n] as const;\n\n/** @internal Whether a captured error came from an event handler rather than rendering or a lifecycle. */\nfunction isHandlerError(info: string): boolean {\n return (HandlerErrorInfo as ReadonlyArray<string>).includes(info);\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, onErrorCaptured, shallowRef, useAttrs, watch } from 'vue';\nimport { useLocaleDefaults } from '../../../foundation/i18n';\nimport { cn } from '../../../foundation/styles';\n\n/**\n * Renders its subtree until a descendant throws while rendering, setting up, updating or running a\n * lifecycle hook or watcher, then renders a fallback with a retry that remounts the subtree.\n */\ndefineOptions({ name: 'ErrorBoundary', inheritAttrs: false });\n\ndefineSlots<{\n /** The guarded subtree. */\n default(): unknown;\n\n /** Replaces the built-in fallback; receives the caught error and the reset. */\n fallback?(props: { error: unknown; reset: () => void }): unknown;\n}>();\n\nconst componentProps = withDefaults(defineProps<ErrorBoundaryProps>(), {\n resetKeys: () => [],\n});\nconst props = useLocaleDefaults(componentProps, 'ErrorBoundary', {\n title: 'Something went wrong',\n retryLabel: 'Try again',\n});\n\nconst emit = defineEmits<{\n /** Fires for every error a descendant throws, with Vue's error-info tag; handler errors keep the subtree. */\n error: [error: unknown, info: string];\n\n /** Fires when a caught error clears — the retry, or a `resetKeys` change. */\n reset: [];\n}>();\n\nconst attrs = useAttrs();\n\n/** The caught error, wrapped so a thrown `null` or `undefined` still counts as caught. */\nconst caught = shallowRef<{ readonly error: unknown } | null>(null);\n\nconst hasError = computed(() => caught.value !== null);\n\nconst rest = computed(() => {\n const { class: _class, ...others } = attrs;\n return others;\n});\n\n/** The built-in fallback's classes, with the caller's `class` merged last. */\nconst fallbackClass = computed(() =>\n cn(\n 'space-y-2 rounded-md border border-destructive/40 bg-destructive-soft p-3',\n 'text-sm text-destructive-soft-foreground',\n attrs.class as string | undefined,\n ),\n);\n\n/** Clears a caught error when any reset key changes. */\nwatch(\n () => [...props.resetKeys],\n (next, previous) => {\n if (next.length === previous.length && next.every((value, index) => Object.is(value, previous[index]))) return;\n if (hasError.value) reset();\n },\n);\n\n/** Swaps rendering and lifecycle failures for the fallback; a handler failure only reports and propagates. */\nonErrorCaptured((error, _instance, info) => {\n emit('error', error, info);\n if (isHandlerError(info)) return true;\n caught.value = { error };\n return false;\n});\n\n/** Clears the caught error, which remounts the subtree. */\nfunction reset(): void {\n if (!hasError.value) return;\n caught.value = null;\n emit('reset');\n}\n</script>\n\n<template>\n <slot v-if=\"!caught\" />\n <slot v-else name=\"fallback\" :error=\"caught.error\" :reset=\"reset\">\n <div role=\"alert\" v-bind=\"rest\" :class=\"fallbackClass\">\n <p class=\"font-medium\">{{ props.title }}</p>\n <button\n type=\"button\"\n class=\"rounded-sm font-medium underline underline-offset-2 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring\"\n @click=\"reset\"\n >\n {{ props.retryLabel }}\n </button>\n </div>\n </slot>\n</template>\n"],"names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot","_createBlock","_resolveDynamicComponent","_hoisted_2","_toDisplayString","_unref","_Fragment","_renderList","SkeletonState","_createVNode","EmptyState","_createSlots","Button","$slots","_createElementVNode","_normalizeStyle","ToneClass","AlertSimple","_hoisted_1","_createTextVNode","_hoisted_3","_hoisted_4","Icon","BannerSimple","_hoisted_5","Spinner","OrientationToken","_normalizeClass","ToastHost","BackdropOverlay","FocusScope","ProgressBar","Portal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,UAAM,QAAQ;AAOd,UAAM,QAAQ,SAAA;AACd,UAAM,KAAK,eAA+B,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