@nuxt/ui 4.5.0 → 4.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nuxt/ui.css +2 -0
- package/cli/templates.mjs +5 -8
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Accordion.d.vue.ts +8 -7
- package/dist/runtime/components/Accordion.vue.d.ts +8 -7
- package/dist/runtime/components/Alert.d.vue.ts +8 -7
- package/dist/runtime/components/Alert.vue.d.ts +8 -7
- package/dist/runtime/components/App.d.vue.ts +2 -1
- package/dist/runtime/components/App.vue.d.ts +2 -1
- package/dist/runtime/components/AuthForm.d.vue.ts +13 -12
- package/dist/runtime/components/AuthForm.vue.d.ts +13 -12
- package/dist/runtime/components/Avatar.d.vue.ts +2 -1
- package/dist/runtime/components/Avatar.vue.d.ts +2 -1
- package/dist/runtime/components/AvatarGroup.d.vue.ts +2 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -1
- package/dist/runtime/components/Badge.d.vue.ts +7 -6
- package/dist/runtime/components/Badge.vue.d.ts +7 -6
- package/dist/runtime/components/Banner.d.vue.ts +7 -6
- package/dist/runtime/components/Banner.vue.d.ts +7 -6
- package/dist/runtime/components/BlogPost.d.vue.ts +11 -10
- package/dist/runtime/components/BlogPost.vue.d.ts +11 -10
- package/dist/runtime/components/BlogPosts.d.vue.ts +5 -4
- package/dist/runtime/components/BlogPosts.vue.d.ts +5 -4
- package/dist/runtime/components/Breadcrumb.d.vue.ts +15 -14
- package/dist/runtime/components/Breadcrumb.vue.d.ts +15 -14
- package/dist/runtime/components/Button.d.vue.ts +7 -6
- package/dist/runtime/components/Button.vue.d.ts +7 -6
- package/dist/runtime/components/Calendar.d.vue.ts +6 -5
- package/dist/runtime/components/Calendar.vue.d.ts +6 -5
- package/dist/runtime/components/Card.d.vue.ts +4 -3
- package/dist/runtime/components/Card.vue.d.ts +4 -3
- package/dist/runtime/components/Carousel.d.vue.ts +3 -2
- package/dist/runtime/components/Carousel.vue.d.ts +3 -2
- package/dist/runtime/components/ChangelogVersion.d.vue.ts +15 -14
- package/dist/runtime/components/ChangelogVersion.vue.d.ts +15 -14
- package/dist/runtime/components/ChangelogVersions.d.vue.ts +6 -5
- package/dist/runtime/components/ChangelogVersions.vue.d.ts +6 -5
- package/dist/runtime/components/ChatMessage.d.vue.ts +6 -5
- package/dist/runtime/components/ChatMessage.vue.d.ts +6 -5
- package/dist/runtime/components/ChatMessages.d.vue.ts +9 -8
- package/dist/runtime/components/ChatMessages.vue.d.ts +9 -8
- package/dist/runtime/components/ChatPalette.d.vue.ts +3 -2
- package/dist/runtime/components/ChatPalette.vue.d.ts +3 -2
- package/dist/runtime/components/ChatPrompt.d.vue.ts +3 -2
- package/dist/runtime/components/ChatPrompt.vue.d.ts +3 -2
- package/dist/runtime/components/Checkbox.d.vue.ts +7 -6
- package/dist/runtime/components/Checkbox.vue.d.ts +7 -6
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +5 -4
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +5 -4
- package/dist/runtime/components/Chip.d.vue.ts +3 -2
- package/dist/runtime/components/Chip.vue.d.ts +3 -2
- package/dist/runtime/components/Collapsible.d.vue.ts +4 -3
- package/dist/runtime/components/Collapsible.vue.d.ts +4 -3
- package/dist/runtime/components/CommandPalette.d.vue.ts +19 -18
- package/dist/runtime/components/CommandPalette.vue.d.ts +19 -18
- package/dist/runtime/components/Container.d.vue.ts +2 -1
- package/dist/runtime/components/Container.vue.d.ts +2 -1
- package/dist/runtime/components/ContextMenu.d.vue.ts +19 -18
- package/dist/runtime/components/ContextMenu.vue.d.ts +19 -18
- package/dist/runtime/components/DashboardGroup.d.vue.ts +2 -1
- package/dist/runtime/components/DashboardGroup.vue.d.ts +2 -1
- package/dist/runtime/components/DashboardNavbar.d.vue.ts +11 -10
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +11 -10
- package/dist/runtime/components/DashboardPanel.d.vue.ts +7 -6
- package/dist/runtime/components/DashboardPanel.vue.d.ts +7 -6
- package/dist/runtime/components/DashboardResizeHandle.d.vue.ts +2 -1
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +2 -1
- package/dist/runtime/components/DashboardSearch.d.vue.ts +4 -3
- package/dist/runtime/components/DashboardSearch.vue.d.ts +4 -3
- package/dist/runtime/components/DashboardSidebar.d.vue.ts +19 -18
- package/dist/runtime/components/DashboardSidebar.vue +3 -3
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +19 -18
- package/dist/runtime/components/DashboardToolbar.d.vue.ts +4 -3
- package/dist/runtime/components/DashboardToolbar.vue.d.ts +4 -3
- package/dist/runtime/components/Drawer.d.vue.ts +8 -7
- package/dist/runtime/components/Drawer.vue.d.ts +8 -7
- package/dist/runtime/components/DropdownMenu.d.vue.ts +21 -19
- package/dist/runtime/components/DropdownMenu.vue +1 -1
- package/dist/runtime/components/DropdownMenu.vue.d.ts +21 -19
- package/dist/runtime/components/DropdownMenuContent.d.vue.ts +4 -3
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +4 -3
- package/dist/runtime/components/Editor.d.vue.ts +3 -2
- package/dist/runtime/components/Editor.vue.d.ts +3 -2
- package/dist/runtime/components/EditorDragHandle.d.vue.ts +3 -2
- package/dist/runtime/components/EditorDragHandle.vue.d.ts +3 -2
- package/dist/runtime/components/EditorToolbar.d.vue.ts +3 -2
- package/dist/runtime/components/EditorToolbar.vue.d.ts +3 -2
- package/dist/runtime/components/Empty.d.vue.ts +9 -8
- package/dist/runtime/components/Empty.vue.d.ts +9 -8
- package/dist/runtime/components/Error.d.vue.ts +6 -5
- package/dist/runtime/components/Error.vue.d.ts +6 -5
- package/dist/runtime/components/FieldGroup.d.vue.ts +2 -1
- package/dist/runtime/components/FieldGroup.vue.d.ts +2 -1
- package/dist/runtime/components/FileUpload.d.vue.ts +29 -28
- package/dist/runtime/components/FileUpload.vue.d.ts +29 -28
- package/dist/runtime/components/Footer.d.vue.ts +6 -5
- package/dist/runtime/components/Footer.vue.d.ts +6 -5
- package/dist/runtime/components/FooterColumns.d.vue.ts +12 -11
- package/dist/runtime/components/FooterColumns.vue.d.ts +12 -11
- package/dist/runtime/components/Form.d.vue.ts +3 -2
- package/dist/runtime/components/Form.vue.d.ts +3 -2
- package/dist/runtime/components/FormField.d.vue.ts +19 -18
- package/dist/runtime/components/FormField.vue.d.ts +19 -18
- package/dist/runtime/components/Header.d.vue.ts +12 -11
- package/dist/runtime/components/Header.vue.d.ts +12 -11
- package/dist/runtime/components/Input.d.vue.ts +7 -6
- package/dist/runtime/components/Input.vue.d.ts +7 -6
- package/dist/runtime/components/InputDate.d.vue.ts +9 -9
- package/dist/runtime/components/InputDate.vue.d.ts +9 -9
- package/dist/runtime/components/InputMenu.d.vue.ts +26 -24
- package/dist/runtime/components/InputMenu.vue +1 -1
- package/dist/runtime/components/InputMenu.vue.d.ts +26 -24
- package/dist/runtime/components/InputNumber.d.vue.ts +3 -2
- package/dist/runtime/components/InputNumber.vue.d.ts +3 -2
- package/dist/runtime/components/InputTags.d.vue.ts +10 -9
- package/dist/runtime/components/InputTags.vue.d.ts +10 -9
- package/dist/runtime/components/InputTime.d.vue.ts +7 -7
- package/dist/runtime/components/InputTime.vue.d.ts +7 -7
- package/dist/runtime/components/Kbd.d.vue.ts +2 -1
- package/dist/runtime/components/Kbd.vue.d.ts +2 -1
- package/dist/runtime/components/Link.d.vue.ts +3 -2
- package/dist/runtime/components/Link.vue.d.ts +3 -2
- package/dist/runtime/components/Main.d.vue.ts +2 -1
- package/dist/runtime/components/Main.vue.d.ts +2 -1
- package/dist/runtime/components/Marquee.d.vue.ts +2 -1
- package/dist/runtime/components/Marquee.vue.d.ts +2 -1
- package/dist/runtime/components/Modal.d.vue.ts +16 -15
- package/dist/runtime/components/Modal.vue.d.ts +16 -15
- package/dist/runtime/components/NavigationMenu.d.vue.ts +20 -15
- package/dist/runtime/components/NavigationMenu.vue +12 -6
- package/dist/runtime/components/NavigationMenu.vue.d.ts +20 -15
- package/dist/runtime/components/Page.d.vue.ts +4 -3
- package/dist/runtime/components/Page.vue +9 -3
- package/dist/runtime/components/Page.vue.d.ts +4 -3
- package/dist/runtime/components/PageAnchors.d.vue.ts +8 -7
- package/dist/runtime/components/PageAnchors.vue.d.ts +8 -7
- package/dist/runtime/components/PageAside.d.vue.ts +4 -3
- package/dist/runtime/components/PageAside.vue.d.ts +4 -3
- package/dist/runtime/components/PageBody.d.vue.ts +2 -1
- package/dist/runtime/components/PageBody.vue.d.ts +2 -1
- package/dist/runtime/components/PageCTA.d.vue.ts +10 -9
- package/dist/runtime/components/PageCTA.vue.d.ts +10 -9
- package/dist/runtime/components/PageCard.d.vue.ts +9 -8
- package/dist/runtime/components/PageCard.vue.d.ts +9 -8
- package/dist/runtime/components/PageColumns.d.vue.ts +2 -1
- package/dist/runtime/components/PageColumns.vue.d.ts +2 -1
- package/dist/runtime/components/PageFeature.d.vue.ts +6 -5
- package/dist/runtime/components/PageFeature.vue.d.ts +6 -5
- package/dist/runtime/components/PageGrid.d.vue.ts +2 -1
- package/dist/runtime/components/PageGrid.vue.d.ts +2 -1
- package/dist/runtime/components/PageHeader.d.vue.ts +6 -5
- package/dist/runtime/components/PageHeader.vue.d.ts +6 -5
- package/dist/runtime/components/PageHero.d.vue.ts +11 -10
- package/dist/runtime/components/PageHero.vue.d.ts +11 -10
- package/dist/runtime/components/PageLinks.d.vue.ts +9 -8
- package/dist/runtime/components/PageLinks.vue.d.ts +9 -8
- package/dist/runtime/components/PageList.d.vue.ts +2 -1
- package/dist/runtime/components/PageList.vue.d.ts +2 -1
- package/dist/runtime/components/PageLogos.d.vue.ts +2 -1
- package/dist/runtime/components/PageLogos.vue.d.ts +2 -1
- package/dist/runtime/components/PageSection.d.vue.ts +14 -13
- package/dist/runtime/components/PageSection.vue.d.ts +14 -13
- package/dist/runtime/components/Pagination.d.vue.ts +9 -8
- package/dist/runtime/components/Pagination.vue.d.ts +9 -8
- package/dist/runtime/components/Popover.d.vue.ts +9 -5
- package/dist/runtime/components/Popover.vue +1 -1
- package/dist/runtime/components/Popover.vue.d.ts +9 -5
- package/dist/runtime/components/PricingPlan.d.vue.ts +17 -16
- package/dist/runtime/components/PricingPlan.vue.d.ts +17 -16
- package/dist/runtime/components/PricingPlans.d.vue.ts +5 -4
- package/dist/runtime/components/PricingPlans.vue.d.ts +5 -4
- package/dist/runtime/components/PricingTable.d.vue.ts +20 -19
- package/dist/runtime/components/PricingTable.vue.d.ts +20 -19
- package/dist/runtime/components/Progress.d.vue.ts +4 -3
- package/dist/runtime/components/Progress.vue.d.ts +4 -3
- package/dist/runtime/components/RadioGroup.d.vue.ts +6 -5
- package/dist/runtime/components/RadioGroup.vue.d.ts +6 -5
- package/dist/runtime/components/ScrollArea.d.vue.ts +6 -2
- package/dist/runtime/components/ScrollArea.vue +2 -2
- package/dist/runtime/components/ScrollArea.vue.d.ts +6 -2
- package/dist/runtime/components/Select.d.vue.ts +21 -19
- package/dist/runtime/components/Select.vue +1 -1
- package/dist/runtime/components/Select.vue.d.ts +21 -19
- package/dist/runtime/components/SelectMenu.d.vue.ts +26 -25
- package/dist/runtime/components/SelectMenu.vue +1 -1
- package/dist/runtime/components/SelectMenu.vue.d.ts +26 -25
- package/dist/runtime/components/Separator.d.vue.ts +3 -2
- package/dist/runtime/components/Separator.vue.d.ts +3 -2
- package/dist/runtime/components/Slideover.d.vue.ts +16 -15
- package/dist/runtime/components/Slideover.vue.d.ts +16 -15
- package/dist/runtime/components/Stepper.d.vue.ts +8 -7
- package/dist/runtime/components/Stepper.vue.d.ts +8 -7
- package/dist/runtime/components/Switch.d.vue.ts +7 -6
- package/dist/runtime/components/Switch.vue.d.ts +7 -6
- package/dist/runtime/components/Table.d.vue.ts +11 -12
- package/dist/runtime/components/Table.vue.d.ts +11 -12
- package/dist/runtime/components/Tabs.d.vue.ts +9 -9
- package/dist/runtime/components/Tabs.vue.d.ts +9 -9
- package/dist/runtime/components/Textarea.d.vue.ts +7 -6
- package/dist/runtime/components/Textarea.vue.d.ts +7 -6
- package/dist/runtime/components/Theme.d.vue.ts +2 -1
- package/dist/runtime/components/Theme.vue.d.ts +2 -1
- package/dist/runtime/components/Timeline.d.vue.ts +7 -6
- package/dist/runtime/components/Timeline.vue.d.ts +7 -6
- package/dist/runtime/components/Toast.d.vue.ts +8 -7
- package/dist/runtime/components/Toast.vue.d.ts +8 -7
- package/dist/runtime/components/Toaster.d.vue.ts +2 -1
- package/dist/runtime/components/Toaster.vue.d.ts +2 -1
- package/dist/runtime/components/Tooltip.d.vue.ts +6 -4
- package/dist/runtime/components/Tooltip.vue +1 -1
- package/dist/runtime/components/Tooltip.vue.d.ts +6 -4
- package/dist/runtime/components/Tree.d.vue.ts +7 -6
- package/dist/runtime/components/Tree.vue.d.ts +7 -6
- package/dist/runtime/components/User.d.vue.ts +6 -5
- package/dist/runtime/components/User.vue.d.ts +6 -5
- package/dist/runtime/components/content/ContentNavigation.d.vue.ts +7 -6
- package/dist/runtime/components/content/ContentNavigation.vue +1 -1
- package/dist/runtime/components/content/ContentNavigation.vue.d.ts +7 -6
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +4 -3
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +4 -3
- package/dist/runtime/components/content/ContentSurround.d.vue.ts +6 -5
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +6 -5
- package/dist/runtime/components/content/ContentToc.d.vue.ts +15 -14
- package/dist/runtime/components/content/ContentToc.vue +3 -4
- package/dist/runtime/components/content/ContentToc.vue.d.ts +15 -14
- package/dist/runtime/components/prose/A.d.vue.ts +2 -1
- package/dist/runtime/components/prose/A.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Accordion.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Accordion.vue.d.ts +2 -1
- package/dist/runtime/components/prose/AccordionItem.d.vue.ts +2 -1
- package/dist/runtime/components/prose/AccordionItem.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Badge.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Badge.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Blockquote.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Blockquote.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Callout.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Callout.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Card.d.vue.ts +3 -2
- package/dist/runtime/components/prose/Card.vue.d.ts +3 -2
- package/dist/runtime/components/prose/CardGroup.d.vue.ts +2 -1
- package/dist/runtime/components/prose/CardGroup.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Code.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Code.vue.d.ts +2 -1
- package/dist/runtime/components/prose/CodeCollapse.d.vue.ts +2 -1
- package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +2 -1
- package/dist/runtime/components/prose/CodeGroup.d.vue.ts +2 -1
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +2 -1
- package/dist/runtime/components/prose/CodePreview.d.vue.ts +3 -2
- package/dist/runtime/components/prose/CodePreview.vue.d.ts +3 -2
- package/dist/runtime/components/prose/CodeTree.d.vue.ts +2 -1
- package/dist/runtime/components/prose/CodeTree.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Collapsible.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Em.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Em.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Field.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Field.vue.d.ts +2 -1
- package/dist/runtime/components/prose/FieldGroup.d.vue.ts +2 -1
- package/dist/runtime/components/prose/FieldGroup.vue.d.ts +2 -1
- package/dist/runtime/components/prose/H1.d.vue.ts +2 -1
- package/dist/runtime/components/prose/H1.vue.d.ts +2 -1
- package/dist/runtime/components/prose/H2.d.vue.ts +2 -1
- package/dist/runtime/components/prose/H2.vue.d.ts +2 -1
- package/dist/runtime/components/prose/H3.d.vue.ts +2 -1
- package/dist/runtime/components/prose/H3.vue.d.ts +2 -1
- package/dist/runtime/components/prose/H4.d.vue.ts +2 -1
- package/dist/runtime/components/prose/H4.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Li.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Li.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Ol.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Ol.vue.d.ts +2 -1
- package/dist/runtime/components/prose/P.d.vue.ts +2 -1
- package/dist/runtime/components/prose/P.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Pre.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Pre.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Steps.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Steps.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Strong.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Strong.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Table.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Table.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Tabs.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Tabs.vue.d.ts +2 -1
- package/dist/runtime/components/prose/TabsItem.d.vue.ts +2 -1
- package/dist/runtime/components/prose/TabsItem.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Tbody.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Tbody.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Td.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Td.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Th.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Th.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Thead.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Thead.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Tr.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Tr.vue.d.ts +2 -1
- package/dist/runtime/components/prose/Ul.d.vue.ts +2 -1
- package/dist/runtime/components/prose/Ul.vue.d.ts +2 -1
- package/dist/runtime/composables/useResizable.d.ts +2 -2
- package/dist/runtime/composables/useResizable.js +2 -2
- package/dist/runtime/types/utils.d.ts +2 -2
- package/dist/runtime/utils/index.d.ts +1 -1
- package/dist/runtime/utils/index.js +1 -1
- package/dist/runtime/vue/overrides/inertia/Link.d.vue.ts +3 -2
- package/dist/runtime/vue/overrides/inertia/Link.vue.d.ts +3 -2
- package/dist/runtime/vue/overrides/none/Link.d.vue.ts +3 -3
- package/dist/runtime/vue/overrides/none/Link.vue.d.ts +3 -3
- package/dist/runtime/vue/overrides/vue-router/Link.d.vue.ts +3 -2
- package/dist/runtime/vue/overrides/vue-router/Link.vue.d.ts +3 -2
- package/dist/shared/{ui.BrgdrRzy.mjs → ui.DI_ypO2T.mjs} +8 -6
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +7 -7
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
export interface PageListProps {
|
|
2
3
|
/**
|
|
3
4
|
* The element or component this component should render as.
|
|
@@ -11,7 +12,7 @@ export interface PageListProps {
|
|
|
11
12
|
};
|
|
12
13
|
}
|
|
13
14
|
export interface PageListSlots {
|
|
14
|
-
default(props?: {}):
|
|
15
|
+
default?(props?: {}): VNode[];
|
|
15
16
|
}
|
|
16
17
|
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
export interface PageListProps {
|
|
2
3
|
/**
|
|
3
4
|
* The element or component this component should render as.
|
|
@@ -11,7 +12,7 @@ export interface PageListProps {
|
|
|
11
12
|
};
|
|
12
13
|
}
|
|
13
14
|
export interface PageListSlots {
|
|
14
|
-
default(props?: {}):
|
|
15
|
+
default?(props?: {}): VNode[];
|
|
15
16
|
}
|
|
16
17
|
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
3
|
import theme from '#build/ui/page-logos';
|
|
3
4
|
import type { MarqueeProps } from '../types';
|
|
@@ -20,7 +21,7 @@ export interface PageLogosProps {
|
|
|
20
21
|
ui?: PageLogos['slots'];
|
|
21
22
|
}
|
|
22
23
|
export interface PageLogosSlots {
|
|
23
|
-
default(props?: {}):
|
|
24
|
+
default?(props?: {}): VNode[];
|
|
24
25
|
}
|
|
25
26
|
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
3
|
import theme from '#build/ui/page-logos';
|
|
3
4
|
import type { MarqueeProps } from '../types';
|
|
@@ -20,7 +21,7 @@ export interface PageLogosProps {
|
|
|
20
21
|
ui?: PageLogos['slots'];
|
|
21
22
|
}
|
|
22
23
|
export interface PageLogosSlots {
|
|
23
|
-
default(props?: {}):
|
|
24
|
+
default?(props?: {}): VNode[];
|
|
24
25
|
}
|
|
25
26
|
declare const _default: typeof __VLS_export;
|
|
26
27
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
3
|
import theme from '#build/ui/page-section';
|
|
3
4
|
import type { ButtonProps, IconProps, PageFeatureProps } from '../types';
|
|
@@ -43,20 +44,20 @@ export interface PageSectionProps {
|
|
|
43
44
|
ui?: PageSection['slots'];
|
|
44
45
|
}
|
|
45
46
|
export interface PageSectionSlots {
|
|
46
|
-
top(props?: {}):
|
|
47
|
-
header(props?: {}):
|
|
48
|
-
leading(props: {
|
|
47
|
+
top?(props?: {}): VNode[];
|
|
48
|
+
header?(props?: {}): VNode[];
|
|
49
|
+
leading?(props: {
|
|
49
50
|
ui: PageSection['ui'];
|
|
50
|
-
}):
|
|
51
|
-
headline(props?: {}):
|
|
52
|
-
title(props?: {}):
|
|
53
|
-
description(props?: {}):
|
|
54
|
-
body(props?: {}):
|
|
55
|
-
features(props?: {}):
|
|
56
|
-
footer(props?: {}):
|
|
57
|
-
links(props?: {}):
|
|
58
|
-
default(props?: {}):
|
|
59
|
-
bottom(props?: {}):
|
|
51
|
+
}): VNode[];
|
|
52
|
+
headline?(props?: {}): VNode[];
|
|
53
|
+
title?(props?: {}): VNode[];
|
|
54
|
+
description?(props?: {}): VNode[];
|
|
55
|
+
body?(props?: {}): VNode[];
|
|
56
|
+
features?(props?: {}): VNode[];
|
|
57
|
+
footer?(props?: {}): VNode[];
|
|
58
|
+
links?(props?: {}): VNode[];
|
|
59
|
+
default?(props?: {}): VNode[];
|
|
60
|
+
bottom?(props?: {}): VNode[];
|
|
60
61
|
}
|
|
61
62
|
declare const _default: typeof __VLS_export;
|
|
62
63
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
3
|
import theme from '#build/ui/page-section';
|
|
3
4
|
import type { ButtonProps, IconProps, PageFeatureProps } from '../types';
|
|
@@ -43,20 +44,20 @@ export interface PageSectionProps {
|
|
|
43
44
|
ui?: PageSection['slots'];
|
|
44
45
|
}
|
|
45
46
|
export interface PageSectionSlots {
|
|
46
|
-
top(props?: {}):
|
|
47
|
-
header(props?: {}):
|
|
48
|
-
leading(props: {
|
|
47
|
+
top?(props?: {}): VNode[];
|
|
48
|
+
header?(props?: {}): VNode[];
|
|
49
|
+
leading?(props: {
|
|
49
50
|
ui: PageSection['ui'];
|
|
50
|
-
}):
|
|
51
|
-
headline(props?: {}):
|
|
52
|
-
title(props?: {}):
|
|
53
|
-
description(props?: {}):
|
|
54
|
-
body(props?: {}):
|
|
55
|
-
features(props?: {}):
|
|
56
|
-
footer(props?: {}):
|
|
57
|
-
links(props?: {}):
|
|
58
|
-
default(props?: {}):
|
|
59
|
-
bottom(props?: {}):
|
|
51
|
+
}): VNode[];
|
|
52
|
+
headline?(props?: {}): VNode[];
|
|
53
|
+
title?(props?: {}): VNode[];
|
|
54
|
+
description?(props?: {}): VNode[];
|
|
55
|
+
body?(props?: {}): VNode[];
|
|
56
|
+
features?(props?: {}): VNode[];
|
|
57
|
+
footer?(props?: {}): VNode[];
|
|
58
|
+
links?(props?: {}): VNode[];
|
|
59
|
+
default?(props?: {}): VNode[];
|
|
60
|
+
bottom?(props?: {}): VNode[];
|
|
60
61
|
}
|
|
61
62
|
declare const _default: typeof __VLS_export;
|
|
62
63
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PaginationRootProps, PaginationRootEmits } from 'reka-ui';
|
|
2
|
+
import type { VNode } from 'vue';
|
|
2
3
|
import type { AppConfig } from '@nuxt/schema';
|
|
3
4
|
import theme from '#build/ui/pagination';
|
|
4
5
|
import type { ButtonProps, IconProps } from '../types';
|
|
@@ -77,14 +78,14 @@ export interface PaginationProps extends Partial<Pick<PaginationRootProps, 'defa
|
|
|
77
78
|
export interface PaginationEmits extends PaginationRootEmits {
|
|
78
79
|
}
|
|
79
80
|
export interface PaginationSlots {
|
|
80
|
-
first(props?: {}):
|
|
81
|
-
prev(props?: {}):
|
|
82
|
-
next(props?: {}):
|
|
83
|
-
last(props?: {}):
|
|
84
|
-
ellipsis(props: {
|
|
81
|
+
first?(props?: {}): VNode[];
|
|
82
|
+
prev?(props?: {}): VNode[];
|
|
83
|
+
next?(props?: {}): VNode[];
|
|
84
|
+
last?(props?: {}): VNode[];
|
|
85
|
+
ellipsis?(props: {
|
|
85
86
|
ui: Pagination['ui'];
|
|
86
|
-
}):
|
|
87
|
-
item(props: {
|
|
87
|
+
}): VNode[];
|
|
88
|
+
item?(props: {
|
|
88
89
|
page: number;
|
|
89
90
|
pageCount: number;
|
|
90
91
|
item: {
|
|
@@ -94,7 +95,7 @@ export interface PaginationSlots {
|
|
|
94
95
|
value: number;
|
|
95
96
|
};
|
|
96
97
|
index: number;
|
|
97
|
-
}):
|
|
98
|
+
}): VNode[];
|
|
98
99
|
}
|
|
99
100
|
declare const _default: typeof __VLS_export;
|
|
100
101
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PaginationRootProps, PaginationRootEmits } from 'reka-ui';
|
|
2
|
+
import type { VNode } from 'vue';
|
|
2
3
|
import type { AppConfig } from '@nuxt/schema';
|
|
3
4
|
import theme from '#build/ui/pagination';
|
|
4
5
|
import type { ButtonProps, IconProps } from '../types';
|
|
@@ -77,14 +78,14 @@ export interface PaginationProps extends Partial<Pick<PaginationRootProps, 'defa
|
|
|
77
78
|
export interface PaginationEmits extends PaginationRootEmits {
|
|
78
79
|
}
|
|
79
80
|
export interface PaginationSlots {
|
|
80
|
-
first(props?: {}):
|
|
81
|
-
prev(props?: {}):
|
|
82
|
-
next(props?: {}):
|
|
83
|
-
last(props?: {}):
|
|
84
|
-
ellipsis(props: {
|
|
81
|
+
first?(props?: {}): VNode[];
|
|
82
|
+
prev?(props?: {}): VNode[];
|
|
83
|
+
next?(props?: {}): VNode[];
|
|
84
|
+
last?(props?: {}): VNode[];
|
|
85
|
+
ellipsis?(props: {
|
|
85
86
|
ui: Pagination['ui'];
|
|
86
|
-
}):
|
|
87
|
-
item(props: {
|
|
87
|
+
}): VNode[];
|
|
88
|
+
item?(props: {
|
|
88
89
|
page: number;
|
|
89
90
|
pageCount: number;
|
|
90
91
|
item: {
|
|
@@ -94,7 +95,7 @@ export interface PaginationSlots {
|
|
|
94
95
|
value: number;
|
|
95
96
|
};
|
|
96
97
|
index: number;
|
|
97
|
-
}):
|
|
98
|
+
}): VNode[];
|
|
98
99
|
}
|
|
99
100
|
declare const _default: typeof __VLS_export;
|
|
100
101
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Popover } from 'reka-ui/namespaced';
|
|
2
2
|
import type { PopoverRootProps, HoverCardRootProps, PopoverRootEmits, PopoverContentProps, PopoverContentEmits, PopoverArrowProps, HoverCardTriggerProps } from 'reka-ui';
|
|
3
|
+
import type { VNode } from 'vue';
|
|
3
4
|
import type { AppConfig } from '@nuxt/schema';
|
|
4
5
|
import theme from '#build/ui/popover';
|
|
5
6
|
import type { EmitsToProps } from '../types/utils';
|
|
@@ -19,6 +20,7 @@ export interface PopoverProps<M extends PopoverMode = PopoverMode> extends Popov
|
|
|
19
20
|
content?: Omit<PopoverContentProps, 'as' | 'asChild' | 'forceMount'> & Partial<EmitsToProps<PopoverContentEmits>>;
|
|
20
21
|
/**
|
|
21
22
|
* Display an arrow alongside the popover.
|
|
23
|
+
* `{ rounded: true }`{lang="ts-type"}
|
|
22
24
|
* @defaultValue false
|
|
23
25
|
*/
|
|
24
26
|
arrow?: boolean | Omit<PopoverArrowProps, 'as' | 'asChild'>;
|
|
@@ -44,15 +46,17 @@ export interface PopoverProps<M extends PopoverMode = PopoverMode> extends Popov
|
|
|
44
46
|
export interface PopoverEmits extends PopoverRootEmits {
|
|
45
47
|
'close:prevent': [];
|
|
46
48
|
}
|
|
47
|
-
type SlotProps<M extends PopoverMode = PopoverMode> = [M] extends ['hover'] ? {
|
|
49
|
+
type SlotProps<M extends PopoverMode = PopoverMode> = [M] extends ['hover'] ? {
|
|
50
|
+
close: undefined;
|
|
51
|
+
} : {
|
|
48
52
|
close: () => void;
|
|
49
53
|
};
|
|
50
54
|
export interface PopoverSlots<M extends PopoverMode = PopoverMode> {
|
|
51
|
-
default(props: {
|
|
55
|
+
default?(props: {
|
|
52
56
|
open: boolean;
|
|
53
|
-
}):
|
|
54
|
-
content(props: SlotProps<M>):
|
|
55
|
-
anchor(props: SlotProps<M>):
|
|
57
|
+
}): VNode[];
|
|
58
|
+
content?(props: SlotProps<M>): VNode[];
|
|
59
|
+
anchor?(props: SlotProps<M>): VNode[];
|
|
56
60
|
}
|
|
57
61
|
declare const _default: typeof __VLS_export;
|
|
58
62
|
export default _default;
|
|
@@ -51,7 +51,7 @@ const contentEvents = computed(() => {
|
|
|
51
51
|
pointerDownOutside
|
|
52
52
|
};
|
|
53
53
|
});
|
|
54
|
-
const arrowProps = toRef(() => props.arrow);
|
|
54
|
+
const arrowProps = toRef(() => defu(props.arrow, { rounded: true }));
|
|
55
55
|
const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.popover || {} })({
|
|
56
56
|
side: contentProps.value.side
|
|
57
57
|
}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Popover } from 'reka-ui/namespaced';
|
|
2
2
|
import type { PopoverRootProps, HoverCardRootProps, PopoverRootEmits, PopoverContentProps, PopoverContentEmits, PopoverArrowProps, HoverCardTriggerProps } from 'reka-ui';
|
|
3
|
+
import type { VNode } from 'vue';
|
|
3
4
|
import type { AppConfig } from '@nuxt/schema';
|
|
4
5
|
import theme from '#build/ui/popover';
|
|
5
6
|
import type { EmitsToProps } from '../types/utils';
|
|
@@ -19,6 +20,7 @@ export interface PopoverProps<M extends PopoverMode = PopoverMode> extends Popov
|
|
|
19
20
|
content?: Omit<PopoverContentProps, 'as' | 'asChild' | 'forceMount'> & Partial<EmitsToProps<PopoverContentEmits>>;
|
|
20
21
|
/**
|
|
21
22
|
* Display an arrow alongside the popover.
|
|
23
|
+
* `{ rounded: true }`{lang="ts-type"}
|
|
22
24
|
* @defaultValue false
|
|
23
25
|
*/
|
|
24
26
|
arrow?: boolean | Omit<PopoverArrowProps, 'as' | 'asChild'>;
|
|
@@ -44,15 +46,17 @@ export interface PopoverProps<M extends PopoverMode = PopoverMode> extends Popov
|
|
|
44
46
|
export interface PopoverEmits extends PopoverRootEmits {
|
|
45
47
|
'close:prevent': [];
|
|
46
48
|
}
|
|
47
|
-
type SlotProps<M extends PopoverMode = PopoverMode> = [M] extends ['hover'] ? {
|
|
49
|
+
type SlotProps<M extends PopoverMode = PopoverMode> = [M] extends ['hover'] ? {
|
|
50
|
+
close: undefined;
|
|
51
|
+
} : {
|
|
48
52
|
close: () => void;
|
|
49
53
|
};
|
|
50
54
|
export interface PopoverSlots<M extends PopoverMode = PopoverMode> {
|
|
51
|
-
default(props: {
|
|
55
|
+
default?(props: {
|
|
52
56
|
open: boolean;
|
|
53
|
-
}):
|
|
54
|
-
content(props: SlotProps<M>):
|
|
55
|
-
anchor(props: SlotProps<M>):
|
|
57
|
+
}): VNode[];
|
|
58
|
+
content?(props: SlotProps<M>): VNode[];
|
|
59
|
+
anchor?(props: SlotProps<M>): VNode[];
|
|
56
60
|
}
|
|
57
61
|
declare const _default: typeof __VLS_export;
|
|
58
62
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
3
|
import theme from '#build/ui/pricing-plan';
|
|
3
4
|
import type { BadgeProps, ButtonProps, IconProps } from '../types';
|
|
@@ -87,25 +88,25 @@ export interface PricingPlanProps {
|
|
|
87
88
|
ui?: PricingPlan['slots'];
|
|
88
89
|
}
|
|
89
90
|
export interface PricingPlanSlots {
|
|
90
|
-
badge(props: {
|
|
91
|
+
badge?(props: {
|
|
91
92
|
ui: PricingPlan['ui'];
|
|
92
|
-
}):
|
|
93
|
-
title(props?: {}):
|
|
94
|
-
description(props?: {}):
|
|
95
|
-
price(props?: {}):
|
|
96
|
-
discount(props?: {}):
|
|
97
|
-
billing(props: {
|
|
93
|
+
}): VNode[];
|
|
94
|
+
title?(props?: {}): VNode[];
|
|
95
|
+
description?(props?: {}): VNode[];
|
|
96
|
+
price?(props?: {}): VNode[];
|
|
97
|
+
discount?(props?: {}): VNode[];
|
|
98
|
+
billing?(props: {
|
|
98
99
|
ui: PricingPlan['ui'];
|
|
99
|
-
}):
|
|
100
|
-
features(props?: {}):
|
|
101
|
-
button(props: {
|
|
100
|
+
}): VNode[];
|
|
101
|
+
features?(props?: {}): VNode[];
|
|
102
|
+
button?(props: {
|
|
102
103
|
ui: PricingPlan['ui'];
|
|
103
|
-
}):
|
|
104
|
-
header(props?: {}):
|
|
105
|
-
body(props?: {}):
|
|
106
|
-
footer(props?: {}):
|
|
107
|
-
tagline(props?: {}):
|
|
108
|
-
terms(props?: {}):
|
|
104
|
+
}): VNode[];
|
|
105
|
+
header?(props?: {}): VNode[];
|
|
106
|
+
body?(props?: {}): VNode[];
|
|
107
|
+
footer?(props?: {}): VNode[];
|
|
108
|
+
tagline?(props?: {}): VNode[];
|
|
109
|
+
terms?(props?: {}): VNode[];
|
|
109
110
|
}
|
|
110
111
|
declare const _default: typeof __VLS_export;
|
|
111
112
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
3
|
import theme from '#build/ui/pricing-plan';
|
|
3
4
|
import type { BadgeProps, ButtonProps, IconProps } from '../types';
|
|
@@ -87,25 +88,25 @@ export interface PricingPlanProps {
|
|
|
87
88
|
ui?: PricingPlan['slots'];
|
|
88
89
|
}
|
|
89
90
|
export interface PricingPlanSlots {
|
|
90
|
-
badge(props: {
|
|
91
|
+
badge?(props: {
|
|
91
92
|
ui: PricingPlan['ui'];
|
|
92
|
-
}):
|
|
93
|
-
title(props?: {}):
|
|
94
|
-
description(props?: {}):
|
|
95
|
-
price(props?: {}):
|
|
96
|
-
discount(props?: {}):
|
|
97
|
-
billing(props: {
|
|
93
|
+
}): VNode[];
|
|
94
|
+
title?(props?: {}): VNode[];
|
|
95
|
+
description?(props?: {}): VNode[];
|
|
96
|
+
price?(props?: {}): VNode[];
|
|
97
|
+
discount?(props?: {}): VNode[];
|
|
98
|
+
billing?(props: {
|
|
98
99
|
ui: PricingPlan['ui'];
|
|
99
|
-
}):
|
|
100
|
-
features(props?: {}):
|
|
101
|
-
button(props: {
|
|
100
|
+
}): VNode[];
|
|
101
|
+
features?(props?: {}): VNode[];
|
|
102
|
+
button?(props: {
|
|
102
103
|
ui: PricingPlan['ui'];
|
|
103
|
-
}):
|
|
104
|
-
header(props?: {}):
|
|
105
|
-
body(props?: {}):
|
|
106
|
-
footer(props?: {}):
|
|
107
|
-
tagline(props?: {}):
|
|
108
|
-
terms(props?: {}):
|
|
104
|
+
}): VNode[];
|
|
105
|
+
header?(props?: {}): VNode[];
|
|
106
|
+
body?(props?: {}): VNode[];
|
|
107
|
+
footer?(props?: {}): VNode[];
|
|
108
|
+
tagline?(props?: {}): VNode[];
|
|
109
|
+
terms?(props?: {}): VNode[];
|
|
109
110
|
}
|
|
110
111
|
declare const _default: typeof __VLS_export;
|
|
111
112
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
3
|
import theme from '#build/ui/pricing-plans';
|
|
3
4
|
import type { PricingPlanProps, PricingPlanSlots } from '../types';
|
|
@@ -31,13 +32,13 @@ export interface PricingPlansProps {
|
|
|
31
32
|
base?: any;
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
|
-
type ExtendSlotWithPlan<T extends PricingPlanProps, K extends keyof PricingPlanSlots> = PricingPlanSlots[K] extends (props: infer P) =>
|
|
35
|
+
type ExtendSlotWithPlan<T extends PricingPlanProps, K extends keyof PricingPlanSlots> = PricingPlanSlots[K] extends (props: infer P) => VNode[] ? (props: P & {
|
|
35
36
|
plan: T;
|
|
36
|
-
}) =>
|
|
37
|
+
}) => VNode[] : PricingPlanSlots[K];
|
|
37
38
|
export type PricingPlansSlots<T extends PricingPlanProps = PricingPlanProps> = {
|
|
38
|
-
[K in keyof PricingPlanSlots]
|
|
39
|
+
[K in keyof PricingPlanSlots]?: ExtendSlotWithPlan<T, K>;
|
|
39
40
|
} & {
|
|
40
|
-
default(props?: {}):
|
|
41
|
+
default?(props?: {}): VNode[];
|
|
41
42
|
};
|
|
42
43
|
declare const _default: typeof __VLS_export;
|
|
43
44
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
3
|
import theme from '#build/ui/pricing-plans';
|
|
3
4
|
import type { PricingPlanProps, PricingPlanSlots } from '../types';
|
|
@@ -31,13 +32,13 @@ export interface PricingPlansProps {
|
|
|
31
32
|
base?: any;
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
|
-
type ExtendSlotWithPlan<T extends PricingPlanProps, K extends keyof PricingPlanSlots> = PricingPlanSlots[K] extends (props: infer P) =>
|
|
35
|
+
type ExtendSlotWithPlan<T extends PricingPlanProps, K extends keyof PricingPlanSlots> = PricingPlanSlots[K] extends (props: infer P) => VNode[] ? (props: P & {
|
|
35
36
|
plan: T;
|
|
36
|
-
}) =>
|
|
37
|
+
}) => VNode[] : PricingPlanSlots[K];
|
|
37
38
|
export type PricingPlansSlots<T extends PricingPlanProps = PricingPlanProps> = {
|
|
38
|
-
[K in keyof PricingPlanSlots]
|
|
39
|
+
[K in keyof PricingPlanSlots]?: ExtendSlotWithPlan<T, K>;
|
|
39
40
|
} & {
|
|
40
|
-
default(props?: {}):
|
|
41
|
+
default?(props?: {}): VNode[];
|
|
41
42
|
};
|
|
42
43
|
declare const _default: typeof __VLS_export;
|
|
43
44
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
3
|
import theme from '#build/ui/pricing-table';
|
|
3
4
|
import type { PricingPlanProps } from '../types';
|
|
@@ -10,19 +11,19 @@ type DynamicSlots<T extends {
|
|
|
10
11
|
tier: Extract<T, {
|
|
11
12
|
id: K extends `${infer Base}-${S}` ? Base : K;
|
|
12
13
|
}>;
|
|
13
|
-
}) =>
|
|
14
|
+
}) => VNode[];
|
|
14
15
|
};
|
|
15
16
|
type FeatureDynamicSlots<T extends PricingTableSectionFeature, S extends string | undefined = undefined> = {
|
|
16
17
|
[K in (T['id'] extends string ? T['id'] : string) as K extends string ? S extends string ? (`feature-${K}` | `feature-${K}-${S}`) : `feature-${K}` : never]?: (props: {
|
|
17
18
|
feature: T;
|
|
18
19
|
tier: PricingTableTier;
|
|
19
20
|
section: PricingTableSection;
|
|
20
|
-
}) =>
|
|
21
|
+
}) => VNode[];
|
|
21
22
|
};
|
|
22
23
|
type SectionDynamicSlots<T extends PricingTableSection, S extends string | undefined = undefined> = {
|
|
23
24
|
[K in (T['id'] extends string ? T['id'] : string) as K extends string ? S extends string ? (`section-${K}` | `section-${K}-${S}`) : `section-${K}` : never]?: (props: {
|
|
24
25
|
section: T;
|
|
25
|
-
}) =>
|
|
26
|
+
}) => VNode[];
|
|
26
27
|
};
|
|
27
28
|
export type PricingTableTier = Pick<PricingPlanProps, 'title' | 'description' | 'badge' | 'billingCycle' | 'billingPeriod' | 'price' | 'discount' | 'button' | 'highlight'> & {
|
|
28
29
|
id: string;
|
|
@@ -66,29 +67,29 @@ export interface PricingTableProps<T extends PricingTableTier = PricingTableTier
|
|
|
66
67
|
}
|
|
67
68
|
type SlotProps<T extends PricingTableTier> = (props: {
|
|
68
69
|
tier: T;
|
|
69
|
-
}) =>
|
|
70
|
+
}) => VNode[];
|
|
70
71
|
export type PricingTableSlots<T extends PricingTableTier = PricingTableTier> = {
|
|
71
|
-
'caption'
|
|
72
|
-
'tier'
|
|
73
|
-
'tier-title'
|
|
74
|
-
'tier-description'
|
|
75
|
-
'tier-badge'
|
|
76
|
-
'tier-button'
|
|
77
|
-
'tier-billing'
|
|
78
|
-
'tier-discount'
|
|
79
|
-
'tier-price'
|
|
80
|
-
'section-title'
|
|
72
|
+
'caption'?: (props?: {}) => VNode[];
|
|
73
|
+
'tier'?: SlotProps<T>;
|
|
74
|
+
'tier-title'?: SlotProps<T>;
|
|
75
|
+
'tier-description'?: SlotProps<T>;
|
|
76
|
+
'tier-badge'?: SlotProps<T>;
|
|
77
|
+
'tier-button'?: SlotProps<T>;
|
|
78
|
+
'tier-billing'?: SlotProps<T>;
|
|
79
|
+
'tier-discount'?: SlotProps<T>;
|
|
80
|
+
'tier-price'?: SlotProps<T>;
|
|
81
|
+
'section-title'?: (props: {
|
|
81
82
|
section: PricingTableSection<T>;
|
|
82
|
-
}) =>
|
|
83
|
-
'feature-title'
|
|
83
|
+
}) => VNode[];
|
|
84
|
+
'feature-title'?: (props: {
|
|
84
85
|
feature: PricingTableSectionFeature<T>;
|
|
85
86
|
section: PricingTableSection<T>;
|
|
86
|
-
}) =>
|
|
87
|
-
'feature-value'
|
|
87
|
+
}) => VNode[];
|
|
88
|
+
'feature-value'?: (props: {
|
|
88
89
|
feature: PricingTableSectionFeature<T>;
|
|
89
90
|
tier: T;
|
|
90
91
|
section: PricingTableSection<T>;
|
|
91
|
-
}) =>
|
|
92
|
+
}) => VNode[];
|
|
92
93
|
} & DynamicSlots<T, 'title' | 'description' | 'badge' | 'button' | 'billing' | 'discount' | 'price'> & FeatureDynamicSlots<PricingTableSectionFeature<T>, 'title' | 'value'> & SectionDynamicSlots<PricingTableSection<T>, 'title'>;
|
|
93
94
|
declare const _default: typeof __VLS_export;
|
|
94
95
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { AppConfig } from '@nuxt/schema';
|
|
2
3
|
import theme from '#build/ui/pricing-table';
|
|
3
4
|
import type { PricingPlanProps } from '../types';
|
|
@@ -10,19 +11,19 @@ type DynamicSlots<T extends {
|
|
|
10
11
|
tier: Extract<T, {
|
|
11
12
|
id: K extends `${infer Base}-${S}` ? Base : K;
|
|
12
13
|
}>;
|
|
13
|
-
}) =>
|
|
14
|
+
}) => VNode[];
|
|
14
15
|
};
|
|
15
16
|
type FeatureDynamicSlots<T extends PricingTableSectionFeature, S extends string | undefined = undefined> = {
|
|
16
17
|
[K in (T['id'] extends string ? T['id'] : string) as K extends string ? S extends string ? (`feature-${K}` | `feature-${K}-${S}`) : `feature-${K}` : never]?: (props: {
|
|
17
18
|
feature: T;
|
|
18
19
|
tier: PricingTableTier;
|
|
19
20
|
section: PricingTableSection;
|
|
20
|
-
}) =>
|
|
21
|
+
}) => VNode[];
|
|
21
22
|
};
|
|
22
23
|
type SectionDynamicSlots<T extends PricingTableSection, S extends string | undefined = undefined> = {
|
|
23
24
|
[K in (T['id'] extends string ? T['id'] : string) as K extends string ? S extends string ? (`section-${K}` | `section-${K}-${S}`) : `section-${K}` : never]?: (props: {
|
|
24
25
|
section: T;
|
|
25
|
-
}) =>
|
|
26
|
+
}) => VNode[];
|
|
26
27
|
};
|
|
27
28
|
export type PricingTableTier = Pick<PricingPlanProps, 'title' | 'description' | 'badge' | 'billingCycle' | 'billingPeriod' | 'price' | 'discount' | 'button' | 'highlight'> & {
|
|
28
29
|
id: string;
|
|
@@ -66,29 +67,29 @@ export interface PricingTableProps<T extends PricingTableTier = PricingTableTier
|
|
|
66
67
|
}
|
|
67
68
|
type SlotProps<T extends PricingTableTier> = (props: {
|
|
68
69
|
tier: T;
|
|
69
|
-
}) =>
|
|
70
|
+
}) => VNode[];
|
|
70
71
|
export type PricingTableSlots<T extends PricingTableTier = PricingTableTier> = {
|
|
71
|
-
'caption'
|
|
72
|
-
'tier'
|
|
73
|
-
'tier-title'
|
|
74
|
-
'tier-description'
|
|
75
|
-
'tier-badge'
|
|
76
|
-
'tier-button'
|
|
77
|
-
'tier-billing'
|
|
78
|
-
'tier-discount'
|
|
79
|
-
'tier-price'
|
|
80
|
-
'section-title'
|
|
72
|
+
'caption'?: (props?: {}) => VNode[];
|
|
73
|
+
'tier'?: SlotProps<T>;
|
|
74
|
+
'tier-title'?: SlotProps<T>;
|
|
75
|
+
'tier-description'?: SlotProps<T>;
|
|
76
|
+
'tier-badge'?: SlotProps<T>;
|
|
77
|
+
'tier-button'?: SlotProps<T>;
|
|
78
|
+
'tier-billing'?: SlotProps<T>;
|
|
79
|
+
'tier-discount'?: SlotProps<T>;
|
|
80
|
+
'tier-price'?: SlotProps<T>;
|
|
81
|
+
'section-title'?: (props: {
|
|
81
82
|
section: PricingTableSection<T>;
|
|
82
|
-
}) =>
|
|
83
|
-
'feature-title'
|
|
83
|
+
}) => VNode[];
|
|
84
|
+
'feature-title'?: (props: {
|
|
84
85
|
feature: PricingTableSectionFeature<T>;
|
|
85
86
|
section: PricingTableSection<T>;
|
|
86
|
-
}) =>
|
|
87
|
-
'feature-value'
|
|
87
|
+
}) => VNode[];
|
|
88
|
+
'feature-value'?: (props: {
|
|
88
89
|
feature: PricingTableSectionFeature<T>;
|
|
89
90
|
tier: T;
|
|
90
91
|
section: PricingTableSection<T>;
|
|
91
|
-
}) =>
|
|
92
|
+
}) => VNode[];
|
|
92
93
|
} & DynamicSlots<T, 'title' | 'description' | 'badge' | 'button' | 'billing' | 'discount' | 'price'> & FeatureDynamicSlots<PricingTableSectionFeature<T>, 'title' | 'value'> & SectionDynamicSlots<PricingTableSection<T>, 'title'>;
|
|
93
94
|
declare const _default: typeof __VLS_export;
|
|
94
95
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ProgressRootProps, ProgressRootEmits } from 'reka-ui';
|
|
2
|
+
import type { VNode } from 'vue';
|
|
2
3
|
import type { AppConfig } from '@nuxt/schema';
|
|
3
4
|
import theme from '#build/ui/progress';
|
|
4
5
|
import type { ComponentConfig } from '../types/tv';
|
|
@@ -39,13 +40,13 @@ export interface ProgressProps extends Pick<ProgressRootProps, 'getValueLabel' |
|
|
|
39
40
|
export interface ProgressEmits extends ProgressRootEmits {
|
|
40
41
|
}
|
|
41
42
|
export type ProgressSlots = {
|
|
42
|
-
status(props: {
|
|
43
|
+
status?(props: {
|
|
43
44
|
percent?: number;
|
|
44
|
-
}):
|
|
45
|
+
}): VNode[];
|
|
45
46
|
} & {
|
|
46
47
|
[key: string]: (props: {
|
|
47
48
|
step: number;
|
|
48
|
-
}) =>
|
|
49
|
+
}) => VNode[];
|
|
49
50
|
};
|
|
50
51
|
declare const _default: typeof __VLS_export;
|
|
51
52
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ProgressRootProps, ProgressRootEmits } from 'reka-ui';
|
|
2
|
+
import type { VNode } from 'vue';
|
|
2
3
|
import type { AppConfig } from '@nuxt/schema';
|
|
3
4
|
import theme from '#build/ui/progress';
|
|
4
5
|
import type { ComponentConfig } from '../types/tv';
|
|
@@ -39,13 +40,13 @@ export interface ProgressProps extends Pick<ProgressRootProps, 'getValueLabel' |
|
|
|
39
40
|
export interface ProgressEmits extends ProgressRootEmits {
|
|
40
41
|
}
|
|
41
42
|
export type ProgressSlots = {
|
|
42
|
-
status(props: {
|
|
43
|
+
status?(props: {
|
|
43
44
|
percent?: number;
|
|
44
|
-
}):
|
|
45
|
+
}): VNode[];
|
|
45
46
|
} & {
|
|
46
47
|
[key: string]: (props: {
|
|
47
48
|
step: number;
|
|
48
|
-
}) =>
|
|
49
|
+
}) => VNode[];
|
|
49
50
|
};
|
|
50
51
|
declare const _default: typeof __VLS_export;
|
|
51
52
|
export default _default;
|