@wow-two-beta/ui-vue 0.0.3 → 0.0.5
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/chunks/{BackToTopButton.vue_vue_type_script_setup_true_lang-CkxLllEO.js → BackToTopButton.vue_vue_type_script_setup_true_lang-iLYlhK05.js} +11 -5
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-iLYlhK05.js.map +1 -0
- package/dist/chunks/{Backdrop.vue_vue_type_script_setup_true_lang-DZUhGY9p.js → Backdrop.vue_vue_type_script_setup_true_lang-CKG--_g8.js} +2 -2
- package/dist/chunks/{Backdrop.vue_vue_type_script_setup_true_lang-DZUhGY9p.js.map → Backdrop.vue_vue_type_script_setup_true_lang-CKG--_g8.js.map} +1 -1
- package/dist/chunks/{BottomSheet.vue_vue_type_script_setup_true_lang-CmNoI4BE.js → BottomSheet.vue_vue_type_script_setup_true_lang-CmNaGird.js} +8 -8
- package/dist/chunks/{BottomSheet.vue_vue_type_script_setup_true_lang-CmNoI4BE.js.map → BottomSheet.vue_vue_type_script_setup_true_lang-CmNaGird.js.map} +1 -1
- package/dist/chunks/{ChatComposer.vue_vue_type_script_setup_true_lang-lNcRhKIv.js → ChatComposer.vue_vue_type_script_setup_true_lang-DfeVsj9h.js} +1024 -579
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-DfeVsj9h.js.map +1 -0
- package/dist/chunks/{DateExtensions-QahSUlRy.js → DateExtensions-C6a-h8ji.js} +12 -22
- package/dist/chunks/{DateExtensions-QahSUlRy.js.map → DateExtensions-C6a-h8ji.js.map} +1 -1
- package/dist/chunks/{DismissableLayer.vue_vue_type_script_setup_true_lang-6nRnzsJW.js → DismissableLayer.vue_vue_type_script_setup_true_lang-ptH1ttBL.js} +3 -3
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-ptH1ttBL.js.map +1 -0
- package/dist/chunks/{DrawerContent.vue_vue_type_script_setup_true_lang-DvvrJdF0.js → DrawerContent.vue_vue_type_script_setup_true_lang-4n5w3lg2.js} +5 -5
- package/dist/chunks/{DrawerContent.vue_vue_type_script_setup_true_lang-DvvrJdF0.js.map → DrawerContent.vue_vue_type_script_setup_true_lang-4n5w3lg2.js.map} +1 -1
- package/dist/chunks/{ModalContent.vue_vue_type_script_setup_true_lang-CLACSqKg.js → ModalContent.vue_vue_type_script_setup_true_lang-Co5jaeXk.js} +5 -5
- package/dist/chunks/{ModalContent.vue_vue_type_script_setup_true_lang-CLACSqKg.js.map → ModalContent.vue_vue_type_script_setup_true_lang-Co5jaeXk.js.map} +1 -1
- package/dist/chunks/{Navbar.vue_vue_type_script_setup_true_lang-Cl2ejukE.js → Navbar.vue_vue_type_script_setup_true_lang-Cy0zvm5d.js} +7 -7
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cy0zvm5d.js.map +1 -0
- package/dist/chunks/{NotificationItem.vue_vue_type_script_setup_true_lang-KC5Iusce.js → NotificationItem.vue_vue_type_script_setup_true_lang-DySfo3fD.js} +5 -5
- package/dist/chunks/{NotificationItem.vue_vue_type_script_setup_true_lang-KC5Iusce.js.map → NotificationItem.vue_vue_type_script_setup_true_lang-DySfo3fD.js.map} +1 -1
- package/dist/chunks/{OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.js → OptionTileGroup.vue_vue_type_script_setup_true_lang-CKSVGCby.js} +51 -30
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-CKSVGCby.js.map +1 -0
- package/dist/chunks/{PopoverContent.vue_vue_type_script_setup_true_lang-D-OiGICS.js → PopoverContent.vue_vue_type_script_setup_true_lang-DYd617X5.js} +4 -4
- package/dist/chunks/{PopoverContent.vue_vue_type_script_setup_true_lang-D-OiGICS.js.map → PopoverContent.vue_vue_type_script_setup_true_lang-DYd617X5.js.map} +1 -1
- package/dist/chunks/{Presence-C7IJvh_P.js → Presence-DE4MlrJz.js} +45 -27
- package/dist/chunks/Presence-DE4MlrJz.js.map +1 -0
- package/dist/chunks/{SortableHandle.vue_vue_type_script_setup_true_lang-CWCXGjZG.js → SortableHandle.vue_vue_type_script_setup_true_lang-8WPwGZ5e.js} +141 -130
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-8WPwGZ5e.js.map +1 -0
- package/dist/chunks/{SurfaceStyles-ChdpGRBO.js → SurfaceStyles-B6W7zdMi.js} +2 -2
- package/dist/chunks/{SurfaceStyles-ChdpGRBO.js.map → SurfaceStyles-B6W7zdMi.js.map} +1 -1
- package/dist/chunks/{TableOfContents.vue_vue_type_script_setup_true_lang-HVL4lg_f.js → TableOfContents.vue_vue_type_script_setup_true_lang-C9eM0AoG.js} +18 -20
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-C9eM0AoG.js.map +1 -0
- package/dist/chunks/{Tones-CI65uuq9.js → Tones-WKBNZ_u2.js} +39 -17
- package/dist/chunks/Tones-WKBNZ_u2.js.map +1 -0
- package/dist/chunks/{index-BD7H9CkO.js → index-CEoYQiWL.js} +3 -3
- package/dist/chunks/{index-BD7H9CkO.js.map → index-CEoYQiWL.js.map} +1 -1
- package/dist/chunks/{index-Cbydgcdk.js → index-op-kbVUk.js} +3 -3
- package/dist/chunks/{index-Cbydgcdk.js.map → index-op-kbVUk.js.map} +1 -1
- package/dist/foundation/primitives/index.js +3 -3
- package/dist/foundation/primitives/presence/Presence.d.ts +4 -0
- package/dist/foundation/utils/index.js +3 -3
- package/dist/index.js +111 -109
- package/dist/presentation/actions/index.js +2 -2
- package/dist/presentation/actions/speedDial/SpeedDialAction.vue.d.ts +6 -5
- package/dist/presentation/actions/speedDial/index.d.ts +3 -5
- package/dist/presentation/display/audioWaveform/AudioWaveform.vue.d.ts +1 -0
- package/dist/presentation/display/diffViewer/DiffViewer.vue.d.ts +2 -0
- package/dist/presentation/display/eventCalendar/EventCalendar.vue.d.ts +1 -0
- package/dist/presentation/display/frameGlyph/FrameGlyph.vue.d.ts +2 -0
- package/dist/presentation/display/gantt/Gantt.vue.d.ts +1 -0
- package/dist/presentation/display/heatmapCalendar/HeatmapCalendar.vue.d.ts +1 -0
- package/dist/presentation/display/index.js +98 -96
- package/dist/presentation/display/list/ListContext.d.ts +16 -0
- package/dist/presentation/display/list/ListItem.vue.d.ts +7 -1
- package/dist/presentation/display/list/index.d.ts +1 -0
- package/dist/presentation/display/metricChip/MetricChip.vue.d.ts +1 -1
- package/dist/presentation/display/moduleGlyphs/CellsGlyph.vue.d.ts +1 -0
- package/dist/presentation/display/radiusGlyph/RadiusGlyph.vue.d.ts +1 -0
- package/dist/presentation/display/reactionBar/ReactionBar.vue.d.ts +1 -0
- package/dist/presentation/feedback/index.js +1 -1
- package/dist/presentation/feedback/tour/Tour.vue.d.ts +1 -0
- package/dist/presentation/forms/TimeColumns.vue.d.ts +22 -0
- package/dist/presentation/forms/dateField/DateField.vue.d.ts +12 -0
- package/dist/presentation/forms/dateTimeField/DateTimeField.vue.d.ts +17 -0
- package/dist/presentation/forms/index.js +2 -2
- package/dist/presentation/forms/multiSelect/MultiSelect.vue.d.ts +8 -0
- package/dist/presentation/forms/multiSelect/MultiSelectContext.d.ts +9 -0
- package/dist/presentation/forms/multiSelect/MultiSelectTags.vue.d.ts +10 -0
- package/dist/presentation/forms/multiSelect/MultiSelectTrigger.vue.d.ts +5 -0
- package/dist/presentation/forms/timeField/TimeField.vue.d.ts +20 -5
- package/dist/presentation/forms/timePicker/TimePicker.vue.d.ts +5 -5
- package/dist/presentation/layout/index.js +1 -1
- package/dist/presentation/nav/index.js +1 -1
- package/dist/presentation/overlays/index.js +5 -5
- package/package.json +3 -2
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-CkxLllEO.js.map +0 -1
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-lNcRhKIv.js.map +0 -1
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-6nRnzsJW.js.map +0 -1
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cl2ejukE.js.map +0 -1
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.js.map +0 -1
- package/dist/chunks/Presence-C7IJvh_P.js.map +0 -1
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-CWCXGjZG.js.map +0 -1
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-HVL4lg_f.js.map +0 -1
- package/dist/chunks/Tones-CI65uuq9.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-Cbydgcdk.js","sources":["../../src/foundation/primitives/visuallyHidden/VisuallyHidden.vue","../../src/foundation/primitives/directionProvider/DirectionProvider.vue","../../src/foundation/primitives/accessibleIcon/AccessibleIcon.ts","../../src/foundation/primitives/collection/Collection.ts","../../src/foundation/primitives/scrollViewport/ScrollViewport.vue","../../src/foundation/primitives/colorModeProvider/ColorModeProvider.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { HTMLAttributes } from 'vue';\n\nexport type VisuallyHiddenProps = HTMLAttributes;\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs } from 'vue';\nimport { cn } from '../../utils/cn';\n\n/**\n * Visually hidden span — content removed from the visual layout but still\n * announced to screen readers. Use for accessible labels on icon-only\n * affordances and live-region announcements.\n *\n * `inheritAttrs: false` so a caller's `class` goes through `cn` (tailwind-merge\n * resolves the conflict) instead of being blindly concatenated by Vue's\n * automatic class fallthrough — a caller's `p-2` must be able to beat `p-0`.\n */\ndefineOptions({ name: 'VisuallyHidden', inheritAttrs: false });\n\nconst attrs = useAttrs();\n\nconst classes = computed(() =>\n cn(\n 'absolute h-px w-px overflow-hidden whitespace-nowrap border-0 p-0',\n 'm-[-1px] [clip:rect(0_0_0_0)] [clip-path:inset(50%)]',\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</script>\n\n<template>\n <span v-bind=\"rest\" :class=\"classes\"><slot /></span>\n</template>\n","<script lang=\"ts\">\nimport type { Direction } from './DirectionContext';\n\nexport interface DirectionProviderProps {\n dir: Direction;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { provideDirection } from './DirectionContext';\n\n/**\n * Provide reading direction to descendants. Components that mirror in RTL\n * (Tabs arrow keys, Slider, Carousel, etc.) read this via `useDirection()`.\n *\n * Renders no element of its own — the slot passes straight through.\n */\ndefineOptions({ name: 'DirectionProvider' });\n\nconst props = defineProps<DirectionProviderProps>();\n\nprovideDirection(() => props.dir);\n</script>\n\n<template>\n <slot />\n</template>\n","import { Fragment, cloneVNode, defineComponent, h } from 'vue';\nimport { renderableChildren } from '../slot/Slot';\nimport VisuallyHidden from '../visuallyHidden/VisuallyHidden.vue';\n\nexport interface AccessibleIconProps {\n /** The accessible label for the icon. */\n label: string;\n}\n\n/**\n * Wrap an icon-only element with an accessible label. The icon is hidden\n * from assistive tech and a `VisuallyHidden` sibling provides the label.\n *\n * A render function rather than an SFC: the `aria-hidden` / `focusable` pair\n * has to land on the *consumer's* icon vnode, and only a render function can\n * rebuild someone else's vnode. `cloneVNode`'s prop merge is safe here — these\n * two attributes collide with neither class, style, nor a handler.\n */\nexport const AccessibleIcon = defineComponent({\n name: 'AccessibleIcon',\n props: {\n label: { type: String, required: true },\n },\n setup(props, { slots }) {\n return () => {\n const children = renderableChildren(slots.default?.());\n const target = children[0];\n const icon = target\n ? cloneVNode(target, { 'aria-hidden': 'true', focusable: 'false' })\n : children;\n return h(Fragment, [icon, h(VisuallyHidden, null, { default: () => props.label })]);\n };\n },\n});\n","import {\n defineComponent,\n inject,\n provide,\n shallowRef,\n type Component,\n type InjectionKey,\n} from 'vue';\n\nexport interface CollectionContextValue<T> {\n /** The registered items, in registration order. A live getter — read it, never destructure it. */\n readonly items: ReadonlyArray<T>;\n register: (item: T) => void;\n unregister: (item: T) => void;\n}\n\n/**\n * Factory for a typed children-registry context. Compound components\n * (Menu, Tabs, Listbox) use this so the parent can iterate ordered children\n * without prop-drilling.\n *\n * The registration model is unchanged from React — items call `register()` on\n * mount and `unregister()` on unmount. That already matched what Vue needs:\n * slots are functions, so there is no children array to walk.\n *\n * `Context` becomes `injectionKey` — Vue's `provide`/`inject` are keyed by\n * symbol rather than by a context object.\n */\nexport function createCollection<T>(): {\n Provider: Component;\n useCollection: () => CollectionContextValue<T>;\n injectionKey: InjectionKey<CollectionContextValue<T>>;\n} {\n const injectionKey: InjectionKey<CollectionContextValue<T>> = Symbol('wow-two.collection');\n\n const Provider = defineComponent({\n name: 'CollectionProvider',\n setup(_props, { slots }) {\n const items = shallowRef<ReadonlyArray<T>>([]);\n\n // Replaced wholesale rather than mutated: a `shallowRef` only notifies on\n // identity change, which is also what kept React's `useState` updates cheap.\n const register = (item: T): void => {\n if (!items.value.includes(item)) items.value = [...items.value, item];\n };\n const unregister = (item: T): void => {\n items.value = items.value.filter((existing) => existing !== item);\n };\n\n // A getter rather than `reactive()` — it keeps `T` intact (reactive would\n // deep-unwrap it) while still tracking as a dependency on read.\n const context: CollectionContextValue<T> = {\n get items() {\n return items.value;\n },\n register,\n unregister,\n };\n provide(injectionKey, context);\n\n return () => slots.default?.() ?? null;\n },\n });\n\n function useCollection(): CollectionContextValue<T> {\n const context = inject(injectionKey, null);\n if (!context) {\n throw new Error('useCollection must be used inside its Provider');\n }\n return context;\n }\n\n return { Provider, useCollection, injectionKey };\n}\n","<script lang=\"ts\">\nimport type { HTMLAttributes } from 'vue';\n\nexport interface ScrollViewportProps extends /* @vue-ignore */ HTMLAttributes {\n /**\n * The fixed viewport height. Number → pixels; string → any CSS length\n * (`'20rem'`, `'50vh'`). Content beyond this scrolls; the box does not grow.\n * Omit to let the container size to its context (still clips + scrolls via `maxHeight`).\n */\n height?: number | string;\n\n /**\n * The height ceiling — grows with content up to this cap without pinning it,\n * then scrolls. Number → pixels; string → any CSS length.\n */\n maxHeight?: number | string;\n\n /**\n * The height/opacity transition flag (a content swap, an expand). Respects\n * `prefers-reduced-motion` — the transition is dropped when the user opts out.\n * @default false\n */\n animate?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef, type CSSProperties } from 'vue';\nimport { cn } from '../../utils/cn';\nimport { useReducedMotion } from '../../hooks/useReducedMotion';\n\n/**\n * Headless fixed-height scroll container. A drop-in for inline\n * `h-[…] overflow-y-auto` viewport styling with two stability guarantees:\n *\n * - `scrollbar-gutter: stable` — reserves the scrollbar's track so content\n * doesn't shift horizontally when the bar appears/disappears (an overflow-y\n * toggle that would otherwise reflow the row).\n * - optional height/opacity transition (`animate`) that short-circuits under\n * `prefers-reduced-motion`, so motion-sensitive users get an instant swap.\n *\n * No visual styling beyond layout — border/padding/rounding stay with the\n * consumer. The scrollable node is exposed as `el` so callers can drive\n * `scrollTop` (scroll-to-top on filter, virtualization measurements, etc.) —\n * the Vue stand-in for the original's `forwardRef`.\n */\ndefineOptions({ name: 'ScrollViewport', inheritAttrs: false });\n\nconst props = withDefaults(\n defineProps<{\n height?: number | string;\n maxHeight?: number | string;\n animate?: boolean;\n }>(),\n { animate: false },\n);\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\nconst reducedMotion = useReducedMotion();\n\nconst transitionsOn = computed(() => props.animate && !reducedMotion.value);\n\nconst sizeStyle = computed<CSSProperties>(() => ({\n height: props.height,\n maxHeight: props.maxHeight,\n // `stable` reserves the gutter on the block-end/inline-end edge so a\n // toggling vertical scrollbar never reflows the content width.\n scrollbarGutter: 'stable',\n ...(attrs.style as CSSProperties | undefined),\n}));\n\nconst classes = computed(() =>\n cn(\n 'overflow-y-auto overflow-x-hidden',\n transitionsOn.value && 'transition-[height,opacity] duration-200 ease-out',\n attrs.class as string | undefined,\n ),\n);\n\nconst rest = computed(() => {\n const { class: _class, style: _style, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" v-bind=\"rest\" :class=\"classes\" :style=\"sizeStyle\"><slot /></div>\n</template>\n","<script lang=\"ts\">\n// `ColorMode` is imported as a value by `<script setup>` below; both blocks\n// share one module scope, so re-importing the type here would duplicate it.\nexport interface ColorModeProviderProps {\n /** The mode used when nothing is persisted. `'system'` follows the OS preference. Default `'system'`. */\n defaultMode?: ColorMode | 'system';\n\n /** The `localStorage` key for persistence; pass `null` to disable. Default `'wow-color-mode'`. */\n storageKey?: string | null;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { provide, shallowRef, watchEffect } from 'vue';\nimport { ColorMode, ColorModeKey, systemMode, type ColorModeContextValue } from './ColorModeContext';\n\n/**\n * Owns the app's light/dark mode: toggles the `dark` class on `<html>` (which flips every semantic\n * token) + sets `color-scheme`, persists the choice, and falls back to the OS preference. Wrap the\n * app once; read via `useColorMode()`. This is the canonical `.dark` mechanism for the design tokens.\n */\ndefineOptions({ name: 'ColorModeProvider' });\n\nconst props = withDefaults(defineProps<ColorModeProviderProps>(), {\n defaultMode: 'system',\n storageKey: 'wow-color-mode',\n});\n\n/** Resolved once at setup, the same way React resolved it in the `useState` initializer. */\nconst mode = shallowRef<ColorMode>(\n (() => {\n if (typeof window === 'undefined') return ColorMode.Light;\n const stored = props.storageKey\n ? (localStorage.getItem(props.storageKey) as ColorMode | null)\n : null;\n if (stored === ColorMode.Light || stored === ColorMode.Dark) return stored;\n return props.defaultMode === 'system' ? systemMode() : props.defaultMode;\n })(),\n);\n\nwatchEffect(() => {\n if (typeof document === 'undefined') return;\n const root = document.documentElement;\n root.classList.toggle('dark', mode.value === ColorMode.Dark);\n root.style.colorScheme = mode.value;\n});\n\nfunction setMode(next: ColorMode): void {\n mode.value = next;\n if (props.storageKey) localStorage.setItem(props.storageKey, next);\n}\n\n// A getter, so consumers read `ctx.mode` as a plain value exactly like the\n// React context object — and tracking still happens on access.\nconst context: ColorModeContextValue = {\n get mode() {\n return mode.value;\n },\n setMode,\n toggle: () => setMode(mode.value === ColorMode.Dark ? ColorMode.Light : ColorMode.Dark),\n};\n\nprovide(ColorModeKey, context);\n</script>\n\n<template>\n <slot />\n</template>\n"],"names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot","VisuallyHidden"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"index-op-kbVUk.js","sources":["../../src/foundation/primitives/visuallyHidden/VisuallyHidden.vue","../../src/foundation/primitives/directionProvider/DirectionProvider.vue","../../src/foundation/primitives/accessibleIcon/AccessibleIcon.ts","../../src/foundation/primitives/collection/Collection.ts","../../src/foundation/primitives/scrollViewport/ScrollViewport.vue","../../src/foundation/primitives/colorModeProvider/ColorModeProvider.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { HTMLAttributes } from 'vue';\n\nexport type VisuallyHiddenProps = HTMLAttributes;\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs } from 'vue';\nimport { cn } from '../../utils/cn';\n\n/**\n * Visually hidden span — content removed from the visual layout but still\n * announced to screen readers. Use for accessible labels on icon-only\n * affordances and live-region announcements.\n *\n * `inheritAttrs: false` so a caller's `class` goes through `cn` (tailwind-merge\n * resolves the conflict) instead of being blindly concatenated by Vue's\n * automatic class fallthrough — a caller's `p-2` must be able to beat `p-0`.\n */\ndefineOptions({ name: 'VisuallyHidden', inheritAttrs: false });\n\nconst attrs = useAttrs();\n\nconst classes = computed(() =>\n cn(\n 'absolute h-px w-px overflow-hidden whitespace-nowrap border-0 p-0',\n 'm-[-1px] [clip:rect(0_0_0_0)] [clip-path:inset(50%)]',\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</script>\n\n<template>\n <span v-bind=\"rest\" :class=\"classes\"><slot /></span>\n</template>\n","<script lang=\"ts\">\nimport type { Direction } from './DirectionContext';\n\nexport interface DirectionProviderProps {\n dir: Direction;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { provideDirection } from './DirectionContext';\n\n/**\n * Provide reading direction to descendants. Components that mirror in RTL\n * (Tabs arrow keys, Slider, Carousel, etc.) read this via `useDirection()`.\n *\n * Renders no element of its own — the slot passes straight through.\n */\ndefineOptions({ name: 'DirectionProvider' });\n\nconst props = defineProps<DirectionProviderProps>();\n\nprovideDirection(() => props.dir);\n</script>\n\n<template>\n <slot />\n</template>\n","import { Fragment, cloneVNode, defineComponent, h } from 'vue';\nimport { renderableChildren } from '../slot/Slot';\nimport VisuallyHidden from '../visuallyHidden/VisuallyHidden.vue';\n\nexport interface AccessibleIconProps {\n /** The accessible label for the icon. */\n label: string;\n}\n\n/**\n * Wrap an icon-only element with an accessible label. The icon is hidden\n * from assistive tech and a `VisuallyHidden` sibling provides the label.\n *\n * A render function rather than an SFC: the `aria-hidden` / `focusable` pair\n * has to land on the *consumer's* icon vnode, and only a render function can\n * rebuild someone else's vnode. `cloneVNode`'s prop merge is safe here — these\n * two attributes collide with neither class, style, nor a handler.\n */\nexport const AccessibleIcon = defineComponent({\n name: 'AccessibleIcon',\n props: {\n label: { type: String, required: true },\n },\n setup(props, { slots }) {\n return () => {\n const children = renderableChildren(slots.default?.());\n const target = children[0];\n const icon = target\n ? cloneVNode(target, { 'aria-hidden': 'true', focusable: 'false' })\n : children;\n return h(Fragment, [icon, h(VisuallyHidden, null, { default: () => props.label })]);\n };\n },\n});\n","import {\n defineComponent,\n inject,\n provide,\n shallowRef,\n type Component,\n type InjectionKey,\n} from 'vue';\n\nexport interface CollectionContextValue<T> {\n /** The registered items, in registration order. A live getter — read it, never destructure it. */\n readonly items: ReadonlyArray<T>;\n register: (item: T) => void;\n unregister: (item: T) => void;\n}\n\n/**\n * Factory for a typed children-registry context. Compound components\n * (Menu, Tabs, Listbox) use this so the parent can iterate ordered children\n * without prop-drilling.\n *\n * The registration model is unchanged from React — items call `register()` on\n * mount and `unregister()` on unmount. That already matched what Vue needs:\n * slots are functions, so there is no children array to walk.\n *\n * `Context` becomes `injectionKey` — Vue's `provide`/`inject` are keyed by\n * symbol rather than by a context object.\n */\nexport function createCollection<T>(): {\n Provider: Component;\n useCollection: () => CollectionContextValue<T>;\n injectionKey: InjectionKey<CollectionContextValue<T>>;\n} {\n const injectionKey: InjectionKey<CollectionContextValue<T>> = Symbol('wow-two.collection');\n\n const Provider = defineComponent({\n name: 'CollectionProvider',\n setup(_props, { slots }) {\n const items = shallowRef<ReadonlyArray<T>>([]);\n\n // Replaced wholesale rather than mutated: a `shallowRef` only notifies on\n // identity change, which is also what kept React's `useState` updates cheap.\n const register = (item: T): void => {\n if (!items.value.includes(item)) items.value = [...items.value, item];\n };\n const unregister = (item: T): void => {\n items.value = items.value.filter((existing) => existing !== item);\n };\n\n // A getter rather than `reactive()` — it keeps `T` intact (reactive would\n // deep-unwrap it) while still tracking as a dependency on read.\n const context: CollectionContextValue<T> = {\n get items() {\n return items.value;\n },\n register,\n unregister,\n };\n provide(injectionKey, context);\n\n return () => slots.default?.() ?? null;\n },\n });\n\n function useCollection(): CollectionContextValue<T> {\n const context = inject(injectionKey, null);\n if (!context) {\n throw new Error('useCollection must be used inside its Provider');\n }\n return context;\n }\n\n return { Provider, useCollection, injectionKey };\n}\n","<script lang=\"ts\">\nimport type { HTMLAttributes } from 'vue';\n\nexport interface ScrollViewportProps extends /* @vue-ignore */ HTMLAttributes {\n /**\n * The fixed viewport height. Number → pixels; string → any CSS length\n * (`'20rem'`, `'50vh'`). Content beyond this scrolls; the box does not grow.\n * Omit to let the container size to its context (still clips + scrolls via `maxHeight`).\n */\n height?: number | string;\n\n /**\n * The height ceiling — grows with content up to this cap without pinning it,\n * then scrolls. Number → pixels; string → any CSS length.\n */\n maxHeight?: number | string;\n\n /**\n * The height/opacity transition flag (a content swap, an expand). Respects\n * `prefers-reduced-motion` — the transition is dropped when the user opts out.\n * @default false\n */\n animate?: boolean;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useTemplateRef, type CSSProperties } from 'vue';\nimport { cn } from '../../utils/cn';\nimport { useReducedMotion } from '../../hooks/useReducedMotion';\n\n/**\n * Headless fixed-height scroll container. A drop-in for inline\n * `h-[…] overflow-y-auto` viewport styling with two stability guarantees:\n *\n * - `scrollbar-gutter: stable` — reserves the scrollbar's track so content\n * doesn't shift horizontally when the bar appears/disappears (an overflow-y\n * toggle that would otherwise reflow the row).\n * - optional height/opacity transition (`animate`) that short-circuits under\n * `prefers-reduced-motion`, so motion-sensitive users get an instant swap.\n *\n * No visual styling beyond layout — border/padding/rounding stay with the\n * consumer. The scrollable node is exposed as `el` so callers can drive\n * `scrollTop` (scroll-to-top on filter, virtualization measurements, etc.) —\n * the Vue stand-in for the original's `forwardRef`.\n */\ndefineOptions({ name: 'ScrollViewport', inheritAttrs: false });\n\nconst props = withDefaults(\n defineProps<{\n height?: number | string;\n maxHeight?: number | string;\n animate?: boolean;\n }>(),\n { animate: false },\n);\n\nconst attrs = useAttrs();\nconst el = useTemplateRef<HTMLDivElement>('el');\nconst reducedMotion = useReducedMotion();\n\nconst transitionsOn = computed(() => props.animate && !reducedMotion.value);\n\nconst sizeStyle = computed<CSSProperties>(() => ({\n height: props.height,\n maxHeight: props.maxHeight,\n // `stable` reserves the gutter on the block-end/inline-end edge so a\n // toggling vertical scrollbar never reflows the content width.\n scrollbarGutter: 'stable',\n ...(attrs.style as CSSProperties | undefined),\n}));\n\nconst classes = computed(() =>\n cn(\n 'overflow-y-auto overflow-x-hidden',\n transitionsOn.value && 'transition-[height,opacity] duration-200 ease-out',\n attrs.class as string | undefined,\n ),\n);\n\nconst rest = computed(() => {\n const { class: _class, style: _style, ...others } = attrs;\n return others;\n});\n\ndefineExpose({ el });\n</script>\n\n<template>\n <div ref=\"el\" v-bind=\"rest\" :class=\"classes\" :style=\"sizeStyle\"><slot /></div>\n</template>\n","<script lang=\"ts\">\n// `ColorMode` is imported as a value by `<script setup>` below; both blocks\n// share one module scope, so re-importing the type here would duplicate it.\nexport interface ColorModeProviderProps {\n /** The mode used when nothing is persisted. `'system'` follows the OS preference. Default `'system'`. */\n defaultMode?: ColorMode | 'system';\n\n /** The `localStorage` key for persistence; pass `null` to disable. Default `'wow-color-mode'`. */\n storageKey?: string | null;\n}\n</script>\n\n<script setup lang=\"ts\">\nimport { provide, shallowRef, watchEffect } from 'vue';\nimport { ColorMode, ColorModeKey, systemMode, type ColorModeContextValue } from './ColorModeContext';\n\n/**\n * Owns the app's light/dark mode: toggles the `dark` class on `<html>` (which flips every semantic\n * token) + sets `color-scheme`, persists the choice, and falls back to the OS preference. Wrap the\n * app once; read via `useColorMode()`. This is the canonical `.dark` mechanism for the design tokens.\n */\ndefineOptions({ name: 'ColorModeProvider' });\n\nconst props = withDefaults(defineProps<ColorModeProviderProps>(), {\n defaultMode: 'system',\n storageKey: 'wow-color-mode',\n});\n\n/** Resolved once at setup, the same way React resolved it in the `useState` initializer. */\nconst mode = shallowRef<ColorMode>(\n (() => {\n if (typeof window === 'undefined') return ColorMode.Light;\n const stored = props.storageKey\n ? (localStorage.getItem(props.storageKey) as ColorMode | null)\n : null;\n if (stored === ColorMode.Light || stored === ColorMode.Dark) return stored;\n return props.defaultMode === 'system' ? systemMode() : props.defaultMode;\n })(),\n);\n\nwatchEffect(() => {\n if (typeof document === 'undefined') return;\n const root = document.documentElement;\n root.classList.toggle('dark', mode.value === ColorMode.Dark);\n root.style.colorScheme = mode.value;\n});\n\nfunction setMode(next: ColorMode): void {\n mode.value = next;\n if (props.storageKey) localStorage.setItem(props.storageKey, next);\n}\n\n// A getter, so consumers read `ctx.mode` as a plain value exactly like the\n// React context object — and tracking still happens on access.\nconst context: ColorModeContextValue = {\n get mode() {\n return mode.value;\n },\n setMode,\n toggle: () => setMode(mode.value === ColorMode.Dark ? ColorMode.Light : ColorMode.Dark),\n};\n\nprovide(ColorModeKey, context);\n</script>\n\n<template>\n <slot />\n</template>\n"],"names":["_openBlock","_createElementBlock","_mergeProps","_renderSlot","VisuallyHidden"],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ } from "../../chunks/AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js";
|
|
2
2
|
import { _ as _2, P } from "../../chunks/Announce.vue_vue_type_script_setup_true_lang-CDTltiIl.js";
|
|
3
|
-
import { A, _ as _3, a, b, c, d } from "../../chunks/index-
|
|
4
|
-
import { a as a2, _ as _4 } from "../../chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { A, _ as _3, a, b, c, d } from "../../chunks/index-op-kbVUk.js";
|
|
4
|
+
import { a as a2, _ as _4 } from "../../chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-ptH1ttBL.js";
|
|
5
5
|
import { _ as _5 } from "../../chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-Fak7Jv46.js";
|
|
6
6
|
import { _ as _6 } from "../../chunks/OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js";
|
|
7
7
|
import { _ as _7 } from "../../chunks/Portal.vue_vue_type_script_setup_true_lang-CF3R0VCZ.js";
|
|
@@ -9,7 +9,7 @@ import { D, a as a3, O, _ as _8, R, p, u, b as b2 } from "../../chunks/RovingFoc
|
|
|
9
9
|
import { _ as _9 } from "../../chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-_ihHJ7jI.js";
|
|
10
10
|
import { C, a as a4, u as u2 } from "../../chunks/ColorModeContext-Bz6CBL0V.js";
|
|
11
11
|
import { F, u as u3, a as a5 } from "../../chunks/FormControlContext-B71MFW26.js";
|
|
12
|
-
import { P as P2 } from "../../chunks/Presence-
|
|
12
|
+
import { P as P2 } from "../../chunks/Presence-DE4MlrJz.js";
|
|
13
13
|
import { P as P3 } from "../../chunks/Primitive-Cm3ECaVw.js";
|
|
14
14
|
import { S, m, a as a6, r } from "../../chunks/Slot-D2lIitvV.js";
|
|
15
15
|
export {
|
|
@@ -18,6 +18,10 @@ export interface PresenceProps {
|
|
|
18
18
|
*
|
|
19
19
|
* Both effects use `flush: 'post'`, the analogue of React's `useEffect` here —
|
|
20
20
|
* the DOM node must exist before the timing window opens.
|
|
21
|
+
*
|
|
22
|
+
* Neither effect depends on `requestAnimationFrame` firing. Both go through
|
|
23
|
+
* {@link afterTwoFrames}, and the exit additionally arms its unmount timer up front, so a
|
|
24
|
+
* document that is never painted still enters and — the part that matters — still unmounts.
|
|
21
25
|
*/
|
|
22
26
|
export declare const Presence: DefineComponent<ExtractPropTypes<{
|
|
23
27
|
isPresent: {
|
|
@@ -3,7 +3,7 @@ import { A as A2 } from "../../chunks/Align-DqFtCY3a.js";
|
|
|
3
3
|
import { B, H } from "../../chunks/HtmlExtensions-jlKY5f9C.js";
|
|
4
4
|
import { C as C2, a, E, I, b, O } from "../../chunks/Environment-CuQav_mw.js";
|
|
5
5
|
import { C as C3 } from "../../chunks/CornerPosition-FneGck5D.js";
|
|
6
|
-
import { E as E2, L, l } from "../../chunks/index-
|
|
6
|
+
import { E as E2, L, l } from "../../chunks/index-CEoYQiWL.js";
|
|
7
7
|
import { E as E3 } from "../../chunks/Equality-DIQYQysz.js";
|
|
8
8
|
import { K } from "../../chunks/KeyboardExtensions-CQlkK53D.js";
|
|
9
9
|
import { O as O2 } from "../../chunks/Orientation-u-sYunuG.js";
|
|
@@ -14,8 +14,8 @@ import { P as P3 } from "../../chunks/ProgressTone-BpLPUptx.js";
|
|
|
14
14
|
import { S as S3 } from "../../chunks/Severity-D0C5oAt-.js";
|
|
15
15
|
import { S as S4, c } from "../../chunks/Side-CSys3p-F.js";
|
|
16
16
|
import { S as S5 } from "../../chunks/StatusTone-BoPK1s09.js";
|
|
17
|
-
import { S as S6, s } from "../../chunks/SurfaceStyles-
|
|
18
|
-
import { a as a2, T as T2 } from "../../chunks/Tones-
|
|
17
|
+
import { S as S6, s } from "../../chunks/SurfaceStyles-B6W7zdMi.js";
|
|
18
|
+
import { a as a2, T as T2 } from "../../chunks/Tones-WKBNZ_u2.js";
|
|
19
19
|
import { T as T3 } from "../../chunks/TransitionExtensions-hFi80JX2.js";
|
|
20
20
|
import { c as c2 } from "../../chunks/cn-CzDCF-Ah.js";
|
|
21
21
|
import { c as c3, a as a3 } from "../../chunks/Compare-Du6p-OX1.js";
|
package/dist/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { i } from "./chunks/index-
|
|
1
|
+
import { i } from "./chunks/index-CEoYQiWL.js";
|
|
2
2
|
import { i as i2 } from "./chunks/index-C034dEhy.js";
|
|
3
3
|
import { i as i3 } from "./chunks/index-CzKEU1kI.js";
|
|
4
|
-
import { i as i4 } from "./chunks/index-
|
|
4
|
+
import { i as i4 } from "./chunks/index-op-kbVUk.js";
|
|
5
5
|
import { i as i5 } from "./chunks/index-BGzbbN9T.js";
|
|
6
6
|
import { i as i6 } from "./chunks/index-KL15HQew.js";
|
|
7
7
|
import { i as i7 } from "./chunks/index-drjQ833B.js";
|
|
8
|
-
import { _, a, b, c, d, F, e, f, L, g, h, S, i as i8, j, k, l, T, m, n, o, p, q, r, u, s } from "./chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { A, _ as _2, B, a as a2, C, b as b2, c as c2, d as d2, e as e2, f as f2, g as g2, h as h2, i as i9, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q as q2, r as r2, s as s2, t, u as u2, v, w, x, y, z, D, E, F as F2, G, H, I, J, K, L as L2, M, N, O, P, Q, R, S as S2, T as T2, U, V, W, X, Y, Z, $, a0, a1, a2 as a22, a3, a4, a5, a6, a7, a8, a9, a4 as a42, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2 as b22, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB } from "./chunks/ChatComposer.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as _3, a as a10, b as b10, c as c3, A as A2, d as d3, e as e3, f as f3, g as g3, h as h3, i as i10, j as j3, k as k3, l as l3, m as m3, n as n3, o as o3, p as p3, q as q3, r as r3, s as s3, B as B2, t as t2, u as u3, v as v2, w as w2, x as x2, y as y2, z as z2, C as C2, D as D2, E as E2, F as F3, G as G2, H as H2, I as I2, J as J2, K as K2, L as L3, M as M2, N as N2, O as O2, P as P2, Q as Q2, R as R2, S as S3, T as T3, U as U2, V as V2, W as W2, X as X2, Y as Y2, Z as Z2, $ as $2, a0 as a02, a1 as a12, a2 as a23, a3 as a32, a4 as a43, a5 as a52, a6 as a62, a7 as a72, a8 as a82, a9 as a92, aa as aa2, ab as ab2, ac as ac2, ad as ad2, ae as ae2, af as af2, ag as ag2, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, ap as ap2, aq as aq2, ar as ar2, as as as2, at as at2, au as au2, av as av2, aw as aw2, ax as ax2, ay as ay2, az as az2, aA as aA2, aB as aB2, aC as aC2, aD as aD2, aE as aE2, aF as aF2, aG as aG2, aH as aH2, aI as aI2, aJ as aJ2, aK as aK2, aL as aL2, aM as aM2, aN as aN2, aO as aO2, aP as aP2, aQ as aQ2, aR as aR2, aS as aS2, aT as aT2, aU as aU2, aV as aV2, aW as aW2, aX as aX2, aY as aY2, aZ as aZ2, a_ as a_2, a$ as a$2, b0 as b02, b1 as b12, b2 as b23, b3 as b32, b4 as b42, b5 as b52, b6 as b62, b7 as b72, b8 as b82, b9 as b92, ba as ba2, bb as bb2, bc as bc2, bd as bd2, be as be2, bf as bf2, bg as bg2, bh as bh2, bi as bi2, bj as bj2, bk as bk2, bl as bl2, bm as bm2, bn as bn2, bo as bo2, bp as bp2, bq as bq2, br as br2, bs as bs2, bt as bt2, bu as bu2, bv as bv2, bw as bw2, bx as bx2, by as by2, bz as bz2, bA as bA2, bB as bB2, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0 } from "./chunks/SortableHandle.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as _4, a as a11, b as b11, c as c4, d as d4, e as e4, f as f4, c as c5, d as d5, e as e5, f as f5, g as g4, h as h4, i as i11, j as j4, k as k4, h as h5, l as l4, m as m4, i as i12, n as n4, j as j5, k as k5, h as h6, l as l5, m as m5, i as i13, o as o4, p as p4, q as q4, r as r4, s as s4, j as j6, k as k6, h as h7, l as l6, m as m6, i as i14, n as n5, t as t3, u as u4 } from "./chunks/BottomSheet.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { _ as _5, a as a13, b as b13, c as c6, d as d6, e as e6, f as f6, g as g5, h as h8, i as i15, j as j7, k as k7, l as l7, m as m7, n as n6, P as P3, o as o5, p as p5, q as q5, r as r5, s as s5, t as t4, S as S4, u as u5, v as v3, w as w3, x as x3, y as y3, z as z3, A as A3, T as T4, B as B3, C as C3, D as D3, E as E3, F as F4, G as G3, H as H3, I as I3, J as J3, K as K3 } from "./chunks/NotificationItem.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as _6, a as a14, b as b14, c as c7, d as d7, e as e7, f as f7, g as g6, h as h9, B as B4, i as i16, j as j8, k as k8, C as C4, l as l8, m as m8, n as n7, F as F5, o as o6, G as G4, p as p6, q as q6, N as N3, r as r6, O as O3, s as s6, t as t5, u as u6, v as v4, w as w4, x as x4, y as y4, S as S5, z as z4, A as A4, D as D4, E as E4, H as H4, I as I4, J as J4, K as K4, L as L4, M as M3, P as P4, Q as Q3, R as R3, T as T5, U as U3 } from "./chunks/Navbar.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { _ as _7, B as B5 } from "./chunks/Backdrop.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as _8, a as a15, b as b15, c as c8, d as d8, e as e8, f as f8, g as g7, h as h10, i as i17, j as j9, k as k9, l as l9, m as m9, n as n8, o as o7, p as p7, q as q7, M as M4, r as r7, s as s7, t as t6, u as u7, v as v5, w as w5, x as x5, y as y5, z as z5, A as A5, B as B6, C as C5, D as D5, E as E5, F as F6, G as G5, H as H5, I as I5, J as J5, K as K5, L as L5, N as N4, O as O4, P as P5, Q as Q4, R as R4, S as S6, T as T6, U as U4, V as V3, W as W3, X as X3, Y as Y3, Z as Z3, $ as $3, a0 as a03, a1 as a16 } from "./chunks/TableOfContents.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { _ as _9, B as B7, a as a17, b as b16, c as c9, d as d9, e as e9, T as T7, f as f9, g as g8, h as h11, i as i18, j as j10, k as k10, l as l10, o as o8, m as m10, t as t7 } from "./chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _, a, b, c, d, F, e, f, L, g, h, S, i as i8, j, k, l, T, m, n, o, p, q, r, u, s } from "./chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-iLYlhK05.js";
|
|
9
|
+
import { A, _ as _2, B, a as a2, C, b as b2, c as c2, d as d2, e as e2, f as f2, g as g2, h as h2, i as i9, j as j2, k as k2, l as l2, m as m2, n as n2, o as o2, p as p2, q as q2, r as r2, s as s2, t, u as u2, v, w, x, y, z, D, E, F as F2, G, H, I, J, K, L as L2, M, N, O, P, Q, R, S as S2, T as T2, U, V, W, X, Y, Z, $, a0, a1, a2 as a22, a3, a4, a5, a6, a7, a8, a9, a4 as a42, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2 as b22, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB } from "./chunks/ChatComposer.vue_vue_type_script_setup_true_lang-DfeVsj9h.js";
|
|
10
|
+
import { _ as _3, a as a10, b as b10, c as c3, A as A2, d as d3, e as e3, f as f3, g as g3, h as h3, i as i10, j as j3, k as k3, l as l3, m as m3, n as n3, o as o3, p as p3, q as q3, r as r3, s as s3, B as B2, t as t2, u as u3, v as v2, w as w2, x as x2, y as y2, z as z2, C as C2, D as D2, E as E2, F as F3, G as G2, H as H2, I as I2, J as J2, K as K2, L as L3, M as M2, N as N2, O as O2, P as P2, Q as Q2, R as R2, S as S3, T as T3, U as U2, V as V2, W as W2, X as X2, Y as Y2, Z as Z2, $ as $2, a0 as a02, a1 as a12, a2 as a23, a3 as a32, a4 as a43, a5 as a52, a6 as a62, a7 as a72, a8 as a82, a9 as a92, aa as aa2, ab as ab2, ac as ac2, ad as ad2, ae as ae2, af as af2, ag as ag2, ah as ah2, ai as ai2, aj as aj2, ak as ak2, al as al2, am as am2, an as an2, ao as ao2, ap as ap2, aq as aq2, ar as ar2, as as as2, at as at2, au as au2, av as av2, aw as aw2, ax as ax2, ay as ay2, az as az2, aA as aA2, aB as aB2, aC as aC2, aD as aD2, aE as aE2, aF as aF2, aG as aG2, aH as aH2, aI as aI2, aJ as aJ2, aK as aK2, aL as aL2, aM as aM2, aN as aN2, aO as aO2, aP as aP2, aQ as aQ2, aR as aR2, aS as aS2, aT as aT2, aU as aU2, aV as aV2, aW as aW2, aX as aX2, aY as aY2, aZ as aZ2, a_ as a_2, a$ as a$2, b0 as b02, b1 as b12, b2 as b23, b3 as b32, b4 as b42, b5 as b52, b6 as b62, b7 as b72, b8 as b82, b9 as b92, ba as ba2, bb as bb2, bc as bc2, bd as bd2, be as be2, bf as bf2, bg as bg2, bh as bh2, bi as bi2, bj as bj2, bk as bk2, bl as bl2, bm as bm2, bn as bn2, bo as bo2, bp as bp2, bq as bq2, br as br2, bs as bs2, bt as bt2, bu as bu2, bv as bv2, bw as bw2, bx as bx2, by as by2, bz as bz2, bA as bA2, bB as bB2, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, c1, c2 as c22 } from "./chunks/SortableHandle.vue_vue_type_script_setup_true_lang-8WPwGZ5e.js";
|
|
11
|
+
import { _ as _4, a as a11, b as b11, c as c4, d as d4, e as e4, f as f4, c as c5, d as d5, e as e5, f as f5, g as g4, h as h4, i as i11, j as j4, k as k4, h as h5, l as l4, m as m4, i as i12, n as n4, j as j5, k as k5, h as h6, l as l5, m as m5, i as i13, o as o4, p as p4, q as q4, r as r4, s as s4, j as j6, k as k6, h as h7, l as l6, m as m6, i as i14, n as n5, t as t3, u as u4 } from "./chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNaGird.js";
|
|
12
|
+
import { _ as _5, a as a13, b as b13, c as c6, d as d6, e as e6, f as f6, g as g5, h as h8, i as i15, j as j7, k as k7, l as l7, m as m7, n as n6, P as P3, o as o5, p as p5, q as q5, r as r5, s as s5, t as t4, S as S4, u as u5, v as v3, w as w3, x as x3, y as y3, z as z3, A as A3, T as T4, B as B3, C as C3, D as D3, E as E3, F as F4, G as G3, H as H3, I as I3, J as J3, K as K3 } from "./chunks/NotificationItem.vue_vue_type_script_setup_true_lang-DySfo3fD.js";
|
|
13
|
+
import { _ as _6, a as a14, b as b14, c as c7, d as d7, e as e7, f as f7, g as g6, h as h9, B as B4, i as i16, j as j8, k as k8, C as C4, l as l8, m as m8, n as n7, F as F5, o as o6, G as G4, p as p6, q as q6, N as N3, r as r6, O as O3, s as s6, t as t5, u as u6, v as v4, w as w4, x as x4, y as y4, S as S5, z as z4, A as A4, D as D4, E as E4, H as H4, I as I4, J as J4, K as K4, L as L4, M as M3, P as P4, Q as Q3, R as R3, T as T5, U as U3 } from "./chunks/Navbar.vue_vue_type_script_setup_true_lang-Cy0zvm5d.js";
|
|
14
|
+
import { _ as _7, B as B5 } from "./chunks/Backdrop.vue_vue_type_script_setup_true_lang-CKG--_g8.js";
|
|
15
|
+
import { _ as _8, a as a15, b as b15, c as c8, d as d8, e as e8, f as f8, g as g7, h as h10, i as i17, j as j9, k as k9, l as l9, m as m9, n as n8, o as o7, p as p7, q as q7, M as M4, r as r7, s as s7, t as t6, u as u7, v as v5, w as w5, x as x5, y as y5, z as z5, A as A5, B as B6, C as C5, D as D5, E as E5, F as F6, G as G5, H as H5, I as I5, J as J5, K as K5, L as L5, N as N4, O as O4, P as P5, Q as Q4, R as R4, S as S6, T as T6, U as U4, V as V3, W as W3, X as X3, Y as Y3, Z as Z3, $ as $3, a0 as a03, a1 as a16 } from "./chunks/TableOfContents.vue_vue_type_script_setup_true_lang-C9eM0AoG.js";
|
|
16
|
+
import { _ as _9, B as B7, a as a17, b as b16, c as c9, d as d9, e as e9, T as T7, f as f9, g as g8, h as h11, i as i18, j as j10, k as k10, l as l10, o as o8, m as m10, t as t7 } from "./chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-CKSVGCby.js";
|
|
17
17
|
import { _ as _10, a as a18, S as S7, b as b17, c as c10, d as d10, e as e10, s as s8 } from "./chunks/ControlGroup.vue_vue_type_script_setup_true_lang-CV8Xstes.js";
|
|
18
|
-
import { _ as _11, a as a19, _ as _12, a as a20, M as M5 } from "./chunks/ModalContent.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { _ as _13, a as a21, D as D6 } from "./chunks/DrawerContent.vue_vue_type_script_setup_true_lang-
|
|
18
|
+
import { _ as _11, a as a19, _ as _12, a as a20, M as M5 } from "./chunks/ModalContent.vue_vue_type_script_setup_true_lang-Co5jaeXk.js";
|
|
19
|
+
import { _ as _13, a as a21, D as D6 } from "./chunks/DrawerContent.vue_vue_type_script_setup_true_lang-4n5w3lg2.js";
|
|
20
20
|
import { _ as _14, I as I6 } from "./chunks/Inline.vue_vue_type_script_setup_true_lang-BvWbQpJD.js";
|
|
21
|
-
import { _ as _15, a as a24, T as T8, t as t8 } from "./chunks/DateExtensions-
|
|
21
|
+
import { _ as _15, a as a24, T as T8, t as t8 } from "./chunks/DateExtensions-C6a-h8ji.js";
|
|
22
22
|
import { _ as _16 } from "./chunks/NavItem.vue_vue_type_script_setup_true_lang-CGBo2TiV.js";
|
|
23
|
-
import { _ as _17, a as a25, b as b18 } from "./chunks/PopoverContent.vue_vue_type_script_setup_true_lang-
|
|
23
|
+
import { _ as _17, a as a25, b as b18 } from "./chunks/PopoverContent.vue_vue_type_script_setup_true_lang-DYd617X5.js";
|
|
24
24
|
import { _ as _18, S as S8, s as s9 } from "./chunks/Spinner.vue_vue_type_script_setup_true_lang-C4lNiUOm.js";
|
|
25
25
|
import { L as L6 } from "./chunks/Listbox.variants-CqAkYsmK.js";
|
|
26
26
|
export {
|
|
@@ -296,8 +296,9 @@ export {
|
|
|
296
296
|
g as LinkVariant,
|
|
297
297
|
ax2 as List,
|
|
298
298
|
ay2 as ListItem,
|
|
299
|
-
az2 as
|
|
300
|
-
aA2 as
|
|
299
|
+
az2 as ListKey,
|
|
300
|
+
aA2 as ListMarker,
|
|
301
|
+
aB2 as ListSpacing,
|
|
301
302
|
as as Listbox,
|
|
302
303
|
at as ListboxEmpty,
|
|
303
304
|
au as ListboxGroup,
|
|
@@ -308,11 +309,11 @@ export {
|
|
|
308
309
|
g5 as LiveCursor,
|
|
309
310
|
h8 as LoadingOverlay,
|
|
310
311
|
i15 as LoadingState,
|
|
311
|
-
|
|
312
|
+
aC2 as Mark,
|
|
312
313
|
ay as MarkdownEditor,
|
|
313
314
|
az as MarkdownEditorView,
|
|
314
|
-
|
|
315
|
-
|
|
315
|
+
aD2 as Marquee,
|
|
316
|
+
aE2 as MarqueeDirection,
|
|
316
317
|
aA as MaskedInput,
|
|
317
318
|
o7 as Menu,
|
|
318
319
|
p7 as MenuGroup,
|
|
@@ -325,12 +326,12 @@ export {
|
|
|
325
326
|
v5 as MenubarContent,
|
|
326
327
|
w5 as MenubarMenu,
|
|
327
328
|
x5 as MenubarTrigger,
|
|
328
|
-
|
|
329
|
-
|
|
329
|
+
aF2 as MessageList,
|
|
330
|
+
aG2 as MetaInline,
|
|
330
331
|
j7 as MeterBar,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
aH2 as MetricChip,
|
|
333
|
+
aI2 as MetricChipSize,
|
|
334
|
+
aJ2 as MetricChipTone,
|
|
334
335
|
_12 as Modal,
|
|
335
336
|
j6 as ModalBody,
|
|
336
337
|
k6 as ModalClose,
|
|
@@ -355,11 +356,11 @@ export {
|
|
|
355
356
|
B6 as NavigationMenuLink,
|
|
356
357
|
C5 as NavigationMenuList,
|
|
357
358
|
D5 as NavigationMenuTrigger,
|
|
358
|
-
|
|
359
|
+
aK2 as NodeEditor,
|
|
359
360
|
k7 as NotificationCenter,
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
aL2 as NotificationDot,
|
|
362
|
+
aM2 as NotificationDotSize,
|
|
363
|
+
aN2 as NotificationDotTone,
|
|
363
364
|
l7 as NotificationItem,
|
|
364
365
|
aG as NumberInput,
|
|
365
366
|
m7 as OnboardingChecklist,
|
|
@@ -370,7 +371,7 @@ export {
|
|
|
370
371
|
O3 as OverlayAppearOn,
|
|
371
372
|
s6 as OverlayTransition,
|
|
372
373
|
t5 as OverlayVisibilityMode,
|
|
373
|
-
|
|
374
|
+
aO2 as PDFViewer,
|
|
374
375
|
aH as PHONE_COUNTRIES,
|
|
375
376
|
E5 as Pagination,
|
|
376
377
|
aI as PasswordInput,
|
|
@@ -387,19 +388,19 @@ export {
|
|
|
387
388
|
b18 as PopoverTrigger,
|
|
388
389
|
o5 as PresenceIndicator,
|
|
389
390
|
p5 as PresenceStatus,
|
|
390
|
-
|
|
391
|
+
aP2 as PricingCard,
|
|
391
392
|
q5 as ProgressBar,
|
|
392
393
|
r5 as ProgressCircle,
|
|
393
394
|
s5 as ProgressSteps,
|
|
394
395
|
u6 as PullToRefresh,
|
|
395
|
-
|
|
396
|
+
aQ2 as Quote,
|
|
396
397
|
aP as Radio,
|
|
397
398
|
aQ as RadioField,
|
|
398
399
|
aR as RadioGroup,
|
|
399
400
|
aS as RadioGroupKey,
|
|
400
|
-
|
|
401
|
+
aR2 as RadiusGlyph,
|
|
401
402
|
aT as RangeCalendar,
|
|
402
|
-
|
|
403
|
+
aS2 as ReactionBar,
|
|
403
404
|
aU as ReactionPicker,
|
|
404
405
|
aV as RecentCategory,
|
|
405
406
|
aW as RecurrenceEditor,
|
|
@@ -409,16 +410,16 @@ export {
|
|
|
409
410
|
v4 as ResizablePanel,
|
|
410
411
|
w4 as ResizablePanels,
|
|
411
412
|
x4 as ResizableSeparator,
|
|
412
|
-
|
|
413
|
+
aT2 as ScheduleView,
|
|
413
414
|
y4 as ScrollArea,
|
|
414
415
|
S5 as ScrollAxis,
|
|
415
|
-
|
|
416
|
-
|
|
416
|
+
aU2 as ScrollReveal,
|
|
417
|
+
aV2 as ScrollRevealEffect,
|
|
417
418
|
F6 as ScrollSpy,
|
|
418
419
|
a_ as SearchInput,
|
|
419
420
|
z4 as Section,
|
|
420
|
-
|
|
421
|
-
|
|
421
|
+
aW2 as SectionHeader,
|
|
422
|
+
aX2 as SectionHeaderSize,
|
|
422
423
|
A4 as SectionPaddingY,
|
|
423
424
|
h as SegmentedControl,
|
|
424
425
|
a$ as Select,
|
|
@@ -427,20 +428,20 @@ export {
|
|
|
427
428
|
b22 as SelectSize,
|
|
428
429
|
b3 as SelectTrigger,
|
|
429
430
|
b4 as SelectValue,
|
|
430
|
-
|
|
431
|
+
aY2 as Separator,
|
|
431
432
|
t4 as Skeleton,
|
|
432
433
|
S4 as SkeletonShape,
|
|
433
434
|
b5 as Slider,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
435
|
+
aZ2 as Snippet,
|
|
436
|
+
a_2 as SnippetVariant,
|
|
437
|
+
a$2 as SortDirection,
|
|
438
|
+
b02 as Sortable,
|
|
439
|
+
b12 as SortableHandle,
|
|
440
|
+
b23 as SortableItem,
|
|
440
441
|
D4 as Spacer,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
442
|
+
b32 as Sparkline,
|
|
443
|
+
b42 as SparklineTone,
|
|
444
|
+
b52 as SparklineVariant,
|
|
444
445
|
S as SpeedDial,
|
|
445
446
|
i8 as SpeedDialAction,
|
|
446
447
|
j as SpeedDialDirection,
|
|
@@ -453,12 +454,12 @@ export {
|
|
|
453
454
|
b17 as StackDirection,
|
|
454
455
|
c10 as StackJustify,
|
|
455
456
|
d10 as StackWrap,
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
457
|
+
b62 as Stat,
|
|
458
|
+
b72 as StatSize,
|
|
459
|
+
b82 as Status,
|
|
459
460
|
u5 as StatusIndicator,
|
|
460
|
-
|
|
461
|
-
|
|
461
|
+
b92 as StatusSize,
|
|
462
|
+
ba2 as StepCard,
|
|
462
463
|
b6 as StepStatus,
|
|
463
464
|
b7 as Stepper,
|
|
464
465
|
b8 as StepperList,
|
|
@@ -467,47 +468,47 @@ export {
|
|
|
467
468
|
bb as SubmitTrigger,
|
|
468
469
|
E4 as Surface,
|
|
469
470
|
bc as SwatchShape,
|
|
470
|
-
|
|
471
|
+
bb2 as SwipeActions,
|
|
471
472
|
bd as Switch,
|
|
472
473
|
be as SwitchField,
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
474
|
+
bc2 as Table,
|
|
475
|
+
bd2 as TableBody,
|
|
476
|
+
be2 as TableCaption,
|
|
477
|
+
bf2 as TableCell,
|
|
478
|
+
bg2 as TableDensity,
|
|
479
|
+
bh2 as TableFooter,
|
|
480
|
+
bi2 as TableHead,
|
|
481
|
+
bj2 as TableHeadVariant,
|
|
482
|
+
bk2 as TableHeaderCell,
|
|
482
483
|
G5 as TableOfContents,
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
484
|
+
bl2 as TableRadius,
|
|
485
|
+
bm2 as TableRow,
|
|
486
|
+
bn2 as Tabs,
|
|
487
|
+
bo2 as TabsActivationMode,
|
|
488
|
+
bp2 as TabsList,
|
|
489
|
+
bq2 as TabsPanel,
|
|
490
|
+
br2 as TabsTab,
|
|
490
491
|
a24 as Tag,
|
|
491
492
|
T8 as TagVariant,
|
|
492
493
|
bf as TagsInput,
|
|
493
494
|
bg as TelInput,
|
|
494
|
-
|
|
495
|
-
|
|
495
|
+
bs2 as Text,
|
|
496
|
+
bt2 as TextAlign,
|
|
496
497
|
bh as TextAreaInput,
|
|
497
|
-
|
|
498
|
+
bu2 as TextColor,
|
|
498
499
|
bi as TextInput,
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
500
|
+
bv2 as TextWeight,
|
|
501
|
+
bw2 as ThreadView,
|
|
502
|
+
bx2 as Tilt,
|
|
502
503
|
bj as TimeField,
|
|
503
504
|
bk as TimePicker,
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
505
|
+
by2 as Timeline,
|
|
506
|
+
bz2 as TimelineAlign,
|
|
507
|
+
bA2 as TimelineDescription,
|
|
508
|
+
bB2 as TimelineItem,
|
|
509
|
+
bC as TimelineKey,
|
|
510
|
+
bD as TimelineStatus,
|
|
511
|
+
bE as TimelineTitle,
|
|
511
512
|
v3 as Toast,
|
|
512
513
|
w3 as ToastSimple,
|
|
513
514
|
x3 as Toaster,
|
|
@@ -524,32 +525,32 @@ export {
|
|
|
524
525
|
n as ToolbarKey,
|
|
525
526
|
o as ToolbarLink,
|
|
526
527
|
p as ToolbarSeparator,
|
|
527
|
-
|
|
528
|
+
bF as Tooltip,
|
|
528
529
|
y3 as Tour,
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
530
|
+
bG as Tree,
|
|
531
|
+
bH as TreeGroup,
|
|
532
|
+
bI as TreeItem,
|
|
532
533
|
z3 as TrendIndicator,
|
|
533
534
|
H4 as TwoColumn,
|
|
534
|
-
|
|
535
|
+
bJ as Typewriter,
|
|
535
536
|
A3 as TypingIndicator,
|
|
536
537
|
T4 as TypingTone,
|
|
537
538
|
B3 as UndoBar,
|
|
538
539
|
bl as UrlInput,
|
|
539
540
|
I4 as VStack,
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
541
|
+
bK as VerticalBarsGlyph,
|
|
542
|
+
bL as VideoPlayer,
|
|
543
|
+
bM as VideoTrackKind,
|
|
543
544
|
bm as Wizard,
|
|
544
545
|
bn as WizardFooter,
|
|
545
546
|
bo as WizardStep,
|
|
546
547
|
bp as WizardSteps,
|
|
547
548
|
C3 as alertSimpleVariants,
|
|
548
|
-
|
|
549
|
-
|
|
549
|
+
bN as avatarVariants,
|
|
550
|
+
bO as badgeVariants,
|
|
550
551
|
D3 as bannerSimpleVariants,
|
|
551
552
|
l10 as buttonVariants,
|
|
552
|
-
|
|
553
|
+
bP as codeVariants,
|
|
553
554
|
i6 as color,
|
|
554
555
|
bq as colorSwatchVariants,
|
|
555
556
|
H5 as commandPaletteContextKey,
|
|
@@ -563,11 +564,11 @@ export {
|
|
|
563
564
|
q as fabVariants,
|
|
564
565
|
br as gradientToCss,
|
|
565
566
|
L4 as gridVariants,
|
|
566
|
-
|
|
567
|
+
bQ as headingVariants,
|
|
567
568
|
i2 as hooks,
|
|
568
569
|
i3 as icons,
|
|
569
570
|
r as linkVariants,
|
|
570
|
-
|
|
571
|
+
bR as listVariants,
|
|
571
572
|
L5 as menuItemVariants,
|
|
572
573
|
N4 as menuLabelVariants,
|
|
573
574
|
O4 as menuSeparatorVariants,
|
|
@@ -591,24 +592,25 @@ export {
|
|
|
591
592
|
s9 as spinnerVariants,
|
|
592
593
|
s8 as stackVariants,
|
|
593
594
|
t8 as tagVariants,
|
|
594
|
-
|
|
595
|
+
bS as textVariants,
|
|
595
596
|
i5 as themes,
|
|
596
597
|
H3 as toastSimpleVariants,
|
|
597
598
|
I3 as toaster,
|
|
598
599
|
t7 as toggleButtonVariants,
|
|
599
|
-
|
|
600
|
-
|
|
600
|
+
bT as useAccordionContext,
|
|
601
|
+
bU as useAccordionItemContext,
|
|
601
602
|
T5 as useAppShell,
|
|
602
603
|
u4 as useBottomSheet,
|
|
603
|
-
|
|
604
|
+
bV as useCarouselContext,
|
|
604
605
|
bu as useCheckboxGroup,
|
|
605
|
-
|
|
606
|
+
bW as useCollapsibleContext,
|
|
606
607
|
bv as useComboboxContext,
|
|
607
608
|
U4 as useCommandPaletteContext,
|
|
608
609
|
V3 as useContextMenuContext,
|
|
609
610
|
W3 as useDropdownMenuContext,
|
|
610
611
|
bw as useEditableContext,
|
|
611
612
|
bx as useEmojiPicker,
|
|
613
|
+
bX as useListContext,
|
|
612
614
|
X3 as useMenuContext,
|
|
613
615
|
Y3 as useMenubarContext,
|
|
614
616
|
Z3 as useMenubarMenuContext,
|
|
@@ -619,17 +621,17 @@ export {
|
|
|
619
621
|
bz as useRadioGroup,
|
|
620
622
|
U3 as useResizableContext,
|
|
621
623
|
a16 as useScrollSpy,
|
|
622
|
-
|
|
623
|
-
|
|
624
|
+
bY as useSortableItem,
|
|
625
|
+
bZ as useSortableRoot,
|
|
624
626
|
u as useSpeedDialContext,
|
|
625
627
|
bA as useStepperContext,
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
628
|
+
b_ as useTableContext,
|
|
629
|
+
b$ as useTabsContext,
|
|
630
|
+
c0 as useTimelineContext,
|
|
629
631
|
K3 as useToaster,
|
|
630
632
|
s as useToolbarContext,
|
|
631
|
-
|
|
632
|
-
|
|
633
|
+
c1 as useTreeContext,
|
|
634
|
+
c22 as useTreeLevel,
|
|
633
635
|
bB as useWizard,
|
|
634
636
|
i as utils
|
|
635
637
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _, a, b, c, d, F, e, f, L, g, h, S, i, j, k, l, T, m, n, o, p, q, r, u, s } from "../../chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as _2, B, a as a2, c as c2, d as d2, e as e2, T as T2, f as f2, g as g2, h as h2, i as i2, j as j2, k as k2, l as l2, o as o2, m as m2, t } from "../../chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _, a, b, c, d, F, e, f, L, g, h, S, i, j, k, l, T, m, n, o, p, q, r, u, s } from "../../chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-iLYlhK05.js";
|
|
2
|
+
import { _ as _2, B, a as a2, c as c2, d as d2, e as e2, T as T2, f as f2, g as g2, h as h2, i as i2, j as j2, k as k2, l as l2, o as o2, m as m2, t } from "../../chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-CKSVGCby.js";
|
|
3
3
|
export {
|
|
4
4
|
_ as BackToTopButton,
|
|
5
5
|
_2 as Button,
|
|
@@ -26,11 +26,12 @@ declare const _default: __VLS_WithSlots< DefineComponent<SpeedDialActionProps, {
|
|
|
26
26
|
}> | null;
|
|
27
27
|
type: ButtonType;
|
|
28
28
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
/** The action's glyph. Preferred over the `icon` prop. */
|
|
30
|
+
icon?(): unknown;
|
|
31
|
+
/** The glyph, in the plain-children shape a Vue caller reaches for. Same slot as `icon`. */
|
|
32
|
+
default?(): unknown;
|
|
33
|
+
/** The label chip beside the button. Preferred over the `tooltip` prop. */
|
|
34
|
+
tooltip?(): unknown;
|
|
34
35
|
}>;
|
|
35
36
|
export default _default;
|
|
36
37
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -150,11 +150,9 @@ declare const SpeedDial: {
|
|
|
150
150
|
type: ButtonType;
|
|
151
151
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
152
152
|
$slots: {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
} & {
|
|
157
|
-
tooltip?: (props: {}) => any;
|
|
153
|
+
icon?(): unknown;
|
|
154
|
+
default?(): unknown;
|
|
155
|
+
tooltip?(): unknown;
|
|
158
156
|
};
|
|
159
157
|
});
|
|
160
158
|
};
|
|
@@ -21,6 +21,8 @@ declare const _default: __VLS_WithSlots< DefineComponent<DiffViewerProps, {
|
|
|
21
21
|
el: Readonly< ShallowRef<HTMLDivElement | null>>;
|
|
22
22
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DiffViewerProps> & Readonly<{}>, {
|
|
23
23
|
view: DiffView;
|
|
24
|
+
left: string;
|
|
25
|
+
right: string;
|
|
24
26
|
leftLabel: string | number;
|
|
25
27
|
rightLabel: string | number;
|
|
26
28
|
hasStats: boolean;
|
|
@@ -36,6 +36,7 @@ declare const _default: DefineComponent<EventCalendarProps, {
|
|
|
36
36
|
}>, {
|
|
37
37
|
weekStart: 0 | 1;
|
|
38
38
|
hourRange: [number, number];
|
|
39
|
+
events: ReadonlyArray<EventCalendarEvent>;
|
|
39
40
|
defaultView: EventCalendarView;
|
|
40
41
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
41
42
|
export default _default;
|
|
@@ -14,6 +14,8 @@ declare const _default: DefineComponent<FrameGlyphProps, {
|
|
|
14
14
|
el: Readonly< ShallowRef<SVGSVGElement | null>>;
|
|
15
15
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FrameGlyphProps> & Readonly<{}>, {
|
|
16
16
|
readonly size: number;
|
|
17
|
+
readonly frameRx: number;
|
|
18
|
+
readonly pupilRoundness: number;
|
|
17
19
|
readonly isDot: boolean;
|
|
18
20
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
19
21
|
export default _default;
|
|
@@ -38,6 +38,7 @@ declare const _default: __VLS_WithSlots< DefineComponent<GanttProps, {
|
|
|
38
38
|
}, string, PublicProps, Readonly<GanttProps> & Readonly<{
|
|
39
39
|
"onTask-click"?: ((task: GanttTask) => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
|
+
tasks: ReadonlyArray<GanttTask>;
|
|
41
42
|
dependencies: ReadonlyArray<GanttDependency>;
|
|
42
43
|
milestones: ReadonlyArray<GanttMilestone>;
|
|
43
44
|
cellWidth: number;
|
|
@@ -47,6 +47,7 @@ export interface HeatmapCalendarProps {
|
|
|
47
47
|
declare const _default: DefineComponent<HeatmapCalendarProps, {
|
|
48
48
|
el: Readonly< ShallowRef<HTMLDivElement | null>>;
|
|
49
49
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<HeatmapCalendarProps> & Readonly<{}>, {
|
|
50
|
+
values: Map<Temporal.PlainDate, number>;
|
|
50
51
|
tone: HeatmapCalendarTone;
|
|
51
52
|
gap: number;
|
|
52
53
|
year: number;
|