@nuxt/ui 4.7.1 → 4.8.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 → ui.static.css} +0 -10
- package/LICENSE.md +1 -1
- package/cli/commands/make/component.mjs +6 -2
- package/cli/templates.mjs +46 -20
- package/cli/utils.mjs +19 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +4 -4
- package/dist/runtime/components/Accordion.vue +15 -14
- package/dist/runtime/components/Alert.vue +20 -20
- package/dist/runtime/components/AuthForm.vue +37 -37
- package/dist/runtime/components/Avatar.d.vue.ts +4 -0
- package/dist/runtime/components/Avatar.vue +14 -12
- package/dist/runtime/components/Avatar.vue.d.ts +4 -0
- package/dist/runtime/components/AvatarGroup.d.vue.ts +4 -0
- package/dist/runtime/components/AvatarGroup.vue +11 -8
- package/dist/runtime/components/AvatarGroup.vue.d.ts +4 -0
- package/dist/runtime/components/Badge.vue +11 -11
- package/dist/runtime/components/Banner.vue +25 -23
- package/dist/runtime/components/BlogPost.d.vue.ts +1 -1
- package/dist/runtime/components/BlogPost.vue +30 -28
- package/dist/runtime/components/BlogPost.vue.d.ts +1 -1
- package/dist/runtime/components/BlogPosts.vue +6 -6
- package/dist/runtime/components/Breadcrumb.d.vue.ts +4 -0
- package/dist/runtime/components/Breadcrumb.vue +21 -18
- package/dist/runtime/components/Breadcrumb.vue.d.ts +4 -0
- package/dist/runtime/components/Button.vue +16 -16
- package/dist/runtime/components/Calendar.vue +21 -20
- package/dist/runtime/components/Card.vue +11 -11
- package/dist/runtime/components/Carousel.vue +23 -22
- package/dist/runtime/components/ChangelogVersion.vue +31 -29
- package/dist/runtime/components/ChangelogVersions.vue +8 -8
- package/dist/runtime/components/ChatMessage.d.vue.ts +6 -0
- package/dist/runtime/components/ChatMessage.vue +46 -36
- package/dist/runtime/components/ChatMessage.vue.d.ts +6 -0
- package/dist/runtime/components/ChatMessages.vue +14 -14
- package/dist/runtime/components/ChatPalette.vue +6 -6
- package/dist/runtime/components/ChatPrompt.d.vue.ts +7 -0
- package/dist/runtime/components/ChatPrompt.vue +22 -12
- package/dist/runtime/components/ChatPrompt.vue.d.ts +7 -0
- package/dist/runtime/components/ChatPromptSubmit.d.vue.ts +3 -3
- package/dist/runtime/components/ChatPromptSubmit.vue +6 -6
- package/dist/runtime/components/ChatPromptSubmit.vue.d.ts +3 -3
- package/dist/runtime/components/ChatReasoning.vue +20 -20
- package/dist/runtime/components/ChatShimmer.vue +7 -7
- package/dist/runtime/components/ChatTool.d.vue.ts +1 -1
- package/dist/runtime/components/ChatTool.vue +19 -19
- package/dist/runtime/components/ChatTool.vue.d.ts +1 -1
- package/dist/runtime/components/Checkbox.d.vue.ts +2 -0
- package/dist/runtime/components/Checkbox.vue +25 -24
- package/dist/runtime/components/Checkbox.vue.d.ts +2 -0
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +1 -1
- package/dist/runtime/components/CheckboxGroup.vue +17 -14
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +1 -1
- package/dist/runtime/components/Chip.vue +8 -8
- package/dist/runtime/components/Collapsible.vue +8 -7
- package/dist/runtime/components/ColorPicker.d.vue.ts +2 -0
- package/dist/runtime/components/ColorPicker.vue +10 -10
- package/dist/runtime/components/ColorPicker.vue.d.ts +2 -0
- package/dist/runtime/components/CommandPalette.d.vue.ts +5 -5
- package/dist/runtime/components/CommandPalette.vue +92 -69
- package/dist/runtime/components/CommandPalette.vue.d.ts +5 -5
- package/dist/runtime/components/Container.vue +4 -4
- package/dist/runtime/components/ContextMenu.vue +16 -15
- package/dist/runtime/components/DashboardGroup.d.vue.ts +1 -1
- package/dist/runtime/components/DashboardGroup.vue +6 -4
- package/dist/runtime/components/DashboardGroup.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardNavbar.vue +16 -16
- package/dist/runtime/components/DashboardPanel.vue +7 -7
- package/dist/runtime/components/DashboardResizeHandle.vue +5 -5
- package/dist/runtime/components/DashboardSearch.d.vue.ts +16 -1
- package/dist/runtime/components/DashboardSearch.vue +25 -12
- package/dist/runtime/components/DashboardSearch.vue.d.ts +16 -1
- package/dist/runtime/components/DashboardSearchButton.d.vue.ts +2 -2
- package/dist/runtime/components/DashboardSearchButton.vue +15 -15
- package/dist/runtime/components/DashboardSearchButton.vue.d.ts +2 -2
- package/dist/runtime/components/DashboardSidebar.d.vue.ts +1 -1
- package/dist/runtime/components/DashboardSidebar.vue +22 -22
- package/dist/runtime/components/DashboardSidebar.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebarCollapse.d.vue.ts +1 -1
- package/dist/runtime/components/DashboardSidebarCollapse.vue +5 -5
- package/dist/runtime/components/DashboardSidebarCollapse.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +1 -1
- package/dist/runtime/components/DashboardSidebarToggle.vue +5 -5
- package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +1 -1
- package/dist/runtime/components/DashboardToolbar.vue +6 -6
- package/dist/runtime/components/Drawer.d.vue.ts +1 -1
- package/dist/runtime/components/Drawer.vue +23 -22
- package/dist/runtime/components/Drawer.vue.d.ts +1 -1
- package/dist/runtime/components/DropdownMenu.vue +21 -20
- package/dist/runtime/components/Editor.vue +8 -7
- package/dist/runtime/components/EditorDragHandle.d.vue.ts +2 -2
- package/dist/runtime/components/EditorDragHandle.vue +9 -8
- package/dist/runtime/components/EditorDragHandle.vue.d.ts +2 -2
- package/dist/runtime/components/EditorToolbar.vue +10 -9
- package/dist/runtime/components/Empty.vue +14 -14
- package/dist/runtime/components/Error.d.vue.ts +9 -1
- package/dist/runtime/components/Error.vue +17 -10
- package/dist/runtime/components/Error.vue.d.ts +9 -1
- package/dist/runtime/components/FieldGroup.vue +4 -4
- package/dist/runtime/components/FileUpload.vue +36 -37
- package/dist/runtime/components/Footer.vue +10 -10
- package/dist/runtime/components/FooterColumns.vue +15 -15
- package/dist/runtime/components/Form.d.vue.ts +1 -1
- package/dist/runtime/components/Form.vue +6 -5
- package/dist/runtime/components/Form.vue.d.ts +1 -1
- package/dist/runtime/components/FormField.d.vue.ts +1 -0
- package/dist/runtime/components/FormField.vue +21 -21
- package/dist/runtime/components/FormField.vue.d.ts +1 -0
- package/dist/runtime/components/Header.vue +19 -19
- package/dist/runtime/components/Icon.vue +2 -1
- package/dist/runtime/components/Input.vue +19 -19
- package/dist/runtime/components/InputDate.vue +21 -20
- package/dist/runtime/components/InputMenu.d.vue.ts +52 -51
- package/dist/runtime/components/InputMenu.vue +66 -63
- package/dist/runtime/components/InputMenu.vue.d.ts +52 -51
- package/dist/runtime/components/InputNumber.vue +25 -24
- package/dist/runtime/components/InputTags.vue +26 -25
- package/dist/runtime/components/InputTime.vue +21 -20
- package/dist/runtime/components/Kbd.vue +5 -5
- package/dist/runtime/components/Link.d.vue.ts +2 -2
- package/dist/runtime/components/Link.vue.d.ts +2 -2
- package/dist/runtime/components/LinkBase.d.vue.ts +1 -1
- package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/components/Listbox.d.vue.ts +13 -9
- package/dist/runtime/components/Listbox.vue +34 -32
- package/dist/runtime/components/Listbox.vue.d.ts +13 -9
- package/dist/runtime/components/Main.vue +4 -4
- package/dist/runtime/components/Marquee.vue +5 -5
- package/dist/runtime/components/Modal.d.vue.ts +2 -2
- package/dist/runtime/components/Modal.vue +25 -24
- package/dist/runtime/components/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/NavigationMenu.vue +66 -65
- package/dist/runtime/components/Page.vue +7 -7
- package/dist/runtime/components/PageAnchors.vue +11 -11
- package/dist/runtime/components/PageAside.vue +9 -9
- package/dist/runtime/components/PageBody.vue +4 -4
- package/dist/runtime/components/PageCTA.vue +18 -16
- package/dist/runtime/components/PageCard.vue +25 -23
- package/dist/runtime/components/PageColumns.vue +4 -4
- package/dist/runtime/components/PageFeature.vue +17 -15
- package/dist/runtime/components/PageGrid.vue +4 -4
- package/dist/runtime/components/PageHeader.vue +14 -14
- package/dist/runtime/components/PageHero.vue +20 -18
- package/dist/runtime/components/PageLinks.vue +12 -12
- package/dist/runtime/components/PageList.vue +4 -4
- package/dist/runtime/components/PageLogos.vue +16 -16
- package/dist/runtime/components/PageSection.d.vue.ts +1 -1
- package/dist/runtime/components/PageSection.vue +24 -22
- package/dist/runtime/components/PageSection.vue.d.ts +1 -1
- package/dist/runtime/components/Pagination.d.vue.ts +2 -2
- package/dist/runtime/components/Pagination.vue +23 -22
- package/dist/runtime/components/Pagination.vue.d.ts +2 -2
- package/dist/runtime/components/PinInput.vue +15 -14
- package/dist/runtime/components/Popover.vue +9 -8
- package/dist/runtime/components/PricingPlan.vue +36 -36
- package/dist/runtime/components/PricingPlans.vue +6 -6
- package/dist/runtime/components/PricingTable.vue +44 -44
- package/dist/runtime/components/Progress.d.vue.ts +1 -1
- package/dist/runtime/components/Progress.vue +12 -11
- package/dist/runtime/components/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/RadioGroup.d.vue.ts +2 -0
- package/dist/runtime/components/RadioGroup.vue +28 -27
- package/dist/runtime/components/RadioGroup.vue.d.ts +2 -0
- package/dist/runtime/components/ScrollArea.vue +13 -13
- package/dist/runtime/components/Select.vue +38 -40
- package/dist/runtime/components/SelectMenu.d.vue.ts +46 -46
- package/dist/runtime/components/SelectMenu.vue +49 -48
- package/dist/runtime/components/SelectMenu.vue.d.ts +46 -46
- package/dist/runtime/components/Separator.d.vue.ts +9 -3
- package/dist/runtime/components/Separator.vue +29 -16
- package/dist/runtime/components/Separator.vue.d.ts +9 -3
- package/dist/runtime/components/Sidebar.vue +28 -28
- package/dist/runtime/components/Skeleton.vue +5 -5
- package/dist/runtime/components/Slideover.d.vue.ts +3 -3
- package/dist/runtime/components/Slideover.vue +24 -23
- package/dist/runtime/components/Slideover.vue.d.ts +3 -3
- package/dist/runtime/components/Slider.vue +16 -15
- package/dist/runtime/components/Stepper.vue +19 -18
- package/dist/runtime/components/Switch.d.vue.ts +2 -0
- package/dist/runtime/components/Switch.vue +26 -23
- package/dist/runtime/components/Switch.vue.d.ts +2 -0
- package/dist/runtime/components/Table.vue +26 -25
- package/dist/runtime/components/Tabs.vue +22 -21
- package/dist/runtime/components/Textarea.vue +19 -18
- package/dist/runtime/components/Theme.d.vue.ts +13 -5
- package/dist/runtime/components/Theme.vue +32 -4
- package/dist/runtime/components/Theme.vue.d.ts +13 -5
- package/dist/runtime/components/Timeline.vue +15 -15
- package/dist/runtime/components/Toast.vue +35 -34
- package/dist/runtime/components/Toaster.d.vue.ts +1 -1
- package/dist/runtime/components/Toaster.vue +10 -9
- package/dist/runtime/components/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/Tooltip.vue +13 -12
- package/dist/runtime/components/Tree.vue +24 -23
- package/dist/runtime/components/User.vue +23 -21
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue +5 -2
- package/dist/runtime/components/color-mode/ColorModeButton.d.vue.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeButton.vue +8 -6
- package/dist/runtime/components/color-mode/ColorModeButton.vue.d.ts +1 -1
- package/dist/runtime/components/color-mode/ColorModeImage.vue +4 -2
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue +1 -0
- package/dist/runtime/components/content/ContentNavigation.vue +31 -30
- package/dist/runtime/components/content/ContentSearch.d.vue.ts +31 -4
- package/dist/runtime/components/content/ContentSearch.vue +78 -33
- package/dist/runtime/components/content/ContentSearch.vue.d.ts +31 -4
- package/dist/runtime/components/content/ContentSearchButton.d.vue.ts +2 -2
- package/dist/runtime/components/content/ContentSearchButton.vue +15 -15
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +2 -2
- package/dist/runtime/components/content/ContentSurround.vue +14 -12
- package/dist/runtime/components/content/ContentToc.vue +34 -33
- package/dist/runtime/components/prose/A.vue +4 -4
- package/dist/runtime/components/prose/Accordion.vue +4 -4
- package/dist/runtime/components/prose/AccordionItem.vue +5 -5
- package/dist/runtime/components/prose/Badge.vue +4 -4
- package/dist/runtime/components/prose/Blockquote.vue +4 -4
- package/dist/runtime/components/prose/Callout.vue +8 -8
- package/dist/runtime/components/prose/Card.vue +12 -12
- package/dist/runtime/components/prose/CardGroup.vue +4 -4
- package/dist/runtime/components/prose/Code.vue +4 -4
- package/dist/runtime/components/prose/CodeCollapse.vue +8 -8
- package/dist/runtime/components/prose/CodeGroup.vue +9 -9
- package/dist/runtime/components/prose/CodePreview.vue +6 -6
- package/dist/runtime/components/prose/CodeTree.vue +14 -14
- package/dist/runtime/components/prose/Collapsible.vue +7 -7
- package/dist/runtime/components/prose/Em.vue +4 -4
- package/dist/runtime/components/prose/Field.vue +13 -13
- package/dist/runtime/components/prose/FieldGroup.vue +4 -4
- package/dist/runtime/components/prose/H1.vue +5 -5
- package/dist/runtime/components/prose/H2.vue +7 -7
- package/dist/runtime/components/prose/H3.vue +7 -7
- package/dist/runtime/components/prose/H4.vue +5 -5
- package/dist/runtime/components/prose/Hr.vue +4 -4
- package/dist/runtime/components/prose/Icon.vue +4 -4
- package/dist/runtime/components/prose/Img.vue +12 -12
- package/dist/runtime/components/prose/Kbd.d.vue.ts +10 -2
- package/dist/runtime/components/prose/Kbd.vue +8 -5
- package/dist/runtime/components/prose/Kbd.vue.d.ts +10 -2
- package/dist/runtime/components/prose/Li.vue +4 -4
- package/dist/runtime/components/prose/Ol.vue +4 -4
- package/dist/runtime/components/prose/P.vue +4 -4
- package/dist/runtime/components/prose/Pre.vue +9 -9
- package/dist/runtime/components/prose/Prompt.vue +12 -12
- package/dist/runtime/components/prose/Steps.vue +4 -4
- package/dist/runtime/components/prose/Strong.vue +4 -4
- package/dist/runtime/components/prose/Table.vue +5 -5
- package/dist/runtime/components/prose/Tabs.vue +4 -4
- package/dist/runtime/components/prose/TabsItem.vue +5 -5
- package/dist/runtime/components/prose/Tbody.vue +4 -4
- package/dist/runtime/components/prose/Td.vue +4 -4
- package/dist/runtime/components/prose/Th.vue +4 -4
- package/dist/runtime/components/prose/Thead.vue +4 -4
- package/dist/runtime/components/prose/Tr.vue +4 -4
- package/dist/runtime/components/prose/Ul.vue +4 -4
- package/dist/runtime/composables/defineShortcuts.js +7 -2
- package/dist/runtime/composables/index.d.ts +1 -2
- package/dist/runtime/composables/index.js +1 -2
- package/dist/runtime/composables/useAvatarGroup.d.ts +12 -1
- package/dist/runtime/composables/useAvatarGroup.js +4 -2
- package/dist/runtime/composables/useComponentIcons.js +1 -1
- package/dist/runtime/composables/useComponentProps.d.ts +180 -0
- package/dist/runtime/composables/useComponentProps.js +59 -0
- package/dist/runtime/composables/useContentSearch.d.ts +4 -2
- package/dist/runtime/composables/useContentSearch.js +64 -7
- package/dist/runtime/composables/useFieldGroup.d.ts +9 -1
- package/dist/runtime/composables/useFormField.d.ts +21 -1
- package/dist/runtime/composables/useForwardProps.d.ts +13 -0
- package/dist/runtime/composables/useForwardProps.js +14 -0
- package/dist/runtime/composables/usePrefix.d.ts +6 -0
- package/dist/runtime/composables/usePrefix.js +11 -0
- package/dist/runtime/composables/useResizable.d.ts +4 -0
- package/dist/runtime/composables/useResizable.js +1 -1
- package/dist/runtime/locale/ar.js +1 -0
- package/dist/runtime/locale/az.js +1 -0
- package/dist/runtime/locale/be.js +1 -0
- package/dist/runtime/locale/bg.js +1 -0
- package/dist/runtime/locale/bn.js +1 -0
- package/dist/runtime/locale/ca.js +1 -0
- package/dist/runtime/locale/ckb.js +1 -0
- package/dist/runtime/locale/cs.js +1 -0
- package/dist/runtime/locale/da.js +1 -0
- package/dist/runtime/locale/de.js +1 -0
- package/dist/runtime/locale/de_ch.js +1 -0
- package/dist/runtime/locale/el.js +1 -0
- package/dist/runtime/locale/en.js +1 -0
- package/dist/runtime/locale/es.js +1 -0
- package/dist/runtime/locale/et.js +1 -0
- package/dist/runtime/locale/eu.js +1 -0
- package/dist/runtime/locale/fa_ir.js +1 -0
- package/dist/runtime/locale/fi.js +1 -0
- package/dist/runtime/locale/fr.js +1 -0
- package/dist/runtime/locale/gl.js +1 -0
- package/dist/runtime/locale/he.js +1 -0
- package/dist/runtime/locale/hi.js +1 -0
- package/dist/runtime/locale/hr.js +1 -0
- package/dist/runtime/locale/hu.js +1 -0
- package/dist/runtime/locale/hy.js +1 -0
- package/dist/runtime/locale/id.js +1 -0
- package/dist/runtime/locale/is.js +1 -0
- package/dist/runtime/locale/it.js +1 -0
- package/dist/runtime/locale/ja.js +1 -0
- package/dist/runtime/locale/ka.js +1 -0
- package/dist/runtime/locale/kk.js +1 -0
- package/dist/runtime/locale/km.js +1 -0
- package/dist/runtime/locale/ko.js +1 -0
- package/dist/runtime/locale/ky.js +1 -0
- package/dist/runtime/locale/lb.js +1 -0
- package/dist/runtime/locale/lo.js +1 -0
- package/dist/runtime/locale/lt.js +1 -0
- package/dist/runtime/locale/mn.js +1 -0
- package/dist/runtime/locale/ms.js +1 -0
- package/dist/runtime/locale/nb_no.js +1 -0
- package/dist/runtime/locale/nl.js +1 -0
- package/dist/runtime/locale/pl.js +1 -0
- package/dist/runtime/locale/pt.js +1 -0
- package/dist/runtime/locale/pt_br.js +1 -0
- package/dist/runtime/locale/ro.js +1 -0
- package/dist/runtime/locale/ru.js +1 -0
- package/dist/runtime/locale/sk.js +1 -0
- package/dist/runtime/locale/sl.js +1 -0
- package/dist/runtime/locale/sq.js +1 -0
- package/dist/runtime/locale/sv.js +1 -0
- package/dist/runtime/locale/th.js +7 -6
- package/dist/runtime/locale/tj.js +1 -0
- package/dist/runtime/locale/tr.js +1 -0
- package/dist/runtime/locale/ug_cn.js +1 -0
- package/dist/runtime/locale/uk.js +1 -0
- package/dist/runtime/locale/ur.js +1 -0
- package/dist/runtime/locale/uz.js +1 -0
- package/dist/runtime/locale/vi.js +1 -0
- package/dist/runtime/locale/zh_cn.js +1 -0
- package/dist/runtime/locale/zh_tw.js +1 -0
- package/dist/runtime/plugins/colors.js +1 -1
- package/dist/runtime/types/content.d.ts +1 -0
- package/dist/runtime/types/content.js +1 -0
- package/dist/runtime/types/form.d.ts +2 -2
- package/dist/runtime/types/locale.d.ts +1 -0
- package/dist/runtime/types/tv.d.ts +13 -7
- package/dist/runtime/types/utils.d.ts +3 -0
- package/dist/runtime/utils/dashboard.d.ts +1 -1
- package/dist/runtime/utils/{fuse.d.ts → search.d.ts} +2 -1
- package/dist/runtime/utils/{fuse.js → search.js} +11 -2
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +1 -0
- package/dist/runtime/vue/overrides/inertia/Link.d.vue.ts +2 -2
- package/dist/runtime/vue/overrides/inertia/Link.vue +5 -0
- package/dist/runtime/vue/overrides/inertia/Link.vue.d.ts +2 -2
- package/dist/runtime/vue/overrides/inertia/LinkBase.d.vue.ts +1 -1
- package/dist/runtime/vue/overrides/inertia/LinkBase.vue.d.ts +1 -1
- package/dist/runtime/vue/overrides/none/Link.d.vue.ts +2 -2
- package/dist/runtime/vue/overrides/none/Link.vue.d.ts +2 -2
- package/dist/runtime/vue/overrides/vue-router/Link.d.vue.ts +2 -2
- package/dist/runtime/vue/overrides/vue-router/Link.vue.d.ts +2 -2
- package/dist/shared/{ui.C6mn7iap.mjs → ui.BzjkAvk7.mjs} +244 -78
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +46 -53
- package/dist/runtime/composables/useComponentUI.d.ts +0 -33
- package/dist/runtime/composables/useComponentUI.js +0 -13
- package/dist/runtime/composables/useResolvedVariants.d.ts +0 -21
- package/dist/runtime/composables/useResolvedVariants.js +0 -14
|
@@ -53,6 +53,7 @@ export default defineLocale({
|
|
|
53
53
|
},
|
|
54
54
|
contentSearch: {
|
|
55
55
|
links: "\u0540\u0572\u0578\u0582\u0574\u0576\u0565\u0580",
|
|
56
|
+
search: "\u0531\u0580\u0564\u0575\u0578\u0582\u0576\u0584\u0576\u0565\u0580",
|
|
56
57
|
theme: "\u0539\u0565\u0574\u0561"
|
|
57
58
|
},
|
|
58
59
|
contentSearchButton: {
|
|
@@ -53,6 +53,7 @@ export default defineLocale({
|
|
|
53
53
|
},
|
|
54
54
|
contentSearch: {
|
|
55
55
|
links: "\u0421\u0456\u043B\u0442\u0435\u043C\u0435\u043B\u0435\u0440",
|
|
56
|
+
search: "\u041D\u04D9\u0442\u0438\u0436\u0435\u043B\u0435\u0440",
|
|
56
57
|
theme: "\u0422\u0430\u049B\u044B\u0440\u044B\u043F"
|
|
57
58
|
},
|
|
58
59
|
contentSearchButton: {
|
|
@@ -53,6 +53,7 @@ export default defineLocale({
|
|
|
53
53
|
},
|
|
54
54
|
contentSearch: {
|
|
55
55
|
links: "\u0428\u0438\u043B\u0442\u0435\u043C\u0435\u043B\u0435\u0440",
|
|
56
|
+
search: "\u0416\u044B\u0439\u044B\u043D\u0442\u044B\u043A\u0442\u0430\u0440",
|
|
56
57
|
theme: "\u0422\u0435\u043C\u0430"
|
|
57
58
|
},
|
|
58
59
|
contentSearchButton: {
|
|
@@ -32,11 +32,6 @@ export default defineLocale({
|
|
|
32
32
|
chatPromptSubmit: {
|
|
33
33
|
label: "\u0E2A\u0E48\u0E07"
|
|
34
34
|
},
|
|
35
|
-
chatReasoning: {
|
|
36
|
-
thinking: "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E34\u0E14\u2026",
|
|
37
|
-
thought: "\u0E04\u0E34\u0E14\u0E41\u0E25\u0E49\u0E27",
|
|
38
|
-
thoughtFor: "\u0E04\u0E34\u0E14\u0E40\u0E1B\u0E47\u0E19\u0E40\u0E27\u0E25\u0E32 {duration}"
|
|
39
|
-
},
|
|
40
35
|
colorMode: {
|
|
41
36
|
dark: "\u0E21\u0E37\u0E14",
|
|
42
37
|
light: "\u0E2A\u0E27\u0E48\u0E32\u0E07",
|
|
@@ -53,6 +48,7 @@ export default defineLocale({
|
|
|
53
48
|
},
|
|
54
49
|
contentSearch: {
|
|
55
50
|
links: "\u0E25\u0E34\u0E07\u0E01\u0E4C",
|
|
51
|
+
search: "\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C",
|
|
56
52
|
theme: "\u0E18\u0E35\u0E21"
|
|
57
53
|
},
|
|
58
54
|
contentSearchButton: {
|
|
@@ -107,7 +103,7 @@ export default defineLocale({
|
|
|
107
103
|
close: "\u0E1B\u0E34\u0E14"
|
|
108
104
|
},
|
|
109
105
|
pricingTable: {
|
|
110
|
-
caption: "\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E23\u0E35\u0E22\u0E1A\u0E40\u0E17\u0E35\u0E22\u0E1A\u0E23\u0E32\u0E04\u0E32
|
|
106
|
+
caption: "\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E23\u0E35\u0E22\u0E1A\u0E40\u0E17\u0E35\u0E22\u0E1A\u0E23\u0E32\u0E04\u0E32"
|
|
111
107
|
},
|
|
112
108
|
prose: {
|
|
113
109
|
codeCollapse: {
|
|
@@ -128,6 +124,11 @@ export default defineLocale({
|
|
|
128
124
|
openIn: "\u0E40\u0E1B\u0E34\u0E14\u0E43\u0E19 {name}"
|
|
129
125
|
}
|
|
130
126
|
},
|
|
127
|
+
chatReasoning: {
|
|
128
|
+
thinking: "\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E34\u0E14\u2026",
|
|
129
|
+
thought: "\u0E04\u0E34\u0E14\u0E41\u0E25\u0E49\u0E27",
|
|
130
|
+
thoughtFor: "\u0E04\u0E34\u0E14\u0E40\u0E1B\u0E47\u0E19\u0E40\u0E27\u0E25\u0E32 {duration}"
|
|
131
|
+
},
|
|
131
132
|
sidebar: {
|
|
132
133
|
close: "\u0E1B\u0E34\u0E14",
|
|
133
134
|
toggle: "\u0E2A\u0E25\u0E31\u0E1A"
|
|
@@ -53,6 +53,7 @@ export default defineLocale({
|
|
|
53
53
|
},
|
|
54
54
|
contentSearch: {
|
|
55
55
|
links: "\u041F\u0430\u0439\u0432\u0430\u043D\u0434\u04B3\u043E",
|
|
56
|
+
search: "\u041D\u0430\u0442\u0438\u04B7\u0430\u04B3\u043E",
|
|
56
57
|
theme: "\u041C\u0430\u0432\u0437\u04EF\u044A"
|
|
57
58
|
},
|
|
58
59
|
contentSearchButton: {
|
|
@@ -54,6 +54,7 @@ export default defineLocale({
|
|
|
54
54
|
},
|
|
55
55
|
contentSearch: {
|
|
56
56
|
links: "\u0626\u06C7\u0644\u0627\u0646\u0645\u0649\u0644\u0627\u0631",
|
|
57
|
+
search: "\u0646\u06D5\u062A\u0649\u062C\u0649\u0644\u06D5\u0631",
|
|
57
58
|
theme: "\u062A\u06D0\u0645\u0627"
|
|
58
59
|
},
|
|
59
60
|
contentSearchButton: {
|
|
@@ -53,6 +53,7 @@ export default defineLocale({
|
|
|
53
53
|
},
|
|
54
54
|
contentSearch: {
|
|
55
55
|
links: "\u041F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",
|
|
56
|
+
search: "\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438",
|
|
56
57
|
theme: "\u0422\u0435\u043C\u0430"
|
|
57
58
|
},
|
|
58
59
|
contentSearchButton: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from '../components/content/ContentNavigation.vue';
|
|
2
2
|
export * from '../components/content/ContentSearch.vue';
|
|
3
|
+
export * from '../components/content/ContentSearchButton.vue';
|
|
3
4
|
export * from '../components/content/ContentSurround.vue';
|
|
4
5
|
export * from '../components/content/ContentToc.vue';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "../components/content/ContentNavigation.vue";
|
|
2
2
|
export * from "../components/content/ContentSearch.vue";
|
|
3
|
+
export * from "../components/content/ContentSearchButton.vue";
|
|
3
4
|
export * from "../components/content/ContentSurround.vue";
|
|
4
5
|
export * from "../components/content/ContentToc.vue";
|
|
@@ -10,9 +10,9 @@ export interface Form<S extends FormSchema> {
|
|
|
10
10
|
transform?: T;
|
|
11
11
|
}): Promise<FormData<S, T> | false>;
|
|
12
12
|
clear(path?: keyof FormData<S, false> | string | RegExp): void;
|
|
13
|
-
errors: Ref<
|
|
13
|
+
errors: Ref<FormErrorWithId[]>;
|
|
14
14
|
setErrors(errs: FormError[], name?: keyof FormData<S, false> | string | RegExp): void;
|
|
15
|
-
getErrors(name?: keyof FormData<S, false> | string | RegExp):
|
|
15
|
+
getErrors(name?: keyof FormData<S, false> | string | RegExp): FormErrorWithId[];
|
|
16
16
|
submit(): Promise<void>;
|
|
17
17
|
disabled: ComputedRef<boolean>;
|
|
18
18
|
dirty: ComputedRef<boolean>;
|
|
@@ -39,17 +39,23 @@ type ComponentUI<T extends {
|
|
|
39
39
|
[K in keyof Required<T['slots']>]: (props?: Record<string, any>) => string;
|
|
40
40
|
}>;
|
|
41
41
|
type GetComponentAppConfig<A, U extends string, K extends string> = A extends Record<U, Record<K, any>> ? A[U][K] : {};
|
|
42
|
-
type ComponentAppConfig<T, A extends Record<string, any>, K extends string, U extends string = 'ui' | 'ui.prose'> = A
|
|
43
|
-
ui
|
|
44
|
-
|
|
42
|
+
type ComponentAppConfig<T, A extends Record<string, any>, K extends string, U extends string = 'ui' | 'ui.prose'> = Omit<A, 'ui'> & {
|
|
43
|
+
ui: U extends 'ui.prose' ? (A extends {
|
|
44
|
+
ui: infer UI;
|
|
45
|
+
} ? Omit<UI, 'prose'> : Record<string, never>) & {
|
|
46
|
+
prose?: (A extends {
|
|
47
|
+
ui: {
|
|
48
|
+
prose?: infer P;
|
|
49
|
+
};
|
|
50
|
+
} ? Omit<NonNullable<P>, K> : Record<string, never>) & {
|
|
45
51
|
[k in K]?: Partial<T>;
|
|
46
52
|
};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
53
|
+
} : (A extends {
|
|
54
|
+
ui: infer UI;
|
|
55
|
+
} ? Omit<UI, K> : Record<string, never>) & {
|
|
50
56
|
[k in K]?: Partial<T>;
|
|
51
57
|
};
|
|
52
|
-
}
|
|
58
|
+
};
|
|
53
59
|
/**
|
|
54
60
|
* Defines the configuration shape expected for a component.
|
|
55
61
|
* @template T The component's theme imported from `#build/ui/*`.
|
|
@@ -3,6 +3,9 @@ import type { AcceptableValue as _AcceptableValue } from 'reka-ui';
|
|
|
3
3
|
export type DeepPartial<T> = {
|
|
4
4
|
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P] | undefined;
|
|
5
5
|
};
|
|
6
|
+
export type DeepRequired<T> = {
|
|
7
|
+
[P in keyof T]-?: NonNullable<T[P]> extends object ? DeepRequired<NonNullable<T[P]>> : NonNullable<T[P]>;
|
|
8
|
+
};
|
|
6
9
|
export type DynamicSlotsKeys<Name extends string | undefined, Suffix extends string | undefined = undefined> = (Name extends string ? Suffix extends string ? Name | `${Name}-${Suffix}` : Name : never);
|
|
7
10
|
export type DynamicSlots<T extends {
|
|
8
11
|
slot?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import type { UseResizableProps } from '../composables/useResizable';
|
|
3
|
-
export interface DashboardContext extends Pick<UseResizableProps, 'storage' | 'storageKey' | 'persistent' | 'unit'> {
|
|
3
|
+
export interface DashboardContext extends Pick<UseResizableProps, 'storage' | 'storageKey' | 'storageOptions' | 'persistent' | 'unit'> {
|
|
4
4
|
sidebarOpen?: Ref<boolean>;
|
|
5
5
|
sidebarCollapsed?: Ref<boolean>;
|
|
6
6
|
toggleSearch?: () => void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { FuseResult } from 'fuse.js';
|
|
2
2
|
import type { GetItemKeys } from '../types/utils';
|
|
3
|
+
export declare function sanitizeSnippet(snippet: string): string;
|
|
3
4
|
export declare function highlight<T>(item: T & {
|
|
4
5
|
matches?: FuseResult<T>['matches'];
|
|
5
|
-
}, searchTerm: string, forceKey?: GetItemKeys<T>, omitKeys?: GetItemKeys<T>[]): string | undefined;
|
|
6
|
+
}, searchTerm: string, forceKey?: GetItemKeys<T>, omitKeys?: GetItemKeys<T>[], useTokenSearch?: boolean): string | undefined;
|
|
@@ -41,7 +41,16 @@ function truncateHTMLFromStart(html, maxLength) {
|
|
|
41
41
|
}
|
|
42
42
|
return truncated;
|
|
43
43
|
}
|
|
44
|
-
export function
|
|
44
|
+
export function sanitizeSnippet(snippet) {
|
|
45
|
+
const tagOpen = "\0markO\0";
|
|
46
|
+
const tagClose = "\0markC\0";
|
|
47
|
+
return escapeHTML(
|
|
48
|
+
snippet.replaceAll("<mark>", tagOpen).replaceAll("</mark>", tagClose)
|
|
49
|
+
).replaceAll(tagOpen, "<mark>").replaceAll(tagClose, "</mark>");
|
|
50
|
+
}
|
|
51
|
+
export function highlight(item, searchTerm, forceKey, omitKeys, useTokenSearch) {
|
|
52
|
+
const tokens = useTokenSearch ? searchTerm.match(/[\p{L}\p{M}\p{N}_]+/gu) || [] : [];
|
|
53
|
+
const minTokenLength = tokens.length > 0 ? Math.min(...tokens.map((t) => t.length)) : searchTerm.length;
|
|
45
54
|
function generateHighlightedText(value, indices = []) {
|
|
46
55
|
value = value || "";
|
|
47
56
|
let content = "";
|
|
@@ -51,7 +60,7 @@ export function highlight(item, searchTerm, forceKey, omitKeys) {
|
|
|
51
60
|
return;
|
|
52
61
|
}
|
|
53
62
|
const lastIndiceNextIndex = region[1] + 1;
|
|
54
|
-
const isMatched = lastIndiceNextIndex - region[0] >=
|
|
63
|
+
const isMatched = lastIndiceNextIndex - region[0] >= minTokenLength;
|
|
55
64
|
content += [
|
|
56
65
|
sanitize(value.substring(nextUnhighlightedRegionStartingIndex, region[0])),
|
|
57
66
|
isMatched && `<mark>`,
|
|
@@ -13,6 +13,7 @@ const props = defineProps({
|
|
|
13
13
|
as: { type: null, required: false },
|
|
14
14
|
color: { type: null, required: false },
|
|
15
15
|
size: { type: null, required: false },
|
|
16
|
+
highlight: { type: Boolean, required: false },
|
|
16
17
|
loading: { type: Boolean, required: false },
|
|
17
18
|
loadingIcon: { type: null, required: false },
|
|
18
19
|
label: { type: String, required: false },
|
|
@@ -63,9 +63,9 @@ export interface LinkSlots {
|
|
|
63
63
|
declare const _default: typeof __VLS_export;
|
|
64
64
|
export default _default;
|
|
65
65
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
66
|
-
active: boolean;
|
|
67
|
-
as: any;
|
|
68
66
|
type: "reset" | "submit" | "button";
|
|
67
|
+
as: any;
|
|
68
|
+
active: boolean;
|
|
69
69
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
70
70
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
|
|
71
71
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -32,6 +32,7 @@ const props = defineProps({
|
|
|
32
32
|
custom: { type: Boolean, required: false },
|
|
33
33
|
raw: { type: Boolean, required: false },
|
|
34
34
|
class: { type: null, required: false },
|
|
35
|
+
component: { type: [String, null], required: false },
|
|
35
36
|
data: { type: null, required: false },
|
|
36
37
|
method: { type: String, required: false },
|
|
37
38
|
replace: { type: Boolean, required: false },
|
|
@@ -53,9 +54,13 @@ const props = defineProps({
|
|
|
53
54
|
onCancel: { type: Function, required: false },
|
|
54
55
|
onSuccess: { type: Function, required: false },
|
|
55
56
|
onError: { type: Function, required: false },
|
|
57
|
+
onHttpException: { type: Function, required: false },
|
|
58
|
+
onNetworkError: { type: Function, required: false },
|
|
56
59
|
onFlash: { type: Function, required: false },
|
|
57
60
|
onPrefetched: { type: Function, required: false },
|
|
58
61
|
onPrefetching: { type: Function, required: false },
|
|
62
|
+
instant: { type: Boolean, required: false },
|
|
63
|
+
pageProps: { type: [Object, Function, null], required: false },
|
|
59
64
|
prefetch: { type: [Boolean, String, Array], required: false },
|
|
60
65
|
cacheFor: { type: null, required: false },
|
|
61
66
|
cacheTags: { type: [String, Array], required: false }
|
|
@@ -63,9 +63,9 @@ export interface LinkSlots {
|
|
|
63
63
|
declare const _default: typeof __VLS_export;
|
|
64
64
|
export default _default;
|
|
65
65
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
66
|
-
active: boolean;
|
|
67
|
-
as: any;
|
|
68
66
|
type: "reset" | "submit" | "button";
|
|
67
|
+
as: any;
|
|
68
|
+
active: boolean;
|
|
69
69
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
70
70
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
|
|
71
71
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -13,8 +13,8 @@ export interface LinkBaseProps {
|
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
export default _default;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkBaseProps> & Readonly<{}>, {
|
|
16
|
-
as: string;
|
|
17
16
|
type: string;
|
|
17
|
+
as: string;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
19
19
|
default?: (props: {}) => any;
|
|
20
20
|
} & {
|
|
@@ -13,8 +13,8 @@ export interface LinkBaseProps {
|
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
export default _default;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkBaseProps> & Readonly<{}>, {
|
|
16
|
-
as: string;
|
|
17
16
|
type: string;
|
|
17
|
+
as: string;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
19
19
|
default?: (props: {}) => any;
|
|
20
20
|
} & {
|