vlite3 1.5.10 → 1.5.12
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} +3 -3
- 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 → AccordionView2.vue.js} +2 -2
- 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/Form/{index.vue2.js → index2.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 +3 -3
- 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/Splitter/Splitter.vue.d.ts +7 -0
- package/components/Splitter/Splitter.vue.js +33 -29
- 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 +3 -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/{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,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as Ee, useSlots as Qe, computed as n, markRaw as T, onMounted as Ae, ref as
|
|
1
|
+
import { defineComponent as Ee, useSlots as Qe, computed as n, markRaw as T, onMounted as Ae, ref as p, provide as L, watch as O, openBlock as d, createElementBlock as w, normalizeClass as P, Fragment as U, createElementVNode as j, createVNode as C, createSlots as ne, withCtx as b, renderSlot as o, normalizeProps as u, guardReactiveProps as v, mergeProps as x, createBlock as M, createCommentVNode as R, unref as z, resolveDynamicComponent as Ue, toDisplayString as je } from "vue";
|
|
2
2
|
import Me from "../ConfirmationModal.vue.js";
|
|
3
3
|
import Ne from "../Pagination/Pagination.vue.js";
|
|
4
4
|
import He from "../ImportData/ImportData.vue.js";
|
|
5
5
|
import { usePersistentState as Ke } from "../../utils/usePersistentState.js";
|
|
6
6
|
import { useVLiteConfig as Le } from "../../core/config.js";
|
|
7
|
-
import { $t as
|
|
7
|
+
import { $t as m } from "../../utils/i18n.js";
|
|
8
8
|
import { SCREEN_CONTEXT_KEY as Oe } from "../DataTable/types.js";
|
|
9
9
|
import oe from "./components/ScreenHeaderTitle.vue.js";
|
|
10
10
|
import ze from "./components/ScreenEmptyState.vue.js";
|
|
@@ -94,17 +94,17 @@ const Ge = { key: 0 }, Je = {
|
|
|
94
94
|
},
|
|
95
95
|
emits: ["add", "delete", "activeView"],
|
|
96
96
|
setup(t, { emit: de }) {
|
|
97
|
-
const a = t, I = Le(), q = de,
|
|
98
|
-
const e =
|
|
97
|
+
const a = t, I = Le(), q = de, g = Qe(), ce = n(() => a.name || a.title || "default-screen"), ue = n(() => {
|
|
98
|
+
const e = m("vlite.screen.tableView");
|
|
99
99
|
return e !== "vlite.screen.tableView" ? e : "Table View";
|
|
100
100
|
}), ve = n(() => {
|
|
101
|
-
const e =
|
|
101
|
+
const e = m("vlite.screen.listView");
|
|
102
102
|
return e !== "vlite.screen.listView" ? e : "List View";
|
|
103
103
|
}), fe = n(() => {
|
|
104
|
-
const e =
|
|
104
|
+
const e = m("vlite.screen.kanbanView");
|
|
105
105
|
return e !== "vlite.screen.kanbanView" ? e : "Kanban View";
|
|
106
106
|
}), me = n(() => {
|
|
107
|
-
const e =
|
|
107
|
+
const e = m("vlite.screen.calendarView");
|
|
108
108
|
return e !== "vlite.screen.calendarView" ? e : "Calendar View";
|
|
109
109
|
}), V = n(() => {
|
|
110
110
|
if (a.views && a.views.length > 0)
|
|
@@ -113,22 +113,22 @@ const Ge = { key: 0 }, Je = {
|
|
|
113
113
|
component: typeof i.component == "object" && i.component !== null ? T(i.component) : i.component
|
|
114
114
|
}));
|
|
115
115
|
const e = [];
|
|
116
|
-
return (a.table ||
|
|
116
|
+
return (a.table || g.table) && e.push({
|
|
117
117
|
key: "table",
|
|
118
118
|
component: a.table ? T(a.table) : null,
|
|
119
119
|
icon: "lucide:list",
|
|
120
120
|
label: ue.value
|
|
121
|
-
}), (a.list ||
|
|
121
|
+
}), (a.list || g.list || g.grid) && e.push({
|
|
122
122
|
key: "list",
|
|
123
123
|
component: a.list ? T(a.list) : null,
|
|
124
124
|
icon: "lucide:layout-grid",
|
|
125
125
|
label: ve.value
|
|
126
|
-
}), (a.kanban ||
|
|
126
|
+
}), (a.kanban || g.kanban) && e.push({
|
|
127
127
|
key: "kanban",
|
|
128
128
|
component: a.kanban ? T(a.kanban) : null,
|
|
129
129
|
icon: "lucide:kanban",
|
|
130
130
|
label: fe.value
|
|
131
|
-
}), (a.calendar ||
|
|
131
|
+
}), (a.calendar || g.calendar) && e.push({
|
|
132
132
|
key: "calendar",
|
|
133
133
|
component: a.calendar ? T(a.calendar) : null,
|
|
134
134
|
icon: "lucide:calendar",
|
|
@@ -140,17 +140,17 @@ const Ge = { key: 0 }, Je = {
|
|
|
140
140
|
Ae(() => {
|
|
141
141
|
V.value.length > 0 && !he.value.includes(c.value) && (c.value = Y.value), q("activeView", c.value);
|
|
142
142
|
});
|
|
143
|
-
const F = n(() => c.value === "table" &&
|
|
143
|
+
const F = n(() => c.value === "table" && g.table ? "table" : c.value === "list" && g.list ? "list" : c.value === "list" && g.grid ? "grid" : c.value === "kanban" && g.kanban ? "kanban" : c.value === "calendar" && g.calendar ? "calendar" : null), y = p(""), h = p({}), $ = p({ field: "", order: "" }), S = p(a.pageInfo?.currentPage || 1), E = p(a.pageInfo?.itemsPerPage || a.paginationProps?.itemsPerPage || 10), s = p([]), Q = p([]), B = p(!1), f = p(
|
|
144
144
|
a.defaultQuickFilter !== void 0 ? a.defaultQuickFilter : a.quickFilters && a.quickFilters.length > 0 ? a.quickFilters[0].value : ""
|
|
145
145
|
), W = n(() => !a.quickFilters || a.quickFilters.length === 0 ? !1 : a.skipQuickFilterViews && a.skipQuickFilterViews.length > 0 ? !a.skipQuickFilterViews.includes(c.value) : !0), Z = (e) => {
|
|
146
|
-
|
|
147
|
-
}, _ = n(() =>
|
|
148
|
-
(e) =>
|
|
146
|
+
f.value = e, S.value = 1, D();
|
|
147
|
+
}, _ = n(() => y.value && y.value.trim() !== "" || f.value !== "" && f.value !== null && f.value !== void 0 ? !0 : h.value ? Object.keys(h.value).some(
|
|
148
|
+
(e) => h.value[e] !== "" && h.value[e] !== null && h.value[e] !== void 0
|
|
149
149
|
) : !1), ee = n(() => a.data && a.data.length > 0), pe = n(() => !a.skipEmptyViews || a.skipEmptyViews.length === 0 ? !1 : a.skipEmptyViews.includes(c.value)), r = n(() => ({
|
|
150
150
|
activeView: c.value,
|
|
151
|
-
searchQuery:
|
|
152
|
-
activeFilters:
|
|
153
|
-
activeQuickFilter:
|
|
151
|
+
searchQuery: y.value,
|
|
152
|
+
activeFilters: h.value,
|
|
153
|
+
activeQuickFilter: f.value,
|
|
154
154
|
activeSort: $.value,
|
|
155
155
|
page: S.value,
|
|
156
156
|
limit: E.value,
|
|
@@ -164,8 +164,8 @@ const Ge = { key: 0 }, Je = {
|
|
|
164
164
|
$.value = { field: e.sort.field, order: e.sort.order }, D();
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
|
-
L(Oe, we), L("screen-selected-rows", s), L("screen-request-delete", (e) =>
|
|
168
|
-
const
|
|
167
|
+
L(Oe, we), L("screen-selected-rows", s), L("screen-request-delete", (e) => k(e));
|
|
168
|
+
const k = (e) => {
|
|
169
169
|
Q.value = e, B.value = !0;
|
|
170
170
|
}, ge = () => {
|
|
171
171
|
q("delete", Q.value), B.value = !1, s.value = [];
|
|
@@ -184,55 +184,55 @@ const Ge = { key: 0 }, Je = {
|
|
|
184
184
|
}
|
|
185
185
|
);
|
|
186
186
|
let N = null;
|
|
187
|
-
O(
|
|
187
|
+
O(y, () => {
|
|
188
188
|
N && clearTimeout(N), N = setTimeout(() => {
|
|
189
189
|
S.value = 1, D();
|
|
190
190
|
}, 300);
|
|
191
191
|
});
|
|
192
|
-
const
|
|
192
|
+
const be = (e) => {
|
|
193
193
|
S.value = e, D();
|
|
194
|
-
},
|
|
194
|
+
}, ke = (e) => {
|
|
195
195
|
E.value = e, S.value = 1, D();
|
|
196
196
|
}, D = () => {
|
|
197
197
|
if (!a.refetch) return;
|
|
198
|
-
const e = { ...
|
|
199
|
-
|
|
198
|
+
const e = { ...h.value };
|
|
199
|
+
f.value !== "" && f.value !== null && f.value !== void 0 && (e[a.quickFilterKey] = f.value);
|
|
200
200
|
const i = $.value.field && $.value.order ? { field: $.value.field, order: $.value.order } : void 0, l = {
|
|
201
201
|
pagination: { page: S.value, limit: E.value },
|
|
202
|
-
search:
|
|
202
|
+
search: y.value,
|
|
203
203
|
filter: e
|
|
204
204
|
};
|
|
205
205
|
i && (l.sort = i), a.refetch(l);
|
|
206
206
|
}, te = n(() => {
|
|
207
|
-
const e =
|
|
207
|
+
const e = m("vlite.screen.deleteSelected");
|
|
208
208
|
return e !== "vlite.screen.deleteSelected" ? e : "Delete Selected";
|
|
209
209
|
}), ae = n(() => {
|
|
210
|
-
const e =
|
|
210
|
+
const e = m("vlite.screen.refresh");
|
|
211
211
|
return e !== "vlite.screen.refresh" ? e : "Refresh";
|
|
212
212
|
}), le = n(() => {
|
|
213
|
-
const e =
|
|
213
|
+
const e = m("vlite.screen.searchPlaceholder");
|
|
214
214
|
return e !== "vlite.screen.searchPlaceholder" ? e : "Search...";
|
|
215
215
|
}), Ce = n(() => {
|
|
216
|
-
const e =
|
|
216
|
+
const e = m("vlite.screen.confirmDeleteTitle");
|
|
217
217
|
return e !== "vlite.screen.confirmDeleteTitle" ? e : "Confirm Deletion";
|
|
218
218
|
}), xe = n(() => {
|
|
219
|
-
const e =
|
|
219
|
+
const e = m("vlite.screen.confirmDeleteDesc", { count: Q.value.length });
|
|
220
220
|
return e !== "vlite.screen.confirmDeleteDesc" ? e : `Are you sure you want to delete the selected ${Q.value.length > 1 ? "items" : "item"}?`;
|
|
221
221
|
}), Ve = n(() => {
|
|
222
|
-
const e =
|
|
222
|
+
const e = m("vlite.screen.confirmDeleteBtn");
|
|
223
223
|
return e !== "vlite.screen.confirmDeleteBtn" ? e : "Delete";
|
|
224
224
|
}), De = n(() => {
|
|
225
|
-
const e =
|
|
225
|
+
const e = m("vlite.screen.cancelBtn");
|
|
226
226
|
return e !== "vlite.screen.cancelBtn" ? e : "Cancel";
|
|
227
227
|
}), Pe = n(() => {
|
|
228
|
-
const e =
|
|
228
|
+
const e = m("vlite.screen.missingView");
|
|
229
229
|
return e !== "vlite.screen.missingView" ? e : "Please provide a `:list`, `:table`, or `:views` component/slot.";
|
|
230
230
|
}), H = n(
|
|
231
231
|
() => a.exportSchema && a.exportSchema.length > 0 && a.exportProps !== !1 || a.importSchema && a.importSchema.length > 0 && a.importProps !== !1
|
|
232
232
|
), Se = n(() => {
|
|
233
|
-
const e =
|
|
233
|
+
const e = m("vlite.screen.importData");
|
|
234
234
|
return e !== "vlite.screen.importData" ? e : "Import Data";
|
|
235
|
-
}), $e =
|
|
235
|
+
}), $e = p(null), A = p(!1), K = p(!1), ie = (e) => {
|
|
236
236
|
e.value === "export" ? A.value = !0 : e.value === "import" && (K.value = !0);
|
|
237
237
|
}, Ie = n(
|
|
238
238
|
() => (a.exportSchema || []).map((e) => ({
|
|
@@ -259,17 +259,17 @@ const Ge = { key: 0 }, Je = {
|
|
|
259
259
|
), qe = async (e) => {
|
|
260
260
|
I?.services?.exportApi && a.exportType ? await I.services.exportApi(a.exportType, {
|
|
261
261
|
format: e,
|
|
262
|
-
search:
|
|
263
|
-
filter:
|
|
262
|
+
search: y.value,
|
|
263
|
+
filter: h.value
|
|
264
264
|
}) : console.warn(
|
|
265
265
|
"VLite Screen: No exportApi configured or no exportType provided for generic backend export."
|
|
266
266
|
);
|
|
267
267
|
};
|
|
268
|
-
return (e, i) => (d(),
|
|
268
|
+
return (e, i) => (d(), w("div", {
|
|
269
269
|
class: P(["flex flex-col w-full space-y-8", t.containerClass])
|
|
270
270
|
}, [
|
|
271
|
-
t.variant === "two" ? (d(),
|
|
272
|
-
t.customHeader ? o(e.$slots, "custom-header", u(
|
|
271
|
+
t.variant === "two" ? (d(), w(U, { key: 0 }, [
|
|
272
|
+
t.customHeader ? o(e.$slots, "custom-header", u(v(r.value)), void 0, void 0, 1) : (d(), w("div", {
|
|
273
273
|
key: 0,
|
|
274
274
|
class: P([t.headerClass, "flex flex-col space-y-6"])
|
|
275
275
|
}, [
|
|
@@ -279,7 +279,7 @@ const Ge = { key: 0 }, Je = {
|
|
|
279
279
|
t.topHeaderClass
|
|
280
280
|
])
|
|
281
281
|
}, [
|
|
282
|
-
|
|
282
|
+
C(oe, {
|
|
283
283
|
title: t.title,
|
|
284
284
|
"title-i18n": t.titleI18n,
|
|
285
285
|
"title-class": t.titleClass,
|
|
@@ -292,21 +292,21 @@ const Ge = { key: 0 }, Je = {
|
|
|
292
292
|
e.$slots.title ? {
|
|
293
293
|
name: "title",
|
|
294
294
|
fn: b(() => [
|
|
295
|
-
o(e.$slots, "title", u(
|
|
295
|
+
o(e.$slots, "title", u(v(r.value)))
|
|
296
296
|
]),
|
|
297
297
|
key: "0"
|
|
298
298
|
} : void 0,
|
|
299
299
|
e.$slots.description ? {
|
|
300
300
|
name: "description",
|
|
301
301
|
fn: b(() => [
|
|
302
|
-
o(e.$slots, "description", u(
|
|
302
|
+
o(e.$slots, "description", u(v(r.value)))
|
|
303
303
|
]),
|
|
304
304
|
key: "1"
|
|
305
305
|
} : void 0
|
|
306
306
|
]), 1032, ["title", "title-i18n", "title-class", "description", "description-i18n", "description-class", "info", "info-i18n"]),
|
|
307
|
-
t.stats && t.stats.length > 0 ? (d(),
|
|
308
|
-
|
|
309
|
-
])) : o(e.$slots, "header-stats", {
|
|
307
|
+
t.stats && t.stats.length > 0 ? (d(), w("div", Ge, [
|
|
308
|
+
C(Ye, x({ items: t.stats }, t.statsProps), null, 16, ["items"])
|
|
309
|
+
])) : o(e.$slots, "header-stats", {}, void 0, void 0, 1)
|
|
310
310
|
], 2),
|
|
311
311
|
j("div", {
|
|
312
312
|
class: P([
|
|
@@ -322,14 +322,14 @@ const Ge = { key: 0 }, Je = {
|
|
|
322
322
|
}, [
|
|
323
323
|
W.value ? (d(), M(se, {
|
|
324
324
|
key: 0,
|
|
325
|
-
modelValue:
|
|
326
|
-
"onUpdate:modelValue": i[0] || (i[0] = (l) =>
|
|
325
|
+
modelValue: f.value,
|
|
326
|
+
"onUpdate:modelValue": i[0] || (i[0] = (l) => f.value = l),
|
|
327
327
|
options: t.quickFilters,
|
|
328
328
|
variant: t.quickFilterVariant,
|
|
329
329
|
onChange: Z
|
|
330
330
|
}, null, 8, ["modelValue", "options", "variant"])) : R("", !0)
|
|
331
331
|
], 2),
|
|
332
|
-
|
|
332
|
+
C(re, {
|
|
333
333
|
inline: "",
|
|
334
334
|
class: P(["w-full lg:w-auto", t.actionsContainerClass]),
|
|
335
335
|
"selected-rows": s.value,
|
|
@@ -344,9 +344,9 @@ const Ge = { key: 0 }, Je = {
|
|
|
344
344
|
"txt-refresh": ae.value,
|
|
345
345
|
"filter-schema": t.filterSchema,
|
|
346
346
|
"filter-type": t.filterType,
|
|
347
|
-
"active-filters":
|
|
347
|
+
"active-filters": h.value,
|
|
348
348
|
"can-search": t.canSearch,
|
|
349
|
-
"search-query":
|
|
349
|
+
"search-query": y.value,
|
|
350
350
|
"txt-search": le.value,
|
|
351
351
|
"can-add": t.canAdd,
|
|
352
352
|
"add-component": t.addComponent,
|
|
@@ -357,34 +357,34 @@ const Ge = { key: 0 }, Je = {
|
|
|
357
357
|
"export-props": t.exportProps,
|
|
358
358
|
"import-props": t.importProps,
|
|
359
359
|
"screen-state": r.value,
|
|
360
|
-
onDelete:
|
|
360
|
+
onDelete: k,
|
|
361
361
|
"onUpdate:activeView": J,
|
|
362
|
-
"onUpdate:searchQuery": i[1] || (i[1] = (l) =>
|
|
363
|
-
"onUpdate:activeFilters": i[2] || (i[2] = (l) =>
|
|
362
|
+
"onUpdate:searchQuery": i[1] || (i[1] = (l) => y.value = l),
|
|
363
|
+
"onUpdate:activeFilters": i[2] || (i[2] = (l) => h.value = l),
|
|
364
364
|
onRefresh: D,
|
|
365
365
|
onAdd: i[3] || (i[3] = (l) => e.$emit("add")),
|
|
366
366
|
onSelectDropdown: ie
|
|
367
367
|
}, {
|
|
368
368
|
"before-search": b((l) => [
|
|
369
|
-
o(e.$slots, "before-search", u(
|
|
369
|
+
o(e.$slots, "before-search", u(v(l)))
|
|
370
370
|
]),
|
|
371
371
|
actions: b((l) => [
|
|
372
|
-
o(e.$slots, "actions", u(
|
|
372
|
+
o(e.$slots, "actions", u(v(l)))
|
|
373
373
|
]),
|
|
374
374
|
"after-add": b((l) => [
|
|
375
|
-
o(e.$slots, "after-add", u(
|
|
375
|
+
o(e.$slots, "after-add", u(v(l)))
|
|
376
376
|
]),
|
|
377
377
|
_: 3
|
|
378
378
|
}, 8, ["class", "selected-rows", "hide-selectable", "hide-delete-btn", "txt-delete-selected", "has-multiple-views", "active-view", "resolved-views", "show-refresh", "loading", "txt-refresh", "filter-schema", "filter-type", "active-filters", "can-search", "search-query", "txt-search", "can-add", "add-component", "add-btn", "data", "refetch", "has-export-or-import", "export-props", "import-props", "screen-state"])
|
|
379
379
|
], 2)
|
|
380
380
|
], 2)),
|
|
381
|
-
o(e.$slots, "sub-header", u(
|
|
382
|
-
], 64)) : (d(),
|
|
383
|
-
t.customHeader ? o(e.$slots, "custom-header", u(
|
|
381
|
+
o(e.$slots, "sub-header", u(v(r.value)))
|
|
382
|
+
], 64)) : (d(), w(U, { key: 1 }, [
|
|
383
|
+
t.customHeader ? o(e.$slots, "custom-header", u(v(r.value)), void 0, void 0, 1) : (d(), w("div", {
|
|
384
384
|
key: 0,
|
|
385
385
|
class: P([t.headerClass, "grid grid-cols-1 min-[900px]:grid-cols-[1fr_auto] min-[1250px]:grid-cols-[1fr_auto_auto] items-start gap-x-4 gap-y-3 w-full"])
|
|
386
386
|
}, [
|
|
387
|
-
|
|
387
|
+
C(oe, {
|
|
388
388
|
class: "order-1 min-w-0",
|
|
389
389
|
title: t.title,
|
|
390
390
|
"title-i18n": t.titleI18n,
|
|
@@ -398,19 +398,19 @@ const Ge = { key: 0 }, Je = {
|
|
|
398
398
|
e.$slots.title ? {
|
|
399
399
|
name: "title",
|
|
400
400
|
fn: b(() => [
|
|
401
|
-
o(e.$slots, "title", u(
|
|
401
|
+
o(e.$slots, "title", u(v(r.value)))
|
|
402
402
|
]),
|
|
403
403
|
key: "0"
|
|
404
404
|
} : void 0,
|
|
405
405
|
e.$slots.description ? {
|
|
406
406
|
name: "description",
|
|
407
407
|
fn: b(() => [
|
|
408
|
-
o(e.$slots, "description", u(
|
|
408
|
+
o(e.$slots, "description", u(v(r.value)))
|
|
409
409
|
]),
|
|
410
410
|
key: "1"
|
|
411
411
|
} : void 0
|
|
412
412
|
]), 1032, ["title", "title-i18n", "title-class", "description", "description-i18n", "description-class", "info", "info-i18n"]),
|
|
413
|
-
|
|
413
|
+
C(re, {
|
|
414
414
|
"selected-rows": s.value,
|
|
415
415
|
"hide-selectable": t.hideSelectable,
|
|
416
416
|
"hide-delete-btn": t.hideDeleteBtn,
|
|
@@ -423,9 +423,9 @@ const Ge = { key: 0 }, Je = {
|
|
|
423
423
|
"txt-refresh": ae.value,
|
|
424
424
|
"filter-schema": t.filterSchema,
|
|
425
425
|
"filter-type": t.filterType,
|
|
426
|
-
"active-filters":
|
|
426
|
+
"active-filters": h.value,
|
|
427
427
|
"can-search": t.canSearch,
|
|
428
|
-
"search-query":
|
|
428
|
+
"search-query": y.value,
|
|
429
429
|
"txt-search": le.value,
|
|
430
430
|
"can-add": t.canAdd,
|
|
431
431
|
"add-component": t.addComponent,
|
|
@@ -436,31 +436,31 @@ const Ge = { key: 0 }, Je = {
|
|
|
436
436
|
"export-props": t.exportProps,
|
|
437
437
|
"import-props": t.importProps,
|
|
438
438
|
"screen-state": r.value,
|
|
439
|
-
onDelete:
|
|
439
|
+
onDelete: k,
|
|
440
440
|
"onUpdate:activeView": J,
|
|
441
|
-
"onUpdate:searchQuery": i[4] || (i[4] = (l) =>
|
|
442
|
-
"onUpdate:activeFilters": i[5] || (i[5] = (l) =>
|
|
441
|
+
"onUpdate:searchQuery": i[4] || (i[4] = (l) => y.value = l),
|
|
442
|
+
"onUpdate:activeFilters": i[5] || (i[5] = (l) => h.value = l),
|
|
443
443
|
onRefresh: D,
|
|
444
444
|
onAdd: i[6] || (i[6] = (l) => e.$emit("add")),
|
|
445
445
|
onSelectDropdown: ie
|
|
446
446
|
}, {
|
|
447
447
|
"before-search": b((l) => [
|
|
448
|
-
o(e.$slots, "before-search", u(
|
|
448
|
+
o(e.$slots, "before-search", u(v(l)))
|
|
449
449
|
]),
|
|
450
450
|
actions: b((l) => [
|
|
451
|
-
o(e.$slots, "actions", u(
|
|
451
|
+
o(e.$slots, "actions", u(v(l)))
|
|
452
452
|
]),
|
|
453
453
|
"after-add": b((l) => [
|
|
454
|
-
o(e.$slots, "after-add", u(
|
|
454
|
+
o(e.$slots, "after-add", u(v(l)))
|
|
455
455
|
]),
|
|
456
456
|
_: 3
|
|
457
457
|
}, 8, ["selected-rows", "hide-selectable", "hide-delete-btn", "txt-delete-selected", "has-multiple-views", "active-view", "resolved-views", "show-refresh", "loading", "txt-refresh", "filter-schema", "filter-type", "active-filters", "can-search", "search-query", "txt-search", "can-add", "add-component", "add-btn", "data", "refetch", "has-export-or-import", "export-props", "import-props", "screen-state"])
|
|
458
458
|
], 2)),
|
|
459
|
-
o(e.$slots, "sub-header", u(
|
|
460
|
-
W.value ? (d(),
|
|
461
|
-
|
|
462
|
-
modelValue:
|
|
463
|
-
"onUpdate:modelValue": i[7] || (i[7] = (l) =>
|
|
459
|
+
o(e.$slots, "sub-header", u(v(r.value))),
|
|
460
|
+
W.value ? (d(), w("div", Je, [
|
|
461
|
+
C(se, {
|
|
462
|
+
modelValue: f.value,
|
|
463
|
+
"onUpdate:modelValue": i[7] || (i[7] = (l) => f.value = l),
|
|
464
464
|
options: t.quickFilters,
|
|
465
465
|
variant: t.quickFilterVariant,
|
|
466
466
|
onChange: Z
|
|
@@ -470,8 +470,8 @@ const Ge = { key: 0 }, Je = {
|
|
|
470
470
|
j("div", {
|
|
471
471
|
class: P(["flex-1 w-full relative", t.mainContainerClass])
|
|
472
472
|
}, [
|
|
473
|
-
!ee.value && !t.loading && !pe.value ? (d(),
|
|
474
|
-
e.$slots.empty ? o(e.$slots, "empty", u(
|
|
473
|
+
!ee.value && !t.loading && !pe.value ? (d(), w(U, { key: 0 }, [
|
|
474
|
+
e.$slots.empty ? o(e.$slots, "empty", u(v(r.value)), void 0, void 0, 0) : (d(), M(ze, {
|
|
475
475
|
key: 1,
|
|
476
476
|
"empty-title": t.emptyTitle,
|
|
477
477
|
"empty-title-i18n": t.emptyTitleI18n,
|
|
@@ -483,65 +483,60 @@ const Ge = { key: 0 }, Je = {
|
|
|
483
483
|
"add-component": t.addComponent,
|
|
484
484
|
"add-btn": t.addBtn
|
|
485
485
|
}, null, 8, ["empty-title", "empty-title-i18n", "empty-description", "empty-description-i18n", "empty-icon", "is-filtered", "can-add", "add-component", "add-btn"]))
|
|
486
|
-
], 64)) : (d(),
|
|
487
|
-
F.value === "table" ? o(e.$slots, "table",
|
|
488
|
-
key: 0,
|
|
486
|
+
], 64)) : (d(), w(U, { key: 1 }, [
|
|
487
|
+
F.value === "table" ? o(e.$slots, "table", x({
|
|
489
488
|
data: t.data,
|
|
490
489
|
loading: t.loading,
|
|
491
490
|
selectedRows: s.value,
|
|
492
|
-
delete:
|
|
491
|
+
delete: k,
|
|
493
492
|
updateSelectedRows: (l) => s.value = l
|
|
494
|
-
}, r.value)) : F.value === "list" ? o(e.$slots, "list",
|
|
495
|
-
key: 1,
|
|
493
|
+
}, r.value), void 0, void 0, 0) : F.value === "list" ? o(e.$slots, "list", x({
|
|
496
494
|
data: t.data,
|
|
497
495
|
loading: t.loading,
|
|
498
496
|
selectedRows: s.value,
|
|
499
|
-
delete:
|
|
497
|
+
delete: k,
|
|
500
498
|
updateSelectedRows: (l) => s.value = l
|
|
501
|
-
}, r.value)) : F.value === "grid" ? o(e.$slots, "grid",
|
|
502
|
-
key: 2,
|
|
499
|
+
}, r.value), void 0, void 0, 1) : F.value === "grid" ? o(e.$slots, "grid", x({
|
|
503
500
|
data: t.data,
|
|
504
501
|
loading: t.loading,
|
|
505
502
|
selectedRows: s.value,
|
|
506
|
-
delete:
|
|
503
|
+
delete: k,
|
|
507
504
|
updateSelectedRows: (l) => s.value = l
|
|
508
|
-
}, r.value)) : F.value === "kanban" ? o(e.$slots, "kanban",
|
|
509
|
-
key: 3,
|
|
505
|
+
}, r.value), void 0, void 0, 2) : F.value === "kanban" ? o(e.$slots, "kanban", x({
|
|
510
506
|
data: t.data,
|
|
511
507
|
loading: t.loading,
|
|
512
508
|
selectedRows: s.value,
|
|
513
|
-
delete:
|
|
509
|
+
delete: k,
|
|
514
510
|
updateSelectedRows: (l) => s.value = l
|
|
515
|
-
}, r.value)) : F.value === "calendar" ? o(e.$slots, "calendar",
|
|
516
|
-
key: 4,
|
|
511
|
+
}, r.value), void 0, void 0, 3) : F.value === "calendar" ? o(e.$slots, "calendar", x({
|
|
517
512
|
data: t.data,
|
|
518
513
|
loading: t.loading,
|
|
519
514
|
selectedRows: s.value,
|
|
520
|
-
delete:
|
|
515
|
+
delete: k,
|
|
521
516
|
updateSelectedRows: (l) => s.value = l
|
|
522
|
-
}, r.value)) : G.value ? (d(), M(Ue(G.value),
|
|
517
|
+
}, r.value), void 0, void 0, 4) : G.value ? (d(), M(Ue(G.value), x({
|
|
523
518
|
key: 5,
|
|
524
519
|
data: t.data,
|
|
525
520
|
loading: t.loading,
|
|
526
521
|
refetch: t.refetch,
|
|
527
522
|
selectedRows: s.value,
|
|
528
523
|
"onUpdate:selectedRows": i[8] || (i[8] = (l) => s.value = l),
|
|
529
|
-
delete:
|
|
524
|
+
delete: k,
|
|
530
525
|
onDelete: ye
|
|
531
|
-
}, t.viewProps), null, 16, ["data", "loading", "refetch", "selectedRows"])) : (d(),
|
|
526
|
+
}, t.viewProps), null, 16, ["data", "loading", "refetch", "selectedRows"])) : (d(), w("div", We, je(Pe.value), 1))
|
|
532
527
|
], 64))
|
|
533
528
|
], 2),
|
|
534
|
-
t.pagination && t.pageInfo && t.pageInfo.totalPages > 1 ? (d(),
|
|
535
|
-
|
|
529
|
+
t.pagination && t.pageInfo && t.pageInfo.totalPages > 1 ? (d(), w("div", Ze, [
|
|
530
|
+
C(z(Ne), x({
|
|
536
531
|
"current-page": t.pageInfo.currentPage,
|
|
537
532
|
"total-pages": t.pageInfo.totalPages,
|
|
538
533
|
"total-items": t.pageInfo.totalItems
|
|
539
534
|
}, t.paginationProps, {
|
|
540
|
-
onChange:
|
|
541
|
-
"onUpdate:itemsPerPage":
|
|
535
|
+
onChange: be,
|
|
536
|
+
"onUpdate:itemsPerPage": ke
|
|
542
537
|
}), null, 16, ["current-page", "total-pages", "total-items"])
|
|
543
538
|
])) : R("", !0),
|
|
544
|
-
|
|
539
|
+
C(Me, {
|
|
545
540
|
show: B.value,
|
|
546
541
|
"onUpdate:show": i[9] || (i[9] = (l) => B.value = l),
|
|
547
542
|
title: Ce.value,
|
|
@@ -562,8 +557,8 @@ const Ge = { key: 0 }, Je = {
|
|
|
562
557
|
"export-props": t.exportProps,
|
|
563
558
|
"on-export": qe
|
|
564
559
|
}, null, 8, ["show", "data", "fields", "mode", "export-props"])) : R("", !0),
|
|
565
|
-
H.value ? (d(),
|
|
566
|
-
|
|
560
|
+
H.value ? (d(), w("div", _e, [
|
|
561
|
+
C(He, x({
|
|
567
562
|
show: K.value,
|
|
568
563
|
"onUpdate:show": i[12] || (i[12] = (l) => K.value = l),
|
|
569
564
|
ref_key: "importDataRef",
|
|
@@ -23,11 +23,11 @@ import "iconify-icon-picker/style.css";
|
|
|
23
23
|
import "../../icons/IconRegistry.js";
|
|
24
24
|
/* empty css */
|
|
25
25
|
/* empty css */
|
|
26
|
-
/* empty css
|
|
26
|
+
/* empty css */
|
|
27
27
|
/* empty css */
|
|
28
28
|
/* empty css */
|
|
29
|
-
/* empty css
|
|
30
|
-
/* empty css
|
|
29
|
+
/* empty css */
|
|
30
|
+
/* empty css */
|
|
31
31
|
import "../../core/config.js";
|
|
32
32
|
/* empty css */
|
|
33
33
|
/* empty css */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as E, ref as b, computed as d, openBlock as i, createBlock as p, withCtx as x, createVNode as f, mergeProps as k, createElementVNode as a, toDisplayString as v, createElementBlock as
|
|
1
|
+
import { defineComponent as E, ref as b, computed as d, openBlock as i, createBlock as p, withCtx as x, createVNode as f, mergeProps as k, createElementVNode as a, toDisplayString as v, createElementBlock as g, Fragment as F, renderList as S, isMemoSame as _ } from "vue";
|
|
2
2
|
import j from "../../Modal.vue.js";
|
|
3
3
|
import B from "../../ExportData/ExportData.vue.js";
|
|
4
4
|
import C from "../../Button.vue.js";
|
|
5
5
|
import P from "../../Icon.vue.js";
|
|
6
|
-
import { $t as
|
|
6
|
+
import { $t as w } from "../../../utils/i18n.js";
|
|
7
7
|
const $ = {
|
|
8
8
|
class: "px-1 py-1 text-sm",
|
|
9
9
|
style: { "will-change": "transform", contain: "layout style" }
|
|
@@ -18,17 +18,17 @@ const $ = {
|
|
|
18
18
|
onExport: { type: Function }
|
|
19
19
|
},
|
|
20
20
|
emits: ["update:show"],
|
|
21
|
-
setup(t, { emit:
|
|
22
|
-
const
|
|
23
|
-
const o =
|
|
21
|
+
setup(t, { emit: y }) {
|
|
22
|
+
const h = y, n = b(null), c = d(() => {
|
|
23
|
+
const o = w("vlite.screen.exportData");
|
|
24
24
|
return o !== "vlite.screen.exportData" ? o : "Export Data";
|
|
25
25
|
}), D = d(() => {
|
|
26
|
-
const o =
|
|
26
|
+
const o = w("vlite.exportData.selectFormat");
|
|
27
27
|
return o !== "vlite.exportData.selectFormat" ? o : "Select Export Format";
|
|
28
28
|
});
|
|
29
29
|
return (o, s) => (i(), p(j, {
|
|
30
30
|
show: t.show,
|
|
31
|
-
"onUpdate:show": s[2] || (s[2] = (r) =>
|
|
31
|
+
"onUpdate:show": s[2] || (s[2] = (r) => h("update:show", r)),
|
|
32
32
|
title: c.value,
|
|
33
33
|
"max-width": "sm:max-w-[400px]"
|
|
34
34
|
}, {
|
|
@@ -47,13 +47,13 @@ const $ = {
|
|
|
47
47
|
a("div", $, [
|
|
48
48
|
a("h6", M, v(D.value), 1),
|
|
49
49
|
a("div", N, [
|
|
50
|
-
(i(!0),
|
|
50
|
+
(i(!0), g(F, null, S(n.value?.availableFormats || [
|
|
51
51
|
{ value: "excel", label: "Excel (.xlsx)", icon: "lucide:file-spreadsheet" },
|
|
52
52
|
{ value: "csv", label: "CSV (.csv)", icon: "lucide:file-text" },
|
|
53
53
|
{ value: "json", label: "JSON (.json)", icon: "lucide:file-json" }
|
|
54
54
|
], (e, V, R, l) => {
|
|
55
55
|
const m = [e.value, e.label, e.icon];
|
|
56
|
-
if (l && l.key === e.value &&
|
|
56
|
+
if (l && l.el && l.key === e.value && _(l, m)) return l;
|
|
57
57
|
const u = (i(), p(C, {
|
|
58
58
|
key: e.value,
|
|
59
59
|
variant: "outline",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as E, ref as N, inject as P, computed as f, markRaw as D, watch as w, onMounted as L, onUnmounted as V, openBlock as l, createElementBlock as i, Fragment as j, createElementVNode as p, mergeProps as h, withModifiers as K, renderSlot as m, createCommentVNode as a, createBlock as g, Teleport as M, normalizeClass as c, createVNode as F, Transition as R, withCtx as U, normalizeStyle as q, toDisplayString as
|
|
1
|
+
import { defineComponent as E, ref as N, inject as P, computed as f, markRaw as D, watch as w, onMounted as L, onUnmounted as V, openBlock as l, createElementBlock as i, Fragment as j, createElementVNode as p, mergeProps as h, withModifiers as K, renderSlot as m, createCommentVNode as a, createBlock as g, Teleport as M, normalizeClass as c, createVNode as F, Transition as R, withCtx as U, normalizeStyle as q, toDisplayString as $, resolveDynamicComponent as G } from "vue";
|
|
2
2
|
import H from "./Button.vue.js";
|
|
3
3
|
import { useKeyStroke as J } from "../composables/useKeyStroke.js";
|
|
4
|
-
import { $t as
|
|
4
|
+
import { $t as k } from "../utils/i18n.js";
|
|
5
5
|
const Q = ["data-testid"], W = ["data-testid"], X = { class: "text-lg font-bold text-foreground" }, Y = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "-text-fs-2 text-muted-foreground"
|
|
@@ -62,8 +62,8 @@ const Q = ["data-testid"], W = ["data-testid"], X = { class: "text-lg font-bold
|
|
|
62
62
|
lg: "max-w-full sm:max-w-lg",
|
|
63
63
|
xl: "max-w-full sm:max-w-xl",
|
|
64
64
|
full: "max-w-full"
|
|
65
|
-
}, A = f(() => t.position === "left" ? "start-0 rounded-e-lg" : "end-0 rounded-s-md"), O = f(() => t.position === "left" ? "slide-left" : "slide-right"), d = f(() => t.titleI18n ?
|
|
66
|
-
() => t.descriptionI18n ?
|
|
65
|
+
}, A = f(() => t.position === "left" ? "start-0 rounded-e-lg" : "end-0 rounded-s-md"), O = f(() => t.position === "left" ? "slide-left" : "slide-right"), d = f(() => t.titleI18n ? k(t.titleI18n) : t.title), C = f(
|
|
66
|
+
() => t.descriptionI18n ? k(t.descriptionI18n) : t.description
|
|
67
67
|
);
|
|
68
68
|
return (e, y) => (l(), i(j, null, [
|
|
69
69
|
p("span", h({
|
|
@@ -73,7 +73,7 @@ const Q = ["data-testid"], W = ["data-testid"], X = { class: "text-lg font-bold
|
|
|
73
73
|
"data-testid": e.$attrs["data-testid"] ? `${e.$attrs["data-testid"]}-trigger` : d.value ? `sidepanel-trigger-${d.value.toString().toLowerCase().replace(/[^a-z0-9]+/g, "-")}` : "sidepanel-trigger"
|
|
74
74
|
}), [
|
|
75
75
|
m(e.$slots, "trigger", {}, () => [
|
|
76
|
-
o.body ? m(e.$slots, "default", {
|
|
76
|
+
o.body ? m(e.$slots, "default", {}, void 0, !0, 0) : a("", !0)
|
|
77
77
|
], !0)
|
|
78
78
|
], 16, Q),
|
|
79
79
|
(l(), g(M, { to: "body" }, [
|
|
@@ -102,8 +102,8 @@ const Q = ["data-testid"], W = ["data-testid"], X = { class: "text-lg font-bold
|
|
|
102
102
|
}, [
|
|
103
103
|
m(e.$slots, "header", {}, () => [
|
|
104
104
|
p("div", null, [
|
|
105
|
-
p("h3", X,
|
|
106
|
-
C.value ? (l(), i("p", Y,
|
|
105
|
+
p("h3", X, $(d.value), 1),
|
|
106
|
+
C.value ? (l(), i("p", Y, $(C.value), 1)) : a("", !0)
|
|
107
107
|
])
|
|
108
108
|
], !0),
|
|
109
109
|
o.hideCloseButton ? a("", !0) : (l(), g(H, {
|
|
@@ -120,10 +120,7 @@ const Q = ["data-testid"], W = ["data-testid"], X = { class: "text-lg font-bold
|
|
|
120
120
|
p("div", {
|
|
121
121
|
class: c(["flex-1 overflow-y-auto px-6 py-4 scrollbar-thin scrollbar-stable", o.bodyClass])
|
|
122
122
|
}, [
|
|
123
|
-
b.value ? (l(), g(G(b.value), h({ key: 0 }, { ...o.bodyProps, ...e.$attrs }, { close: n }), null, 16)) : m(e.$slots, "default", {
|
|
124
|
-
key: 1,
|
|
125
|
-
close: n
|
|
126
|
-
}, void 0, !0)
|
|
123
|
+
b.value ? (l(), g(G(b.value), h({ key: 0 }, { ...o.bodyProps, ...e.$attrs }, { close: n }), null, 16)) : m(e.$slots, "default", { close: n }, void 0, !0, 1)
|
|
127
124
|
], 2),
|
|
128
125
|
e.$slots.footer ? (l(), i("div", {
|
|
129
126
|
key: 1,
|