11import AutoComplete from 'primevue/autocomplete'
22import Accordion from 'primevue/accordion'
3- import AccordionTab from 'primevue/accordiontab'
43import Avatar from 'primevue/avatar'
54import AvatarGroup from 'primevue/avatargroup'
65import Badge from 'primevue/badge'
76import Button from 'primevue/button'
87import Breadcrumb from 'primevue/breadcrumb'
9- import Calendar from 'primevue/calendar'
108import Card from 'primevue/card'
119import Carousel from 'primevue/carousel'
1210import CascadeSelect from 'primevue/cascadeselect'
@@ -21,7 +19,7 @@ import ConfirmPopup from 'primevue/confirmpopup'
2119import ContextMenu from 'primevue/contextmenu'
2220import DataTable from 'primevue/datatable'
2321import DataView from 'primevue/dataview'
24- import DataViewLayoutOptions from 'primevue/dataviewlayoutoptions '
22+ import DatePicker from 'primevue/datepicker '
2523import Dialog from 'primevue/dialog'
2624import Divider from 'primevue/divider'
2725import Editor from 'primevue/editor'
@@ -79,10 +77,9 @@ import ToggleButton from 'primevue/togglebutton'
7977import Tree from 'primevue/tree'
8078import TreeTable from 'primevue/treetable'
8179import TreeSelect from 'primevue/treeselect'
82- import TriStateCheckbox from 'primevue/tristatecheckbox'
8380
84- import 'primevue/resources/primevue.min.css'
8581import 'primeicons/primeicons.css'
82+ import Aura from '@primevue/themes/aura'
8683
8784import PrimeVue from 'primevue/config'
8885
@@ -108,14 +105,12 @@ export const install: UserModule = ({ app }) => {
108105
109106 // components
110107 app . component ( 'Accordion' , Accordion )
111- app . component ( 'AccordionTab' , AccordionTab )
112108 app . component ( 'AutoComplete' , AutoComplete )
113109 app . component ( 'Avatar' , Avatar )
114110 app . component ( 'AvatarGroup' , AvatarGroup )
115111 app . component ( 'Badge' , Badge )
116112 app . component ( 'Breadcrumb' , Breadcrumb )
117113 app . component ( 'Button' , Button )
118- app . component ( 'Calendar' , Calendar )
119114 app . component ( 'Card' , Card )
120115 app . component ( 'Carousel' , Carousel )
121116 app . component ( 'CascadeSelect' , CascadeSelect )
@@ -130,7 +125,7 @@ export const install: UserModule = ({ app }) => {
130125 app . component ( 'ContextMenu' , ContextMenu )
131126 app . component ( 'DataTable' , DataTable )
132127 app . component ( 'DataView' , DataView )
133- app . component ( 'DataViewLayoutOptions ' , DataViewLayoutOptions )
128+ app . component ( 'DatePicker ' , DatePicker )
134129 app . component ( 'Dialog' , Dialog )
135130 app . component ( 'Divider' , Divider )
136131 app . component ( 'Dropdown' , Dropdown )
@@ -188,9 +183,16 @@ export const install: UserModule = ({ app }) => {
188183 app . component ( 'Tree' , Tree )
189184 app . component ( 'TreeTable' , TreeTable )
190185 app . component ( 'TreeSelect' , TreeSelect )
191- app . component ( 'TriStateCheckbox' , TriStateCheckbox )
192186
193- app . use ( PrimeVue , { ripple : false } )
187+ app . use ( PrimeVue , {
188+ theme : {
189+ preset : Aura ,
190+ options : {
191+ darkModeSelector : '.p-dark' ,
192+ } ,
193+ } ,
194+ ripple : false ,
195+ } )
194196
195197 // services
196198 app . use ( ConfirmationService )
0 commit comments