vlite3 1.5.10 → 1.5.11
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/README.md +2 -2
- package/components/Accordion/Accordion.vue.js +9 -11
- package/components/Accordion/AccordionContent.vue.js +1 -1
- package/components/AppShell/AppShellLayoutSidebarFirst.vue.js +7 -7
- package/components/AttachmentsList/AttachmentsList.vue.js +4 -10
- package/components/Breadcrumb/Breadcrumb.vue.js +1 -1
- package/components/Breadcrumb/{Breadcrumb.vue2.js → Breadcrumb2.vue.js} +8 -8
- package/components/Breadcrumb/BreadcrumbItem.vue.js +1 -1
- package/components/Button.vue.js +1 -1
- package/components/{Button.vue2.js → Button2.vue.js} +11 -11
- package/components/ButtonGroup.vue.js +1 -1
- package/components/Calendar/Calendar.vue.d.ts +8 -10
- package/components/Calendar/Calendar.vue.js +1 -1
- package/components/Carousel/Carousel.vue.d.ts +10 -14
- package/components/Carousel/Carousel.vue.js +1 -1
- package/components/CategoryManager/CategoryManager.vue.js +1 -1
- package/components/CategoryManager/{CategoryManager.vue2.js → CategoryManager2.vue.js} +2 -2
- package/components/CategoryManager/CategoryNode.vue.js +18 -18
- package/components/CategoryMenu/CategoryMenuVariant1.vue.js +1 -1
- package/components/CategoryMenu/CategoryMenuVariant2.vue.js +1 -1
- package/components/Chart/GanttChart.vue.js +1 -1
- package/components/Chart/LineChart.vue.js +1 -1
- package/components/Chart/StatCardChart.vue.js +1 -1
- package/components/Clipboard.vue.js +5 -6
- package/components/ColorPicker/ColorPicker.vue.d.ts +15 -0
- package/components/ColorPicker/ColorPicker.vue.js +89 -78
- package/components/ColorPicker/index.d.ts +1 -0
- package/components/CommandPalette/CommandPaletteContent.vue.js +1 -1
- package/components/CommandPalette/{CommandPaletteContent.vue2.js → CommandPaletteContent2.vue.js} +9 -9
- package/components/CommandPalette/{CommandPaletteItem.vue.js → CommandPaletteItem2.vue.js} +2 -2
- package/components/Comment/CommentItem.vue.js +1 -1
- package/components/DataList/DataList.vue.js +23 -27
- package/components/DataTable/DataTable.vue.js +1 -1
- package/components/DataTable/{DataTable.vue2.js → DataTable2.vue.js} +38 -38
- package/components/DataTable/DataTableHeader.vue.js +1 -1
- package/components/DataTable/DataTableRow.vue.js +1 -1
- package/components/DateRangePicker.vue.js +1 -1
- package/components/Dropdown/{DropdownGroupedLayout.vue2.js → DropdownGroupedLayout2.vue.js} +1 -1
- package/components/Dropdown/DropdownMenu.vue.js +1 -1
- package/components/Dropdown/{DropdownMenu.vue2.js → DropdownMenu2.vue.js} +1 -1
- package/components/FileTree/FileTree.vue.js +1 -1
- package/components/Form/AccordionView.vue.js +1 -1
- package/components/Form/{AccordionView.vue3.js → AccordionView3.vue.js} +25 -25
- package/components/Form/Form.vue.js +1 -1
- package/components/Form/{Form.vue2.js → Form2.vue.js} +25 -25
- package/components/Form/FormFields.vue.js +1 -1
- package/components/Form/FormSkeleton.vue.js +8 -8
- package/components/Form/TableView.vue.js +8 -8
- package/components/Form/index.vue.js +1 -1
- package/components/GoogleMap.vue.js +1 -1
- package/components/Heatmap/Heatmap.vue.js +1 -1
- package/components/IconPicker.vue.js +1 -1
- package/components/ImportData/ImportStep2.vue.js +10 -10
- package/components/Kanban/Kanban.vue.js +1 -1
- package/components/Kanban/KanbanBoard.vue.js +1 -1
- package/components/Kanban/{KanbanBoard.vue2.js → KanbanBoard2.vue.js} +16 -16
- package/components/List/List.vue.js +89 -89
- package/components/List/ListFieldRow.vue.js +3 -6
- package/components/Masonry/Masonry.vue.js +1 -1
- package/components/Modal.vue.js +1 -1
- package/components/{Modal.vue2.js → Modal2.vue.js} +10 -13
- package/components/Navbar/NavbarTabs.vue.js +1 -1
- package/components/Navbar/{NavbarTabs.vue2.js → NavbarTabs2.vue.js} +16 -16
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/NumberInput.vue.js +1 -1
- package/components/Pagination/Pagination.vue.js +1 -1
- package/components/PanZoomViewport/PanZoomViewport.vue.js +1 -1
- package/components/PermissionMatrix/PermissionEditorList.vue.js +1 -1
- package/components/PermissionMatrix/{PermissionEditorList.vue2.js → PermissionEditorList2.vue.js} +28 -28
- package/components/PermissionMatrix/PermissionEditorMatrix.vue.js +1 -1
- package/components/PermissionMatrix/{PermissionEditorMatrix.vue2.js → PermissionEditorMatrix2.vue.js} +11 -11
- package/components/PermissionMatrix/PermissionMatrix.vue.js +1 -1
- package/components/PermissionMatrix/{PermissionMatrix.vue2.js → PermissionMatrix2.vue.js} +1 -1
- package/components/ProgressBar/ProgressBar.vue.js +1 -1
- package/components/Rating/Rating.vue.js +1 -1
- package/components/RichTextEditor/RichTextEditor.vue.js +4 -4
- package/components/RichTextEditor/RichTextLinkPopover3.vue.js +5 -0
- package/components/RichTextEditor/RichTextReader.vue.js +1 -1
- package/components/RichTextEditor/RichTextToolbar3.vue.js +5 -0
- package/components/ScaleGenerator/ScaleGenerator.vue.js +1 -1
- package/components/Screen/Screen.vue.d.ts +4 -8
- package/components/Screen/Screen.vue.js +101 -106
- package/components/Screen/ScreenFilter.vue.js +2 -2
- package/components/Screen/components/ScreenExportModal.vue.js +9 -9
- package/components/SidePanel.vue.js +1 -1
- package/components/{SidePanel.vue2.js → SidePanel2.vue.js} +8 -11
- package/components/Skeleton/Skeleton.vue.js +34 -34
- package/components/Tabes/Tabes.vue.js +1 -1
- package/components/TagInput/TagInput.vue.d.ts +2 -4
- package/components/ThumbnailSelector/ThumbnailSelector.vue.js +1 -1
- package/components/Timeline/Timeline.vue.js +10 -10
- package/components/ToastNotification.vue.js +1 -1
- package/components/{ToastNotification.vue2.js → ToastNotification2.vue.js} +21 -21
- package/components/TreeConnectors/TreeConnectors.vue.js +13 -13
- package/components/Workbook/Workbook.vue.js +1 -1
- package/components/Workbook/{Workbook.vue2.js → Workbook2.vue.js} +11 -11
- package/index.d.ts +1 -0
- package/index.js +495 -492
- package/package.json +4 -3
- package/router/index.d.ts +1 -1
- package/router.d.ts +1 -1
- package/components/RichTextEditor/RichTextLinkPopover.vue3.js +0 -5
- package/components/RichTextEditor/RichTextToolbar.vue3.js +0 -5
- /package/components/Accordion/{Accordion.vue2.js → Accordion2.vue.js} +0 -0
- /package/components/Accordion/{AccordionContent.vue2.js → AccordionContent2.vue.js} +0 -0
- /package/components/Accordion/{AccordionItem.vue2.js → AccordionItem2.vue.js} +0 -0
- /package/components/Accordion/{AccordionTrigger.vue2.js → AccordionTrigger2.vue.js} +0 -0
- /package/components/{Alert.vue2.js → Alert2.vue.js} +0 -0
- /package/components/AppShell/{AppShell.vue2.js → AppShell2.vue.js} +0 -0
- /package/components/AppShell/{AppShellLayoutClassic.vue2.js → AppShellLayoutClassic2.vue.js} +0 -0
- /package/components/AppShell/{AppShellLayoutDashboard.vue2.js → AppShellLayoutDashboard2.vue.js} +0 -0
- /package/components/AppShell/{AppShellLayoutDock.vue2.js → AppShellLayoutDock2.vue.js} +0 -0
- /package/components/AppShell/{AppShellLayoutHeaderShell.vue2.js → AppShellLayoutHeaderShell2.vue.js} +0 -0
- /package/components/AppShell/{AppShellLayoutSidebarFirst.vue2.js → AppShellLayoutSidebarFirst2.vue.js} +0 -0
- /package/components/AppShell/{AppShellLayoutStorefront.vue2.js → AppShellLayoutStorefront2.vue.js} +0 -0
- /package/components/AttachmentsList/{AttachmentsList.vue2.js → AttachmentsList2.vue.js} +0 -0
- /package/components/{Avatar.vue2.js → Avatar2.vue.js} +0 -0
- /package/components/AvatarGroup/{AvatarGroup.vue2.js → AvatarGroup2.vue.js} +0 -0
- /package/components/AvatarUploader/{AvatarUploader.vue2.js → AvatarUploader2.vue.js} +0 -0
- /package/components/{BackButton.vue2.js → BackButton2.vue.js} +0 -0
- /package/components/{Badge.vue3.js → Badge3.vue.js} +0 -0
- /package/components/Barcode/{Barcode.vue2.js → Barcode2.vue.js} +0 -0
- /package/components/Breadcrumb/{BreadcrumbItem.vue2.js → BreadcrumbItem2.vue.js} +0 -0
- /package/components/{ButtonGroup.vue2.js → ButtonGroup2.vue.js} +0 -0
- /package/components/Calendar/{Calendar.vue2.js → Calendar2.vue.js} +0 -0
- /package/components/Calendar/{CalendarEventItem.vue2.js → CalendarEventItem2.vue.js} +0 -0
- /package/components/Carousel/{Carousel.vue2.js → Carousel2.vue.js} +0 -0
- /package/components/Cart/{Cart.vue2.js → Cart2.vue.js} +0 -0
- /package/components/Cart/{CartCouponInput.vue2.js → CartCouponInput2.vue.js} +0 -0
- /package/components/Cart/{CartEmptyState.vue2.js → CartEmptyState2.vue.js} +0 -0
- /package/components/Cart/{CartLineItem.vue2.js → CartLineItem2.vue.js} +0 -0
- /package/components/Cart/{CartSummary.vue2.js → CartSummary2.vue.js} +0 -0
- /package/components/Cart/{CartVariant1.vue2.js → CartVariant12.vue.js} +0 -0
- /package/components/Cart/{CartVariant2.vue2.js → CartVariant22.vue.js} +0 -0
- /package/components/Cart/{CartVariant3.vue2.js → CartVariant32.vue.js} +0 -0
- /package/components/Cart/{CartVariant4.vue2.js → CartVariant42.vue.js} +0 -0
- /package/components/CategoryManager/{CategoryNode.vue2.js → CategoryNode2.vue.js} +0 -0
- /package/components/CategoryMenu/{CategoryMenu.vue2.js → CategoryMenu2.vue.js} +0 -0
- /package/components/CategoryMenu/{CategoryMenuVariant1.vue2.js → CategoryMenuVariant12.vue.js} +0 -0
- /package/components/CategoryMenu/{CategoryMenuVariant2.vue2.js → CategoryMenuVariant22.vue.js} +0 -0
- /package/components/Chart/{BarChart.vue2.js → BarChart2.vue.js} +0 -0
- /package/components/Chart/{ChartLegend.vue2.js → ChartLegend2.vue.js} +0 -0
- /package/components/Chart/{CircleChart.vue2.js → CircleChart2.vue.js} +0 -0
- /package/components/Chart/{GanttChart.vue2.js → GanttChart2.vue.js} +0 -0
- /package/components/Chart/{GaugeChart.vue2.js → GaugeChart2.vue.js} +0 -0
- /package/components/Chart/{LineChart.vue2.js → LineChart2.vue.js} +0 -0
- /package/components/Chart/{PieChart.vue2.js → PieChart2.vue.js} +0 -0
- /package/components/Chart/{SegmentBarChart.vue2.js → SegmentBarChart2.vue.js} +0 -0
- /package/components/Chart/{SpeedometerChart.vue2.js → SpeedometerChart2.vue.js} +0 -0
- /package/components/Chart/{StatCardChart.vue2.js → StatCardChart2.vue.js} +0 -0
- /package/components/Chart/{TimelineChart.vue2.js → TimelineChart2.vue.js} +0 -0
- /package/components/Chart/{WaffleChart.vue2.js → WaffleChart2.vue.js} +0 -0
- /package/components/Chat/{ChatBubble.vue2.js → ChatBubble2.vue.js} +0 -0
- /package/components/Chat/{ChatInterface.vue2.js → ChatInterface2.vue.js} +0 -0
- /package/components/{CheckBox.vue2.js → CheckBox2.vue.js} +0 -0
- /package/components/Chip/{Chip.vue3.js → Chip3.vue.js} +0 -0
- /package/components/ChoiceBox/{ChoiceBox.vue2.js → ChoiceBox2.vue.js} +0 -0
- /package/components/{Clipboard.vue2.js → Clipboard2.vue.js} +0 -0
- /package/components/Clock/{Clock.vue2.js → Clock2.vue.js} +0 -0
- /package/components/ColorPicker/{ColorIro.vue3.js → ColorIro3.vue.js} +0 -0
- /package/components/ColorPicker/{ColorPicker.vue2.js → ColorPicker2.vue.js} +0 -0
- /package/components/CommandPalette/{CommandPaletteItem.vue3.js → CommandPaletteItem3.vue.js} +0 -0
- /package/components/Comment/{CommentEditor.vue2.js → CommentEditor2.vue.js} +0 -0
- /package/components/Comment/{CommentItem.vue2.js → CommentItem2.vue.js} +0 -0
- /package/components/Comment/{CommentThread.vue2.js → CommentThread2.vue.js} +0 -0
- /package/components/{ConfirmationModal.vue2.js → ConfirmationModal2.vue.js} +0 -0
- /package/components/CustomFieldsDisplay/{CustomFieldsDisplay.vue2.js → CustomFieldsDisplay2.vue.js} +0 -0
- /package/components/DataList/{DataList.vue2.js → DataList2.vue.js} +0 -0
- /package/components/DataTable/{DataTableHeader.vue2.js → DataTableHeader2.vue.js} +0 -0
- /package/components/DataTable/{DataTableRow.vue2.js → DataTableRow2.vue.js} +0 -0
- /package/components/{DatePicker.vue2.js → DatePicker2.vue.js} +0 -0
- /package/components/{DateRangePicker.vue2.js → DateRangePicker2.vue.js} +0 -0
- /package/components/DateTime/{DateTime.vue2.js → DateTime2.vue.js} +0 -0
- /package/components/Dropdown/{Dropdown.vue2.js → Dropdown2.vue.js} +0 -0
- /package/components/Dropdown/{DropdownBooleanItem.vue2.js → DropdownBooleanItem2.vue.js} +0 -0
- /package/components/Dropdown/{DropdownGroupedLayout.vue3.js → DropdownGroupedLayout3.vue.js} +0 -0
- /package/components/Dropdown/{DropdownItem.vue2.js → DropdownItem2.vue.js} +0 -0
- /package/components/Dropdown/{DropdownTrigger.vue2.js → DropdownTrigger2.vue.js} +0 -0
- /package/components/Empty/{Empty.vue2.js → Empty2.vue.js} +0 -0
- /package/components/Empty/variants/{Variant10.vue2.js → Variant102.vue.js} +0 -0
- /package/components/Empty/variants/{Variant11.vue2.js → Variant112.vue.js} +0 -0
- /package/components/Empty/variants/{Variant12.vue2.js → Variant122.vue.js} +0 -0
- /package/components/Empty/variants/{Variant1.vue2.js → Variant13.vue.js} +0 -0
- /package/components/Empty/variants/{Variant2.vue2.js → Variant22.vue.js} +0 -0
- /package/components/Empty/variants/{Variant3.vue2.js → Variant32.vue.js} +0 -0
- /package/components/Empty/variants/{Variant4.vue2.js → Variant42.vue.js} +0 -0
- /package/components/Empty/variants/{Variant5.vue2.js → Variant52.vue.js} +0 -0
- /package/components/Empty/variants/{Variant6.vue2.js → Variant62.vue.js} +0 -0
- /package/components/Empty/variants/{Variant7.vue2.js → Variant72.vue.js} +0 -0
- /package/components/Empty/variants/{Variant8.vue2.js → Variant82.vue.js} +0 -0
- /package/components/Empty/variants/{Variant9.vue2.js → Variant92.vue.js} +0 -0
- /package/components/ExportData/{ExportData.vue2.js → ExportData2.vue.js} +0 -0
- /package/components/FadeOverlay/{FadeOverlay.vue2.js → FadeOverlay2.vue.js} +0 -0
- /package/components/FilePicker/{FilePickerDropzone.vue2.js → FilePickerDropzone2.vue.js} +0 -0
- /package/components/FilePicker/{FilePickerInput.vue2.js → FilePickerInput2.vue.js} +0 -0
- /package/components/FilePicker/{FilePreview.vue2.js → FilePreview2.vue.js} +0 -0
- /package/components/FilePicker/{index.vue2.js → index2.vue.js} +0 -0
- /package/components/FilePreview/{FilePreview.vue2.js → FilePreview2.vue.js} +0 -0
- /package/components/FileTree/{FileTree.vue2.js → FileTree2.vue.js} +0 -0
- /package/components/FileTree/{FileTreeNode.vue2.js → FileTreeNode2.vue.js} +0 -0
- /package/components/Footer/{Footer.vue2.js → Footer2.vue.js} +0 -0
- /package/components/Footer/{Variant1.vue2.js → Variant12.vue.js} +0 -0
- /package/components/Footer/{Variant2.vue2.js → Variant22.vue.js} +0 -0
- /package/components/Footer/{Variant3.vue2.js → Variant32.vue.js} +0 -0
- /package/components/Form/{FormField.vue2.js → FormField2.vue.js} +0 -0
- /package/components/Form/{FormFields.vue2.js → FormFields2.vue.js} +0 -0
- /package/components/Form/{FormSkeleton.vue2.js → FormSkeleton2.vue.js} +0 -0
- /package/components/Form/{TableRow.vue2.js → TableRow2.vue.js} +0 -0
- /package/components/Form/{TableView.vue2.js → TableView2.vue.js} +0 -0
- /package/components/Form/{index.vue2.js → index2.vue.js} +0 -0
- /package/components/{GoogleLogin.vue2.js → GoogleLogin2.vue.js} +0 -0
- /package/components/{GoogleMap.vue2.js → GoogleMap2.vue.js} +0 -0
- /package/components/Heatmap/{Heatmap.vue2.js → Heatmap2.vue.js} +0 -0
- /package/components/{Icon.vue2.js → Icon2.vue.js} +0 -0
- /package/components/{IconPicker.vue2.js → IconPicker2.vue.js} +0 -0
- /package/components/ImageComparison/{ImageComparison.vue2.js → ImageComparison2.vue.js} +0 -0
- /package/components/{ImageMagnifier.vue2.js → ImageMagnifier2.vue.js} +0 -0
- /package/components/ImportData/{ImportData.vue2.js → ImportData2.vue.js} +0 -0
- /package/components/ImportData/{ImportStep1.vue2.js → ImportStep12.vue.js} +0 -0
- /package/components/ImportData/{ImportStep2.vue2.js → ImportStep22.vue.js} +0 -0
- /package/components/ImportData/{ImportStep3.vue2.js → ImportStep32.vue.js} +0 -0
- /package/components/ImportData/{ImportStep4.vue2.js → ImportStep42.vue.js} +0 -0
- /package/components/{Input.vue3.js → Input3.vue.js} +0 -0
- /package/components/Invoice/{Invoice.vue2.js → Invoice2.vue.js} +0 -0
- /package/components/Invoice/{InvoiceTotals.vue2.js → InvoiceTotals2.vue.js} +0 -0
- /package/components/Invoice/{InvoiceVariant1.vue2.js → InvoiceVariant12.vue.js} +0 -0
- /package/components/Invoice/{InvoiceVariant2.vue2.js → InvoiceVariant22.vue.js} +0 -0
- /package/components/Invoice/{InvoiceVariant3.vue2.js → InvoiceVariant32.vue.js} +0 -0
- /package/components/Invoice/{InvoiceVariant4.vue2.js → InvoiceVariant42.vue.js} +0 -0
- /package/components/Kanban/{Kanban.vue2.js → Kanban2.vue.js} +0 -0
- /package/components/{Label.vue2.js → Label2.vue.js} +0 -0
- /package/components/List/{List.vue2.js → List2.vue.js} +0 -0
- /package/components/List/{ListFieldRow.vue2.js → ListFieldRow2.vue.js} +0 -0
- /package/components/{Logo.vue2.js → Logo2.vue.js} +0 -0
- /package/components/Masonry/{Masonry.vue2.js → Masonry2.vue.js} +0 -0
- /package/components/MultiSelect/{MultiSelect.vue2.js → MultiSelect2.vue.js} +0 -0
- /package/components/Navbar/{Navbar.vue2.js → Navbar2.vue.js} +0 -0
- /package/components/Navbar/{NavbarGroup.vue2.js → NavbarGroup2.vue.js} +0 -0
- /package/components/Navbar/{NavbarItem.vue2.js → NavbarItem2.vue.js} +0 -0
- /package/components/{NavbarCommandPalette.vue2.js → NavbarCommandPalette2.vue.js} +0 -0
- /package/components/{NumberInput.vue2.js → NumberInput2.vue.js} +0 -0
- /package/components/OTPInput/{OTPInput.vue2.js → OTPInput2.vue.js} +0 -0
- /package/components/Pagination/{Pagination.vue2.js → Pagination2.vue.js} +0 -0
- /package/components/PanZoomViewport/{PanZoomViewport.vue2.js → PanZoomViewport2.vue.js} +0 -0
- /package/components/PermissionMatrix/{PermissionEditor.vue2.js → PermissionEditor2.vue.js} +0 -0
- /package/components/PermissionMatrix/{PermissionTopBar.vue2.js → PermissionTopBar2.vue.js} +0 -0
- /package/components/{Persona.vue2.js → Persona2.vue.js} +0 -0
- /package/components/Price/{Price.vue2.js → Price2.vue.js} +0 -0
- /package/components/PricingPlan/{PricingPlan.vue2.js → PricingPlan2.vue.js} +0 -0
- /package/components/PricingPlan/{PricingPlanItem.vue2.js → PricingPlanItem2.vue.js} +0 -0
- /package/components/ProgressBar/{ProgressBar.vue2.js → ProgressBar2.vue.js} +0 -0
- /package/components/QRCode/{QRCode.vue2.js → QRCode2.vue.js} +0 -0
- /package/components/{Radio.vue2.js → Radio2.vue.js} +0 -0
- /package/components/{RadioGroup.vue2.js → RadioGroup2.vue.js} +0 -0
- /package/components/Rating/{Rating.vue2.js → Rating2.vue.js} +0 -0
- /package/components/Rating/{ReviewSummary.vue2.js → ReviewSummary2.vue.js} +0 -0
- /package/components/RichTextEditor/{RichTextEditor.vue3.js → RichTextEditor3.vue.js} +0 -0
- /package/components/RichTextEditor/{RichTextLinkPopover.vue.js → RichTextLinkPopover2.vue.js} +0 -0
- /package/components/RichTextEditor/{RichTextReader.vue2.js → RichTextReader2.vue.js} +0 -0
- /package/components/RichTextEditor/{RichTextToolbar.vue.js → RichTextToolbar2.vue.js} +0 -0
- /package/components/ScaleGenerator/{ScaleGenerator.vue2.js → ScaleGenerator2.vue.js} +0 -0
- /package/components/Screen/{Screen.vue2.js → Screen2.vue.js} +0 -0
- /package/components/Screen/{ScreenFilter.vue2.js → ScreenFilter2.vue.js} +0 -0
- /package/components/Screen/components/{ScreenAddAction.vue2.js → ScreenAddAction2.vue.js} +0 -0
- /package/components/Screen/components/{ScreenEmptyState.vue2.js → ScreenEmptyState2.vue.js} +0 -0
- /package/components/Screen/components/{ScreenExportModal.vue2.js → ScreenExportModal2.vue.js} +0 -0
- /package/components/Screen/components/{ScreenHeaderTitle.vue2.js → ScreenHeaderTitle2.vue.js} +0 -0
- /package/components/Screen/components/{ScreenOptionsDropdown.vue2.js → ScreenOptionsDropdown2.vue.js} +0 -0
- /package/components/Screen/components/{ScreenQuickFilters.vue2.js → ScreenQuickFilters2.vue.js} +0 -0
- /package/components/Screen/components/{ScreenToolbar.vue2.js → ScreenToolbar2.vue.js} +0 -0
- /package/components/Screen/components/{ScreenViewToggle.vue2.js → ScreenViewToggle2.vue.js} +0 -0
- /package/components/SeoProvider/{SeoProvider.vue2.js → SeoProvider2.vue.js} +0 -0
- /package/components/SidebarMenu/{SidebarMenu.vue3.js → SidebarMenu3.vue.js} +0 -0
- /package/components/SidebarMenu/{SidebarMenuItem.vue3.js → SidebarMenuItem3.vue.js} +0 -0
- /package/components/Skeleton/{Skeleton.vue2.js → Skeleton2.vue.js} +0 -0
- /package/components/{Slider.vue2.js → Slider2.vue.js} +0 -0
- /package/components/Spinner/{Spinner.vue2.js → Spinner2.vue.js} +0 -0
- /package/components/Splitter/{Splitter.vue2.js → Splitter2.vue.js} +0 -0
- /package/components/Stats/{StatItem.vue2.js → StatItem2.vue.js} +0 -0
- /package/components/Stats/{Stats.vue3.js → Stats3.vue.js} +0 -0
- /package/components/Stats/components/{StatIconBox.vue2.js → StatIconBox2.vue.js} +0 -0
- /package/components/Stats/components/{StatTrend.vue2.js → StatTrend2.vue.js} +0 -0
- /package/components/StatusChip/{StatusChip.vue3.js → StatusChip3.vue.js} +0 -0
- /package/components/{Switch.vue2.js → Switch2.vue.js} +0 -0
- /package/components/Tabes/{Tabes.vue2.js → Tabes2.vue.js} +0 -0
- /package/components/TagInput/{TagInput.vue2.js → TagInput2.vue.js} +0 -0
- /package/components/{Textarea.vue2.js → Textarea2.vue.js} +0 -0
- /package/components/ThemeProvider/{ThemeProvider.vue2.js → ThemeProvider2.vue.js} +0 -0
- /package/components/{ThemeToggle.vue2.js → ThemeToggle2.vue.js} +0 -0
- /package/components/ThumbnailSelector/{ThumbnailSelector.vue2.js → ThumbnailSelector2.vue.js} +0 -0
- /package/components/Timeline/{Timeline.vue2.js → Timeline2.vue.js} +0 -0
- /package/components/Timeline/{TimelineIndicator.vue2.js → TimelineIndicator2.vue.js} +0 -0
- /package/components/Timeline/{TimelineItem.vue2.js → TimelineItem2.vue.js} +0 -0
- /package/components/{Tooltip.vue2.js → Tooltip2.vue.js} +0 -0
- /package/components/TreeConnectors/{TreeConnectors.vue2.js → TreeConnectors2.vue.js} +0 -0
- /package/components/Workbook/{Sheet.vue2.js → Sheet2.vue.js} +0 -0
- /package/components/Workbook/{WorkbookAddButton.vue2.js → WorkbookAddButton2.vue.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, useSlots as h, ref as v, computed as d, onUnmounted as g, openBlock as
|
|
1
|
+
import { defineComponent as b, useSlots as h, ref as v, computed as d, onUnmounted as g, openBlock as w, createBlock as z, normalizeClass as B, withCtx as k, unref as E, renderSlot as S, createCommentVNode as D } from "vue";
|
|
2
2
|
import $ from "./Button.vue.js";
|
|
3
3
|
import { copyToClipboard as M } from "../utils/functions.js";
|
|
4
4
|
import { $t as x } from "../utils/i18n.js";
|
|
@@ -68,11 +68,11 @@ const F = /* @__PURE__ */ b({
|
|
|
68
68
|
};
|
|
69
69
|
return g(() => {
|
|
70
70
|
u = !1, i += 1, m();
|
|
71
|
-
}), (o, a) => (
|
|
71
|
+
}), (o, a) => (w(), z($, {
|
|
72
72
|
variant: t.variant,
|
|
73
73
|
size: t.size,
|
|
74
74
|
rounded: t.rounded,
|
|
75
|
-
class:
|
|
75
|
+
class: B(e.class),
|
|
76
76
|
disabled: t.disabled || !s.value,
|
|
77
77
|
loading: l.value,
|
|
78
78
|
icon: T.value,
|
|
@@ -82,12 +82,11 @@ const F = /* @__PURE__ */ b({
|
|
|
82
82
|
dir: t.dir === "auto" ? void 0 : t.dir,
|
|
83
83
|
onClick: I
|
|
84
84
|
}, {
|
|
85
|
-
default:
|
|
85
|
+
default: k(() => [
|
|
86
86
|
!t.asIcon && E(f).default ? S(o.$slots, "default", {
|
|
87
|
-
key: 0,
|
|
88
87
|
copied: n.value,
|
|
89
88
|
loading: l.value
|
|
90
|
-
}) : D("", !0)
|
|
89
|
+
}, void 0, void 0, 0) : D("", !0)
|
|
91
90
|
]),
|
|
92
91
|
_: 3
|
|
93
92
|
}, 8, ["variant", "size", "rounded", "class", "disabled", "loading", "icon", "text", "as-icon", "aria-label", "dir"]));
|
|
@@ -10,6 +10,12 @@ interface Props {
|
|
|
10
10
|
btnProps?: ButtonProps;
|
|
11
11
|
showInput?: boolean;
|
|
12
12
|
trigger?: 'input' | 'button' | 'swatch';
|
|
13
|
+
/** Optional controlled visibility state. Omit to preserve internally managed behavior. */
|
|
14
|
+
isOpen?: boolean;
|
|
15
|
+
/** Popover offset passed through to the underlying Dropdown. */
|
|
16
|
+
offset?: [number, number];
|
|
17
|
+
/** Whether the popover is teleported outside its DOM hierarchy. */
|
|
18
|
+
teleport?: boolean;
|
|
13
19
|
/** When true, shows a reset control that sets the value to `#0000` (transparent). */
|
|
14
20
|
allowReset?: boolean;
|
|
15
21
|
}
|
|
@@ -25,13 +31,19 @@ declare function __VLS_template(): {
|
|
|
25
31
|
};
|
|
26
32
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
33
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
34
|
+
close: () => any;
|
|
35
|
+
open: () => any;
|
|
28
36
|
reset: (value: string) => any;
|
|
29
37
|
change: (value: string) => any;
|
|
30
38
|
"update:modelValue": (value: string) => any;
|
|
39
|
+
"update:isOpen": (value: boolean) => any;
|
|
31
40
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
41
|
+
onClose?: () => any;
|
|
42
|
+
onOpen?: () => any;
|
|
32
43
|
onReset?: (value: string) => any;
|
|
33
44
|
onChange?: (value: string) => any;
|
|
34
45
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
46
|
+
"onUpdate:isOpen"?: (value: boolean) => any;
|
|
35
47
|
}>, {
|
|
36
48
|
variant: InputVariant;
|
|
37
49
|
size: InputSize;
|
|
@@ -39,6 +51,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
39
51
|
disabled: boolean;
|
|
40
52
|
modelValue: string;
|
|
41
53
|
trigger: "input" | "button" | "swatch";
|
|
54
|
+
offset: [number, number];
|
|
55
|
+
isOpen: boolean;
|
|
56
|
+
teleport: boolean;
|
|
42
57
|
position: TooltTipPlacement;
|
|
43
58
|
showInput: boolean;
|
|
44
59
|
allowReset: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as D, ref as w, computed as v, watch as d, openBlock as l, createBlock as c, unref as V, withCtx as h, createElementBlock as s, createVNode as r, createCommentVNode as n, renderSlot as U, mergeProps as L, createElementVNode as f, normalizeStyle as C, toDisplayString as N, normalizeClass as A } from "vue";
|
|
2
|
+
import T from "../Dropdown/Dropdown.vue.js";
|
|
3
3
|
import z from "../Icon.vue.js";
|
|
4
4
|
import R from "../Input.vue.js";
|
|
5
5
|
/* empty css */
|
|
@@ -7,20 +7,20 @@ import "../../core/config.js";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
import y from "../Button.vue.js";
|
|
10
|
-
import
|
|
10
|
+
import F from "./ColorIro.vue.js";
|
|
11
11
|
/* empty css */
|
|
12
|
-
import { useEyeDropper as
|
|
12
|
+
import { useEyeDropper as G } from "@vueuse/core";
|
|
13
13
|
import { COLOR_PICKER_RESET_VALUE as g } from "./constants.js";
|
|
14
|
-
const
|
|
14
|
+
const K = ["disabled", "aria-label"], q = { class: "min-w-0 flex-1 truncate text-foreground" }, J = { class: "absolute left-2.5 top-1/2 -translate-y-1/2 flex items-center justify-center z-20 pointer-events-none" }, M = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "p-1 w-max flex flex-col justify-center"
|
|
17
|
-
},
|
|
17
|
+
}, Q = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "flex items-center gap-1.5 w-full"
|
|
20
|
-
},
|
|
20
|
+
}, W = {
|
|
21
21
|
key: 1,
|
|
22
22
|
class: "flex-1 w-0 min-w-0"
|
|
23
|
-
},
|
|
23
|
+
}, re = /* @__PURE__ */ D({
|
|
24
24
|
__name: "ColorPicker",
|
|
25
25
|
props: {
|
|
26
26
|
modelValue: { default: "#000000" },
|
|
@@ -32,113 +32,124 @@ const F = ["disabled", "aria-label"], G = { class: "min-w-0 flex-1 truncate text
|
|
|
32
32
|
btnProps: {},
|
|
33
33
|
showInput: { type: Boolean, default: !0 },
|
|
34
34
|
trigger: { default: "input" },
|
|
35
|
+
isOpen: { type: Boolean, default: void 0 },
|
|
36
|
+
offset: { default: () => [0, 8] },
|
|
37
|
+
teleport: { type: Boolean, default: !0 },
|
|
35
38
|
allowReset: { type: Boolean, default: !1 }
|
|
36
39
|
},
|
|
37
|
-
emits: ["update:modelValue", "change", "reset"],
|
|
38
|
-
setup(
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
return !
|
|
42
|
-
}),
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
emits: ["update:modelValue", "change", "reset", "update:isOpen", "open", "close"],
|
|
41
|
+
setup(t, { emit: O }) {
|
|
42
|
+
const o = t, i = O, m = w(o.isOpen ?? !1), B = v(() => o.isOpen ?? m.value), a = w(o.modelValue || "#000000"), x = v(() => {
|
|
43
|
+
const e = (o.modelValue || "").toLowerCase();
|
|
44
|
+
return !e || e === g;
|
|
45
|
+
}), u = v(() => o.allowReset && !o.disabled && !x.value), { isSupported: E, open: I, sRGBHex: $ } = G();
|
|
46
|
+
d($, (e) => {
|
|
47
|
+
e && (a.value = e);
|
|
45
48
|
});
|
|
46
49
|
const P = async () => {
|
|
47
50
|
try {
|
|
48
|
-
await
|
|
49
|
-
} catch (
|
|
50
|
-
console.error("Error opening eyedropper:",
|
|
51
|
+
await I();
|
|
52
|
+
} catch (e) {
|
|
53
|
+
console.error("Error opening eyedropper:", e);
|
|
51
54
|
}
|
|
52
55
|
};
|
|
53
|
-
|
|
54
|
-
() =>
|
|
55
|
-
(
|
|
56
|
-
|
|
56
|
+
d(
|
|
57
|
+
() => o.modelValue,
|
|
58
|
+
(e) => {
|
|
59
|
+
e && e !== a.value && (a.value = e);
|
|
57
60
|
}
|
|
58
|
-
),
|
|
59
|
-
|
|
61
|
+
), d(
|
|
62
|
+
() => o.isOpen,
|
|
63
|
+
(e) => {
|
|
64
|
+
e !== void 0 && (m.value = e);
|
|
65
|
+
}
|
|
66
|
+
), d(a, (e) => {
|
|
67
|
+
/^#([0-9A-F]{3,8})$/i.test(e) && e !== o.modelValue && (i("update:modelValue", e), i("change", e));
|
|
60
68
|
});
|
|
61
|
-
const
|
|
62
|
-
a.value =
|
|
63
|
-
},
|
|
64
|
-
|
|
69
|
+
const S = (e) => {
|
|
70
|
+
a.value = e;
|
|
71
|
+
}, j = (e) => {
|
|
72
|
+
m.value = e, i("update:isOpen", e), i(e ? "open" : "close");
|
|
73
|
+
}, p = (e) => {
|
|
74
|
+
e?.stopPropagation(), e?.preventDefault(), !(!o.allowReset || o.disabled) && (x.value || (a.value = g, i("reset", g)));
|
|
65
75
|
};
|
|
66
|
-
return (
|
|
67
|
-
disabled:
|
|
76
|
+
return (e, k) => (l(), c(V(T), {
|
|
77
|
+
disabled: t.disabled,
|
|
68
78
|
class: "w-full",
|
|
69
|
-
position:
|
|
70
|
-
offset:
|
|
79
|
+
position: t.position,
|
|
80
|
+
offset: t.offset,
|
|
81
|
+
"is-open": t.isOpen,
|
|
82
|
+
teleport: t.teleport,
|
|
71
83
|
searchable: !1,
|
|
72
84
|
"close-on-select": !1,
|
|
73
|
-
|
|
74
|
-
onOnClose: r[2] || (r[2] = (i) => p.value = !1)
|
|
85
|
+
"onUpdate:isOpen": j
|
|
75
86
|
}, {
|
|
76
|
-
trigger: h(({ isOpen:
|
|
77
|
-
|
|
78
|
-
|
|
87
|
+
trigger: h(({ isOpen: b }) => [
|
|
88
|
+
U(e.$slots, "trigger", { isOpen: b }, () => [
|
|
89
|
+
t.trigger === "button" ? (l(), c(y, L({
|
|
79
90
|
key: 0,
|
|
80
|
-
style: { backgroundColor:
|
|
91
|
+
style: { backgroundColor: t.modelValue }
|
|
81
92
|
}, {
|
|
82
93
|
rounded: "full",
|
|
83
94
|
size: "xs",
|
|
84
95
|
icon: " ",
|
|
85
96
|
variant: "outline",
|
|
86
|
-
...
|
|
87
|
-
}), null, 16, ["style"])) :
|
|
97
|
+
...t.btnProps || {}
|
|
98
|
+
}), null, 16, ["style"])) : t.trigger === "swatch" ? (l(), s("button", {
|
|
88
99
|
key: 1,
|
|
89
100
|
type: "button",
|
|
90
|
-
disabled:
|
|
91
|
-
"aria-label": `Choose color ${
|
|
101
|
+
disabled: t.disabled,
|
|
102
|
+
"aria-label": `Choose color ${t.modelValue}`,
|
|
92
103
|
class: "flex min-h-10 w-full items-center gap-2.5 px-3 text-left font-mono text-xs uppercase transition-colors hover:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary disabled:cursor-not-allowed disabled:opacity-50"
|
|
93
104
|
}, [
|
|
94
|
-
|
|
105
|
+
f("span", {
|
|
95
106
|
"aria-hidden": "true",
|
|
96
107
|
class: "h-5 w-5 shrink-0 rounded-full border border-black/10 shadow-sm dark:border-white/15",
|
|
97
|
-
style: C({ backgroundColor:
|
|
108
|
+
style: C({ backgroundColor: t.modelValue })
|
|
98
109
|
}, null, 4),
|
|
99
|
-
|
|
100
|
-
|
|
110
|
+
f("span", q, N(t.modelValue), 1),
|
|
111
|
+
u.value ? (l(), s("span", {
|
|
101
112
|
key: 0,
|
|
102
113
|
role: "button",
|
|
103
114
|
tabindex: "-1",
|
|
104
115
|
"aria-label": "Reset color",
|
|
105
116
|
class: "shrink-0 flex items-center justify-center text-muted-foreground hover:text-foreground focus:outline-none",
|
|
106
|
-
onClick:
|
|
117
|
+
onClick: p
|
|
107
118
|
}, [
|
|
108
|
-
|
|
119
|
+
r(z, {
|
|
109
120
|
icon: "lucide:x-circle",
|
|
110
121
|
class: "h-4 w-4"
|
|
111
122
|
})
|
|
112
123
|
])) : n("", !0)
|
|
113
|
-
], 8,
|
|
124
|
+
], 8, K)) : (l(), s("div", {
|
|
114
125
|
key: 2,
|
|
115
|
-
class:
|
|
126
|
+
class: A(["w-full relative cursor-pointer", [t.disabled ? "opacity-50 pointer-events-none" : ""]])
|
|
116
127
|
}, [
|
|
117
|
-
|
|
118
|
-
"model-value":
|
|
128
|
+
r(R, {
|
|
129
|
+
"model-value": t.modelValue,
|
|
119
130
|
readonly: "",
|
|
120
|
-
disabled:
|
|
121
|
-
size:
|
|
122
|
-
variant:
|
|
123
|
-
rounded:
|
|
131
|
+
disabled: t.disabled,
|
|
132
|
+
size: t.size,
|
|
133
|
+
variant: t.variant,
|
|
134
|
+
rounded: t.rounded,
|
|
124
135
|
class: "pointer-events-none",
|
|
125
|
-
"input-class":
|
|
136
|
+
"input-class": u.value ? "pl-9 pr-9 font-mono uppercase cursor-pointer" : "pl-9 font-mono uppercase cursor-pointer"
|
|
126
137
|
}, null, 8, ["model-value", "disabled", "size", "variant", "rounded", "input-class"]),
|
|
127
|
-
|
|
128
|
-
|
|
138
|
+
f("div", J, [
|
|
139
|
+
f("div", {
|
|
129
140
|
class: "w-4 h-4 rounded-full shadow-[inset_0_0_0_1px_rgba(0,0,0,0.1)] dark:shadow-[inset_0_0_0_1px_rgba(255,255,255,0.1)]",
|
|
130
|
-
style: C({ backgroundColor:
|
|
141
|
+
style: C({ backgroundColor: t.modelValue })
|
|
131
142
|
}, null, 4)
|
|
132
143
|
]),
|
|
133
|
-
|
|
144
|
+
u.value ? (l(), s("button", {
|
|
134
145
|
key: 0,
|
|
135
146
|
type: "button",
|
|
136
147
|
tabindex: "-1",
|
|
137
148
|
"aria-label": "Reset color",
|
|
138
149
|
class: "absolute right-2.5 top-1/2 -translate-y-1/2 z-20 flex items-center justify-center text-muted-foreground hover:text-foreground focus:outline-none pointer-events-auto",
|
|
139
|
-
onClick:
|
|
150
|
+
onClick: p
|
|
140
151
|
}, [
|
|
141
|
-
|
|
152
|
+
r(z, {
|
|
142
153
|
icon: "lucide:x-circle",
|
|
143
154
|
class: "h-4 w-4"
|
|
144
155
|
})
|
|
@@ -147,16 +158,16 @@ const F = ["disabled", "aria-label"], G = { class: "min-w-0 flex-1 truncate text
|
|
|
147
158
|
])
|
|
148
159
|
]),
|
|
149
160
|
default: h(() => [
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
color:
|
|
161
|
+
B.value ? (l(), s("div", M, [
|
|
162
|
+
r(F, {
|
|
163
|
+
color: t.modelValue,
|
|
153
164
|
"show-header": !1,
|
|
154
|
-
size:
|
|
155
|
-
"onUpdate:color":
|
|
165
|
+
size: t.size,
|
|
166
|
+
"onUpdate:color": S
|
|
156
167
|
}, {
|
|
157
168
|
bottom: h(() => [
|
|
158
|
-
|
|
159
|
-
|
|
169
|
+
t.showInput || t.allowReset ? (l(), s("div", Q, [
|
|
170
|
+
t.showInput && V(E) ? (l(), c(y, {
|
|
160
171
|
key: 0,
|
|
161
172
|
onClick: P,
|
|
162
173
|
icon: "pepicons-pop:color-picker",
|
|
@@ -164,10 +175,10 @@ const F = ["disabled", "aria-label"], G = { class: "min-w-0 flex-1 truncate text
|
|
|
164
175
|
size: "sm",
|
|
165
176
|
class: "px-2 shrink-0"
|
|
166
177
|
})) : n("", !0),
|
|
167
|
-
|
|
168
|
-
|
|
178
|
+
t.showInput ? (l(), s("div", W, [
|
|
179
|
+
r(R, {
|
|
169
180
|
modelValue: a.value,
|
|
170
|
-
"onUpdate:modelValue":
|
|
181
|
+
"onUpdate:modelValue": k[0] || (k[0] = (b) => a.value = b),
|
|
171
182
|
size: "sm",
|
|
172
183
|
"show-clear-button": !1,
|
|
173
184
|
placeholder: "#000000",
|
|
@@ -175,9 +186,9 @@ const F = ["disabled", "aria-label"], G = { class: "min-w-0 flex-1 truncate text
|
|
|
175
186
|
"input-class": "font-mono text-xs uppercase "
|
|
176
187
|
}, null, 8, ["modelValue"])
|
|
177
188
|
])) : n("", !0),
|
|
178
|
-
|
|
189
|
+
u.value ? (l(), c(y, {
|
|
179
190
|
key: 2,
|
|
180
|
-
onClick:
|
|
191
|
+
onClick: p,
|
|
181
192
|
icon: "lucide:rotate-ccw",
|
|
182
193
|
variant: "outline",
|
|
183
194
|
size: "sm",
|
|
@@ -192,9 +203,9 @@ const F = ["disabled", "aria-label"], G = { class: "min-w-0 flex-1 truncate text
|
|
|
192
203
|
])) : n("", !0)
|
|
193
204
|
]),
|
|
194
205
|
_: 3
|
|
195
|
-
}, 8, ["disabled", "position"]));
|
|
206
|
+
}, 8, ["disabled", "position", "offset", "is-open", "teleport"]));
|
|
196
207
|
}
|
|
197
208
|
});
|
|
198
209
|
export {
|
|
199
|
-
|
|
210
|
+
re as default
|
|
200
211
|
};
|
package/components/CommandPalette/{CommandPaletteContent.vue2.js → CommandPaletteContent2.vue.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as j, computed as r, ref as g, watch as U, onMounted as z, nextTick as A, openBlock as i, createElementBlock as c, createElementVNode as o, createVNode as y, withDirectives as H, unref as u, vModelText as J, createTextVNode as f, toDisplayString as l, createCommentVNode as V, Fragment as
|
|
1
|
+
import { defineComponent as j, computed as r, ref as g, watch as U, onMounted as z, nextTick as A, openBlock as i, createElementBlock as c, createElementVNode as o, createVNode as y, withDirectives as H, unref as u, vModelText as J, createTextVNode as f, toDisplayString as l, createCommentVNode as V, Fragment as k, renderList as B, isMemoSame as Q, createBlock as W } from "vue";
|
|
2
2
|
import { useRouter as X } from "vue-router";
|
|
3
|
-
import
|
|
3
|
+
import _ from "../Icon.vue.js";
|
|
4
4
|
import { $t as E } from "../../utils/i18n.js";
|
|
5
5
|
import { useCommandPaletteItems as Y } from "./useCommandPaletteItems.js";
|
|
6
6
|
import { useCommandPaletteNav as Z } from "./useCommandPaletteNav.js";
|
|
7
|
-
import ee from "./
|
|
7
|
+
import ee from "./CommandPaletteItem2.vue.js";
|
|
8
8
|
const te = { class: "command-palette-content flex flex-col w-full h-full max-h-[70vh]" }, oe = { class: "flex items-center gap-3 px-4 py-3 border-b border-border/80 shrink-0" }, se = ["placeholder"], ne = ["aria-label"], re = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "flex flex-col items-center justify-center py-14 px-6 text-center select-none",
|
|
@@ -73,7 +73,7 @@ const te = { class: "command-palette-content flex flex-col w-full h-full max-h-[
|
|
|
73
73
|
A(() => R.value?.focus());
|
|
74
74
|
}), (e, s) => (i(), c("div", te, [
|
|
75
75
|
o("div", oe, [
|
|
76
|
-
y(
|
|
76
|
+
y(_, {
|
|
77
77
|
icon: "lucide:search",
|
|
78
78
|
class: "w-4 h-4 text-muted-foreground shrink-0"
|
|
79
79
|
}),
|
|
@@ -102,7 +102,7 @@ const te = { class: "command-palette-content flex flex-col w-full h-full max-h-[
|
|
|
102
102
|
onClick: s[2] || (s[2] = //@ts-ignore
|
|
103
103
|
(...t) => b.close && b.close(...t))
|
|
104
104
|
}, [
|
|
105
|
-
y(
|
|
105
|
+
y(_, {
|
|
106
106
|
icon: "lucide:x",
|
|
107
107
|
class: "w-3.5 h-3.5"
|
|
108
108
|
})
|
|
@@ -117,7 +117,7 @@ const te = { class: "command-palette-content flex flex-col w-full h-full max-h-[
|
|
|
117
117
|
"aria-label": `${p.value} ${p.value === 1 ? P.value : w.value}`
|
|
118
118
|
}, [
|
|
119
119
|
p.value === 0 ? (i(), c("div", re, [
|
|
120
|
-
y(
|
|
120
|
+
y(_, {
|
|
121
121
|
icon: "lucide:search-x",
|
|
122
122
|
class: "w-9 h-9 text-muted-foreground/40 mb-3"
|
|
123
123
|
}),
|
|
@@ -127,7 +127,7 @@ const te = { class: "command-palette-content flex flex-col w-full h-full max-h-[
|
|
|
127
127
|
]),
|
|
128
128
|
o("p", de, l(L.value), 1)
|
|
129
129
|
])) : V("", !0),
|
|
130
|
-
(i(!0), c(
|
|
130
|
+
(i(!0), c(k, null, B(u(v).groups, (t) => (i(), c(k, {
|
|
131
131
|
key: t.key
|
|
132
132
|
}, [
|
|
133
133
|
o("div", {
|
|
@@ -139,9 +139,9 @@ const te = { class: "command-palette-content flex flex-col w-full h-full max-h-[
|
|
|
139
139
|
"aria-label": t.label,
|
|
140
140
|
class: "px-1.5"
|
|
141
141
|
}, [
|
|
142
|
-
(i(!0), c(
|
|
142
|
+
(i(!0), c(k, null, B(t.rows, (d, ve, he, x) => {
|
|
143
143
|
const M = [d.index === u(h), d.item.id];
|
|
144
|
-
if (x && x.key === d.item.id && Q(x, M)) return x;
|
|
144
|
+
if (x && x.el && x.key === d.item.id && Q(x, M)) return x;
|
|
145
145
|
const D = (i(), W(ee, {
|
|
146
146
|
key: d.item.id,
|
|
147
147
|
item: d.item,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import t from "./
|
|
2
|
-
/* empty css
|
|
1
|
+
import t from "./CommandPaletteItem3.vue.js";
|
|
2
|
+
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-66b1ae06"]]);
|
|
5
5
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, ref as z, computed as m, markRaw as P, watch as
|
|
1
|
+
import { defineComponent as x, ref as z, computed as m, markRaw as P, watch as p, openBlock as n, createElementBlock as i, normalizeClass as I, Fragment as v, renderList as y, renderSlot as g, withMemo as h, createBlock as k, resolveDynamicComponent as w, createVNode as T, unref as C, mergeProps as B, createCommentVNode as N } from "vue";
|
|
2
2
|
import E from "../Pagination/Pagination.vue.js";
|
|
3
3
|
import F from "../Empty/Empty.vue.js";
|
|
4
4
|
const M = { class: "flex flex-col w-full" }, O = {
|
|
@@ -35,47 +35,44 @@ const M = { class: "flex flex-col w-full" }, O = {
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["change"],
|
|
37
37
|
setup(e, { emit: $ }) {
|
|
38
|
-
const a = e, D = $,
|
|
38
|
+
const a = e, D = $, l = z(a.pageInfo?.itemsPerPage || a.paginationProps?.itemsPerPage || 10), c = m(() => a.item ? P(a.item) : void 0), u = m(() => {
|
|
39
39
|
const t = a.skeleton || a.skelton;
|
|
40
40
|
return t ? P(t) : void 0;
|
|
41
41
|
});
|
|
42
|
-
|
|
42
|
+
p(
|
|
43
43
|
() => a.pageInfo?.itemsPerPage,
|
|
44
44
|
(t) => {
|
|
45
|
-
t !== void 0 && (
|
|
45
|
+
t !== void 0 && (l.value = t);
|
|
46
46
|
}
|
|
47
|
-
),
|
|
47
|
+
), p(
|
|
48
48
|
() => a.paginationProps?.itemsPerPage,
|
|
49
49
|
(t) => {
|
|
50
|
-
t !== void 0 && (
|
|
50
|
+
t !== void 0 && (l.value = t);
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
let
|
|
53
|
+
let d = null;
|
|
54
54
|
const f = (t, s) => {
|
|
55
|
-
|
|
55
|
+
d && clearTimeout(d), d = setTimeout(() => {
|
|
56
56
|
D("change", { page: t, limit: s });
|
|
57
57
|
}, 10);
|
|
58
58
|
}, b = (t) => {
|
|
59
|
-
f(t,
|
|
59
|
+
f(t, l.value);
|
|
60
60
|
}, L = (t) => {
|
|
61
|
-
|
|
61
|
+
l.value = t, f(a.pageInfo?.currentPage || 1, t);
|
|
62
62
|
};
|
|
63
63
|
m(() => a.pageInfo?.currentPage || 1);
|
|
64
64
|
const S = m(() => a.pageInfo?.totalPages || 1);
|
|
65
|
-
return (t, s) => (n(),
|
|
66
|
-
e.loading ? (n(),
|
|
65
|
+
return (t, s) => (n(), i("div", M, [
|
|
66
|
+
e.loading ? (n(), i("div", {
|
|
67
67
|
key: 0,
|
|
68
|
-
class:
|
|
68
|
+
class: I(e.className)
|
|
69
69
|
}, [
|
|
70
|
-
(n(),
|
|
71
|
-
key: "skeleton-" + o,
|
|
72
|
-
index: o
|
|
73
|
-
}, () => [
|
|
70
|
+
(n(), i(v, null, y(8, (o) => g(t.$slots, "skeleton", { index: o }, () => [
|
|
74
71
|
g(t.$slots, "skelton", { index: o }, () => [
|
|
75
|
-
u.value ?
|
|
72
|
+
u.value ? h([o], () => (n(), k(w(u.value), { key: 0 })), s, 0) : (n(), i("div", O))
|
|
76
73
|
])
|
|
77
|
-
])), 64))
|
|
78
|
-
], 2)) : !e.data || e.data.length === 0 ? g(t.$slots, "empty", {
|
|
74
|
+
], void 0, "skeleton-" + o)), 64))
|
|
75
|
+
], 2)) : !e.data || e.data.length === 0 ? g(t.$slots, "empty", {}, () => [
|
|
79
76
|
T(C(F), {
|
|
80
77
|
title: e.emptyTitle,
|
|
81
78
|
titleI18n: e.emptyTitleI18n,
|
|
@@ -83,25 +80,24 @@ const M = { class: "flex flex-col w-full" }, O = {
|
|
|
83
80
|
descriptionI18n: e.emptyDescriptionI18n,
|
|
84
81
|
icon: e.emptyIcon
|
|
85
82
|
}, null, 8, ["title", "titleI18n", "description", "descriptionI18n", "icon"])
|
|
86
|
-
]) : (n(),
|
|
83
|
+
], void 0, 1) : (n(), i("div", {
|
|
87
84
|
key: 2,
|
|
88
|
-
class:
|
|
85
|
+
class: I(e.className)
|
|
89
86
|
}, [
|
|
90
|
-
(n(!0),
|
|
91
|
-
key: r,
|
|
87
|
+
(n(!0), i(v, null, y(e.data, (o, r) => g(t.$slots, "item", {
|
|
92
88
|
item: o,
|
|
93
89
|
data: e.data,
|
|
94
90
|
index: r
|
|
95
91
|
}, () => [
|
|
96
|
-
|
|
92
|
+
c.value ? h([o, r], () => (n(), k(w(c.value), B({
|
|
97
93
|
key: 0,
|
|
98
94
|
item: o,
|
|
99
95
|
data: e.data,
|
|
100
96
|
index: r
|
|
101
97
|
}, { ref_for: !0 }, e.itemProps), null, 16, ["item", "data", "index"])), s, 1) : N("", !0)
|
|
102
|
-
])), 128))
|
|
98
|
+
], void 0, r)), 128))
|
|
103
99
|
], 2)),
|
|
104
|
-
e.showPagination && e.pageInfo && S.value > 1 ? (n(),
|
|
100
|
+
e.showPagination && e.pageInfo && S.value > 1 ? (n(), i("div", R, [
|
|
105
101
|
T(C(E), B({
|
|
106
102
|
"current-page": e.pageInfo?.currentPage,
|
|
107
103
|
"total-pages": e.pageInfo?.totalPages,
|