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 pt, computed as r, inject as yt, toRef as re, ref as L, watch as F, shallowRef as kt, onUnmounted as xt, openBlock as o, createElementBlock as d, createElementVNode as f, normalizeClass as I, Fragment as z, renderList as k, createCommentVNode as D, unref as a, isMemoSame as de, createBlock as
|
|
1
|
+
import { defineComponent as pt, computed as r, inject as yt, toRef as re, ref as L, watch as F, shallowRef as kt, onUnmounted as xt, openBlock as o, createElementBlock as d, createElementVNode as f, normalizeClass as I, Fragment as z, renderList as k, createCommentVNode as D, unref as a, isMemoSame as de, createBlock as ue, createSlots as q, withCtx as G, renderSlot as M, mergeProps as ce, createVNode as V, normalizeStyle as E, withModifiers as Le } from "vue";
|
|
2
2
|
import { useBreakpoints as zt, breakpointsTailwind as St } from "@vueuse/core";
|
|
3
3
|
import Rt from "../CheckBox.vue.js";
|
|
4
4
|
import Ct from "../ConfirmationModal.vue.js";
|
|
@@ -125,14 +125,14 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
125
125
|
e && (W.value = e);
|
|
126
126
|
}
|
|
127
127
|
);
|
|
128
|
-
const
|
|
128
|
+
const m = kt(/* @__PURE__ */ new Set());
|
|
129
129
|
F(
|
|
130
130
|
() => s.selectedRows,
|
|
131
131
|
(e) => {
|
|
132
132
|
const l = new Set(
|
|
133
133
|
(e || []).filter(y).map((t) => w(t, b.value))
|
|
134
134
|
);
|
|
135
|
-
(l.size !==
|
|
135
|
+
(l.size !== m.value.size || [...l].some((t) => !m.value.has(t))) && (m.value = l);
|
|
136
136
|
},
|
|
137
137
|
{ immediate: !0 }
|
|
138
138
|
);
|
|
@@ -147,16 +147,16 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
147
147
|
return l(s.rows), e;
|
|
148
148
|
}), ee = r(() => {
|
|
149
149
|
const e = K.value;
|
|
150
|
-
return e.length > 0 && e.every((l) =>
|
|
150
|
+
return e.length > 0 && e.every((l) => m.value.has(w(l, b.value)));
|
|
151
151
|
}), je = r(() => K.value.length > 0), Ye = r(
|
|
152
152
|
() => K.value.filter(
|
|
153
|
-
(e) =>
|
|
153
|
+
(e) => m.value.has(w(e, b.value))
|
|
154
154
|
).length
|
|
155
155
|
), he = r(
|
|
156
156
|
() => Ye.value > 0 && !ee.value
|
|
157
157
|
), Xe = r(() => {
|
|
158
158
|
const e = new Map(R.value);
|
|
159
|
-
return (s.selectedRows || []).forEach((l) => e.set(w(l, b.value), l)), s.rows.forEach((l) => e.set(w(l, b.value), l)), Array.from(
|
|
159
|
+
return (s.selectedRows || []).forEach((l) => e.set(w(l, b.value), l)), s.rows.forEach((l) => e.set(w(l, b.value), l)), Array.from(m.value).map((l) => e.get(l)).filter(Boolean);
|
|
160
160
|
}), Ze = (e) => {
|
|
161
161
|
if (!g.value) return !1;
|
|
162
162
|
const l = fe(e).filter((i) => {
|
|
@@ -166,7 +166,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
166
166
|
if (!l.length) return !1;
|
|
167
167
|
let t = 0;
|
|
168
168
|
for (const i of l)
|
|
169
|
-
|
|
169
|
+
m.value.has(i) && t++;
|
|
170
170
|
return t > 0 && t < l.length;
|
|
171
171
|
}, Z = r(() => {
|
|
172
172
|
const e = /* @__PURE__ */ new Set();
|
|
@@ -179,35 +179,35 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
179
179
|
for (; t != null; ) {
|
|
180
180
|
const i = R.value.get(t);
|
|
181
181
|
if (!i) break;
|
|
182
|
-
const c = ge(i).filter(y).map((v) => w(v, b.value)),
|
|
183
|
-
y(i) &&
|
|
182
|
+
const c = ge(i).filter(y).map((v) => w(v, b.value)), u = c.length > 0 && c.every((v) => l.has(v));
|
|
183
|
+
y(i) && u ? l.add(t) : l.delete(t), t = ve(t);
|
|
184
184
|
}
|
|
185
185
|
}, Ge = (e) => {
|
|
186
|
-
const l = new Set(
|
|
186
|
+
const l = new Set(m.value);
|
|
187
187
|
K.value.forEach((t) => {
|
|
188
188
|
const i = w(t, b.value);
|
|
189
189
|
e ? l.add(i) : l.delete(i);
|
|
190
|
-
}),
|
|
190
|
+
}), m.value = l, te();
|
|
191
191
|
}, we = (e) => {
|
|
192
192
|
const l = R.value.get(e) || s.rows.find((c) => w(c, b.value) === e);
|
|
193
193
|
if (!l || !y(l)) return;
|
|
194
|
-
const t = new Set(
|
|
194
|
+
const t = new Set(m.value), i = !t.has(e);
|
|
195
195
|
if (g.value) {
|
|
196
196
|
const c = R.value.get(e);
|
|
197
197
|
if (c) {
|
|
198
|
-
const
|
|
198
|
+
const u = (v, x) => {
|
|
199
199
|
const h = R.value.get(v);
|
|
200
200
|
!h || !y(h) || (x ? t.add(v) : t.delete(v));
|
|
201
201
|
};
|
|
202
|
-
|
|
202
|
+
u(e, i), fe(c).forEach((v) => u(v, i)), qe(e, t), m.value = t, te();
|
|
203
203
|
return;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
t.has(e) ? t.delete(e) : t.add(e),
|
|
206
|
+
t.has(e) ? t.delete(e) : t.add(e), m.value = t, te();
|
|
207
207
|
}, te = () => {
|
|
208
208
|
const e = /* @__PURE__ */ new Set(), l = [], t = (i) => {
|
|
209
209
|
const c = w(i, b.value);
|
|
210
|
-
|
|
210
|
+
m.value.has(c) && !e.has(c) && (l.push(i), e.add(c));
|
|
211
211
|
};
|
|
212
212
|
K.value.forEach(t), (s.selectedRows || []).forEach(t), S("select", {
|
|
213
213
|
selected: l,
|
|
@@ -245,8 +245,8 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
245
245
|
const e = new Set(R.value.keys());
|
|
246
246
|
(s.selectedRows || []).forEach((l) => {
|
|
247
247
|
y(l) && e.add(w(l, b.value));
|
|
248
|
-
}),
|
|
249
|
-
[...
|
|
248
|
+
}), m.value = new Set(
|
|
249
|
+
[...m.value].filter((l) => {
|
|
250
250
|
const t = R.value.get(l);
|
|
251
251
|
return e.has(l) && (!t || y(t));
|
|
252
252
|
})
|
|
@@ -305,7 +305,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
305
305
|
}, dt = (e) => {
|
|
306
306
|
const l = ie.value.get(e);
|
|
307
307
|
return l ? Pe(l) : void 0;
|
|
308
|
-
},
|
|
308
|
+
}, ut = r(() => {
|
|
309
309
|
const e = s.variant === "raised", l = s.rounded ? e ? "rounded-lg" : "rounded" : "rounded-none";
|
|
310
310
|
return [
|
|
311
311
|
"w-full flex flex-col",
|
|
@@ -317,7 +317,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
317
317
|
ze.value ? "select-none" : "",
|
|
318
318
|
s.class
|
|
319
319
|
].join(" ");
|
|
320
|
-
}),
|
|
320
|
+
}), ct = r(() => {
|
|
321
321
|
const e = s.cellBordered ? "[&_thead_th]:border-border [&_tbody_td]:border-border [&_tbody_th]:border-border [&_thead_th:not(:last-child)]:border-e [&_tbody_td:not(:last-child)]:border-e [&_tbody_th:not(:last-child)]:border-e [&_tbody_tr:not(:last-child)>td]:border-b [&_tbody_tr:not(:last-child)>th]:border-b" : "";
|
|
322
322
|
return [
|
|
323
323
|
"w-full caption-bottom -text-fs-1",
|
|
@@ -359,7 +359,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
359
359
|
});
|
|
360
360
|
return (e, l) => (o(), d("div", Lt, [
|
|
361
361
|
f("div", {
|
|
362
|
-
class: I(
|
|
362
|
+
class: I(ut.value)
|
|
363
363
|
}, [
|
|
364
364
|
N.value ? (o(), d("div", Mt, [
|
|
365
365
|
_.value ? (o(!0), d(z, { key: 0 }, k(Math.min($.value, 15), (t) => (o(), d("div", {
|
|
@@ -379,10 +379,10 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
379
379
|
f("div", { class: "h-4 w-20 rounded-md bg-muted animate-pulse" }, null, -1)
|
|
380
380
|
])]))), 128))
|
|
381
381
|
])
|
|
382
|
-
]))), 128)) : a(H).length > 0 ? (o(!0), d(z, { key: 1 }, k(a(H), (t, i, c,
|
|
382
|
+
]))), 128)) : a(H).length > 0 ? (o(!0), d(z, { key: 1 }, k(a(H), (t, i, c, u) => {
|
|
383
383
|
const v = [
|
|
384
384
|
t.row,
|
|
385
|
-
|
|
385
|
+
m.value.has(t.id),
|
|
386
386
|
Z.value.has(t.id),
|
|
387
387
|
p.value,
|
|
388
388
|
O(t.row),
|
|
@@ -401,8 +401,8 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
401
401
|
n.treeIndent,
|
|
402
402
|
!0
|
|
403
403
|
];
|
|
404
|
-
if (
|
|
405
|
-
const x = (o(),
|
|
404
|
+
if (u && u.el && u.key === t.id && de(u, v)) return u;
|
|
405
|
+
const x = (o(), ue(He, {
|
|
406
406
|
key: t.id,
|
|
407
407
|
stacked: "",
|
|
408
408
|
row: t.row,
|
|
@@ -411,7 +411,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
411
411
|
"key-field": b.value,
|
|
412
412
|
selectable: p.value,
|
|
413
413
|
"selection-disabled": !O(t.row),
|
|
414
|
-
"is-selected":
|
|
414
|
+
"is-selected": m.value.has(t.id),
|
|
415
415
|
"is-indeterminate": Z.value.has(t.id),
|
|
416
416
|
hoverable: n.hoverable,
|
|
417
417
|
striped: n.striped,
|
|
@@ -433,7 +433,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
433
433
|
k(n.headers, (h) => ({
|
|
434
434
|
name: h.field,
|
|
435
435
|
fn: G((oe) => [
|
|
436
|
-
M(e.$slots, h.field,
|
|
436
|
+
M(e.$slots, h.field, ce({ ref_for: !0 }, oe), void 0, !0)
|
|
437
437
|
])
|
|
438
438
|
}))
|
|
439
439
|
]), 1032, ["row", "headers", "index", "key-field", "selectable", "selection-disabled", "is-selected", "is-indeterminate", "hoverable", "striped", "compact", "size", "cell-bordered", "tree-mode", "depth", "tree-indent", "expandable", "expanded", "tree-loading", "is-last-sibling", "ancestor-last-flags", "onToggleExpand"]));
|
|
@@ -503,7 +503,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
503
503
|
f("table", {
|
|
504
504
|
ref_key: "tableRef",
|
|
505
505
|
ref: ye,
|
|
506
|
-
class: I([
|
|
506
|
+
class: I([ct.value, "data-table"]),
|
|
507
507
|
style: E(mt.value)
|
|
508
508
|
}, [
|
|
509
509
|
it.value ? (o(), d("colgroup", Ot, [
|
|
@@ -537,7 +537,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
537
537
|
}, null, 8, ["model-value", "indeterminate", "disabled"])
|
|
538
538
|
])
|
|
539
539
|
])) : D("", !0),
|
|
540
|
-
(o(!0), d(z, null, k(n.headers, (t) => (o(),
|
|
540
|
+
(o(!0), d(z, null, k(n.headers, (t) => (o(), ue(Tt, {
|
|
541
541
|
key: t.field,
|
|
542
542
|
header: t,
|
|
543
543
|
"sort-config": B.value,
|
|
@@ -567,9 +567,9 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
567
567
|
])
|
|
568
568
|
], 2),
|
|
569
569
|
f("tbody", Zt, [
|
|
570
|
-
_.value ? (o(!0), d(z, { key: 0 }, k(Math.min($.value, 15), (t, i, c,
|
|
570
|
+
_.value ? (o(!0), d(z, { key: 0 }, k(Math.min($.value, 15), (t, i, c, u) => {
|
|
571
571
|
const v = [];
|
|
572
|
-
if (
|
|
572
|
+
if (u && u.el && u.key === "skeleton-" + t && de(u, v)) return u;
|
|
573
573
|
const x = (o(), d("tr", {
|
|
574
574
|
key: "skeleton-" + t,
|
|
575
575
|
class: "border-b border-border/70 bg-background transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted"
|
|
@@ -593,10 +593,10 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
593
593
|
], 2))), 128))
|
|
594
594
|
]));
|
|
595
595
|
return x.memo = v, x;
|
|
596
|
-
}, l, 3), 128)) : a(H).length > 0 ? (o(!0), d(z, { key: 1 }, k(a(H), (t, i, c,
|
|
596
|
+
}, l, 3), 128)) : a(H).length > 0 ? (o(!0), d(z, { key: 1 }, k(a(H), (t, i, c, u) => {
|
|
597
597
|
const v = [
|
|
598
598
|
t.row,
|
|
599
|
-
|
|
599
|
+
m.value.has(t.id),
|
|
600
600
|
Z.value.has(t.id),
|
|
601
601
|
p.value,
|
|
602
602
|
O(t.row),
|
|
@@ -617,8 +617,8 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
617
617
|
a(C),
|
|
618
618
|
A.value
|
|
619
619
|
];
|
|
620
|
-
if (
|
|
621
|
-
const x = (o(),
|
|
620
|
+
if (u && u.el && u.key === t.id && de(u, v)) return u;
|
|
621
|
+
const x = (o(), ue(He, {
|
|
622
622
|
key: t.id,
|
|
623
623
|
row: t.row,
|
|
624
624
|
headers: n.headers,
|
|
@@ -626,7 +626,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
626
626
|
"key-field": b.value,
|
|
627
627
|
selectable: p.value,
|
|
628
628
|
"selection-disabled": !O(t.row),
|
|
629
|
-
"is-selected":
|
|
629
|
+
"is-selected": m.value.has(t.id),
|
|
630
630
|
"is-indeterminate": Z.value.has(t.id),
|
|
631
631
|
hoverable: n.hoverable,
|
|
632
632
|
striped: n.striped,
|
|
@@ -651,7 +651,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
651
651
|
k(n.headers, (h) => ({
|
|
652
652
|
name: h.field,
|
|
653
653
|
fn: G((oe) => [
|
|
654
|
-
M(e.$slots, h.field,
|
|
654
|
+
M(e.$slots, h.field, ce({ ref_for: !0 }, oe), void 0, !0)
|
|
655
655
|
])
|
|
656
656
|
}))
|
|
657
657
|
]), 1032, ["row", "headers", "index", "key-field", "selectable", "selection-disabled", "is-selected", "is-indeterminate", "hoverable", "striped", "compact", "size", "cell-bordered", "tree-mode", "depth", "tree-indent", "expandable", "expanded", "tree-loading", "is-last-sibling", "ancestor-last-flags", "columns-frozen", "column-resizing", "onToggleExpand", "class"]));
|
|
@@ -685,7 +685,7 @@ const Lt = { class: "space-y-6.5" }, Mt = {
|
|
|
685
685
|
], 2))
|
|
686
686
|
], 2),
|
|
687
687
|
n.showPagination && n.pageInfo && n.pageInfo.totalPages > 1 ? (o(), d("div", Qt, [
|
|
688
|
-
V(a(It),
|
|
688
|
+
V(a(It), ce({
|
|
689
689
|
"current-page": W.value,
|
|
690
690
|
"total-pages": n.pageInfo.totalPages,
|
|
691
691
|
"total-items": n.pageInfo.totalItems
|
|
@@ -4,7 +4,7 @@ import ie from "../Input.vue.js";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import de from "./DropdownItem.vue.js";
|
|
6
6
|
import ce from "./DropdownBooleanItem.vue.js";
|
|
7
|
-
import ue from "./
|
|
7
|
+
import ue from "./DropdownGroupedLayout2.vue.js";
|
|
8
8
|
import { useDropdownNavigation as fe } from "./composables/useDropdownNavigation.js";
|
|
9
9
|
import { useDropdownIds as me } from "./composables/useDropdownIds.js";
|
|
10
10
|
import { $t as $ } from "../../utils/i18n.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, shallowRef as N, watch as H, openBlock as s, createElementBlock as i, createVNode as
|
|
1
|
+
import { defineComponent as q, shallowRef as N, watch as H, openBlock as s, createElementBlock as i, createVNode as h, unref as y, withCtx as k, Fragment as f, renderList as A, isMemoSame as j, createBlock as F, resolveDynamicComponent as S, createTextVNode as K, toDisplayString as g, createCommentVNode as r, createElementVNode as u, normalizeClass as T, withModifiers as G } from "vue";
|
|
2
2
|
import { VueDraggable as J } from "vue-draggable-plus";
|
|
3
3
|
import P from "../Accordion/AccordionItem.vue.js";
|
|
4
4
|
import Q from "./FormField.vue.js";
|
|
@@ -59,7 +59,7 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
59
59
|
row: a,
|
|
60
60
|
titleKey: d.rowTitleKey,
|
|
61
61
|
schema: d.schema
|
|
62
|
-
}) || `${d.itemName} #${c + 1}`,
|
|
62
|
+
}) || `${d.itemName} #${c + 1}`, v = (a) => a.labelI18n ? Y(
|
|
63
63
|
a.labelI18n,
|
|
64
64
|
typeof a.label == "string" ? a.label : void 0
|
|
65
65
|
) ?? a.label : a.label;
|
|
@@ -75,7 +75,7 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
75
75
|
},
|
|
76
76
|
{ deep: !0, immediate: !0 }
|
|
77
77
|
), (a, c) => (s(), i("div", p, [
|
|
78
|
-
|
|
78
|
+
h(y(J), {
|
|
79
79
|
"model-value": e.rows,
|
|
80
80
|
"onUpdate:modelValue": e.onDragUpdate,
|
|
81
81
|
disabled: !e.draggable || e.disabled || e.readonly,
|
|
@@ -84,8 +84,8 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
84
84
|
"ghost-class": "opacity-50",
|
|
85
85
|
class: "space-y-2 min-w-0"
|
|
86
86
|
}, {
|
|
87
|
-
default:
|
|
88
|
-
(s(!0), i(
|
|
87
|
+
default: k(() => [
|
|
88
|
+
(s(!0), i(f, null, A(e.rows, (n, l, x, b) => {
|
|
89
89
|
const B = [
|
|
90
90
|
n,
|
|
91
91
|
e.schema,
|
|
@@ -103,8 +103,8 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
103
103
|
e.size,
|
|
104
104
|
e.rounded
|
|
105
105
|
];
|
|
106
|
-
if (
|
|
107
|
-
const E = (s(),
|
|
106
|
+
if (b && b.el && b.key === n._id && j(b, B)) return b;
|
|
107
|
+
const E = (s(), F(P, {
|
|
108
108
|
key: n._id,
|
|
109
109
|
item: { id: n._id, title: V(n, l) },
|
|
110
110
|
"is-open": o.value.includes(n._id),
|
|
@@ -113,7 +113,7 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
113
113
|
onToggle: M,
|
|
114
114
|
class: "bg-white min-w-0"
|
|
115
115
|
}, {
|
|
116
|
-
trigger:
|
|
116
|
+
trigger: k(({ open: t, toggle: U, triggerClass: D }) => [
|
|
117
117
|
u("div", {
|
|
118
118
|
class: T(["flex items-stretch w-full min-w-0", [D, "!p-0 overflow-hidden"]]),
|
|
119
119
|
onClick: U
|
|
@@ -127,7 +127,7 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
127
127
|
onClick: c[0] || (c[0] = G(() => {
|
|
128
128
|
}, ["stop"]))
|
|
129
129
|
}, [
|
|
130
|
-
|
|
130
|
+
h(C, {
|
|
131
131
|
icon: "lucide:grip-vertical",
|
|
132
132
|
class: "w-4 h-4"
|
|
133
133
|
})
|
|
@@ -136,12 +136,12 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
136
136
|
u("span", ee, g(V(n, l)), 1),
|
|
137
137
|
u("div", te, [
|
|
138
138
|
e.helpers.hasRowErrors(l) ? (s(), i("div", le, [
|
|
139
|
-
|
|
139
|
+
h(C, {
|
|
140
140
|
icon: "lucide:alert-circle",
|
|
141
141
|
class: "w-4 h-4"
|
|
142
142
|
})
|
|
143
143
|
])) : r("", !0),
|
|
144
|
-
|
|
144
|
+
h(C, {
|
|
145
145
|
icon: "lucide:chevron-down",
|
|
146
146
|
class: T(["w-4 h-4 transition-transform duration-200", { "rotate-180": t }])
|
|
147
147
|
}, null, 8, ["class"])
|
|
@@ -149,9 +149,9 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
149
149
|
])
|
|
150
150
|
], 10, I)
|
|
151
151
|
]),
|
|
152
|
-
content:
|
|
152
|
+
content: k(() => [
|
|
153
153
|
m.value.includes(n._id) ? (s(), i("div", se, [
|
|
154
|
-
(s(!0), i(
|
|
154
|
+
(s(!0), i(f, null, A(e.schema, (t, U, D, R) => {
|
|
155
155
|
const z = [
|
|
156
156
|
t,
|
|
157
157
|
e.helpers.getFieldValue(l, t.name),
|
|
@@ -168,19 +168,19 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
168
168
|
e.rounded,
|
|
169
169
|
n
|
|
170
170
|
];
|
|
171
|
-
if (
|
|
171
|
+
if (R && R.el && R.key === t.name && j(R, z)) return R;
|
|
172
172
|
const $ = (s(), i("div", {
|
|
173
173
|
key: t.name,
|
|
174
174
|
class: "col-span-1 flex flex-col min-w-0"
|
|
175
175
|
}, [
|
|
176
|
-
e.helpers.isFieldVisible(l, t) ? (s(), i(
|
|
177
|
-
(t.label || t.labelI18n) && e.helpers.getResolvedType(t, l) !== "switch" && e.helpers.getResolvedType(t, l) !== "check" && e.helpers.getResolvedType(t, l) !== "customFields" && e.helpers.getResolvedType(t, l) !== "choiceBox" ? (s(),
|
|
176
|
+
e.helpers.isFieldVisible(l, t) ? (s(), i(f, { key: 0 }, [
|
|
177
|
+
(t.label || t.labelI18n) && e.helpers.getResolvedType(t, l) !== "switch" && e.helpers.getResolvedType(t, l) !== "check" && e.helpers.getResolvedType(t, l) !== "customFields" && e.helpers.getResolvedType(t, l) !== "choiceBox" ? (s(), F(L, {
|
|
178
178
|
key: 0,
|
|
179
179
|
class: "mb-2 block text-sm font-medium"
|
|
180
180
|
}, {
|
|
181
|
-
default:
|
|
182
|
-
typeof y(w)(
|
|
183
|
-
K(g(
|
|
181
|
+
default: k(() => [
|
|
182
|
+
typeof y(w)(v(t)) != "string" ? (s(), F(S(y(w)(v(t))), { key: 0 })) : (s(), i(f, { key: 1 }, [
|
|
183
|
+
K(g(v(t)) + " ", 1),
|
|
184
184
|
t.required ? (s(), i("span", ae, "*")) : r("", !0)
|
|
185
185
|
], 64))
|
|
186
186
|
]),
|
|
@@ -191,7 +191,7 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
191
191
|
e.helpers.getResolvedType(t, l) === "check" || e.helpers.getResolvedType(t, l) === "switch" && t.props?.switchVariant === "basic" ? "w-auto flex items-center" : "w-full"
|
|
192
192
|
]])
|
|
193
193
|
}, [
|
|
194
|
-
|
|
194
|
+
h(Q, {
|
|
195
195
|
field: { ...t, props: { ...t.props || {} } },
|
|
196
196
|
value: e.helpers.getFieldValue(l, t.name),
|
|
197
197
|
values: n,
|
|
@@ -205,13 +205,13 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
205
205
|
isUpdate: e.isUpdate,
|
|
206
206
|
onChange: (O) => e.onFieldChange(l, t.name, O)
|
|
207
207
|
}, null, 8, ["field", "value", "values", "errors", "error", "variant", "size", "rounded", "disabled", "readonly", "isUpdate", "onChange"]),
|
|
208
|
-
e.helpers.getResolvedType(t, l) === "check" || e.helpers.getResolvedType(t, l) === "switch" && t.props?.switchVariant === "basic" ? (s(),
|
|
208
|
+
e.helpers.getResolvedType(t, l) === "check" || e.helpers.getResolvedType(t, l) === "switch" && t.props?.switchVariant === "basic" ? (s(), F(L, {
|
|
209
209
|
key: 0,
|
|
210
210
|
class: "ml-2 text-sm font-medium cursor-pointer"
|
|
211
211
|
}, {
|
|
212
|
-
default:
|
|
213
|
-
typeof y(w)(
|
|
214
|
-
K(g(
|
|
212
|
+
default: k(() => [
|
|
213
|
+
typeof y(w)(v(t)) != "string" ? (s(), F(S(y(w)(v(t))), { key: 0 })) : (s(), i(f, { key: 1 }, [
|
|
214
|
+
K(g(v(t)) + " ", 1),
|
|
215
215
|
t.required ? (s(), i("span", ne, "*")) : r("", !0)
|
|
216
216
|
], 64))
|
|
217
217
|
]),
|
|
@@ -224,7 +224,7 @@ const p = { class: "custom-fields-accordion min-w-0 w-full" }, I = ["onClick"],
|
|
|
224
224
|
return $.memo = z, $;
|
|
225
225
|
}, c, 1), 128)),
|
|
226
226
|
e.canRemoveRow ? (s(), i("div", re, [
|
|
227
|
-
|
|
227
|
+
h(W, {
|
|
228
228
|
type: "button",
|
|
229
229
|
variant: "secondary",
|
|
230
230
|
size: "xs",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Ge, computed as o, inject as He, getCurrentInstance as $e, onMounted as Me, onUnmounted as _, shallowRef as ee, watch as te, nextTick as Oe, openBlock as n, createElementBlock as c, withKeys as ye, withModifiers as ae, normalizeClass as m, createElementVNode as p, createVNode as k, mergeProps as
|
|
1
|
+
import { defineComponent as Ge, computed as o, inject as He, getCurrentInstance as $e, onMounted as Me, onUnmounted as _, shallowRef as ee, watch as te, nextTick as Oe, openBlock as n, createElementBlock as c, withKeys as ye, withModifiers as ae, normalizeClass as m, createElementVNode as p, createVNode as k, mergeProps as j, toDisplayString as K, renderSlot as he, unref as l, createCommentVNode as d, createBlock as C, withCtx as be, Fragment as je, renderList as Ke, isMemoSame as Ye } from "vue";
|
|
2
2
|
import { useForm as Je } from "./composables/useForm.js";
|
|
3
3
|
import X from "./FormFields.vue.js";
|
|
4
4
|
import Qe from "./FormField.vue.js";
|
|
@@ -75,9 +75,9 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
75
75
|
},
|
|
76
76
|
emits: ["onSubmit", "onCancel", "onStepChange", "onAddonAction", "onBack", "onChange"],
|
|
77
77
|
setup(e, { expose: xe, emit: pe }) {
|
|
78
|
-
const i = e, f = pe, ke = o(() => et(i.pageTitleI18n, i.pageTitle)), g = He("modal-context", null), Ce = tt(),
|
|
79
|
-
() => i.showRequiredAsterisk ??
|
|
80
|
-
),
|
|
78
|
+
const i = e, f = pe, ke = o(() => et(i.pageTitleI18n, i.pageTitle)), g = He("modal-context", null), Ce = tt(), Y = o(() => Ce?.components?.form || {}), U = o(() => i.variant ?? Y.value.variant ?? "outline"), I = o(() => i.size ?? Y.value.size ?? "md"), z = o(() => i.rounded ?? Y.value.rounded ?? "md"), D = o(
|
|
79
|
+
() => i.showRequiredAsterisk ?? Y.value.showRequiredAsterisk ?? !0
|
|
80
|
+
), J = o(() => i.showCancel || !!g), E = o(() => !!g), Se = $e(), Fe = o(() => {
|
|
81
81
|
const t = Se?.vnode.props;
|
|
82
82
|
return !!t && (Object.prototype.hasOwnProperty.call(t, "stickyFooter") || Object.prototype.hasOwnProperty.call(t, "sticky-footer")) && i.stickyFooter;
|
|
83
83
|
}), L = o(
|
|
@@ -148,7 +148,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
148
148
|
} catch (a) {
|
|
149
149
|
return console.error("[Form] Error evaluating dynamic group headings:", a), [];
|
|
150
150
|
}
|
|
151
|
-
},
|
|
151
|
+
}, Q = o(() => oe(i.groupsHeadings)), W = o(
|
|
152
152
|
() => oe(i.groupHeadingsDescription)
|
|
153
153
|
), H = o(() => {
|
|
154
154
|
const t = G.value, a = [];
|
|
@@ -160,8 +160,8 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
160
160
|
}), Ae = o(
|
|
161
161
|
() => H.value.map((t) => ({
|
|
162
162
|
id: `form-group-${t.originalIndex}`,
|
|
163
|
-
title:
|
|
164
|
-
description:
|
|
163
|
+
title: Q.value?.[t.originalIndex] || "",
|
|
164
|
+
description: W.value?.[t.originalIndex] || void 0
|
|
165
165
|
}))
|
|
166
166
|
), Te = o(() => {
|
|
167
167
|
const t = /* @__PURE__ */ new Map();
|
|
@@ -288,13 +288,13 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
288
288
|
])
|
|
289
289
|
}, [
|
|
290
290
|
p("div", it, [
|
|
291
|
-
k(Ze,
|
|
291
|
+
k(Ze, j(e.backButtonProps, {
|
|
292
292
|
fallback: e.backButtonPath,
|
|
293
293
|
class: "max-sm:w-8 max-sm:h-8 max-sm:min-w-8 max-sm:min-h-8 max-sm:px-0 shrink-0"
|
|
294
294
|
}), null, 16, ["fallback"]),
|
|
295
295
|
p("h1", {
|
|
296
296
|
class: m(["text-foreground max-sm:text-lg text-fs-5 truncate", e.pageTitleClass])
|
|
297
|
-
},
|
|
297
|
+
}, K(ke.value), 3)
|
|
298
298
|
]),
|
|
299
299
|
p("div", st, [
|
|
300
300
|
he(t.$slots, "header-actions", {
|
|
@@ -302,7 +302,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
302
302
|
isSubmitting: l(y),
|
|
303
303
|
handleSubmit: w
|
|
304
304
|
}, void 0, !0),
|
|
305
|
-
k(S,
|
|
305
|
+
k(S, j({
|
|
306
306
|
type: "button",
|
|
307
307
|
variant: e.isUpdate ? "outline" : "primary",
|
|
308
308
|
text: e.submitText
|
|
@@ -362,7 +362,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
362
362
|
key: 1,
|
|
363
363
|
class: m(["form-groups space-y-6", e.groupContainerClass])
|
|
364
364
|
}, [
|
|
365
|
-
(n(!0), c(je, null, Ke(H.value, (s, x, ve,
|
|
365
|
+
(n(!0), c(je, null, Ke(H.value, (s, x, ve, O) => {
|
|
366
366
|
const fe = [
|
|
367
367
|
s.schema,
|
|
368
368
|
s.originalIndex,
|
|
@@ -372,8 +372,8 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
372
372
|
U.value,
|
|
373
373
|
I.value,
|
|
374
374
|
z.value,
|
|
375
|
-
J.value?.[s.originalIndex],
|
|
376
375
|
Q.value?.[s.originalIndex],
|
|
376
|
+
W.value?.[s.originalIndex],
|
|
377
377
|
e.groupClass,
|
|
378
378
|
e.groupBodyClass,
|
|
379
379
|
e.headerClass,
|
|
@@ -381,7 +381,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
381
381
|
e.isUpdate,
|
|
382
382
|
D.value
|
|
383
383
|
];
|
|
384
|
-
if (
|
|
384
|
+
if (O && O.el && O.key === s.originalIndex && Ye(O, fe)) return O;
|
|
385
385
|
const ge = (n(), c("div", {
|
|
386
386
|
key: s.originalIndex,
|
|
387
387
|
class: m([
|
|
@@ -390,12 +390,12 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
390
390
|
H.value.length > 1 ? "border rounded" : ""
|
|
391
391
|
])
|
|
392
392
|
}, [
|
|
393
|
-
|
|
393
|
+
Q.value?.[s.originalIndex] ? (n(), c("div", {
|
|
394
394
|
key: 0,
|
|
395
395
|
class: m(["form-group-header bg-muted/50 px-4 py-2.5 border-b", e.headerClass])
|
|
396
396
|
}, [
|
|
397
|
-
p("h3", ut,
|
|
398
|
-
|
|
397
|
+
p("h3", ut, K(Q.value[s.originalIndex]), 1),
|
|
398
|
+
W.value?.[s.originalIndex] ? (n(), c("p", dt, K(W.value[s.originalIndex]), 1)) : d("", !0)
|
|
399
399
|
], 2)) : d("", !0),
|
|
400
400
|
p("div", {
|
|
401
401
|
class: m(["form-group-body", [e.groupBodyClass, H.value.length > 1 ? "p-4.5" : ""]])
|
|
@@ -459,8 +459,8 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
459
459
|
key: 0,
|
|
460
460
|
class: m(["form-step-header mb-6", e.headerClass])
|
|
461
461
|
}, [
|
|
462
|
-
p("h2", mt,
|
|
463
|
-
e.tabs[r.value].description ? (n(), c("p", vt,
|
|
462
|
+
p("h2", mt, K(e.tabs[r.value].title), 1),
|
|
463
|
+
e.tabs[r.value].description ? (n(), c("p", vt, K(e.tabs[r.value].description), 1)) : d("", !0)
|
|
464
464
|
], 2)) : d("", !0),
|
|
465
465
|
k(X, {
|
|
466
466
|
schema: ne.value,
|
|
@@ -502,7 +502,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
502
502
|
}, {
|
|
503
503
|
default: be(() => [
|
|
504
504
|
i.layout === "inline" && e.footer ? (n(), c("div", rt, [
|
|
505
|
-
|
|
505
|
+
J.value ? (n(), C(S, {
|
|
506
506
|
key: 0,
|
|
507
507
|
type: "button",
|
|
508
508
|
variant: "outline",
|
|
@@ -510,7 +510,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
510
510
|
disabled: e.loading || l(y),
|
|
511
511
|
onClick: Z
|
|
512
512
|
}, null, 8, ["text", "disabled"])) : d("", !0),
|
|
513
|
-
k(S,
|
|
513
|
+
k(S, j({
|
|
514
514
|
type: "submit",
|
|
515
515
|
variant: "primary",
|
|
516
516
|
text: e.submitText
|
|
@@ -553,8 +553,8 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
553
553
|
i.layout === "inline" ? "mt-0 shrink-0" : ""
|
|
554
554
|
])
|
|
555
555
|
}, [
|
|
556
|
-
u.value && (
|
|
557
|
-
|
|
556
|
+
u.value && (J.value || e.isUpdate && !N.value) ? (n(), c("div", ft, [
|
|
557
|
+
J.value ? (n(), C(S, {
|
|
558
558
|
key: 0,
|
|
559
559
|
type: "button",
|
|
560
560
|
variant: "outline",
|
|
@@ -562,7 +562,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
562
562
|
disabled: e.loading || l(y),
|
|
563
563
|
onClick: Z
|
|
564
564
|
}, null, 8, ["text", "disabled"])) : d("", !0),
|
|
565
|
-
e.isUpdate && !N.value ? (n(), C(S,
|
|
565
|
+
e.isUpdate && !N.value ? (n(), C(S, j({
|
|
566
566
|
key: 1,
|
|
567
567
|
type: "button",
|
|
568
568
|
variant: "primary",
|
|
@@ -578,7 +578,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
578
578
|
!u.value || N.value ? "w-full justify-end" : ""
|
|
579
579
|
]])
|
|
580
580
|
}, [
|
|
581
|
-
|
|
581
|
+
J.value && !u.value ? (n(), C(S, {
|
|
582
582
|
key: 0,
|
|
583
583
|
type: "button",
|
|
584
584
|
variant: "outline",
|
|
@@ -602,7 +602,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
602
602
|
iconRight: "lucide:arrow-right",
|
|
603
603
|
onClick: ce
|
|
604
604
|
}, null, 8, ["variant"])) : d("", !0),
|
|
605
|
-
!u.value || N.value ? (n(), C(S,
|
|
605
|
+
!u.value || N.value ? (n(), C(S, j({
|
|
606
606
|
key: 3,
|
|
607
607
|
type: "submit",
|
|
608
608
|
variant: "primary",
|