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 X, computed as u, useSlots as Y, openBlock as r, createElementBlock as
|
|
1
|
+
import { defineComponent as X, computed as u, useSlots as Y, openBlock as r, createElementBlock as s, normalizeClass as _, renderSlot as x, createBlock as S, createCommentVNode as h, createElementVNode as d, toDisplayString as Z, Fragment as f, renderList as g, unref as L, isMemoSame as M, createSlots as R, withCtx as F, mergeProps as V } from "vue";
|
|
2
2
|
import ee from "../Icon.vue.js";
|
|
3
3
|
import D from "./ListFieldRow.vue.js";
|
|
4
4
|
import { $t as te } from "../../utils/i18n.js";
|
|
@@ -13,7 +13,7 @@ const le = {
|
|
|
13
13
|
}, ie = { key: 1 }, ve = { key: 2 }, me = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "px-3 py-8 text-center text-sm text-muted-foreground"
|
|
16
|
-
},
|
|
16
|
+
}, be = {
|
|
17
17
|
key: 3,
|
|
18
18
|
class: "border-t border-border/70 px-3 py-2.5"
|
|
19
19
|
}, pe = /* @__PURE__ */ X({
|
|
@@ -33,34 +33,34 @@ const le = {
|
|
|
33
33
|
stackedBorderStyle: {}
|
|
34
34
|
},
|
|
35
35
|
setup(B) {
|
|
36
|
-
const a = B, I = re("list") || {}, k = u(() => a.columns ?? I.columns ?? 2), y = u(() => a.variant ?? I.variant ?? "default"), J = u(() => a.class ?? I.class ?? ""), p = u(() => a.showColon ?? I.showColon ?? !0), K = u(() => a.skeletonRows ?? I.skeletonRows ?? 6), T = u(() => a.stackedBorderStyle ?? I.stackedBorderStyle ?? "none"), N = Y(), w = u(() => a.fields.filter((
|
|
37
|
-
const n = $(
|
|
38
|
-
return
|
|
36
|
+
const a = B, I = re("list") || {}, k = u(() => a.columns ?? I.columns ?? 2), y = u(() => a.variant ?? I.variant ?? "default"), J = u(() => a.class ?? I.class ?? ""), p = u(() => a.showColon ?? I.showColon ?? !0), K = u(() => a.skeletonRows ?? I.skeletonRows ?? 6), T = u(() => a.stackedBorderStyle ?? I.stackedBorderStyle ?? "none"), N = Y(), w = u(() => a.fields.filter((o) => {
|
|
37
|
+
const n = $(o.key, a.data);
|
|
38
|
+
return o.whenTrue && !n ? !1 : o.when ? o.when(n, a.data) : !0;
|
|
39
39
|
})), i = u(() => {
|
|
40
40
|
if (k.value === 1)
|
|
41
41
|
return { left: [], right: [], full: w.value };
|
|
42
|
-
const
|
|
42
|
+
const o = [], n = [], t = [];
|
|
43
43
|
for (const v of w.value) {
|
|
44
44
|
if (v.lineByLine) {
|
|
45
45
|
t.push(v);
|
|
46
46
|
continue;
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
o.length <= n.length ? o.push(v) : n.push(v);
|
|
49
49
|
}
|
|
50
|
-
const e = Math.abs(
|
|
50
|
+
const e = Math.abs(o.length - n.length);
|
|
51
51
|
if (e >= 2) {
|
|
52
|
-
const v =
|
|
53
|
-
t.unshift(...
|
|
52
|
+
const v = o.length > n.length ? o : n, l = v.splice(v.length - Math.floor(e / 2));
|
|
53
|
+
t.unshift(...l);
|
|
54
54
|
}
|
|
55
|
-
if (k.value === 2 &&
|
|
56
|
-
const v =
|
|
55
|
+
if (k.value === 2 && o.length === n.length + 1) {
|
|
56
|
+
const v = o.pop();
|
|
57
57
|
t.unshift(v);
|
|
58
58
|
}
|
|
59
|
-
return { left:
|
|
59
|
+
return { left: o, right: n, full: t };
|
|
60
60
|
}), O = u(() => i.value.full.length > 0), Q = u(
|
|
61
61
|
() => i.value.left.length > 0 || i.value.right.length > 0
|
|
62
62
|
), z = u(() => a.titleI18n ? te(a.titleI18n) : a.title ?? ""), A = u(() => y.value === "stacked"), U = u(() => {
|
|
63
|
-
const
|
|
63
|
+
const o = {
|
|
64
64
|
default: "border border-border rounded",
|
|
65
65
|
card: "border border-border rounded bg-card shadow-sm",
|
|
66
66
|
minimal: "rounded",
|
|
@@ -71,22 +71,22 @@ const le = {
|
|
|
71
71
|
};
|
|
72
72
|
return [
|
|
73
73
|
"list-component w-full overflow-hidden",
|
|
74
|
-
|
|
74
|
+
o[y.value] ?? o.default,
|
|
75
75
|
J.value
|
|
76
76
|
].join(" ");
|
|
77
77
|
}), G = u(() => k.value === 1 ? "grid grid-cols-1" : k.value === 3 ? "grid grid-cols-1 md:grid-cols-3" : "grid grid-cols-1 md:grid-cols-2"), P = u(() => k.value === 1 ? "" : "border-r border-border/70"), q = u(() => k.value === 1 ? 1 : k.value === 3 ? 3 : 2), H = u(() => k.value === 1 ? "grid grid-cols-1 pb-2.5 pt-1 px-1" : k.value === 3 ? "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 pb-2.5 pt-1 px-1" : "grid grid-cols-1 sm:grid-cols-2 pb-2.5 pt-1 px-1"), j = u(
|
|
78
|
-
() => Object.keys(N).filter((
|
|
78
|
+
() => Object.keys(N).filter((o) => !["title", "header", "footer"].includes(o))
|
|
79
79
|
), E = u(() => Array.from({ length: K.value }));
|
|
80
|
-
function W(
|
|
81
|
-
return T.value === "divider" &&
|
|
80
|
+
function W(o) {
|
|
81
|
+
return T.value === "divider" && o % q.value !== 0 ? "flex flex-col gap-1.5 py-2 border-l border-border pl-4 pr-3.5" : "flex flex-col gap-1.5 px-3.5 py-2";
|
|
82
82
|
}
|
|
83
|
-
return (
|
|
84
|
-
class:
|
|
83
|
+
return (o, n) => (r(), s("div", {
|
|
84
|
+
class: _(U.value),
|
|
85
85
|
role: "table",
|
|
86
86
|
"aria-label": "Information list"
|
|
87
87
|
}, [
|
|
88
|
-
z.value || B.titleIcon ||
|
|
89
|
-
x(
|
|
88
|
+
z.value || B.titleIcon || o.$slots.title ? (r(), s("div", le, [
|
|
89
|
+
x(o.$slots, "title", {}, () => [
|
|
90
90
|
B.titleIcon ? (r(), S(ee, {
|
|
91
91
|
key: 0,
|
|
92
92
|
icon: B.titleIcon,
|
|
@@ -95,10 +95,10 @@ const le = {
|
|
|
95
95
|
d("h3", oe, Z(z.value), 1)
|
|
96
96
|
])
|
|
97
97
|
])) : h("", !0),
|
|
98
|
-
B.loading ? (r(),
|
|
99
|
-
A.value ? (r(),
|
|
98
|
+
B.loading ? (r(), s(f, { key: 1 }, [
|
|
99
|
+
A.value ? (r(), s(f, { key: 0 }, [
|
|
100
100
|
d("div", se, [
|
|
101
|
-
(r(!0),
|
|
101
|
+
(r(!0), s(f, null, g(E.value, (t, e) => (r(), s("div", {
|
|
102
102
|
key: "sk-sm-" + e,
|
|
103
103
|
class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
|
|
104
104
|
}, [...n[10] || (n[10] = [
|
|
@@ -108,23 +108,23 @@ const le = {
|
|
|
108
108
|
]),
|
|
109
109
|
d("div", ne, [
|
|
110
110
|
d("div", {
|
|
111
|
-
class:
|
|
111
|
+
class: _(H.value)
|
|
112
112
|
}, [
|
|
113
|
-
(r(!0),
|
|
113
|
+
(r(!0), s(f, null, g(E.value, (t, e) => (r(), s("div", {
|
|
114
114
|
key: "sk-s-" + e,
|
|
115
|
-
class:
|
|
115
|
+
class: _(W(e))
|
|
116
116
|
}, [...n[11] || (n[11] = [
|
|
117
117
|
d("div", { class: "h-3 w-1/3 rounded bg-muted/60 animate-pulse" }, null, -1),
|
|
118
118
|
d("div", { class: "h-4 w-2/3 rounded bg-muted animate-pulse" }, null, -1)
|
|
119
119
|
])], 2))), 128))
|
|
120
120
|
], 2)
|
|
121
121
|
])
|
|
122
|
-
], 64)) : (r(),
|
|
122
|
+
], 64)) : (r(), s("div", {
|
|
123
123
|
key: 1,
|
|
124
|
-
class:
|
|
124
|
+
class: _(G.value)
|
|
125
125
|
}, [
|
|
126
126
|
d("div", null, [
|
|
127
|
-
(r(!0),
|
|
127
|
+
(r(!0), s(f, null, g(E.value, (t, e) => (r(), s("div", {
|
|
128
128
|
key: "sk-l-" + e,
|
|
129
129
|
class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
|
|
130
130
|
}, [...n[12] || (n[12] = [
|
|
@@ -132,11 +132,11 @@ const le = {
|
|
|
132
132
|
d("div", { class: "h-4 w-2/5 rounded bg-muted/60 animate-pulse" }, null, -1)
|
|
133
133
|
])]))), 128))
|
|
134
134
|
]),
|
|
135
|
-
k.value !== 1 ? (r(),
|
|
135
|
+
k.value !== 1 ? (r(), s("div", {
|
|
136
136
|
key: 0,
|
|
137
|
-
class:
|
|
137
|
+
class: _(P.value)
|
|
138
138
|
}, [
|
|
139
|
-
(r(!0),
|
|
139
|
+
(r(!0), s(f, null, g(E.value, (t, e) => (r(), s("div", {
|
|
140
140
|
key: "sk-r-" + e,
|
|
141
141
|
class: "flex justify-between gap-3 px-3 py-2.5 border-b border-border/70 last:border-b-0"
|
|
142
142
|
}, [...n[13] || (n[13] = [
|
|
@@ -145,13 +145,13 @@ const le = {
|
|
|
145
145
|
])]))), 128))
|
|
146
146
|
], 2)) : h("", !0)
|
|
147
147
|
], 2))
|
|
148
|
-
], 64)) : (r(),
|
|
149
|
-
A.value ? (r(),
|
|
148
|
+
], 64)) : (r(), s(f, { key: 2 }, [
|
|
149
|
+
A.value ? (r(), s(f, { key: 0 }, [
|
|
150
150
|
d("div", ae, [
|
|
151
|
-
(r(!0),
|
|
151
|
+
(r(!0), s(f, null, g(w.value, (t, e, v, l) => {
|
|
152
152
|
const m = [t, L($)(t.key, a.data), y.value, p.value];
|
|
153
|
-
if (
|
|
154
|
-
const
|
|
153
|
+
if (l && l.el && l.key === "mob-" + t.key + e && M(l, m)) return l;
|
|
154
|
+
const b = (r(), S(D, {
|
|
155
155
|
key: "mob-" + t.key + e,
|
|
156
156
|
field: t,
|
|
157
157
|
data: a.data,
|
|
@@ -161,24 +161,24 @@ const le = {
|
|
|
161
161
|
"is-last": e === w.value.length - 1,
|
|
162
162
|
"show-border-bottom": e < w.value.length - 1
|
|
163
163
|
}, R({ _: 2 }, [
|
|
164
|
-
g(j.value, (
|
|
165
|
-
name:
|
|
166
|
-
fn: F((
|
|
167
|
-
x(
|
|
164
|
+
g(j.value, (c) => ({
|
|
165
|
+
name: c,
|
|
166
|
+
fn: F((C) => [
|
|
167
|
+
x(o.$slots, c, V({ ref_for: !0 }, C))
|
|
168
168
|
])
|
|
169
169
|
}))
|
|
170
170
|
]), 1032, ["field", "data", "index", "show-colon", "is-last", "show-border-bottom"]));
|
|
171
|
-
return
|
|
171
|
+
return b.memo = m, b;
|
|
172
172
|
}, n, 0), 128))
|
|
173
173
|
]),
|
|
174
174
|
d("div", ue, [
|
|
175
175
|
d("div", {
|
|
176
|
-
class:
|
|
176
|
+
class: _(H.value)
|
|
177
177
|
}, [
|
|
178
|
-
(r(!0),
|
|
178
|
+
(r(!0), s(f, null, g(w.value, (t, e, v, l) => {
|
|
179
179
|
const m = [t, L($)(t.key, a.data), y.value, p.value];
|
|
180
|
-
if (
|
|
181
|
-
const
|
|
180
|
+
if (l && l.el && l.key === t.key + e && M(l, m)) return l;
|
|
181
|
+
const b = (r(), S(D, {
|
|
182
182
|
key: t.key + e,
|
|
183
183
|
field: t,
|
|
184
184
|
data: a.data,
|
|
@@ -190,30 +190,30 @@ const le = {
|
|
|
190
190
|
"stacked-col-index": e % q.value,
|
|
191
191
|
"stacked-border-style": T.value
|
|
192
192
|
}, R({ _: 2 }, [
|
|
193
|
-
g(j.value, (
|
|
194
|
-
name:
|
|
195
|
-
fn: F((
|
|
196
|
-
x(
|
|
193
|
+
g(j.value, (c) => ({
|
|
194
|
+
name: c,
|
|
195
|
+
fn: F((C) => [
|
|
196
|
+
x(o.$slots, c, V({ ref_for: !0 }, C))
|
|
197
197
|
])
|
|
198
198
|
}))
|
|
199
199
|
]), 1032, ["field", "data", "index", "variant", "is-last", "stacked-col-index", "stacked-border-style"]));
|
|
200
|
-
return
|
|
200
|
+
return b.memo = m, b;
|
|
201
201
|
}, n, 2), 128))
|
|
202
202
|
], 2)
|
|
203
203
|
]),
|
|
204
|
-
w.value.length === 0 ? (r(),
|
|
205
|
-
], 64)) : (r(),
|
|
204
|
+
w.value.length === 0 ? (r(), s("div", de, " No information to display. ")) : h("", !0)
|
|
205
|
+
], 64)) : (r(), s(f, { key: 1 }, [
|
|
206
206
|
d("div", {
|
|
207
|
-
class:
|
|
207
|
+
class: _(G.value)
|
|
208
208
|
}, [
|
|
209
|
-
i.value.left.length > 0 ? (r(),
|
|
209
|
+
i.value.left.length > 0 ? (r(), s("div", {
|
|
210
210
|
key: 0,
|
|
211
|
-
class:
|
|
211
|
+
class: _(P.value)
|
|
212
212
|
}, [
|
|
213
|
-
(r(!0),
|
|
213
|
+
(r(!0), s(f, null, g(i.value.left, (t, e, v, l) => {
|
|
214
214
|
const m = [t, L($)(t.key, a.data), y.value, p.value];
|
|
215
|
-
if (
|
|
216
|
-
const
|
|
215
|
+
if (l && l.el && l.key === t.key + e && M(l, m)) return l;
|
|
216
|
+
const b = (r(), S(D, {
|
|
217
217
|
key: t.key + e,
|
|
218
218
|
field: t,
|
|
219
219
|
data: a.data,
|
|
@@ -223,21 +223,21 @@ const le = {
|
|
|
223
223
|
"is-last": e === i.value.left.length - 1,
|
|
224
224
|
"show-border-bottom": e < i.value.left.length - 1 || e === i.value.left.length - 1 && !O.value
|
|
225
225
|
}, R({ _: 2 }, [
|
|
226
|
-
g(j.value, (
|
|
227
|
-
name:
|
|
228
|
-
fn: F((
|
|
229
|
-
x(
|
|
226
|
+
g(j.value, (c) => ({
|
|
227
|
+
name: c,
|
|
228
|
+
fn: F((C) => [
|
|
229
|
+
x(o.$slots, c, V({ ref_for: !0 }, C))
|
|
230
230
|
])
|
|
231
231
|
}))
|
|
232
232
|
]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]));
|
|
233
|
-
return
|
|
233
|
+
return b.memo = m, b;
|
|
234
234
|
}, n, 4), 128))
|
|
235
235
|
], 2)) : h("", !0),
|
|
236
|
-
k.value !== 1 && i.value.right.length > 0 ? (r(),
|
|
237
|
-
(r(!0),
|
|
236
|
+
k.value !== 1 && i.value.right.length > 0 ? (r(), s("div", ie, [
|
|
237
|
+
(r(!0), s(f, null, g(i.value.right, (t, e, v, l) => {
|
|
238
238
|
const m = [t, L($)(t.key, a.data), y.value, p.value];
|
|
239
|
-
if (
|
|
240
|
-
const
|
|
239
|
+
if (l && l.el && l.key === t.key + e && M(l, m)) return l;
|
|
240
|
+
const b = (r(), S(D, {
|
|
241
241
|
key: t.key + e,
|
|
242
242
|
field: t,
|
|
243
243
|
data: a.data,
|
|
@@ -247,26 +247,26 @@ const le = {
|
|
|
247
247
|
"is-last": e === i.value.right.length - 1,
|
|
248
248
|
"show-border-bottom": e < i.value.right.length - 1 || e === i.value.right.length - 1 && !O.value
|
|
249
249
|
}, R({ _: 2 }, [
|
|
250
|
-
g(j.value, (
|
|
251
|
-
name:
|
|
252
|
-
fn: F((
|
|
253
|
-
x(
|
|
250
|
+
g(j.value, (c) => ({
|
|
251
|
+
name: c,
|
|
252
|
+
fn: F((C) => [
|
|
253
|
+
x(o.$slots, c, V({ ref_for: !0 }, C))
|
|
254
254
|
])
|
|
255
255
|
}))
|
|
256
256
|
]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]));
|
|
257
|
-
return
|
|
257
|
+
return b.memo = m, b;
|
|
258
258
|
}, n, 6), 128))
|
|
259
259
|
])) : h("", !0),
|
|
260
|
-
k.value === 3 ? (r(),
|
|
260
|
+
k.value === 3 ? (r(), s("div", ve)) : h("", !0)
|
|
261
261
|
], 2),
|
|
262
|
-
O.value ? (r(),
|
|
262
|
+
O.value ? (r(), s("div", {
|
|
263
263
|
key: 0,
|
|
264
|
-
class:
|
|
264
|
+
class: _(Q.value ? "border-t border-border" : "")
|
|
265
265
|
}, [
|
|
266
|
-
(r(!0),
|
|
266
|
+
(r(!0), s(f, null, g(i.value.full, (t, e, v, l) => {
|
|
267
267
|
const m = [t, L($)(t.key, a.data), y.value, p.value];
|
|
268
|
-
if (
|
|
269
|
-
const
|
|
268
|
+
if (l && l.el && l.key === t.key + e && M(l, m)) return l;
|
|
269
|
+
const b = (r(), S(D, {
|
|
270
270
|
key: t.key + e,
|
|
271
271
|
field: t,
|
|
272
272
|
data: a.data,
|
|
@@ -276,21 +276,21 @@ const le = {
|
|
|
276
276
|
"is-last": e === i.value.full.length - 1,
|
|
277
277
|
"show-border-bottom": e < i.value.full.length - 1
|
|
278
278
|
}, R({ _: 2 }, [
|
|
279
|
-
g(j.value, (
|
|
280
|
-
name:
|
|
281
|
-
fn: F((
|
|
282
|
-
x(
|
|
279
|
+
g(j.value, (c) => ({
|
|
280
|
+
name: c,
|
|
281
|
+
fn: F((C) => [
|
|
282
|
+
x(o.$slots, c, V({ ref_for: !0 }, C))
|
|
283
283
|
])
|
|
284
284
|
}))
|
|
285
285
|
]), 1032, ["field", "data", "index", "variant", "show-colon", "is-last", "show-border-bottom"]));
|
|
286
|
-
return
|
|
286
|
+
return b.memo = m, b;
|
|
287
287
|
}, n, 8), 128))
|
|
288
288
|
], 2)) : h("", !0),
|
|
289
|
-
w.value.length === 0 ? (r(),
|
|
289
|
+
w.value.length === 0 ? (r(), s("div", me, " No information to display. ")) : h("", !0)
|
|
290
290
|
], 64))
|
|
291
291
|
], 64)),
|
|
292
|
-
|
|
293
|
-
x(
|
|
292
|
+
o.$slots.footer ? (r(), s("div", be, [
|
|
293
|
+
x(o.$slots, "footer")
|
|
294
294
|
])) : h("", !0)
|
|
295
295
|
], 2));
|
|
296
296
|
}
|
|
@@ -95,11 +95,10 @@ const R = { class: "flex items-center gap-2 min-w-0" }, Y = { class: "text-xs fo
|
|
|
95
95
|
]),
|
|
96
96
|
r("div", q, [
|
|
97
97
|
n.$slots[e.field.key] ? M(n.$slots, e.field.key, {
|
|
98
|
-
key: 0,
|
|
99
98
|
value: u.value,
|
|
100
99
|
resolved: s.value,
|
|
101
100
|
data: e.data
|
|
102
|
-
}) : e.field.component ? (t(), d(B(e.field.component), {
|
|
101
|
+
}, void 0, void 0, 0) : e.field.component ? (t(), d(B(e.field.component), {
|
|
103
102
|
key: 1,
|
|
104
103
|
data: e.data,
|
|
105
104
|
value: u.value
|
|
@@ -187,11 +186,10 @@ const R = { class: "flex items-center gap-2 min-w-0" }, Y = { class: "text-xs fo
|
|
|
187
186
|
]),
|
|
188
187
|
r("div", _, [
|
|
189
188
|
n.$slots[e.field.key] ? M(n.$slots, e.field.key, {
|
|
190
|
-
key: 0,
|
|
191
189
|
value: u.value,
|
|
192
190
|
resolved: s.value,
|
|
193
191
|
data: e.data
|
|
194
|
-
}) : e.field.component ? (t(), d(B(e.field.component), {
|
|
192
|
+
}, void 0, void 0, 0) : e.field.component ? (t(), d(B(e.field.component), {
|
|
195
193
|
key: 1,
|
|
196
194
|
data: e.data,
|
|
197
195
|
value: u.value
|
|
@@ -279,11 +277,10 @@ const R = { class: "flex items-center gap-2 min-w-0" }, Y = { class: "text-xs fo
|
|
|
279
277
|
]),
|
|
280
278
|
r("div", ue, [
|
|
281
279
|
n.$slots[e.field.key] ? M(n.$slots, e.field.key, {
|
|
282
|
-
key: 0,
|
|
283
280
|
value: u.value,
|
|
284
281
|
resolved: s.value,
|
|
285
282
|
data: e.data
|
|
286
|
-
}) : e.field.component ? (t(), d(B(e.field.component), {
|
|
283
|
+
}, void 0, void 0, 0) : e.field.component ? (t(), d(B(e.field.component), {
|
|
287
284
|
key: 1,
|
|
288
285
|
data: e.data,
|
|
289
286
|
value: u.value
|
package/components/Modal.vue.js
CHANGED
|
@@ -30,9 +30,9 @@ const _ = ["data-testid"], ee = ["data-testid"], te = {
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["close", "update:show", "onOpen"],
|
|
32
32
|
setup(o, { emit: j }) {
|
|
33
|
-
const t = o, u = j, l = f(t.show), k = f(!1),
|
|
33
|
+
const t = o, u = j, l = f(t.show), k = f(!1), b = f(!1), C = f(null);
|
|
34
34
|
let c = null;
|
|
35
|
-
const
|
|
35
|
+
const y = f(!1), d = V("dropdown-context", null), w = p(() => t.body ? W(t.body) : void 0);
|
|
36
36
|
T(
|
|
37
37
|
() => t.show,
|
|
38
38
|
(e) => {
|
|
@@ -44,11 +44,11 @@ const _ = ["data-testid"], ee = ["data-testid"], te = {
|
|
|
44
44
|
}, E = (e) => {
|
|
45
45
|
k.value = e;
|
|
46
46
|
}, M = (e) => {
|
|
47
|
-
|
|
47
|
+
y.value = e;
|
|
48
48
|
}, m = () => {
|
|
49
49
|
if (k.value) {
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
b.value = !0, c && clearTimeout(c), c = setTimeout(() => {
|
|
51
|
+
b.value = !1;
|
|
52
52
|
}, 1e3);
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
@@ -61,7 +61,7 @@ const _ = ["data-testid"], ee = ["data-testid"], te = {
|
|
|
61
61
|
t.closeOutside && m();
|
|
62
62
|
}, { onKeyStroke: P } = Z();
|
|
63
63
|
P("Escape", m), T(l, async (e) => {
|
|
64
|
-
e ? (d?.onChildToggle?.(!0), document.body.style.overflow = "hidden", await L(), C.value?.focus()) : (document.body.style.overflow = "", d?.onChildToggle?.(!1),
|
|
64
|
+
e ? (d?.onChildToggle?.(!0), document.body.style.overflow = "hidden", await L(), C.value?.focus()) : (document.body.style.overflow = "", d?.onChildToggle?.(!1), y.value = !1);
|
|
65
65
|
}), A(() => {
|
|
66
66
|
l.value && d?.onChildToggle?.(!0);
|
|
67
67
|
}), U(() => {
|
|
@@ -79,7 +79,7 @@ const _ = ["data-testid"], ee = ["data-testid"], te = {
|
|
|
79
79
|
"data-testid": e.$attrs["data-testid"] ? `${e.$attrs["data-testid"]}-trigger` : n.value ? `modal-trigger-${n.value.toString().toLowerCase().replace(/[^a-z0-9]+/g, "-")}` : "modal-trigger"
|
|
80
80
|
}), [
|
|
81
81
|
v(e.$slots, "trigger", {}, () => [
|
|
82
|
-
o.body ? v(e.$slots, "default", {
|
|
82
|
+
o.body ? v(e.$slots, "default", {}, void 0, !0, 0) : r("", !0)
|
|
83
83
|
], !0)
|
|
84
84
|
], 16, _)) : r("", !0),
|
|
85
85
|
(s(), z(G, { to: "body" }, [
|
|
@@ -113,20 +113,17 @@ const _ = ["data-testid"], ee = ["data-testid"], te = {
|
|
|
113
113
|
size: "sm",
|
|
114
114
|
icon: "lucide:x",
|
|
115
115
|
variant: "ghost",
|
|
116
|
-
class: i({ "blink-bg":
|
|
116
|
+
class: i({ "blink-bg": b.value }),
|
|
117
117
|
"data-testid": "modal-close-btn",
|
|
118
118
|
onClick: m
|
|
119
119
|
}, null, 8, ["class"])
|
|
120
120
|
], 2)
|
|
121
121
|
])) : r("", !0),
|
|
122
122
|
h("div", {
|
|
123
|
-
class: i(["flex-1 overflow-y-auto px-4 pt-4 min-h-0 scrollbar-thin scrollbar-stable", [
|
|
123
|
+
class: i(["flex-1 overflow-y-auto px-4 pt-4 min-h-0 scrollbar-thin scrollbar-stable", [y.value ? "pb-0" : "pb-3.5", o.bodyClass]])
|
|
124
124
|
}, [
|
|
125
125
|
x.value ? (s(), a("p", le, F(x.value), 1)) : r("", !0),
|
|
126
|
-
w.value ? (s(), z(X(w.value), B({ key: 1 }, { ...o.bodyProps, ...e.$attrs }, { close: g }), null, 16)) : v(e.$slots, "default", {
|
|
127
|
-
key: 2,
|
|
128
|
-
close: g
|
|
129
|
-
}, void 0, !0)
|
|
126
|
+
w.value ? (s(), z(X(w.value), B({ key: 1 }, { ...o.bodyProps, ...e.$attrs }, { close: g }), null, 16)) : v(e.$slots, "default", { close: g }, void 0, !0, 2)
|
|
130
127
|
], 2),
|
|
131
128
|
e.$slots.footer ? (s(), a("div", {
|
|
132
129
|
key: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, ref as v, onMounted as J, nextTick as g, onUnmounted as K, watch as
|
|
1
|
+
import { defineComponent as q, ref as v, onMounted as J, nextTick as g, onUnmounted as K, watch as T, computed as p, openBlock as a, createElementBlock as m, normalizeClass as s, createVNode as h, Transition as A, withCtx as _, createElementVNode as l, createCommentVNode as x, Fragment as Q, renderList as X, isMemoSame as Y, createBlock as I, resolveDynamicComponent as Z, mergeProps as ee, toDisplayString as te, unref as re } from "vue";
|
|
2
2
|
import { useRoute as ne } from "vue-router";
|
|
3
3
|
import y from "../Icon.vue.js";
|
|
4
4
|
import { $t as oe } from "../../utils/i18n.js";
|
|
@@ -41,19 +41,19 @@ const ie = {
|
|
|
41
41
|
u.value?.removeEventListener("scroll", d);
|
|
42
42
|
});
|
|
43
43
|
const w = ne();
|
|
44
|
-
|
|
44
|
+
T(
|
|
45
45
|
() => w.path,
|
|
46
46
|
() => g(d)
|
|
47
|
-
),
|
|
47
|
+
), T(c, () => g(d));
|
|
48
48
|
const S = v(/* @__PURE__ */ new Map()), L = (t, r) => {
|
|
49
49
|
const e = t?.$el ?? t;
|
|
50
50
|
e instanceof HTMLElement ? S.value.set(r, e) : S.value.delete(r);
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
T(
|
|
53
53
|
() => w.path,
|
|
54
54
|
(t) => {
|
|
55
55
|
g(() => {
|
|
56
|
-
const r = o.items.findIndex((n) =>
|
|
56
|
+
const r = o.items.findIndex((n) => b(n));
|
|
57
57
|
if (r === -1) return;
|
|
58
58
|
S.value.get(r)?.scrollIntoView({ block: "nearest", inline: "center", behavior: "smooth" });
|
|
59
59
|
});
|
|
@@ -79,7 +79,7 @@ const ie = {
|
|
|
79
79
|
pill: "text-muted-foreground hover:text-foreground hover:bg-accent/50",
|
|
80
80
|
solid: "text-muted-foreground hover:text-foreground hover:bg-accent/50",
|
|
81
81
|
ghost: "text-muted-foreground hover:text-foreground hover:bg-accent/50"
|
|
82
|
-
},
|
|
82
|
+
}, b = (t) => {
|
|
83
83
|
const r = w.path;
|
|
84
84
|
if (!t.to) return !1;
|
|
85
85
|
const e = typeof t.to == "string" ? t.to : t.to.path;
|
|
@@ -93,7 +93,7 @@ const ie = {
|
|
|
93
93
|
}
|
|
94
94
|
return !1;
|
|
95
95
|
}, D = (t) => {
|
|
96
|
-
const r = "group relative inline-flex items-center justify-center gap-2 font-medium whitespace-nowrap shrink-0 select-none cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-offset-1", e = t.disabled ? "opacity-50 pointer-events-none cursor-not-allowed" : "", z =
|
|
96
|
+
const r = "group relative inline-flex items-center justify-center gap-2 font-medium whitespace-nowrap shrink-0 select-none cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-offset-1", e = t.disabled ? "opacity-50 pointer-events-none cursor-not-allowed" : "", z = b(t) ? o.activeClass || M[o.variant] : o.inactiveClass || j[o.variant];
|
|
97
97
|
return [r, $[o.size], z, e].filter(Boolean).join(" ");
|
|
98
98
|
}, P = (t) => t.to ? "router-link" : t.href ? "a" : "button", G = (t) => t.to ? { to: t.to } : t.href ? { href: t.href, target: "_blank", rel: "noopener noreferrer" } : { type: "button" }, O = (t, r) => {
|
|
99
99
|
r.disabled && t.preventDefault();
|
|
@@ -110,7 +110,7 @@ const ie = {
|
|
|
110
110
|
class: s(["relative flex items-center w-full min-w-0 border-b", o.class])
|
|
111
111
|
}, [
|
|
112
112
|
h(A, { name: "fade-x" }, {
|
|
113
|
-
default:
|
|
113
|
+
default: _(() => [
|
|
114
114
|
k.value ? (a(), m("div", ie, [
|
|
115
115
|
l("div", {
|
|
116
116
|
class: s(["w-8 h-full", H.value])
|
|
@@ -142,21 +142,21 @@ const ie = {
|
|
|
142
142
|
style: { "will-change": "transform", contain: "layout style" },
|
|
143
143
|
"aria-label": "Page tabs"
|
|
144
144
|
}, [
|
|
145
|
-
(a(!0), m(Q, null, X(i.items, (e, n, z,
|
|
146
|
-
const B = [e,
|
|
147
|
-
if (
|
|
145
|
+
(a(!0), m(Q, null, X(i.items, (e, n, z, f) => {
|
|
146
|
+
const B = [e, b(e), e.disabled];
|
|
147
|
+
if (f && f.el && f.key === n && Y(f, B)) return f;
|
|
148
148
|
const V = (a(), I(Z(P(e)), ee({ key: n }, { ref_for: !0 }, G(e), {
|
|
149
149
|
ref_for: !0,
|
|
150
|
-
ref: (
|
|
150
|
+
ref: (R) => L(R, n),
|
|
151
151
|
role: "tab",
|
|
152
152
|
"data-navbar-tab": "",
|
|
153
|
-
"aria-selected":
|
|
153
|
+
"aria-selected": b(e),
|
|
154
154
|
"aria-disabled": e.disabled || void 0,
|
|
155
155
|
tabindex: e.disabled ? -1 : 0,
|
|
156
156
|
class: D(e),
|
|
157
|
-
onClick: (
|
|
157
|
+
onClick: (R) => O(R, e)
|
|
158
158
|
}), {
|
|
159
|
-
default:
|
|
159
|
+
default: _(() => [
|
|
160
160
|
e.icon ? (a(), I(y, {
|
|
161
161
|
key: 0,
|
|
162
162
|
icon: e.icon,
|
|
@@ -175,7 +175,7 @@ const ie = {
|
|
|
175
175
|
}, r, 1), 128))
|
|
176
176
|
], 2),
|
|
177
177
|
h(A, { name: "fade-x" }, {
|
|
178
|
-
default:
|
|
178
|
+
default: _(() => [
|
|
179
179
|
C.value ? (a(), m("div", ue, [
|
|
180
180
|
l("div", {
|
|
181
181
|
class: s(["w-8 h-full", U.value])
|
|
@@ -3,7 +3,7 @@ import L from "./Icon.vue.js";
|
|
|
3
3
|
import v from "./Modal.vue.js";
|
|
4
4
|
import N from "./CommandPalette/CommandPaletteContent.vue.js";
|
|
5
5
|
import { $t as U } from "../utils/i18n.js";
|
|
6
|
-
/* empty css
|
|
6
|
+
/* empty css */
|
|
7
7
|
const V = { class: "block truncate -text-fs-1.5" }, S = { class: "ms-auto inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-mono font-medium border border-border/80 bg-background text-muted-foreground ms-1" }, A = /* @__PURE__ */ x({
|
|
8
8
|
__name: "NavbarCommandPalette",
|
|
9
9
|
props: {
|