@nuxt/ui 4.0.0-alpha.0 → 4.0.0-alpha.2
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/changelog-version.ts +1 -1
- package/.nuxt/ui/changelog-versions.ts +2 -2
- package/.nuxt/ui/content/content-navigation.ts +2 -1
- package/.nuxt/ui/marquee.ts +1 -1
- package/.nuxt/ui/progress.ts +3 -3
- package/.nuxt/ui/prose/code-tree.ts +1 -1
- package/.nuxt/ui/tree.ts +1 -1
- package/README.md +23 -11
- package/dist/module.d.mts +6 -6
- package/dist/module.json +3 -3
- package/dist/module.mjs +9 -7
- package/dist/runtime/components/Accordion.d.vue.ts +79 -0
- package/dist/runtime/components/Accordion.vue +4 -4
- package/dist/runtime/components/Accordion.vue.d.ts +7 -6
- package/dist/runtime/components/Alert.d.vue.ts +81 -0
- package/dist/runtime/components/Alert.vue +2 -2
- package/dist/runtime/components/Alert.vue.d.ts +4 -4
- package/dist/runtime/components/App.d.vue.ts +25 -0
- package/dist/runtime/components/App.vue +1 -1
- package/dist/runtime/components/App.vue.d.ts +1 -1
- package/dist/runtime/components/AuthForm.d.vue.ts +128 -0
- package/dist/runtime/components/AuthForm.vue +1 -1
- package/dist/runtime/components/AuthForm.vue.d.ts +42 -4
- package/dist/runtime/components/Avatar.d.vue.ts +41 -0
- package/dist/runtime/components/Avatar.vue +1 -1
- package/dist/runtime/components/Avatar.vue.d.ts +3 -3
- package/dist/runtime/components/AvatarGroup.d.vue.ts +31 -0
- package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Badge.d.vue.ts +43 -0
- package/dist/runtime/components/Badge.vue +3 -3
- package/dist/runtime/components/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/Banner.d.vue.ts +72 -0
- package/dist/runtime/components/Banner.vue +3 -3
- package/dist/runtime/components/Banner.vue.d.ts +4 -4
- package/dist/runtime/components/BlogPost.d.vue.ts +60 -0
- package/dist/runtime/components/BlogPost.vue.d.ts +1 -1
- package/dist/runtime/components/BlogPosts.d.vue.ts +31 -0
- package/dist/runtime/components/BlogPosts.vue.d.ts +1 -1
- package/dist/runtime/components/Breadcrumb.d.vue.ts +67 -0
- package/dist/runtime/components/Breadcrumb.vue +2 -2
- package/dist/runtime/components/Breadcrumb.vue.d.ts +6 -6
- package/dist/runtime/components/Button.d.vue.ts +44 -0
- package/dist/runtime/components/Button.vue +4 -4
- package/dist/runtime/components/Button.vue.d.ts +1 -1
- package/dist/runtime/components/Calendar.d.vue.ts +112 -0
- package/dist/runtime/components/Calendar.vue +5 -5
- package/dist/runtime/components/Calendar.vue.d.ts +8 -7
- package/dist/runtime/components/Card.d.vue.ts +29 -0
- package/dist/runtime/components/Card.vue.d.ts +1 -1
- package/dist/runtime/components/Carousel.d.vue.ts +127 -0
- package/dist/runtime/components/Carousel.vue +3 -3
- package/dist/runtime/components/Carousel.vue.d.ts +14 -14
- package/dist/runtime/components/ChangelogVersion.d.vue.ts +59 -0
- package/dist/runtime/components/ChangelogVersion.vue.d.ts +1 -1
- package/dist/runtime/components/ChangelogVersions.d.vue.ts +78 -0
- package/dist/runtime/components/ChangelogVersions.vue +2 -2
- package/dist/runtime/components/ChangelogVersions.vue.d.ts +1 -1
- package/dist/runtime/components/ChatMessage.d.vue.ts +67 -0
- package/dist/runtime/components/ChatMessage.vue +1 -1
- package/dist/runtime/components/ChatMessage.vue.d.ts +3 -3
- package/dist/runtime/components/ChatMessages.d.vue.ts +83 -0
- package/dist/runtime/components/ChatMessages.vue +3 -3
- package/dist/runtime/components/ChatMessages.vue.d.ts +3 -3
- package/dist/runtime/components/ChatPalette.d.vue.ts +24 -0
- package/dist/runtime/components/ChatPalette.vue.d.ts +1 -1
- package/dist/runtime/components/ChatPrompt.d.vue.ts +61 -0
- package/dist/runtime/components/ChatPrompt.vue +2 -2
- package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +100 -0
- package/dist/runtime/components/ChatPromptSubmit.vue +4 -4
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +6 -6
- package/dist/runtime/components/Checkbox.d.vue.ts +74 -0
- package/dist/runtime/components/Checkbox.vue +2 -2
- package/dist/runtime/components/Checkbox.vue.d.ts +7 -6
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +89 -0
- package/dist/runtime/components/CheckboxGroup.vue +9 -9
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +20 -16
- package/dist/runtime/components/Chip.d.vue.ts +57 -0
- package/dist/runtime/components/Chip.vue.d.ts +2 -2
- package/dist/runtime/components/Collapsible.d.vue.ts +35 -0
- package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
- package/dist/runtime/components/ColorPicker.d.vue.ts +48 -0
- package/dist/runtime/components/ColorPicker.vue.d.ts +1 -1
- package/dist/runtime/components/CommandPalette.d.vue.ts +193 -0
- package/dist/runtime/components/CommandPalette.vue +11 -10
- package/dist/runtime/components/CommandPalette.vue.d.ts +11 -10
- package/dist/runtime/components/Container.d.vue.ts +18 -0
- package/dist/runtime/components/Container.vue.d.ts +1 -1
- package/dist/runtime/components/ContextMenu.d.vue.ts +110 -0
- package/dist/runtime/components/ContextMenu.vue +6 -5
- package/dist/runtime/components/ContextMenu.vue.d.ts +8 -8
- package/dist/runtime/components/ContextMenuContent.d.vue.ts +50 -0
- package/dist/runtime/components/ContextMenuContent.vue +5 -5
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +7 -7
- package/dist/runtime/components/DashboardGroup.d.vue.ts +24 -0
- package/dist/runtime/components/DashboardGroup.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardNavbar.d.vue.ts +52 -0
- package/dist/runtime/components/DashboardNavbar.vue +1 -1
- package/dist/runtime/components/DashboardNavbar.vue.d.ts +3 -3
- package/dist/runtime/components/DashboardPanel.d.vue.ts +30 -0
- package/dist/runtime/components/DashboardPanel.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardResizeHandle.d.vue.ts +18 -0
- package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSearch.d.vue.ts +91 -0
- package/dist/runtime/components/DashboardSearch.vue +5 -5
- package/dist/runtime/components/DashboardSearch.vue.d.ts +4 -4
- package/dist/runtime/components/DashboardSearchButton.d.vue.ts +59 -0
- package/dist/runtime/components/DashboardSearchButton.vue +3 -3
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +3 -3
- package/dist/runtime/components/DashboardSidebar.d.vue.ts +75 -0
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebarCollapse.d.vue.ts +19 -0
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +19 -0
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardToolbar.d.vue.ts +25 -0
- package/dist/runtime/components/DashboardToolbar.vue.d.ts +1 -1
- package/dist/runtime/components/Drawer.d.vue.ts +84 -0
- package/dist/runtime/components/Drawer.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenu.d.vue.ts +120 -0
- package/dist/runtime/components/DropdownMenu.vue +5 -5
- package/dist/runtime/components/DropdownMenu.vue.d.ts +8 -8
- package/dist/runtime/components/DropdownMenuContent.d.vue.ts +56 -0
- package/dist/runtime/components/DropdownMenuContent.vue +5 -5
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +7 -7
- package/dist/runtime/components/Error.d.vue.ts +47 -0
- package/dist/runtime/components/Error.vue.d.ts +1 -1
- package/dist/runtime/components/FieldGroup.d.vue.ts +34 -0
- package/dist/runtime/components/FieldGroup.vue.d.ts +1 -1
- package/dist/runtime/components/FileUpload.d.vue.ts +166 -0
- package/dist/runtime/components/FileUpload.vue +5 -4
- package/dist/runtime/components/FileUpload.vue.d.ts +9 -10
- package/dist/runtime/components/Footer.d.vue.ts +29 -0
- package/dist/runtime/components/Footer.vue.d.ts +1 -1
- package/dist/runtime/components/FooterColumns.d.vue.ts +57 -0
- package/dist/runtime/components/FooterColumns.vue.d.ts +3 -3
- package/dist/runtime/components/Form.d.vue.ts +114 -0
- package/dist/runtime/components/Form.vue +112 -53
- package/dist/runtime/components/Form.vue.d.ts +60 -17
- package/dist/runtime/components/FormField.d.vue.ts +61 -0
- package/dist/runtime/components/FormField.vue +2 -2
- package/dist/runtime/components/FormField.vue.d.ts +1 -1
- package/dist/runtime/components/Header.d.vue.ts +68 -0
- package/dist/runtime/components/Header.vue.d.ts +1 -1
- package/dist/runtime/components/Icon.d.vue.ts +8 -0
- package/dist/runtime/components/Icon.vue +3 -2
- package/dist/runtime/components/Icon.vue.d.ts +2 -2
- package/dist/runtime/components/Input.d.vue.ts +74 -0
- package/dist/runtime/components/Input.vue +8 -5
- package/dist/runtime/components/Input.vue.d.ts +10 -14
- package/dist/runtime/components/InputMenu.d.vue.ts +330 -0
- package/dist/runtime/components/InputMenu.vue +8 -8
- package/dist/runtime/components/InputMenu.vue.d.ts +18 -18
- package/dist/runtime/components/InputNumber.d.vue.ts +188 -0
- package/dist/runtime/components/InputNumber.vue +10 -4
- package/dist/runtime/components/InputNumber.vue.d.ts +11 -9
- package/dist/runtime/components/InputTags.d.vue.ts +186 -0
- package/dist/runtime/components/InputTags.vue +5 -5
- package/dist/runtime/components/InputTags.vue.d.ts +3 -2
- package/dist/runtime/components/Kbd.d.vue.ts +38 -0
- package/dist/runtime/components/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/Link.d.vue.ts +91 -0
- package/dist/runtime/components/Link.vue.d.ts +1 -1
- package/dist/runtime/components/LinkBase.d.vue.ts +25 -0
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Main.d.vue.ts +20 -0
- package/dist/runtime/components/Main.vue.d.ts +1 -1
- package/dist/runtime/components/Marquee.d.vue.ts +32 -0
- package/dist/runtime/components/Marquee.vue +1 -1
- package/dist/runtime/components/Marquee.vue.d.ts +1 -1
- package/dist/runtime/components/Modal.d.vue.ts +107 -0
- package/dist/runtime/components/Modal.vue +1 -1
- package/dist/runtime/components/Modal.vue.d.ts +3 -3
- package/dist/runtime/components/NavigationMenu.d.vue.ts +171 -0
- package/dist/runtime/components/NavigationMenu.vue +2 -2
- package/dist/runtime/components/NavigationMenu.vue.d.ts +8 -8
- package/dist/runtime/components/OverlayProvider.d.vue.ts +2 -0
- package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
- package/dist/runtime/components/Page.d.vue.ts +25 -0
- package/dist/runtime/components/Page.vue.d.ts +1 -1
- package/dist/runtime/components/PageAnchors.d.vue.ts +47 -0
- package/dist/runtime/components/PageAnchors.vue.d.ts +3 -3
- package/dist/runtime/components/PageAside.d.vue.ts +27 -0
- package/dist/runtime/components/PageAside.vue.d.ts +1 -1
- package/dist/runtime/components/PageBody.d.vue.ts +18 -0
- package/dist/runtime/components/PageBody.vue.d.ts +1 -1
- package/dist/runtime/components/PageCTA.d.vue.ts +56 -0
- package/dist/runtime/components/PageCTA.vue.d.ts +1 -1
- package/dist/runtime/components/PageCard.d.vue.ts +72 -0
- package/dist/runtime/components/PageCard.vue +1 -1
- package/dist/runtime/components/PageCard.vue.d.ts +3 -3
- package/dist/runtime/components/PageColumns.d.vue.ts +18 -0
- package/dist/runtime/components/PageColumns.vue.d.ts +1 -1
- package/dist/runtime/components/PageFeature.d.vue.ts +44 -0
- package/dist/runtime/components/PageFeature.vue +1 -1
- package/dist/runtime/components/PageFeature.vue.d.ts +3 -3
- package/dist/runtime/components/PageGrid.d.vue.ts +18 -0
- package/dist/runtime/components/PageGrid.vue.d.ts +1 -1
- package/dist/runtime/components/PageHeader.d.vue.ts +36 -0
- package/dist/runtime/components/PageHeader.vue.d.ts +1 -1
- package/dist/runtime/components/PageHero.d.vue.ts +53 -0
- package/dist/runtime/components/PageHero.vue.d.ts +1 -1
- package/dist/runtime/components/PageLinks.d.vue.ts +49 -0
- package/dist/runtime/components/PageLinks.vue.d.ts +3 -3
- package/dist/runtime/components/PageList.d.vue.ts +21 -0
- package/dist/runtime/components/PageList.vue.d.ts +1 -1
- package/dist/runtime/components/PageLogos.d.vue.ts +33 -0
- package/dist/runtime/components/PageLogos.vue.d.ts +1 -1
- package/dist/runtime/components/PageSection.d.vue.ts +68 -0
- package/dist/runtime/components/PageSection.vue +1 -1
- package/dist/runtime/components/PageSection.vue.d.ts +3 -3
- package/dist/runtime/components/Pagination.d.vue.ts +118 -0
- package/dist/runtime/components/Pagination.vue +5 -5
- package/dist/runtime/components/Pagination.vue.d.ts +7 -7
- package/dist/runtime/components/PinInput.d.vue.ts +60 -0
- package/dist/runtime/components/PinInput.vue.d.ts +6 -6
- package/dist/runtime/components/Popover.d.vue.ts +71 -0
- package/dist/runtime/components/Popover.vue.d.ts +1 -1
- package/dist/runtime/components/PricingPlan.d.vue.ts +112 -0
- package/dist/runtime/components/PricingPlan.vue.d.ts +3 -3
- package/dist/runtime/components/PricingPlans.d.vue.ts +44 -0
- package/dist/runtime/components/PricingPlans.vue.d.ts +1 -1
- package/dist/runtime/components/PricingTable.d.vue.ts +105 -0
- package/dist/runtime/components/PricingTable.vue.d.ts +1 -1
- package/dist/runtime/components/Progress.d.vue.ts +66 -0
- package/dist/runtime/components/Progress.vue +2 -3
- package/dist/runtime/components/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/RadioGroup.d.vue.ts +99 -0
- package/dist/runtime/components/RadioGroup.vue +13 -11
- package/dist/runtime/components/RadioGroup.vue.d.ts +20 -16
- package/dist/runtime/components/Select.d.vue.ts +254 -0
- package/dist/runtime/components/Select.vue +8 -8
- package/dist/runtime/components/Select.vue.d.ts +18 -18
- package/dist/runtime/components/SelectMenu.d.vue.ts +303 -0
- package/dist/runtime/components/SelectMenu.vue +5 -5
- package/dist/runtime/components/SelectMenu.vue.d.ts +17 -17
- package/dist/runtime/components/Separator.d.vue.ts +54 -0
- package/dist/runtime/components/Separator.vue +1 -1
- package/dist/runtime/components/Separator.vue.d.ts +3 -3
- package/dist/runtime/components/Skeleton.d.vue.ts +17 -0
- package/dist/runtime/components/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/Slideover.d.vue.ts +108 -0
- package/dist/runtime/components/Slideover.vue +1 -1
- package/dist/runtime/components/Slideover.vue.d.ts +3 -3
- package/dist/runtime/components/Slider.d.vue.ts +57 -0
- package/dist/runtime/components/Slider.vue +1 -1
- package/dist/runtime/components/Slider.vue.d.ts +6 -7
- package/dist/runtime/components/Stepper.d.vue.ts +87 -0
- package/dist/runtime/components/Stepper.vue.d.ts +8 -7
- package/dist/runtime/components/Switch.d.vue.ts +71 -0
- package/dist/runtime/components/Switch.vue +3 -3
- package/dist/runtime/components/Switch.vue.d.ts +8 -7
- package/dist/runtime/components/Table.d.vue.ts +201 -0
- package/dist/runtime/components/Table.vue +2 -2
- package/dist/runtime/components/Table.vue.d.ts +27 -27
- package/dist/runtime/components/Tabs.d.vue.ts +99 -0
- package/dist/runtime/components/Tabs.vue +10 -3
- package/dist/runtime/components/Tabs.vue.d.ts +5 -5
- package/dist/runtime/components/Textarea.d.vue.ts +74 -0
- package/dist/runtime/components/Textarea.vue +8 -5
- package/dist/runtime/components/Textarea.vue.d.ts +6 -11
- package/dist/runtime/components/Timeline.d.vue.ts +71 -0
- package/dist/runtime/components/Timeline.vue.d.ts +3 -3
- package/dist/runtime/components/Toast.d.vue.ts +165 -0
- package/dist/runtime/components/Toast.vue +2 -2
- package/dist/runtime/components/Toast.vue.d.ts +3 -3
- package/dist/runtime/components/Toaster.d.vue.ts +44 -0
- package/dist/runtime/components/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/Tooltip.d.vue.ts +57 -0
- package/dist/runtime/components/Tooltip.vue.d.ts +1 -1
- package/dist/runtime/components/Tree.d.vue.ts +116 -0
- package/dist/runtime/components/Tree.vue +71 -43
- package/dist/runtime/components/Tree.vue.d.ts +10 -9
- package/dist/runtime/components/User.d.vue.ts +47 -0
- package/dist/runtime/components/User.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeAvatar.d.vue.ts +7 -0
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +23 -0
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeImage.d.vue.ts +6 -0
- package/dist/runtime/components/color-mode/ColorModeImage.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSelect.d.vue.ts +5 -0
- package/dist/runtime/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeSwitch.d.vue.ts +5 -0
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/runtime/components/content/ContentNavigation.d.vue.ts +102 -0
- package/dist/runtime/components/content/ContentNavigation.vue +6 -5
- package/dist/runtime/components/content/ContentNavigation.vue.d.ts +7 -7
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +114 -0
- package/dist/runtime/components/content/ContentSearch.vue +5 -5
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +7 -7
- package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +59 -0
- package/dist/runtime/components/content/ContentSearchButton.vue +3 -3
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +3 -3
- package/dist/runtime/components/content/ContentSurround.d.vue.ts +59 -0
- package/dist/runtime/components/content/ContentSurround.vue +2 -2
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +5 -4
- package/dist/runtime/components/content/ContentToc.d.vue.ts +88 -0
- package/dist/runtime/components/content/ContentToc.vue +1 -1
- package/dist/runtime/components/content/ContentToc.vue.d.ts +3 -2
- package/dist/runtime/components/locale/LocaleSelect.d.vue.ts +15 -0
- package/dist/runtime/components/locale/LocaleSelect.vue.d.ts +1 -1
- package/dist/runtime/components/prose/A.d.vue.ts +15 -0
- package/dist/runtime/components/prose/A.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Accordion.d.vue.ts +16 -0
- package/dist/runtime/components/prose/Accordion.vue.d.ts +1 -1
- package/dist/runtime/components/prose/AccordionItem.d.vue.ts +15 -0
- package/dist/runtime/components/prose/AccordionItem.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Badge.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Badge.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Blockquote.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Blockquote.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Callout.d.vue.ts +26 -0
- package/dist/runtime/components/prose/Callout.vue +1 -1
- package/dist/runtime/components/prose/Callout.vue.d.ts +3 -3
- package/dist/runtime/components/prose/Card.d.vue.ts +29 -0
- package/dist/runtime/components/prose/Card.vue +1 -1
- package/dist/runtime/components/prose/Card.vue.d.ts +3 -3
- package/dist/runtime/components/prose/CardGroup.d.vue.ts +13 -0
- package/dist/runtime/components/prose/CardGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Code.d.vue.ts +22 -0
- package/dist/runtime/components/prose/Code.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeCollapse.d.vue.ts +47 -0
- package/dist/runtime/components/prose/CodeCollapse.vue +1 -1
- package/dist/runtime/components/prose/CodeCollapse.vue.d.ts +3 -2
- package/dist/runtime/components/prose/CodeGroup.d.vue.ts +37 -0
- package/dist/runtime/components/prose/CodeGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeIcon.d.vue.ts +7 -0
- package/dist/runtime/components/prose/CodeIcon.vue +1 -1
- package/dist/runtime/components/prose/CodeIcon.vue.d.ts +3 -2
- package/dist/runtime/components/prose/CodePreview.d.vue.ts +19 -0
- package/dist/runtime/components/prose/CodePreview.vue.d.ts +1 -1
- package/dist/runtime/components/prose/CodeTree.d.vue.ts +28 -0
- package/dist/runtime/components/prose/CodeTree.vue +38 -31
- package/dist/runtime/components/prose/CodeTree.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Collapsible.d.vue.ts +39 -0
- package/dist/runtime/components/prose/Collapsible.vue +1 -1
- package/dist/runtime/components/prose/Collapsible.vue.d.ts +3 -2
- package/dist/runtime/components/prose/Em.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Em.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Field.d.vue.ts +39 -0
- package/dist/runtime/components/prose/Field.vue.d.ts +1 -1
- package/dist/runtime/components/prose/FieldGroup.d.vue.ts +18 -0
- package/dist/runtime/components/prose/FieldGroup.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H1.d.vue.ts +19 -0
- package/dist/runtime/components/prose/H1.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H2.d.vue.ts +19 -0
- package/dist/runtime/components/prose/H2.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H3.d.vue.ts +19 -0
- package/dist/runtime/components/prose/H3.vue.d.ts +1 -1
- package/dist/runtime/components/prose/H4.d.vue.ts +19 -0
- package/dist/runtime/components/prose/H4.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Hr.d.vue.ts +5 -0
- package/dist/runtime/components/prose/Hr.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Icon.d.vue.ts +6 -0
- package/dist/runtime/components/prose/Icon.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Img.d.vue.ts +21 -0
- package/dist/runtime/components/prose/Img.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Kbd.d.vue.ts +6 -0
- package/dist/runtime/components/prose/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Li.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Li.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Ol.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Ol.vue.d.ts +1 -1
- package/dist/runtime/components/prose/P.d.vue.ts +13 -0
- package/dist/runtime/components/prose/P.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Pre.d.vue.ts +26 -0
- package/dist/runtime/components/prose/Pre.vue +1 -1
- package/dist/runtime/components/prose/Pre.vue.d.ts +3 -2
- package/dist/runtime/components/prose/Script.d.vue.ts +5 -0
- package/dist/runtime/components/prose/Script.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Steps.d.vue.ts +22 -0
- package/dist/runtime/components/prose/Steps.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Strong.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Strong.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Table.d.vue.ts +18 -0
- package/dist/runtime/components/prose/Table.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tabs.d.vue.ts +36 -0
- package/dist/runtime/components/prose/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/prose/TabsItem.d.vue.ts +15 -0
- package/dist/runtime/components/prose/TabsItem.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tbody.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Tbody.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Td.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Td.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Th.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Th.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Thead.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Thead.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Tr.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Tr.vue.d.ts +1 -1
- package/dist/runtime/components/prose/Ul.d.vue.ts +13 -0
- package/dist/runtime/components/prose/Ul.vue.d.ts +1 -1
- package/dist/runtime/components/prose/callout/Caution.d.vue.ts +14 -0
- package/dist/runtime/components/prose/callout/Caution.vue.d.ts +1 -1
- package/dist/runtime/components/prose/callout/Note.d.vue.ts +14 -0
- package/dist/runtime/components/prose/callout/Note.vue.d.ts +1 -1
- package/dist/runtime/components/prose/callout/Tip.d.vue.ts +14 -0
- package/dist/runtime/components/prose/callout/Tip.vue.d.ts +1 -1
- package/dist/runtime/components/prose/callout/Warning.d.vue.ts +14 -0
- package/dist/runtime/components/prose/callout/Warning.vue.d.ts +1 -1
- package/dist/runtime/composables/useComponentIcons.d.ts +5 -5
- package/dist/runtime/composables/useFormField.d.ts +3 -1
- package/dist/runtime/composables/useFormField.js +2 -0
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/inertia/components/Link.d.vue.ts +63 -0
- package/dist/runtime/inertia/components/Link.vue +3 -0
- package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
- package/dist/runtime/inertia/components/LinkBase.d.vue.ts +25 -0
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/locale/de_ch.d.ts +3 -0
- package/dist/runtime/locale/de_ch.js +129 -0
- package/dist/runtime/locale/id.js +1 -1
- package/dist/runtime/locale/index.d.ts +2 -0
- package/dist/runtime/locale/index.js +2 -0
- package/dist/runtime/locale/ka.d.ts +3 -0
- package/dist/runtime/locale/ka.js +132 -0
- package/dist/runtime/types/form.d.ts +9 -8
- package/dist/runtime/types/form.js +1 -3
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/input.d.ts +8 -0
- package/dist/runtime/types/input.js +0 -0
- package/dist/runtime/types/utils.d.ts +8 -4
- package/dist/runtime/utils/form.d.ts +2 -0
- package/dist/runtime/utils/form.js +28 -0
- package/dist/runtime/utils/fuse.d.ts +2 -1
- package/dist/runtime/utils/index.d.ts +4 -3
- package/dist/runtime/utils/index.js +35 -3
- package/dist/runtime/utils/tv.d.ts +1 -1
- package/dist/runtime/vue/components/Icon.d.vue.ts +6 -0
- package/dist/runtime/vue/components/Icon.vue +3 -2
- package/dist/runtime/vue/components/Icon.vue.d.ts +3 -2
- package/dist/runtime/vue/components/Link.d.vue.ts +93 -0
- package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeButton.d.vue.ts +16 -0
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue.d.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.d.vue.ts +5 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue.d.ts +1 -1
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.d.vue.ts +5 -0
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue.d.ts +1 -1
- package/dist/shared/{ui.DT-jTZu1.mjs → ui.Bs5uUhtm.mjs} +20 -15
- package/dist/unplugin.mjs +12 -4
- package/dist/vite.mjs +1 -1
- package/package.json +29 -44
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { defineLocale } from "../composables/defineLocale.js";
|
|
2
|
+
export default defineLocale({
|
|
3
|
+
name: "Schweizerdeutsch",
|
|
4
|
+
code: "de-CH",
|
|
5
|
+
messages: {
|
|
6
|
+
alert: {
|
|
7
|
+
close: "Schliessen"
|
|
8
|
+
},
|
|
9
|
+
authForm: {
|
|
10
|
+
hidePassword: "Passwort verbergen",
|
|
11
|
+
showPassword: "Passwort anzeigen",
|
|
12
|
+
submit: "Weiter"
|
|
13
|
+
},
|
|
14
|
+
banner: {
|
|
15
|
+
close: "Schliessen"
|
|
16
|
+
},
|
|
17
|
+
calendar: {
|
|
18
|
+
nextMonth: "N\xE4chster Monat",
|
|
19
|
+
nextYear: "N\xE4chstes Jahr",
|
|
20
|
+
prevMonth: "Vorheriger Monat",
|
|
21
|
+
prevYear: "Vorheriges Jahr"
|
|
22
|
+
},
|
|
23
|
+
carousel: {
|
|
24
|
+
dots: "Folie zur Anzeige ausw\xE4hlen",
|
|
25
|
+
goto: "Gehe zu {slide}",
|
|
26
|
+
next: "Weiter",
|
|
27
|
+
prev: "Zur\xFCck"
|
|
28
|
+
},
|
|
29
|
+
chatPrompt: {
|
|
30
|
+
placeholder: "Hier schreiben Sie Ihre Nachricht..."
|
|
31
|
+
},
|
|
32
|
+
chatPromptSubmit: {
|
|
33
|
+
label: "Senden"
|
|
34
|
+
},
|
|
35
|
+
colorMode: {
|
|
36
|
+
dark: "Dunkel",
|
|
37
|
+
light: "Hell",
|
|
38
|
+
switchToDark: "Zum dunklen Modus wechseln",
|
|
39
|
+
switchToLight: "Zum hellen Modus wechseln",
|
|
40
|
+
system: "System"
|
|
41
|
+
},
|
|
42
|
+
commandPalette: {
|
|
43
|
+
back: "Zur\xFCck",
|
|
44
|
+
close: "Schliessen",
|
|
45
|
+
noData: "Keine Daten",
|
|
46
|
+
noMatch: "Nichts gefunden",
|
|
47
|
+
placeholder: "Geben Sie einen Befehl ein oder suchen Sie..."
|
|
48
|
+
},
|
|
49
|
+
contentSearch: {
|
|
50
|
+
links: "Links",
|
|
51
|
+
theme: "Thema"
|
|
52
|
+
},
|
|
53
|
+
contentSearchButton: {
|
|
54
|
+
label: "Suchen..."
|
|
55
|
+
},
|
|
56
|
+
contentToc: {
|
|
57
|
+
title: "Auf dieser Seite"
|
|
58
|
+
},
|
|
59
|
+
dashboardSearch: {
|
|
60
|
+
theme: "Thema"
|
|
61
|
+
},
|
|
62
|
+
dashboardSearchButton: {
|
|
63
|
+
label: "Suchen..."
|
|
64
|
+
},
|
|
65
|
+
dashboardSidebarCollapse: {
|
|
66
|
+
collapse: "Seitenleiste einklappen",
|
|
67
|
+
expand: "Seitenleiste erweitern"
|
|
68
|
+
},
|
|
69
|
+
dashboardSidebarToggle: {
|
|
70
|
+
close: "Seitenleiste schliessen",
|
|
71
|
+
open: "Seitenleiste \xF6ffnen"
|
|
72
|
+
},
|
|
73
|
+
error: {
|
|
74
|
+
clear: "Zur\xFCck zur Startseite"
|
|
75
|
+
},
|
|
76
|
+
fileUpload: {
|
|
77
|
+
removeFile: "{filename} entfernen"
|
|
78
|
+
},
|
|
79
|
+
header: {
|
|
80
|
+
close: "Men\xFC schliessen",
|
|
81
|
+
open: "Men\xFC \xF6ffnen"
|
|
82
|
+
},
|
|
83
|
+
inputMenu: {
|
|
84
|
+
create: '"{label}" erstellen',
|
|
85
|
+
noData: "Keine Daten",
|
|
86
|
+
noMatch: "Nichts gefunden"
|
|
87
|
+
},
|
|
88
|
+
inputNumber: {
|
|
89
|
+
decrement: "Verringern",
|
|
90
|
+
increment: "Erh\xF6hen"
|
|
91
|
+
},
|
|
92
|
+
modal: {
|
|
93
|
+
close: "Schliessen"
|
|
94
|
+
},
|
|
95
|
+
pricingTable: {
|
|
96
|
+
caption: "Preisplanvergleich"
|
|
97
|
+
},
|
|
98
|
+
prose: {
|
|
99
|
+
codeCollapse: {
|
|
100
|
+
closeText: "Reduzieren",
|
|
101
|
+
name: "Code",
|
|
102
|
+
openText: "Erweitern"
|
|
103
|
+
},
|
|
104
|
+
collapsible: {
|
|
105
|
+
closeText: "Ausblenden",
|
|
106
|
+
name: "Eigenschaften",
|
|
107
|
+
openText: "Anzeigen"
|
|
108
|
+
},
|
|
109
|
+
pre: {
|
|
110
|
+
copy: "Code in die Zwischenablage kopieren"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
selectMenu: {
|
|
114
|
+
create: '"{label}" erstellen',
|
|
115
|
+
noData: "Keine Daten",
|
|
116
|
+
noMatch: "Nichts gefunden",
|
|
117
|
+
search: "Suchen..."
|
|
118
|
+
},
|
|
119
|
+
slideover: {
|
|
120
|
+
close: "Schliessen"
|
|
121
|
+
},
|
|
122
|
+
table: {
|
|
123
|
+
noData: "Keine Daten"
|
|
124
|
+
},
|
|
125
|
+
toast: {
|
|
126
|
+
close: "Schliessen"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
});
|
|
@@ -7,6 +7,7 @@ export { default as ckb } from './ckb';
|
|
|
7
7
|
export { default as cs } from './cs';
|
|
8
8
|
export { default as da } from './da';
|
|
9
9
|
export { default as de } from './de';
|
|
10
|
+
export { default as de_ch } from './de_ch';
|
|
10
11
|
export { default as el } from './el';
|
|
11
12
|
export { default as en } from './en';
|
|
12
13
|
export { default as es } from './es';
|
|
@@ -21,6 +22,7 @@ export { default as hy } from './hy';
|
|
|
21
22
|
export { default as id } from './id';
|
|
22
23
|
export { default as it } from './it';
|
|
23
24
|
export { default as ja } from './ja';
|
|
25
|
+
export { default as ka } from './ka';
|
|
24
26
|
export { default as kk } from './kk';
|
|
25
27
|
export { default as km } from './km';
|
|
26
28
|
export { default as ko } from './ko';
|
|
@@ -7,6 +7,7 @@ export { default as ckb } from "./ckb.js";
|
|
|
7
7
|
export { default as cs } from "./cs.js";
|
|
8
8
|
export { default as da } from "./da.js";
|
|
9
9
|
export { default as de } from "./de.js";
|
|
10
|
+
export { default as de_ch } from "./de_ch.js";
|
|
10
11
|
export { default as el } from "./el.js";
|
|
11
12
|
export { default as en } from "./en.js";
|
|
12
13
|
export { default as es } from "./es.js";
|
|
@@ -21,6 +22,7 @@ export { default as hy } from "./hy.js";
|
|
|
21
22
|
export { default as id } from "./id.js";
|
|
22
23
|
export { default as it } from "./it.js";
|
|
23
24
|
export { default as ja } from "./ja.js";
|
|
25
|
+
export { default as ka } from "./ka.js";
|
|
24
26
|
export { default as kk } from "./kk.js";
|
|
25
27
|
export { default as km } from "./km.js";
|
|
26
28
|
export { default as ko } from "./ko.js";
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { defineLocale } from "../composables/defineLocale.js";
|
|
2
|
+
export default defineLocale({
|
|
3
|
+
name: "\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",
|
|
4
|
+
code: "ka",
|
|
5
|
+
messages: {
|
|
6
|
+
alert: {
|
|
7
|
+
close: "\u10D3\u10D0\u10EE\u10E3\u10E0\u10D5\u10D0"
|
|
8
|
+
},
|
|
9
|
+
authForm: {
|
|
10
|
+
hidePassword: "\u10DE\u10D0\u10E0\u10DD\u10DA\u10D8\u10E1 \u10D3\u10D0\u10DB\u10D0\u10DA\u10D5\u10D0",
|
|
11
|
+
showPassword: "\u10DE\u10D0\u10E0\u10DD\u10DA\u10D8\u10E1 \u10E9\u10D5\u10D4\u10DC\u10D4\u10D1\u10D0",
|
|
12
|
+
submit: "\u10D2\u10D0\u10D2\u10E0\u10EB\u10D4\u10DA\u10D4\u10D1\u10D0"
|
|
13
|
+
},
|
|
14
|
+
banner: {
|
|
15
|
+
close: "\u10D3\u10D0\u10EE\u10E3\u10E0\u10D5\u10D0"
|
|
16
|
+
},
|
|
17
|
+
calendar: {
|
|
18
|
+
nextMonth: "\u10E8\u10D4\u10DB\u10D3\u10D4\u10D2\u10D8 \u10D7\u10D5\u10D4",
|
|
19
|
+
nextYear: "\u10E8\u10D4\u10DB\u10D3\u10D4\u10D2\u10D8 \u10EC\u10D4\u10DA\u10D8",
|
|
20
|
+
prevMonth: "\u10EC\u10D8\u10DC\u10D0 \u10D7\u10D5\u10D4",
|
|
21
|
+
prevYear: "\u10EC\u10D8\u10DC\u10D0 \u10EC\u10D4\u10DA\u10D8"
|
|
22
|
+
},
|
|
23
|
+
carousel: {
|
|
24
|
+
dots: "\u10D0\u10D8\u10E0\u10E9\u10D8\u10D4\u10D7 \u10E1\u10DA\u10D0\u10D8\u10D3\u10D8 \u10E1\u10D0\u10E9\u10D5\u10D4\u10DC\u10D4\u10D1\u10DA\u10D0\u10D3",
|
|
25
|
+
goto: "\u10D2\u10D0\u10D3\u10D0\u10E1\u10D5\u10DA\u10D0 \u10E1\u10DA\u10D0\u10D8\u10D3 {slide}-\u10D6\u10D4",
|
|
26
|
+
next: "\u10E8\u10D4\u10DB\u10D3\u10D4\u10D2\u10D8",
|
|
27
|
+
prev: "\u10EC\u10D8\u10DC\u10D0"
|
|
28
|
+
},
|
|
29
|
+
chatPrompt: {
|
|
30
|
+
placeholder: "\u10D3\u10D0\u10EC\u10D4\u10E0\u10D4\u10D7 \u10D7\u10E5\u10D5\u10D4\u10DC\u10D8 \u10DB\u10D4\u10E1\u10D8\u10EF\u10D8 \u10D0\u10E5..."
|
|
31
|
+
},
|
|
32
|
+
chatPromptSubmit: {
|
|
33
|
+
label: "\u10E8\u10D4\u10E2\u10E7\u10DD\u10D1\u10D8\u10DC\u10D4\u10D1\u10D8\u10E1 \u10D2\u10D0\u10D2\u10D6\u10D0\u10D5\u10DC\u10D0"
|
|
34
|
+
},
|
|
35
|
+
colorMode: {
|
|
36
|
+
dark: "\u10D1\u10DC\u10D4\u10DA\u10D8",
|
|
37
|
+
light: "\u10DC\u10D0\u10D7\u10D4\u10DA\u10D8",
|
|
38
|
+
switchToDark: "\u10D1\u10DC\u10D4\u10DA \u10E0\u10D4\u10EF\u10D8\u10DB\u10D6\u10D4 \u10D2\u10D0\u10D3\u10D0\u10E1\u10D5\u10DA\u10D0",
|
|
39
|
+
switchToLight: "\u10DC\u10D0\u10D7\u10D4\u10DA \u10E0\u10D4\u10EF\u10D8\u10DB\u10D6\u10D4 \u10D2\u10D0\u10D3\u10D0\u10E1\u10D5\u10DA\u10D0",
|
|
40
|
+
system: "\u10E1\u10D8\u10E1\u10E2\u10D4\u10DB\u10E3\u10E0\u10D8"
|
|
41
|
+
},
|
|
42
|
+
commandPalette: {
|
|
43
|
+
back: "\u10E3\u10D9\u10D0\u10DC",
|
|
44
|
+
close: "\u10D3\u10D0\u10EE\u10E3\u10E0\u10D5\u10D0",
|
|
45
|
+
noData: "\u10DB\u10DD\u10DC\u10D0\u10EA\u10D4\u10DB\u10D4\u10D1\u10D8 \u10D0\u10E0 \u10D0\u10E0\u10D8\u10E1",
|
|
46
|
+
noMatch: "\u10E8\u10D4\u10E1\u10D0\u10E2\u10E7\u10D5\u10D8\u10E1\u10D8 \u10DB\u10DD\u10DC\u10D0\u10EA\u10D4\u10DB\u10D4\u10D1\u10D8 \u10D0\u10E0 \u10D0\u10E0\u10D8\u10E1",
|
|
47
|
+
placeholder: "\u10E9\u10D0\u10EC\u10D4\u10E0\u10D4\u10D7 \u10D1\u10E0\u10EB\u10D0\u10DC\u10D4\u10D1\u10D0 \u10D0\u10DC \u10EB\u10D8\u10D4\u10D1\u10D0..."
|
|
48
|
+
},
|
|
49
|
+
contentSearch: {
|
|
50
|
+
links: "\u10D1\u10DB\u10E3\u10DA\u10D4\u10D1\u10D8",
|
|
51
|
+
theme: "\u10D7\u10D4\u10DB\u10D0"
|
|
52
|
+
},
|
|
53
|
+
contentSearchButton: {
|
|
54
|
+
label: "\u10EB\u10D8\u10D4\u10D1\u10D0..."
|
|
55
|
+
},
|
|
56
|
+
contentToc: {
|
|
57
|
+
title: "\u10D0\u10DB \u10D2\u10D5\u10D4\u10E0\u10D3\u10D6\u10D4"
|
|
58
|
+
},
|
|
59
|
+
dashboardSearch: {
|
|
60
|
+
theme: "\u10D7\u10D4\u10DB\u10D0"
|
|
61
|
+
},
|
|
62
|
+
dashboardSearchButton: {
|
|
63
|
+
label: "\u10EB\u10D8\u10D4\u10D1\u10D0..."
|
|
64
|
+
},
|
|
65
|
+
dashboardSidebarCollapse: {
|
|
66
|
+
collapse: "\u10D2\u10D5\u10D4\u10E0\u10D3\u10D8\u10D7\u10D8 \u10D6\u10DD\u10DA\u10D8\u10E1 \u10E9\u10D0\u10D9\u10D4\u10EA\u10D5\u10D0",
|
|
67
|
+
expand: "\u10D2\u10D5\u10D4\u10E0\u10D3\u10D8\u10D7\u10D8 \u10D6\u10DD\u10DA\u10D8\u10E1 \u10D2\u10D0\u10E8\u10DA\u10D0"
|
|
68
|
+
},
|
|
69
|
+
dashboardSidebarToggle: {
|
|
70
|
+
close: "\u10D2\u10D5\u10D4\u10E0\u10D3\u10D8\u10D7\u10D8 \u10D6\u10DD\u10DA\u10D8\u10E1 \u10D3\u10D0\u10EE\u10E3\u10E0\u10D5\u10D0",
|
|
71
|
+
open: "\u10D2\u10D5\u10D4\u10E0\u10D3\u10D8\u10D7\u10D8 \u10D6\u10DD\u10DA\u10D8\u10E1 \u10D2\u10D0\u10EE\u10E1\u10DC\u10D0"
|
|
72
|
+
},
|
|
73
|
+
error: {
|
|
74
|
+
// While "home" translates as "სახლი", I chose to use "მთავარი" (meaning "main") as contextually this sounds better.
|
|
75
|
+
// If any Georgian prefers literal translation, please submit patch.
|
|
76
|
+
clear: "\u10DB\u10D7\u10D0\u10D5\u10D0\u10E0\u10D6\u10D4 \u10D3\u10D0\u10D1\u10E0\u10E3\u10DC\u10D4\u10D1\u10D0"
|
|
77
|
+
},
|
|
78
|
+
fileUpload: {
|
|
79
|
+
removeFile: "\u10DB\u10DD\u10D0\u10E8\u10DD\u10E0\u10D4 {filename}"
|
|
80
|
+
},
|
|
81
|
+
header: {
|
|
82
|
+
close: "\u10DB\u10D4\u10DC\u10D8\u10E3\u10E1 \u10D3\u10D0\u10EE\u10E3\u10E0\u10D5\u10D0",
|
|
83
|
+
open: "\u10DB\u10D4\u10DC\u10D8\u10E3\u10E1 \u10D2\u10D0\u10EE\u10E1\u10DC\u10D0"
|
|
84
|
+
},
|
|
85
|
+
inputMenu: {
|
|
86
|
+
create: '\u10E8\u10D4\u10E5\u10DB\u10D4\u10DC\u10D8 "{label}"',
|
|
87
|
+
noData: "\u10DB\u10DD\u10DC\u10D0\u10EA\u10D4\u10DB\u10D4\u10D1\u10D8 \u10D0\u10E0 \u10D0\u10E0\u10D8\u10E1",
|
|
88
|
+
noMatch: "\u10E8\u10D4\u10E1\u10D0\u10E2\u10E7\u10D5\u10D8\u10E1\u10D8 \u10DB\u10DD\u10DC\u10D0\u10EA\u10D4\u10DB\u10D4\u10D1\u10D8 \u10D0\u10E0 \u10D0\u10E0\u10D8\u10E1"
|
|
89
|
+
},
|
|
90
|
+
inputNumber: {
|
|
91
|
+
decrement: "\u10D3\u10D0\u10D9\u10DA\u10D4\u10D1\u10D0",
|
|
92
|
+
increment: "\u10D3\u10D0\u10DB\u10D0\u10E2\u10D4\u10D1\u10D0"
|
|
93
|
+
},
|
|
94
|
+
modal: {
|
|
95
|
+
close: "\u10D3\u10D0\u10EE\u10E3\u10E0\u10D5\u10D0"
|
|
96
|
+
},
|
|
97
|
+
pricingTable: {
|
|
98
|
+
caption: "\u10E4\u10D0\u10E1\u10D8\u10E1 \u10D2\u10D4\u10D2\u10DB\u10D4\u10D1\u10D8\u10E1 \u10E8\u10D4\u10D3\u10D0\u10E0\u10D4\u10D1\u10D0"
|
|
99
|
+
},
|
|
100
|
+
prose: {
|
|
101
|
+
codeCollapse: {
|
|
102
|
+
closeText: "\u10E9\u10D0\u10D9\u10D4\u10EA\u10D5\u10D0",
|
|
103
|
+
name: "\u10D9\u10DD\u10D3\u10D8",
|
|
104
|
+
openText: "\u10D2\u10D0\u10E8\u10DA\u10D0"
|
|
105
|
+
},
|
|
106
|
+
collapsible: {
|
|
107
|
+
closeText: "\u10D3\u10D0\u10EE\u10E3\u10E0\u10D5\u10D0",
|
|
108
|
+
name: "\u10D7\u10D5\u10D8\u10E1\u10D4\u10D1\u10D4\u10D1\u10D8",
|
|
109
|
+
openText: "\u10E9\u10D5\u10D4\u10DC\u10D4\u10D1\u10D0"
|
|
110
|
+
},
|
|
111
|
+
pre: {
|
|
112
|
+
copy: "\u10D9\u10DD\u10D3\u10D8\u10E1 \u10D9\u10DD\u10DE\u10D8\u10E0\u10D4\u10D1\u10D0 \u10D1\u10E3\u10E4\u10D4\u10E0\u10E8\u10D8"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
selectMenu: {
|
|
116
|
+
create: '\u10D3\u10D0\u10D0\u10DB\u10D0\u10E2\u10D4 "{label}"',
|
|
117
|
+
// "Create" translates as "შექმნა", but since we are simply adding new choice, creating sounds wrong, thus I chose to use "დაამატე", meaning "add".
|
|
118
|
+
noData: "\u10DB\u10DD\u10DC\u10D0\u10EA\u10D4\u10DB\u10D4\u10D1\u10D8 \u10D0\u10E0 \u10D0\u10E0\u10D8\u10E1",
|
|
119
|
+
noMatch: "\u10E8\u10D4\u10E1\u10D0\u10E2\u10E7\u10D5\u10D8\u10E1\u10D8 \u10DB\u10DD\u10DC\u10D0\u10EA\u10D4\u10DB\u10D4\u10D1\u10D8 \u10D0\u10E0 \u10D0\u10E0\u10D8\u10E1",
|
|
120
|
+
search: "\u10EB\u10D8\u10D4\u10D1\u10D0..."
|
|
121
|
+
},
|
|
122
|
+
slideover: {
|
|
123
|
+
close: "\u10D3\u10D0\u10EE\u10E3\u10E0\u10D5\u10D0"
|
|
124
|
+
},
|
|
125
|
+
table: {
|
|
126
|
+
noData: "\u10DB\u10DD\u10DC\u10D0\u10EA\u10D4\u10DB\u10D4\u10D1\u10D8 \u10D0\u10E0 \u10D0\u10E0\u10D8\u10E1"
|
|
127
|
+
},
|
|
128
|
+
toast: {
|
|
129
|
+
close: "\u10D3\u10D0\u10EE\u10E3\u10E0\u10D5\u10D0"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
});
|
|
@@ -11,10 +11,10 @@ export interface Form<S extends FormSchema> {
|
|
|
11
11
|
nested?: boolean;
|
|
12
12
|
transform?: T;
|
|
13
13
|
}): Promise<FormData<S, T> | false>;
|
|
14
|
-
clear(path?: string): void;
|
|
14
|
+
clear(path?: keyof FormData<S, false> | string | RegExp): void;
|
|
15
15
|
errors: Ref<FormError[]>;
|
|
16
|
-
setErrors(errs: FormError[], name?: keyof FormData<S, false>): void;
|
|
17
|
-
getErrors(name?: keyof FormData<S, false>): FormError[];
|
|
16
|
+
setErrors(errs: FormError[], name?: keyof FormData<S, false> | string | RegExp): void;
|
|
17
|
+
getErrors(name?: keyof FormData<S, false> | string | RegExp): FormError[];
|
|
18
18
|
submit(): Promise<void>;
|
|
19
19
|
disabled: ComputedRef<boolean>;
|
|
20
20
|
dirty: ComputedRef<boolean>;
|
|
@@ -40,14 +40,16 @@ export type FormSubmitEvent<T> = SubmitEvent & {
|
|
|
40
40
|
};
|
|
41
41
|
export type FormValidationError = {
|
|
42
42
|
errors: FormErrorWithId[];
|
|
43
|
-
children?:
|
|
43
|
+
children?: FormErrorWithId[];
|
|
44
44
|
};
|
|
45
45
|
export type FormErrorEvent = SubmitEvent & FormValidationError;
|
|
46
46
|
export type FormEventType = FormInputEvents;
|
|
47
|
-
export type FormChildAttachEvent = {
|
|
47
|
+
export type FormChildAttachEvent<S extends FormSchema> = {
|
|
48
48
|
type: 'attach';
|
|
49
49
|
formId: string | number;
|
|
50
50
|
validate: Form<any>['validate'];
|
|
51
|
+
name?: string;
|
|
52
|
+
api: Form<S>;
|
|
51
53
|
};
|
|
52
54
|
export type FormChildDetachEvent = {
|
|
53
55
|
type: 'detach';
|
|
@@ -58,7 +60,7 @@ export type FormInputEvent<T extends object> = {
|
|
|
58
60
|
name: keyof T;
|
|
59
61
|
eager?: boolean;
|
|
60
62
|
};
|
|
61
|
-
export type FormEvent<T extends object> = FormInputEvent<T> | FormChildAttachEvent | FormChildDetachEvent;
|
|
63
|
+
export type FormEvent<T extends object> = FormInputEvent<T> | FormChildAttachEvent<any> | FormChildDetachEvent;
|
|
62
64
|
export interface FormInjectedOptions {
|
|
63
65
|
disabled?: boolean;
|
|
64
66
|
validateOnInputDelay?: number;
|
|
@@ -82,6 +84,5 @@ export interface ValidateReturnSchema<T> {
|
|
|
82
84
|
export declare class FormValidationException extends Error {
|
|
83
85
|
formId: string | number;
|
|
84
86
|
errors: FormErrorWithId[];
|
|
85
|
-
|
|
86
|
-
constructor(formId: string | number, errors: FormErrorWithId[], childErrors?: FormValidationException[]);
|
|
87
|
+
constructor(formId: string | number, errors: FormErrorWithId[]);
|
|
87
88
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
export class FormValidationException extends Error {
|
|
2
2
|
formId;
|
|
3
3
|
errors;
|
|
4
|
-
|
|
5
|
-
constructor(formId, errors, childErrors) {
|
|
4
|
+
constructor(formId, errors) {
|
|
6
5
|
super("Form validation exception");
|
|
7
6
|
this.formId = formId;
|
|
8
7
|
this.errors = errors;
|
|
9
|
-
this.children = childErrors;
|
|
10
8
|
Object.setPrototypeOf(this, FormValidationException.prototype);
|
|
11
9
|
}
|
|
12
10
|
}
|
|
File without changes
|
|
@@ -14,7 +14,7 @@ export type DynamicSlots<T extends {
|
|
|
14
14
|
} & ExtraProps) => any;
|
|
15
15
|
};
|
|
16
16
|
export type GetObjectField<MaybeObject, Key extends string> = MaybeObject extends Record<string, any> ? MaybeObject[Key] : never;
|
|
17
|
-
export type AcceptableValue = Exclude<_AcceptableValue, Record<string, any
|
|
17
|
+
export type AcceptableValue = Exclude<_AcceptableValue, Record<string, any>> | boolean;
|
|
18
18
|
export type ArrayOrNested<T> = T[] | T[][];
|
|
19
19
|
export type NestedItem<T> = T extends Array<infer I> ? NestedItem<I> : T;
|
|
20
20
|
type AllKeys<T> = T extends any ? keyof T : never;
|
|
@@ -27,12 +27,16 @@ export type MergeTypes<T extends object> = {
|
|
|
27
27
|
} & {
|
|
28
28
|
[k in NonCommonKeys<T>]?: PickTypeOf<T, k>;
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
type DotPathKeys<T> = T extends Array<any> ? never : T extends object ? {
|
|
31
|
+
[K in keyof T & string]: T[K] extends Record<string, any> ? K | `${K}.${DotPathKeys<T[K]>}` : K;
|
|
32
|
+
}[keyof T & string] : never;
|
|
33
|
+
type DotPathValue<T, P extends DotPathKeys<T> | (string & {})> = P extends `${infer K}.${infer Rest}` ? K extends keyof T ? DotPathValue<T[K], Rest> : never : P extends keyof T ? T[P] : never;
|
|
34
|
+
export type GetItemKeys<I> = keyof Extract<NestedItem<I>, object> | DotPathKeys<Extract<NestedItem<I>, object>>;
|
|
35
|
+
export type GetItemValue<I, VK extends GetItemKeys<I> | undefined, T extends NestedItem<I> = NestedItem<I>> = T extends object ? VK extends undefined ? T : VK extends DotPathKeys<T> ? DotPathValue<T, VK> : never : T;
|
|
32
36
|
export type GetModelValue<T, VK extends GetItemKeys<T> | undefined, M extends boolean> = M extends true ? GetItemValue<T, VK>[] : GetItemValue<T, VK>;
|
|
33
37
|
export type GetModelValueEmits<T, VK extends GetItemKeys<T> | undefined, M extends boolean> = {
|
|
34
38
|
/** Event handler called when the value changes. */
|
|
35
|
-
'update:modelValue': [
|
|
39
|
+
'update:modelValue': [value: GetModelValue<T, VK, M>];
|
|
36
40
|
};
|
|
37
41
|
export type StringOrVNode = string | VNode | (() => VNode);
|
|
38
42
|
export type EmitsToProps<T> = {
|
|
@@ -11,3 +11,5 @@ export declare function isJoiError(error: any): error is JoiError;
|
|
|
11
11
|
export declare function isStandardSchema(schema: any): schema is StandardSchemaV1;
|
|
12
12
|
export declare function validateStandardSchema(state: any, schema: StandardSchemaV1): Promise<ValidateReturnSchema<typeof state>>;
|
|
13
13
|
export declare function validateSchema<T extends object>(state: T, schema: FormSchema<T>): Promise<ValidateReturnSchema<typeof state>>;
|
|
14
|
+
export declare function getAtPath<T extends object>(data: T, path?: string): any;
|
|
15
|
+
export declare function setAtPath<T extends object>(data: T, path: string, value: any): T;
|
|
@@ -106,3 +106,31 @@ export function validateSchema(state, schema) {
|
|
|
106
106
|
throw new Error("Form validation failed: Unsupported form schema");
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
+
export function getAtPath(data, path) {
|
|
110
|
+
if (!path) return data;
|
|
111
|
+
const value = path.split(".").reduce(
|
|
112
|
+
(value2, key) => value2?.[key],
|
|
113
|
+
data
|
|
114
|
+
);
|
|
115
|
+
return value;
|
|
116
|
+
}
|
|
117
|
+
export function setAtPath(data, path, value) {
|
|
118
|
+
if (!path) return Object.assign(data, value);
|
|
119
|
+
if (!data) return data;
|
|
120
|
+
const keys = path.split(".");
|
|
121
|
+
let current = data;
|
|
122
|
+
for (let i = 0; i < keys.length - 1; i++) {
|
|
123
|
+
const key = keys[i];
|
|
124
|
+
if (current[key] === void 0 || current[key] === null) {
|
|
125
|
+
if (i + 1 < keys.length && !Number.isNaN(Number(keys[i + 1]))) {
|
|
126
|
+
current[key] = [];
|
|
127
|
+
} else {
|
|
128
|
+
current[key] = {};
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
current = current[key];
|
|
132
|
+
}
|
|
133
|
+
const lastKey = keys[keys.length - 1];
|
|
134
|
+
current[lastKey] = value;
|
|
135
|
+
return data;
|
|
136
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { FuseResult } from 'fuse.js';
|
|
2
|
+
import type { GetItemKeys } from '../types/utils';
|
|
2
3
|
export declare function highlight<T>(item: T & {
|
|
3
4
|
matches?: FuseResult<T>['matches'];
|
|
4
|
-
}, searchTerm: string, forceKey?:
|
|
5
|
+
}, searchTerm: string, forceKey?: GetItemKeys<T>, omitKeys?: GetItemKeys<T>[]): string | undefined;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import type { GetItemKeys
|
|
1
|
+
import type { GetItemKeys } from '../types/utils';
|
|
2
2
|
export declare function pick<Data extends object, Keys extends keyof Data>(data: Data, keys: Keys[]): Pick<Data, Keys>;
|
|
3
3
|
export declare function omit<Data extends object, Keys extends keyof Data>(data: Data, keys: Keys[]): Omit<Data, Keys>;
|
|
4
4
|
export declare function get(object: Record<string, any> | undefined, path: (string | number)[] | string, defaultValue?: any): any;
|
|
5
5
|
export declare function set(object: Record<string, any>, path: (string | number)[] | string, value: any): void;
|
|
6
6
|
export declare function looseToNumber(val: any): any;
|
|
7
7
|
export declare function compare<T>(value?: T, currentValue?: T, comparator?: string | ((a: T, b: T) => boolean)): boolean;
|
|
8
|
-
export declare function
|
|
8
|
+
export declare function isEmpty(value: unknown): boolean;
|
|
9
|
+
export declare function getDisplayValue<T extends Array<any>, V>(items: T, value: V | undefined | null, options?: {
|
|
9
10
|
valueKey?: GetItemKeys<T>;
|
|
10
|
-
labelKey?:
|
|
11
|
+
labelKey?: GetItemKeys<T>;
|
|
11
12
|
}): string | undefined;
|
|
12
13
|
export declare function isArrayOfArray<A>(item: A[] | A[][]): item is A[][];
|
|
13
14
|
export declare function mergeClasses(appConfigClass?: string | string[], propClass?: string): "" | (string | undefined)[];
|
|
@@ -61,15 +61,47 @@ export function compare(value, currentValue, comparator) {
|
|
|
61
61
|
}
|
|
62
62
|
return isEqual(value, currentValue);
|
|
63
63
|
}
|
|
64
|
+
export function isEmpty(value) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
if (typeof value === "boolean" || typeof value === "number") {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
if (typeof value === "string") {
|
|
72
|
+
return value.trim().length === 0;
|
|
73
|
+
}
|
|
74
|
+
if (Array.isArray(value)) {
|
|
75
|
+
return value.length === 0;
|
|
76
|
+
}
|
|
77
|
+
if (value instanceof Map || value instanceof Set) {
|
|
78
|
+
return value.size === 0;
|
|
79
|
+
}
|
|
80
|
+
if (value instanceof Date || value instanceof RegExp || typeof value === "function") {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
if (typeof value === "object") {
|
|
84
|
+
for (const _ in value) {
|
|
85
|
+
if (Object.prototype.hasOwnProperty.call(value, _)) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return true;
|
|
90
|
+
}
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
64
93
|
export function getDisplayValue(items, value, options = {}) {
|
|
65
94
|
const { valueKey, labelKey } = options;
|
|
66
|
-
if (value === null || value === void 0) {
|
|
67
|
-
return void 0;
|
|
68
|
-
}
|
|
69
95
|
const foundItem = items.find((item) => {
|
|
70
96
|
const itemValue = typeof item === "object" && item !== null && valueKey ? get(item, valueKey) : item;
|
|
71
97
|
return compare(itemValue, value);
|
|
72
98
|
});
|
|
99
|
+
if (isEmpty(value) && foundItem) {
|
|
100
|
+
return labelKey ? get(foundItem, labelKey) : void 0;
|
|
101
|
+
}
|
|
102
|
+
if (isEmpty(value)) {
|
|
103
|
+
return void 0;
|
|
104
|
+
}
|
|
73
105
|
const source = foundItem ?? value;
|
|
74
106
|
if (source === null || source === void 0) {
|
|
75
107
|
return void 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tv: import("tailwind-variants").
|
|
1
|
+
export declare const tv: import("tailwind-variants").TV;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { IconProps as NuxtIconProps } from '../../types';
|
|
2
|
+
export interface IconProps {
|
|
3
|
+
name: NuxtIconProps['name'];
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<IconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
<script setup>
|
|
6
6
|
import { Icon as IconifyIcon } from "@iconify/vue";
|
|
7
7
|
defineProps({
|
|
8
|
-
name: { type: String, required: true }
|
|
8
|
+
name: { type: [String, Object], required: true }
|
|
9
9
|
});
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
|
-
<IconifyIcon :icon="name.replace(/^i-/, '')" />
|
|
13
|
+
<IconifyIcon v-if="typeof name === 'string'" :icon="name.replace(/^i-/, '')" />
|
|
14
|
+
<component :is="name" v-else />
|
|
14
15
|
</template>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { IconProps as NuxtIconProps } from '../../types';
|
|
1
2
|
export interface IconProps {
|
|
2
|
-
name:
|
|
3
|
+
name: NuxtIconProps['name'];
|
|
3
4
|
}
|
|
4
|
-
declare const _default: import("vue").DefineComponent<IconProps,
|
|
5
|
+
declare const _default: import("vue").DefineComponent<IconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
6
|
export default _default;
|